/* ================= RESET & BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Fix anchor scroll position */
}

body {
  font-family: 'Inter', sans-serif;
  background: #f7f9f8;
  color: #1f2933;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ================= VARIABLES ================= */
:root {
  --green-dark: #1f7a4d;
  --green-main: #2fa36b;
  --green-light: #e6f4ec;
  --accent: #f4c430;
  --text-dark: #1f2933;
  --text-muted: #5f6c72;
  --white: #ffffff;
  --glass-white: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ================= UTILITIES ================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  padding: 0;
}

.navbar.scrolled {
  box-shadow: var(--shadow-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  transition: height 0.3s ease;
}

.navbar.scrolled .nav-container {
  height: 80px;
}

/* LOGO STYLES */
.logo-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-img {
  height: 80px;
  width: auto;
  transition: height 0.3s ease;
}

.navbar.scrolled .logo-img {
  height: 65px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--green-dark);
  transition: font-size 0.3s ease;
}

.navbar.scrolled .logo-title {
  font-size: 1.5rem;
}

.logo-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4b5563;
  transition: font-size 0.3s ease;
}

.navbar.scrolled .logo-subtitle {
  font-size: 0.8rem;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 8px 4px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-main);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--green-main);
}

.nav-links a:hover::after {
  width: 100%;
}

/* NAV BUTTONS */
.nav-btn {
  display: inline-block;
  background: var(--green-main);
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(47, 163, 107, 0.2);
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(47, 163, 107, 0.3);
  background: var(--green-dark);
}

.nav-btn.highlight {
  background: var(--accent);
  color: #000 !important;
  box-shadow: 0 4px 12px rgba(244, 196, 48, 0.2);
}

.nav-btn.highlight:hover {
  background: #e0b428;
  box-shadow: 0 6px 16px rgba(244, 196, 48, 0.3);
}

.nav-btn.secondary {
  background: transparent;
  border: 2px solid var(--green-main);
  color: var(--green-main) !important;
}

.nav-btn.secondary:hover {
  background: var(--green-main);
  color: white !important;
}

/* ================= MOBILE MENU ================= */
.mobile-menu-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--green-dark);
  cursor: pointer;
  padding: 10px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
  background: var(--green-light);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--glass-white);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  padding: 30px 25px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-header .logo-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
}

.mobile-menu-header .logo-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #4b5563;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.mobile-menu-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu-content a {
  text-decoration: none;
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 16px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.mobile-menu-content a:not(.nav-btn):hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.mobile-menu-content .nav-btn {
  margin-top: 10px;
  text-align: center;
}


/* ===== LOGO TEXT VISIBILITY CONTROL ===== */
.logo-text-main {
  display: flex;
  flex-direction: column;
}

/* Slightly smaller text on mobile */
@media (max-width: 768px) {
  .logo-text-main .logo-title {
    font-size: 1.2rem;
  }

  .logo-text-main .logo-subtitle {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }
}

/* ================= HERO ================= */
.hero {
  position: relative;
  background: linear-gradient(rgba(31, 122, 77, 0.85), rgba(31, 122, 77, 0.75)),
              url('/assets/background/hero1bk.png') center/cover no-repeat;
  color: white;
  padding: 90px 0 55px;
  margin-top: 100px;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  color: var(--accent);
  display: block;
  margin-top: 0.5rem;
}

.hero-subtext {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 650px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

/* HERO STATS */
.hero-stats {
  display: flex;
  gap: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
  text-align: center;
}

.stat strong {
  font-size: 2rem;
  display: block;
  margin-bottom: 5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.stat span {
  font-size: 0.9rem;
  color: #e2e8f0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 4px 12px rgba(244, 196, 48, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(244, 196, 48, 0.3);
  background: #e0b428;
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--green-dark);
  transform: translateY(-3px);
}

/* ================= SECTIONS ================= */
.section {
  padding: 100px 0;
}

.section.alt {
  background: var(--green-light);
}

.section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 20px;
  text-align: center;
}

.section-intro {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* ================= SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--green-main);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= STEPS ================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.step {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(30px);
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.step span {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: var(--green-main);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
}

.step h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 15px;
}

.step p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= LOCATIONS ================= */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.locations-grid div {
  background: white;
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--green-dark);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
}

.locations-grid div.visible {
  opacity: 1;
  transform: translateY(0);
}

.locations-grid div:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  background: var(--green-main);
  color: white;
}

/* ================= FREE GUIDE ================= */
#free-guide.section.alt {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  color: white;
}

.guide-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.guide-info h2 {
  color: white;
  text-align: left;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.guide-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.guide-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature i {
  color: var(--accent);
  font-size: 1.3rem;
}

.feature span {
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
}

.guide-form {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.form-header {
  background: var(--green-dark);
  color: white;
  padding: 30px;
  text-align: center;
}

.form-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.lead-form {
  padding: 30px;
}

.lead-form input,
.lead-form select {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(47, 163, 107, 0.2);
}

.lead-form button {
  width: 100%;
  margin-bottom: 15px;
}

.privacy-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ================= CONTACT SECTION ================= */

#contact {
  background:
    linear-gradient(
      rgba(31, 122, 77, 0.85),
      rgba(31, 122, 77, 0.85)
    ),
    url('/assets/backgrounds/hero5bk.png') center / cover no-repeat;
  background-color: #1f7a4d; /* fallback */
  position: relative;
  color: white;
  padding: 100px 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

#contact .contact-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ================= CONTACT INFO ================= */

#contact .contact-info h2 {
  color: white;
  text-align: left;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
}

#contact .contact-info > p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  line-height: 1.6;
}

#contact .contact-details p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.95);
}

#contact .contact-details strong {
  color: var(--accent);
  font-weight: 600;
  margin-right: 8px;
}

#contact .contact-details a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

#contact .contact-details a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ================= CONTACT FORM ================= */

#contact .contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

#contact .contact-form input,
#contact .contact-form select,
#contact .contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid rgba(31, 122, 77, 0.2);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background: white;
  color: var(--text-dark);
}

#contact .contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

#contact .contact-form input:focus,
#contact .contact-form select:focus,
#contact .contact-form textarea:focus {
  outline: none;
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(47, 163, 107, 0.2);
}

#contact .contact-form button {
  width: 100%;
  margin-top: 10px;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  #contact .contact-container {
    grid-template-columns: 1fr;
    gap: 30px; /* Reduced from 40px */
  }

  #contact {
    padding: 20px 0; /* Reduced from 80px 0 */
  }

  #contact .contact-info h2 {
    font-size: 2rem; /* Reduced from 2.2rem */
    text-align: center;
  }

  #contact .contact-info > p {
    text-align: center;
    margin-bottom: 20px; /* Added to control spacing */
  }
  
  #contact .contact-form {
    padding: 25px; /* Added to reduce form padding on mobile */
  }
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
  .contact-section {
    padding: 70px 0;
    min-height: auto;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .contact-info > p {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .contact-details {
    text-align: center;
  }
  
  .contact-details p {
    font-size: 1rem;
  }
  
  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 50px 0;
  }
  
  .contact-info h2 {
    font-size: 1.8rem;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 14px 16px;
    margin-bottom: 16px;
  }
}
/* ================= FOOTER ================= */
.footer {
  background: #0f172a;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .guide-container,
  .contact-container {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
  
  /* NAVBAR MOBILE */
  .nav-container {
    height: 80px;
  }
  
  .navbar.scrolled .nav-container {
    height: 77px;
  }
  
  .logo-img {
    height: 65px;
  }
  
  .navbar.scrolled .logo-img {
    height: 64px;
  }
  
  /* HERO MOBILE */
  .hero {
    padding: 50px 0 15px;
    margin-top: 60px;
    min-height: 60vh;
    background: linear-gradient(rgba(31, 122, 77, 0.85), rgba(31, 122, 77, 0.75)),
                url('/assets/background/mobilehero1.png') center/cover no-repeat;
  }
  
  .hero h1 {
    font-size: 1.7rem;
  }
  
  .hero-subtext {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  
  /* SECTIONS MOBILE */
  .section {
    padding: 70px 0;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  .section-intro {
    font-size: 1.1rem;
    padding: 0 20px;
  }
  
  /* GRID LAYOUTS MOBILE */
  .guide-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* GUIDE MOBILE */
  .guide-info h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .guide-subtitle {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .guide-features {
    gap: 15px;
  }
  
  .feature span {
    font-size: 1.1rem;
  }
  
  /* CONTACT MOBILE */
  .contact-info h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .contact-info > p {
    text-align: center;
  }
  
  .contact-details {
    text-align: center;
  }
  
  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
  
  .mobile-menu-content a {
    padding: 14px 16px;
    font-size: 1rem;
  }
}

/* ==== FINAL CONTACT BACKGROUND ==== */
#contact {
  background-image:
    linear-gradient(
      rgba(31, 122, 77, 0.85),
      rgba(31, 122, 77, 0.85)
    ),
    url("/assets/background/hero5bk.png") !important;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ================= MOBILE NAVBAR TEXT OVERRIDE ================= */
@media (max-width: 768px) {
  /* Override logo text sizes for mobile */
  .logo-title {
    font-size: 1.4rem !important; /* Smaller on mobile */
    line-height: 1.1 !important;
  }
  
  .logo-subtitle {
    font-size: 0.75rem !important; /* Smaller on mobile */
    letter-spacing: 1px !important;
    line-height: 1 !important;
  }
  
  /* When scrolled, make even smaller */
  .navbar.scrolled .logo-title {
    font-size: 1.3rem !important;
  }
  
  .navbar.scrolled .logo-subtitle {
    font-size: 0.7rem !important;
  }
  
  /* Also adjust logo image size for mobile */
  .logo-img {
    height: 60px !important; /* Slightly smaller on mobile */
  }
  
  .navbar.scrolled .logo-img {
    height: 58px !important; /* Minimal shrink */
  }
}

/* ================= MOBILE MENU FIXES ================= */
@media (max-width: 768px) {
  /* Fix for navbar movement when menu opens */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Mobile menu container */
  .mobile-menu {
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }
  
  /* Mobile menu header with close button */
  .mobile-menu-header {
    position: relative;
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .mobile-menu-header .logo-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green-dark);
  }
  
  .mobile-menu-header .logo-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #4b5563;
  }
  
  /* Close button styling */
  .mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--green-dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-close:hover {
    background: var(--green-light);
    color: var(--green-dark);
  }
  
  /* Menu content area */
  .mobile-menu-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow-y: auto;
  }
  
  /* Regular menu links */
  .mobile-menu-content a:not(.nav-btn) {
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 16px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: left;
    border: 2px solid transparent;
  }
  
  .mobile-menu-content a:not(.nav-btn):hover {
    background: var(--green-light);
    color: var(--green-dark);
  }
  
  /* Menu buttons */
  .mobile-menu-content .nav-btn {
    margin-top: 10px;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: block;
  }
  
  .mobile-menu-content .nav-btn.highlight {
    background: var(--accent);
    color: #000 !important;
    box-shadow: 0 4px 12px rgba(244, 196, 48, 0.2);
  }
  
  .mobile-menu-content .nav-btn.highlight:hover {
    background: #e0b428;
    box-shadow: 0 6px 16px rgba(244, 196, 48, 0.3);
  }
  
  .mobile-menu-content .nav-btn.secondary {
    background: transparent;
    border: 2px solid var(--green-main);
    color: var(--green-main) !important;
  }
  
  .mobile-menu-content .nav-btn.secondary:hover {
    background: var(--green-main);
    color: white !important;
  }
  
  /* Prevent navbar from moving when menu opens */
  .navbar {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .mobile-menu.open ~ .navbar {
    transform: translateX(-100%);
  }
}

/* ===== MOBILE NAVBAR HARD FIX ===== */
@media (max-width: 768px) {
  .nav-container {
    justify-content: space-between;
  }

  .logo-container {
    flex-shrink: 0;
  }

  .mobile-menu-btn {
    margin-left: auto;
  }
}

/* ================= MOBILE MENU FIXES ================= */

/* Fix body scroll when menu is open */
body.menu-open {
  overflow: hidden !important;
}

/* Fix mobile menu z-index to be on top */
.mobile-menu {
  z-index: 2000 !important;
}

/* Fix mobile menu header layout */
.mobile-menu-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 20px !important;
  background: var(--glass-white) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Fix mobile logo container */
.mobile-menu-header .logo-container {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.mobile-menu-header .logo-img {
  height: 50px !important;
  width: auto !important;
}

.mobile-menu-header .logo-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.mobile-menu-header .logo-title {
  font-size: 1.2rem !important;
  line-height: 1.1 !important;
  color: var(--green-dark) !important;
}

.mobile-menu-header .logo-subtitle {
  font-size: 0.7rem !important;
  letter-spacing: 1px !important;
  color: #4b5563 !important;
}

/* Fix close button */
.mobile-menu-close {
  background: none !important;
  border: none !important;
  font-size: 1.5rem !important;
  color: var(--text-dark) !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 6px !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mobile-menu-close:hover {
  background: var(--green-light) !important;
  color: var(--green-dark) !important;
}

/* Fix mobile menu content spacing */
.mobile-menu-content {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.mobile-menu-content a:not(.nav-btn) {
  padding: 16px 20px !important;
  border-radius: 10px !important;
  text-align: left !important;
}

.mobile-menu-content .nav-btn {
  margin-top: 5px !important;
  text-align: center !important;
  display: block !important;
}

/* Mobile specific fixes */
@media (max-width: 768px) {
  /* Ensure mobile menu is full screen */
  .mobile-menu {
    width: 100% !important;
    height: 100vh !important;
  }
  
  /* Ensure proper stacking */
  .navbar {
    z-index: 1000 !important;
  }
  
  .mobile-menu {
    z-index: 2000 !important;
  }
}

/* Ensure mobile menu button is clickable */
.mobile-menu-btn {
  position: relative !important;
  z-index: 1001 !important;
  cursor: pointer !important;
}

/* Make sure nothing is blocking the button */
.nav-container {
  position: relative !important;
}

/* Ensure mobile menu button stays on top */
@media (max-width: 768px) {
  .mobile-menu-btn {
    z-index: 1001 !important;
    pointer-events: auto !important;
  }
  
  .navbar {
    z-index: 1000 !important;
  }
}