body {
  padding-top: 52px;
  font-family: 'Inter', sans-serif;
}

.fade-in-section {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-section:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 2rem 0;
}

.page-header h1 {
  color: #fff;
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-header p {
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-size: 0.95rem;
}

.sub_header_in {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 2rem 0;
  margin-bottom: 0;
}

.sub_header_in h1,
.sub_header_in h2 {
  color: #fff;
  margin: 0;
  font-weight: 700;
}

.listings-page {
  padding: 2rem 0 3rem;
  background: #f8fafc;
}

.listings-grid,
.course-grid.listings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.listing-banner {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
}

.listing-banner img {
  width: 100%;
  display: block;
}

.listings-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 2rem 0 0;
}

.listings-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.65rem;
  border: 1px solid #667eea;
  border-radius: 8px;
  color: #667eea;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.listings-pagination .page-link:hover,
.listings-pagination .page-link.active {
  background: #667eea;
  color: #fff;
}

.listings-pagination .page-dots {
  color: #94a3b8;
  padding: 0 0.25rem;
}

.margin_60_35 {
  margin: 2rem auto;
}

#page main {
  min-height: 40vh;
}

#toTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  background: #1e293b;
  color: #fff;
  border-radius: 50%;
  display: none;
  cursor: pointer;
  z-index: 999;
  text-align: center;
  line-height: 44px;
  font-size: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

#toTop::before {
  content: '\2191';
}

.header_in,
.btn_mobile,
#menu.main-menu,
.mm-menu,
.mm-wrapper__blocker {
  display: none !important;
  pointer-events: none !important;
}

@media (max-width: 1200px) {
  .listings-grid,
  .course-grid.listings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .listings-grid,
  .course-grid.listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .listings-grid,
  .course-grid.listings-grid {
    grid-template-columns: 1fr;
  }

  .listings-page {
    padding: 1.25rem 0 2rem;
  }
}

/* --- Live site overrides (demo header + hero base in home-new.css) --- */

.navbar {
  z-index: 99999 !important;
  padding: 0 !important;
}

.navbar.scrolled {
  padding: 0 !important;
}

.navbar .container {
  max-width: 1360px;
  flex-wrap: nowrap;
}

.nav-left,
.nav-right {
  gap: 0.75rem;
}

.nav-link {
  font-size: 0.8125rem;
  white-space: nowrap;
}

.navbar .dropdown-menu {
  display: none !important;
  float: none;
  pointer-events: auto;
  z-index: 100002;
}

.navbar .dropdown.open > .dropdown-menu,
.navbar .dropdown.show > .dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Desktop: click to open — no hover auto-hide */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: none !important;
  }

  .navbar .dropdown.open > .dropdown-menu,
  .navbar .dropdown.show > .dropdown-menu {
    display: block !important;
  }

  .navbar .dropdown-menu {
    margin-top: 0;
    padding-top: 0.5rem;
  }

  .navbar .dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5rem;
  }
}

/* Desktop only — allow dropdowns to extend outside navbar */
@media (min-width: 992px) {
  .navbar,
  .navbar .container {
    overflow: visible !important;
  }

  .navbar-mobile-bar {
    display: none !important;
  }

  .navbar .container {
    display: flex !important;
    align-items: center;
    gap: 0.65rem;
    height: 52px;
    max-width: 1360px;
  }

  .nav-brand-desktop {
    display: flex !important;
  }

  .nav-links-left,
  .nav-links-right {
    display: flex !important;
  }

  .nav-center {
    display: flex !important;
    flex: 1 1 280px;
    min-width: 0;
    max-width: none;
    justify-content: center;
  }

  .dual-search {
    width: 100%;
    max-width: 560px;
  }
}

.dropdown-toggle {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
}

/* Remove Bootstrap duplicate caret — we use Font Awesome only */
.navbar .dropdown-toggle::after {
  display: none !important;
  content: none !important;
}

.nav-caret {
  font-size: 0.65rem;
  margin-left: 0.2rem;
  opacity: 0.7;
}

.nav-links-left,
.nav-links-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 3px;
  padding: 4px;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.mobile-icon-btn {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.mobile-icon-btn:hover,
.mobile-icon-btn.active {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

/* Mobile top bar — hidden on desktop */
.navbar-mobile-bar {
  display: none;
}

.login-toggle i.fa-user-circle {
  font-size: 1.15rem;
  margin-right: 0.15rem;
}

/* Search button — inline, no overlap */
.dual-search {
  align-items: center;
}

.dual-search .navbar-search-icon {
  position: static;
  transform: none;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.dual-search .navbar-search-icon:hover {
  transform: scale(1.08);
}

.navbar .dropdown {
  position: relative;
}

.nav-left .dropdown-menu,
.login-dropdown .dropdown-menu {
  left: 0;
  right: auto;
}

.nav-right .dropdown-menu {
  left: auto;
  right: 0;
}

.site-logo {
  height: 32px;
  width: auto;
  display: block;
  max-width: 120px;
  object-fit: contain;
}

.nav-brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-search-input {
  width: 100%;
  padding: 0.5rem 0.85rem 0.5rem 2.35rem;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-size: 0.8125rem;
  background: white;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-search-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

button.navbar-search-icon {
  border: none;
  padding: 0;
}

a.category-slide {
  text-decoration: none;
  color: inherit;
  display: block;
}

.benefits-section {
  padding: 5rem 0;
  background: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefits-grid .benefit-card {
  height: auto;
}

.benefits-grid .benefit-icon {
  font-size: 2.5rem;
  color: #667eea;
  margin-bottom: 1rem;
}

.btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #667eea;
  color: #667eea;
  background: transparent;
}

.btn-secondary:hover {
  background: #667eea;
  color: #fff;
}

.reviews-section {
  padding: 4rem 0;
  background: #f8fafc;
}

.footer.footer-extended {
  background: #1e293b;
  color: #cbd5e1;
  text-align: left;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #667eea;
}

.footer-extras {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-extra-block h4 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: #667eea;
}

.footer-payments {
  max-height: 28px;
  width: auto;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
}

.listing-card {
  text-decoration: none;
  color: inherit;
}

.listing-card .course-image.listing-image {
  background-size: cover;
  background-position: center;
  height: 140px;
  position: relative;
}

.listing-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(102, 126, 234, 0.9);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.listing-location {
  font-size: 0.8rem;
  color: #667eea;
  margin: 0.25rem 0;
}

.listing-address {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.7rem;
}

.listing-verified {
  color: #16a34a;
}

.listing-directions {
  color: #667eea;
  cursor: pointer;
}

.listing-rating {
  margin-left: auto;
  color: #64748b;
}

.listings-grid .course-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.listings-grid .course-content {
  padding: 0.75rem;
}

.listings-grid .course-title {
  font-size: 0.9rem;
  margin: 0 0 0.25rem;
}

/* Search results page */
.search-page-header .search-page-form {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  max-width: 820px;
  margin: 1.25rem auto 0;
  flex-wrap: wrap;
}

.search-page-header .search-page-form .search-group {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
  display: block;
}

.search-page-header .search-page-form .nav-search-input {
  width: 100%;
  box-sizing: border-box;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.98);
  padding-left: 2.35rem;
}

.search-page-header .search-page-form .search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.85rem;
  z-index: 2;
  pointer-events: none;
}

.search-page-submit {
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 120px;
  padding: 0 1.5rem;
  border: none;
  border-radius: 25px;
  background: #fff;
  color: #667eea;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.search-page-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
}

.search-results-title {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 1rem;
}

.search-results-title + .listings-grid {
  margin-bottom: 2rem;
}

.search-results-title:not(:first-child) {
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.search-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.search-empty i {
  font-size: 2.5rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.search-empty h2 {
  font-size: 1.25rem;
  color: #1e293b;
  margin: 0 0 0.5rem;
}

.search-empty p {
  color: #64748b;
  margin: 0;
  font-size: 0.95rem;
}

.search-query-summary {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.search-query-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: #eef2ff;
  color: #667eea;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
}

@media (max-width: 767px) {
  .search-page-header {
    padding: 0.85rem 0 1rem;
  }

  .search-page-header h1 {
    font-size: 1.15rem;
    margin-bottom: 0.15rem;
  }

  .search-page-header p {
    font-size: 0.78rem;
  }

  .search-page-header .search-page-form {
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.65rem;
  }

  .search-page-header .search-page-form .search-group {
    flex: 0 0 auto;
    width: 100%;
  }

  .search-page-header .search-page-form .nav-search-input {
    padding: 0.48rem 0.75rem 0.48rem 2rem;
    font-size: 0.8125rem;
    min-height: 38px;
    border-radius: 10px;
    border-width: 1px;
  }

  .search-page-header .search-page-form .search-icon {
    left: 0.7rem;
    font-size: 0.78rem;
  }

  .search-page-submit {
    width: 100%;
    min-height: 38px;
    padding: 0.45rem 1rem;
    margin-top: 0.1rem;
    border-radius: 10px;
    font-size: 0.8125rem;
  }

  .listings-page {
    padding: 0.85rem 0 1.5rem;
  }

  .search-query-summary {
    margin-bottom: 0.65rem;
  }

  .search-query-tag {
    font-size: 0.72rem;
    padding: 0.22rem 0.55rem;
  }

  .search-results-title {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .search-results-title:not(:first-child) {
    padding-top: 0.85rem;
    margin-top: 0.25rem;
  }

  .search-empty {
    padding: 1.25rem 0.85rem;
  }

  .search-empty i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .search-empty h2 {
    font-size: 1rem;
  }

  .search-empty p {
    font-size: 0.82rem;
  }
}

/* Hero — override old theme h2 { color:#333 } from style.css */
.hero-slider .slide {
  pointer-events: none;
  z-index: 0;
}

.hero-slider .slide.active {
  pointer-events: auto;
  z-index: 1;
}

.hero-slider .slide:not(.active) {
  visibility: hidden;
}

.hero-slider .slide.active {
  visibility: visible;
}

.hero-slider .slide-content {
  background: rgba(15, 23, 42, 0.78);
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: min(600px, 90vw);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  padding: 2.25rem 2.5rem;
}

.hero-slider .slide-content h2 {
  color: #fff !important;
  text-shadow: none;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hero-slider .slide-content p {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: none;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 992px) {
  .nav-center {
    max-width: 520px;
  }

  .dual-search {
    max-width: 520px;
  }
}

@media (min-width: 992px) and (max-width: 1280px) {
  .navbar .container {
    gap: 0.5rem;
  }

  .nav-left,
  .nav-right,
  .nav-links-left,
  .nav-links-right {
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.78rem;
  }

  .nav-caret {
    font-size: 0.55rem;
  }

  .nav-center {
    flex: 1 1 auto;
    min-width: 220px;
    max-width: none;
  }

  .dual-search {
    max-width: 100%;
    gap: 0.35rem;
  }

  .nav-search-input {
    font-size: 0.78rem;
    padding: 0.48rem 0.65rem 0.48rem 2.1rem;
  }

  .search-icon {
    left: 0.75rem;
    font-size: 0.85rem;
  }

  .site-logo {
    height: 30px;
    max-width: 110px;
  }
}

/* Mobile navbar */
@media (max-width: 991px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: none !important;
  }

  .navbar .dropdown.open > .dropdown-menu {
    display: block !important;
  }

  .navbar-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 52px;
    padding: 0 12px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1000002;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    background: #fff;
    padding: 0;
  }

  .navbar-mobile-bar .nav-brand {
    flex: 0 1 auto;
    min-width: 0;
    margin-right: auto;
  }

  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
  }

  .mobile-actions .hamburger {
    display: flex !important;
    position: relative;
    gap: 0;
  }

  /* Mobile hamburger → clean X when menu is open */
  .mobile-actions .hamburger span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    margin: 0;
    background: #1e293b;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center center;
  }

  .mobile-actions .hamburger span:nth-child(1) {
    transform: translate(-50%, calc(-50% - 6px));
  }

  .mobile-actions .hamburger span:nth-child(2) {
    transform: translate(-50%, -50%);
  }

  .mobile-actions .hamburger span:nth-child(3) {
    transform: translate(-50%, calc(-50% + 6px));
  }

  .mobile-actions .hamburger.active span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-actions .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
  }

  .mobile-actions .hamburger.active span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-actions .hamburger.active {
    background: rgba(102, 126, 234, 0.08);
    border-radius: 8px;
  }

  /* Hide desktop row until search or menu opens */
  .navbar > .container {
    display: none;
  }

  /* ---- Search panel ---- */
  .navbar.search-open > .container {
    display: block !important;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    z-index: 1000001;
    background: #fff;
    padding: 0;
    height: auto;
    max-width: 100% !important;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .navbar.search-open .nav-left,
  .navbar.search-open .nav-right {
    display: none !important;
  }

  .navbar.search-open .nav-center {
    display: flex !important;
    width: 100%;
    max-width: 100% !important;
    flex: none;
    padding: 1rem 16px 1.25rem;
  }

  .navbar.search-open .dual-search {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 100% !important;
  }

  .navbar.search-open .search-group {
    width: 100%;
  }

  .navbar.search-open .nav-search-input {
    width: 100%;
    box-sizing: border-box;
    font-size: 0.95rem;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
  }

  .navbar.search-open .navbar-search-icon {
    margin: 0.25rem auto 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
  }

  /* ---- Menu drawer ---- */
  .navbar.mobile-open > .container {
    display: block !important;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    height: calc(100dvh - 52px);
    height: calc(100vh - 52px);
    z-index: 1000000;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 0.25rem 12px 2rem;
    max-width: 100% !important;
    width: 100%;
  }

  /* Flatten left/right wrappers so Services follows Explore */
  .navbar.mobile-open .nav-left,
  .navbar.mobile-open .nav-right {
    display: contents !important;
  }

  .navbar.mobile-open .nav-brand-desktop,
  .navbar.mobile-open .nav-center {
    display: none !important;
  }

  .navbar.mobile-open .nav-links-left,
  .navbar.mobile-open .nav-links-right {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 0;
    margin: 0;
  }

  .navbar.mobile-open .nav-link,
  .navbar.mobile-open .dropdown-toggle {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    justify-content: space-between;
    width: 100%;
    font-size: 0.9rem;
  }

  .navbar.mobile-open .login-toggle {
    display: flex;
    align-items: center;
  }

  .navbar.mobile-open .dropdown {
    width: 100%;
  }

  .navbar.mobile-open .dropdown-menu {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0.25rem 1rem;
    margin: 0;
    display: none !important;
    min-width: auto;
    background: transparent;
    float: none;
  }

  .navbar.mobile-open .dropdown.open > .dropdown-menu {
    display: block !important;
  }

  .navbar.mobile-open .dropdown:hover > .dropdown-menu {
    display: none !important;
  }

  .navbar.mobile-open .dropdown.open:hover > .dropdown-menu {
    display: block !important;
  }

  .navbar.mobile-open .dropdown.open > .dropdown-toggle {
    color: #667eea;
  }

  .navbar.mobile-open .dropdown-menu a {
    padding: 0.65rem 0;
    border-bottom: none;
    font-size: 0.9rem;
  }

  body.mobile-nav-open,
  body.mobile-search-open {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    touch-action: none;
  }

  body.mobile-nav-open .navbar.mobile-open .container,
  body.mobile-search-open .navbar.search-open .nav-center {
    touch-action: pan-y;
  }

  body.mobile-nav-open .hero-slider,
  body.mobile-nav-open .category-slider,
  body.mobile-nav-open main {
    visibility: hidden;
  }
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-slider .slide-content {
    padding: 1.25rem 1.5rem;
    left: 5%;
    right: 5%;
    max-width: none;
  }

  .hero-slider .slide-content h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
