.slider-container {
  position: relative;
  padding-top: 50px;
  /* space for arrows */
}

.slider {
  margin-top: 20px;
}

.slide-box {
  background-color: #f5f5f5;
  padding: 40px;
  text-align: center;
  border: 1px solid #ccc;
}

/* Custom arrows */
.custom-arrow {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  /* font-size: 30px; */
  background-color: #007bff;
  color: white;
  padding: 8px 14px;
  cursor: pointer;
  z-index: 2;
  border-radius: 5px;
}

.prev-arrow {
  right: 60px;
}

.next-arrow {
  right: 10px;
}

/* Optional: Add responsive tweaks */
@media (max-width: 768px) {
  .custom-arrow {
    font-size: 20px;
    padding: 6px 10px;
  }
}

.grif {
  display: grid;
}

header {
  background-color: #f8f9fa;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.grif img {
  max-width: 100%;
  height: auto;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  position: relative;
}

nav ul li a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Submenu Styles */
nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  display: none;
  min-width: 150px;
  z-index: 1000;
  flex-direction: column;
}

nav ul li:hover ul {
  display: flex;
}

nav ul li ul li a {
  padding: 10px 15px;
  color: #fff;
  border-bottom: 1px solid #555;
}

nav ul li ul li a:hover {
  background-color: #555;
}

.btn {
  float: right;
  background-color: antiquewhite;
}

/* login-popup.css */
.login-popup-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.6);
}

.login-popup-box {
  background: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 350px;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.login-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.login-title {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.login-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-submit {
  width: 100%;
  padding: 10px;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.login-submit:hover {
  background: #005c8a;
}

/* Base Styles */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

.mobile-menu {
  display: flex;
  gap: 20px;
  align-items: center;
  /* margin-right: 411px; */
}

/* Responsive for Mobile/Tab */
@media screen and (max-width: 768px) {
  .mobile-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  .mobile-menu.show {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  nav ul li ul {
    position: static;
  }

  .btn-login {
    margin-top: 15px;
  }
}

.site-footer {
  background-color: #222;
  color: #fff;
  padding: 60px 20px 30px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: #fff;
}

.footer-column p {
  color: #ccc;
  font-size: 15px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo {
    margin-bottom: 20px;
  }
}

.footer-menu a {
  color: #ccc;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  display: inline-block;
  padding-left: 0;
}

/* Underline effect */
.footer-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}

/* Hover effect: slide right + underline */
.footer-menu a:hover {
  color: #fff;
  padding-left: 5px;
  /* Move slightly right */
}

.footer-menu a:hover::after {
  width: 100%;
}

.blog-section {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
}

.blog-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-category {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  background-color: #0073e6;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 20px;
  margin: 10px 0;
  color: #222;
}

.blog-title a {
  text-decoration: none;
  color: inherit;
}

.blog-excerpt {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}

.read-more {
  font-size: 14px;
  color: #0073e6;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination a {
  display: inline-block;
  padding: 8px 16px;
  text-decoration: none;
  background-color: #f1f1f1;
  color: #333;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.pagination a:hover {
  background-color: #0073e6;
  color: #fff;
}

.pagination .active {
  background-color: #0073e6;
  color: #fff;
}

.footer-logo {
  padding: 50px;
  height: 50px;

}

.blog-post-container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.post-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #222;
}

.post-meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 20px;
}

.post-meta a {
  color: #00aaff;
  text-decoration: none;
}

.post-meta a:hover {
  text-decoration: underline;
}

.post-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 25px;
}

.post-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.post-content h2 {
  margin: 30px 0 15px;
  color: #00aaff;
  font-weight: 600;
}

blockquote {
  border-left: 4px solid #00aaff;
  padding-left: 15px;
  margin: 25px 0;
  color: #555;
  font-style: italic;
  background: #e6f7ff;
  border-radius: 4px;
}

/* Comments Section */
.comments-section {
  margin-top: 50px;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}

.comments-section h3 {
  margin-bottom: 20px;
  color: #222;
}

.comment {
  margin-bottom: 15px;
  background: #f0f0f0;
  padding: 15px;
  border-radius: 6px;
  font-size: 1rem;
}

.comment strong {
  color: #00aaff;
}

/* Comment Form */
.comment-form {
  margin-top: 30px;
}

.comment-form h3 {
  margin-bottom: 15px;
}

.comment-form form input,
.comment-form form textarea {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
}

.comment-form form button {
  background-color: #00aaff;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.comment-form form button:hover {
  background-color: #0077cc;
}



/* 🔍 Search Icon Button */
.open-search-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* 🧊 Popup Styles */
.search-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}

.search-popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ❌ Close button */
.close-search-popup {
  position: absolute;
  top: -10px;
  right: 0px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* 🔎 Search Form Style */
.popup-search-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup-search-field {
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.popup-search-submit {
  background-color: #000;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.popup-search-submit:hover {
  background-color: #333;
}

.comments-area {
  margin-top: 50px;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list li {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 5px;
}

.comment-list li .comment-author vcard {
  font-weight: bold;
}

.comment-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.no-comments {
  font-style: italic;
  color: #888;
}

.comment-reply-title,
.comment-form {
  margin-top: 40px;
}

/* Comments Section */
.comments-area {
  margin-top: 40px;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
}

.comments-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

/* Individual Comments */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list .comment {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.comment-author img {
  border-radius: 50%;
  margin-right: 10px;
}

.comment-author .fn {
  font-weight: bold;
  color: #222;
}

.comment-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.comment-content {
  font-size: 15px;
  line-height: 1.6;
}

.comment-reply-link {
  display: inline-block;
  margin-top: 10px;
  background: #0073aa;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
}

.comment-reply-link:hover {
  background: #005a87;
}

/* Comment Navigation */
.comment-navigation {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

/* Comment Form */
.comment-respond {
  margin-top: 40px;
}

.comment-respond h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.comment-form label {
  display: block;
  font-weight: 600;
  margin-top: 10px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 5px;
}

.comment-form textarea {
  resize: vertical;
  height: 120px;
}

.comment-form input[type="submit"] {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
}

.comment-form input[type="submit"]:hover {
  background: #005a87;
}

.comment-list .children {
  margin-left: 30px;
  border-left: 2px solid #ddd;
  padding-left: 20px;
}

/* Mobile menu default style */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background-color: #fff;
  position: absolute;
  top: 100%;
  right: 0;
  width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
}
/* Search popup */
.search-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-popup-content {
  background: white;
  padding: 30px;
  border-radius: 6px;
  max-width: 500px;
  width: 90%;
}
/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 15px;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

/* Desktop menu - visible on large screens */
.main-navigation {
  display: block;
}

.main-menu.desktop-menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu.desktop-menu li {
  position: relative;
}

/* Hamburger toggle button - hide on desktop */
.menu-toggle {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

/* Mobile menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  width: 250px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

/* Hide mobile menu by default */
.mobile-menu[hidden] {
  display: none;
}

/* Mobile menu list style */
.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

/* Responsive: on small screens show hamburger and hide desktop menu */
@media (max-width: 991px) {
  .main-menu.desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}