:root {
  --primary-green: #1faf6d;
  --dark-green: #148a54;
  --white: #ffffff;
  --section-bg: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #1f2937;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Poppins;
  margin: 0;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= HEADER ================= */

header{
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(8px);
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom:1px solid #f1f1f1;
  transition:.3s;
}

.logo img {
  height: 52px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: relative;
}

nav ul{
  display:flex;
  list-style:none;
  gap:32px;
  margin:0;
  padding:0;
}

nav a{
  text-decoration:none;
  color:var(--text-dark);
  font-weight:500;
  font-size:15px;
  position:relative;
  transition:.3s;
}

nav a::after{
  content:"";
  position:absolute;
  width:0;
  height:2px;
  left:0;
  bottom:-6px;
  background:var(--primary-green);
  transition:.3s;
}

nav a:hover::after{
  width:100%;
}

nav a:hover{
  color:var(--primary-green);
}

/* NAV SYSTEM */

.nav-menu{
  position:absolute;
  top:100%;
  left:0;
  width:100%;
  background:white;
  display:flex;
  z-index:999;
}

.nav-btn{
  display:inline-block;
}

/* HAMBURGER */

.hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
  gap:5px;
  position:relative;
  z-index:1001;
}

.hamburger span{
  width:25px;
  height:3px;
  background:var(--text-dark);
  border-radius:2px;
  transition:.3s;
}

/* ================= BUTTONS ================= */

.btn{
  background:var(--primary-green);
  color:white;
  padding:10px 20px;
  border-radius:8px;
  text-decoration:none;
  font-weight:500;
  font-size:14px;
  transition:.3s;
  box-shadow:0 6px 16px rgba(0,0,0,0.08);
}

.btn:hover{
  background:var(--dark-green);
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,0.15);
}

.btn-outline {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline:hover {
  background: var(--primary-green);
  color: white;
}

/* ================= HERO ================= */

.hero{
  background: var(--white);
  color: var(--text-dark);
  padding:140px 0;
  text-align:center;
  border-bottom:1px solid #f1f1f1;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:60px;
}

.hero-content{
  max-width:600px;
  text-align:left;
}

.hero-buttons{
  display:flex;
  gap:15px;
  margin-top:20px;
  flex-wrap:wrap;
}

.hero-image img{
  width:100%;
  border-radius:12px;
  box-shadow:0 20px 40px rgba(0,0,0,0.25);
}

.hero h1{
  font-size:48px;
  margin-bottom:15px;
}

.hero p{
  font-size:18px;
  line-height:1.6;
}

/* ================= SERVICES ================= */

.services{
  padding:90px 0;
  background:var(--section-bg);
}

.section-title{
  text-align:center;
  font-size:34px;
  margin-bottom:10px;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.service-card{
  background:white;
  padding:35px;
  border-radius:12px;
  transition:.35s;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  border-top:4px solid var(--primary-green);
}

.service-card:hover{
  transform:translateY(-10px);
}

/* ================= WHY ================= */

.why{
  padding:90px 0;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

.why-card{
  padding:35px;
  border-radius:12px;
  border:1px solid #f1f1f1;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

/* ================= CONTACT ================= */

.contact {
  padding: 80px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.contact-options {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap; /* allows wrapping on small screens */
}

.contact-options a {
  flex: 1;
  text-align: center;
  min-width: 120px;
}

form button[type="submit"] {
  margin-bottom: 10px;
}



/* ================= UPDATED FOOTER ================= */

.footer{
  background: #0f2f24;
  color: #e5e7eb;
  padding:80px 20px 20px; /* increase top padding */
}

.footer-container{
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h3,
.footer h4{
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-logo{
  font-size: 20px;
  font-weight: 600;
}

.footer-text{
  font-size: 14px;
  line-height: 1.6;
}

.footer ul{
  list-style: none;
  padding: 0;
}

.footer ul li{
  margin-bottom: 10px;
  font-size: 14px;
}

.footer ul li a{
  text-decoration: none;
  color: #cbd5f5;
  transition: 0.3s;
}

.footer ul li a:hover{
  color: var(--primary-green);
  padding-left: 6px;
}

.footer-bottom{
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #9ca3af;
}
form {
  margin-bottom: 40px; /* prevents it from touching footer */
}


/* ================= WHATSAPP ================= */

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  padding: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}


.whatsapp-btn i {
  margin-right: 8px;
}

.whatsapp i {
  font-size: 22px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ================= RESPONSIVE ================= */

@media (max-width:992px){
  .hero-grid,
  .grid-2{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-container{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:768px){

  .hamburger{
    display:flex;
  }

  .nav-menu{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:white;
    padding:20px 0;
    display:none; /* ✅ ONLY hidden on mobile */
  }

  .nav-menu.active{
    display:block;
  }

  .nav-menu ul{
    flex-direction:column;
    align-items:center;
    gap:20px;
  }

  .nav-btn{
    display:none;
  }


  .footer-container{
    grid-template-columns:1fr;
    text-align:center;
  }

}

@media (max-width:480px){
  .hero h1{ font-size:28px; }
}

/* POPUP STYLES */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  text-align: center;
  width: 300px;
  animation: fadeIn 0.3s ease;
}

.popup-content p {
  margin-bottom: 15px;
  font-weight: 500;
}

.popup-content button {
  background: #00cc66;
  border: none;
  padding: 10px 20px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.popup-content button:hover {
  background: #00994d;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

