/* style.css – FINAL VERSION WITH PERFECT MOBILE MENU */
:root {
  --primary: #006400;
  --primary-dark: #004d00;
  --accent: #ff9900;
  --light: #e8f5e8;
  --gray-bg: #f8f9fa;
  --text: #333;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--text);
  padding-top: 78px;
  background: #fff;
}

/* ========= NAVIGATION ========= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  z-index: 1000;
  height: 78px;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
.logo span { color: var(--accent); }

/* Desktop Menu */
.nav-menu {
  {
  display: flex;
  gap: 38px;
  align-items: center;
}
.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1.02rem;
  transition: color 0.3s;
}
.nav-menu a:hover { color: var(--primary); }


/* MOBILE HAMBURGER MENU – TOP RIGHT */
.hamburger {
  display: none;
  cursor: pointer;
  pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.3s;
}
.hamburger span {
  width: 100%;
  height: 4px;
  background: #333;
  border-radius: 4px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Show hamburger + hide desktop menu on mobile */
@media (max-width: 992px) {
  .hamburger { display: flex; }
  
  .nav-menu {
    position: fixed;
    top: 78px;           /* height of your navbar */
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 40px 20px;
    gap: 28px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Hamburger → X animation */
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
  .hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }

  /* Hide desktop buttons on very small screens if needed */
  .nav-buttons { display: none; }
}




/* Hamburger Icon – only visible on mobile */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}
.hamburger span {
  width: 30px;
  height: 3.5px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s;
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 30px 20px;
    gap: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-top: 1px solid #eee;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }
}

/* Rest of your styles (hero, forms, etc.) stay exactly the same */
header { background: linear-gradient(rgba(0,100,0,0.92),rgba(0,100,0,0.92)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&q=80') center/cover; color:white; text-align:center; padding:170px 20px 110px; }
header h1 { font-size: 2.9rem; margin-bottom: 15px; }
.badge { background:var(--accent); color:white; padding:12px 28px; border-radius:50px; font-weight:700; display:inline-block; margin:1.1rem; }
section { padding:90px 20px; }
.container { max-width:1300px; margin:auto; padding:0 20px; }
.bg-light { background:var(--light); }

.form-container { background:white; padding:45px 30px; border-radius:18px; box-shadow:0 15px 45px rgba(0,0,0,0.12); }
.form-grid { display:grid; grid-template-columns:1fr; gap:22px; }
input, select, textarea { padding:16px; border:2px solid #ddd; border-radius:12px; font-size:1rem; }
input:focus, select:focus, textarea:focus { border-color:var(--primary); outline:none; }

footer { background:#111; color:#aaa; text-align:center; padding:60px 20px; }

/* Mobile adjustments */
@media (max-width: 768px) {
  h1 { font-size: 2.4rem; }
  header { padding:140px 20px 90px; }
  .btn-large { padding:16px 32px !important; font-size:1.15rem !important; }
}


/* for Logo  */
.logo-header-fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid #eee;
  z-index: 1001;
}
nav { margin-top: 95px; } /* space for logo */

@media (max-width: 768px) {
  .logo-header-fixed img { height:60px; }
  nav { margin-top: 80px; }
}

