/* ===============================
   1. RESET & GLOBAL SYSTEM
================================*/
*{margin:0;padding:0;box-sizing:border-box}

:root{
  --primary:#2f8f75;      /* logo green */
  --primary-dark:#1f6e5a; /* darker green */
  --accent:#f7941d;       /* logo orange */
  --dark:#1f2a33;         /* text / dark strips */
  --light:#f5f7fa;        /* section background */
  --text:#4b5563;
}

body{
  font-family:Poppins,sans-serif;
  color:var(--text);
  line-height:1.7;
}
section,
.product-grid,
.container{
  position:relative;
  z-index:1;
}

/* TYPOGRAPHY SCALE */
h1{font-size:54px;line-height:1.1;font-weight:600}
h2{font-size:40px;
  font-weight:600;
  margin-bottom:18px;
  letter-spacing:.3px;
  color:#1f2933;
}
h3{font-size:28px;font-weight:600}
p{font-size:17px;color:#555}


/* GLOBAL CONTAINER */
.container{
  max-width:1320px;
  margin:auto;
  padding:0 24px;
}

section{padding:130px 0}


/* BUTTONS */
.btn{
  display:inline-block;
  padding:16px 34px;
  border-radius:40px;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
  letter-spacing:.3px;
}

.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{
  transform:translateY(-3px);
  background:var(--primary-dark);
  box-shadow:0 10px 25px rgba(0,0,0,.2);
}


.btn-outline{
  border:2px solid var(--primary);
  color:var(--primary);
}
.btn-outline:hover{
  background:var(--primary);
  color:#fff;
}

/* ===============================
   2. TOP BAR
================================*/
.topbar{
  background:var(--primary-dark);
  color:#fff;
  font-size:14px;
  padding:8px 0;
  position:sticky;
  top:0;
  z-index:50;
}

.topbar .container{
  display:flex;
  justify-content:space-between;
}

/* ===============================
   3. HEADER / NAVBAR
================================*/
.main-header{
  position:relative;
  width:100%;
  background:#fff;
  z-index:40;
  transition:.35s ease;
}
/* ===== STICKY HEADER (TANYA STYLE) ===== */
.main-header.sticky{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  box-shadow:0 6px 30px rgba(0,0,0,.12);
  animation:slideDown .35s ease;
}

@keyframes slideDown{
  from{transform:translateY(-100%)}
  to{transform:translateY(0)}
}


.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:95px;
  padding:0 10px;
}

/* ================= LOGO ================= */
.logo{
  display:flex;
  align-items:center;
}

.logo img{
  height:120px;              /* keep container size same */
  width:auto;
  transform:scale(1.35);    /* makes logo visually bigger */
  transform-origin:left center;
}


.menu{
  list-style:none;
  display:flex;
  gap:45px;
}

  .menu a{
  text-decoration:none;
  color:var(--dark);
  font-weight:600;
  position:relative;
}


.menu a::after{
  content:"";
  position:absolute;
  bottom:-6px;
  left:0;
  width:0;
  height:2px;
  background:var(--primary);
  transition:.3s;
}

.menu a:hover::after,
.menu a.active::after{width:100%}

.menu a.active{color:var(--primary)}

/* ===============================
   4. MEGA MENU (PRO)
================================*/
.has-mega{position:relative}

.mega-menu{
  position:absolute;
  top: calc(100% + 10px);
  margin-top: 24px;
  left:50%;
  transform:translateX(-50%) translateY(15px);
  width:1200px;
  max-width:95vw;
  background:#fff;
  padding:45px;
  box-shadow:0 25px 50px rgba(0,0,0,.15);

  opacity:0;
  visibility:hidden;
  pointer-events:none;   /* ⭐ THIS IS THE MAGIC FIX */
  transition:.25s ease;
}


.has-mega.open .mega-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;   /* ⭐ enable clicks only when open */
  transform:translateX(-50%) translateY(0);
}


.mega-inner{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

/* ================= FOOTER ================= */

.footer{
  background:var(--dark);
  color:#fff;
  padding:70px 0 30px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}

.footer h4{
  margin-bottom:15px;
}

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

.footer ul li{
  margin-bottom:8px;
}

.footer a{
  color:#ddd;
  text-decoration:none;
}

.footer a:hover{
  color:#fff;
}

.footer-bottom{
  text-align:center;
  margin-top:40px;
  border-top:1px solid #444;
  padding-top:20px;
  font-size:14px;
}

/* mobile footer */
@media(max-width:992px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

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

/* =========================================
   FINAL MOBILE / TABLET NAVIGATION SYSTEM
========================================= */

#hamburger{
  display:none;
  font-size:28px;
  cursor:pointer;
}

/* ================= TABLET + MOBILE ================= */
@media(max-width:992px){


  section{padding:85px 0}

  /* NAVBAR STACK */
  .navbar{
  display:flex;
  flex-direction:row;            /* logo + hamburger in row */
  justify-content:space-between;
  align-items:center;
  position:relative;
   height:70px;
  padding:0 18px;
}
.navbar .btn{
  display:none;
}

 .logo img{
  height:75px;
  transform:scale(1.6);     /* much bigger visually */
  transform-origin:left center;
}

.logo{
  display:flex;
  align-items:center;
  padding-left:6px;
}

  /* SHOW HAMBURGER */
  #hamburger{
   margin-top:6px;
  margin-bottom:4px;
  font-size:26px;
  display:flex;
  align-items:center;
  }

  /* MOBILE DROPDOWN MENU */
  .menu{
  position:absolute;
  top:100%;
  left:0;
  width:100%;
  background:#fff;
  display:none !important;
  flex-direction:column;
  padding:15px 20px;
  box-shadow:0 12px 30px rgba(0,0,0,.15);
  z-index:999;
}
/* MOBILE MENU ITEM SPACING (professional way) */
.menu li{
  border-bottom:1px solid #eee;
}

.menu li:last-child{
  border-bottom:none;
}

.menu a{
  display:block;
  padding:14px 0;
}



  .menu.open{
    display:flex !important;
  }

  /* ACTIVE LINK */
  .menu a.active{
    color:var(--primary);
    font-weight:700;
  }

  /* MOBILE MEGA MENU ACCORDION */
  
  .mega-menu{
    position:static;
    transform:none;
    box-shadow:none;
    padding:0;
    max-height:0;
    overflow:hidden;
    opacity:1;
    visibility:visible;
    transition:max-height .4s ease;
  }

  .mega-inner{
    grid-template-columns:1fr;
    gap:8px;
    padding-left:10px;
  }

  /* HERO MOBILE */
  .hero{
    min-height:70vh;
    padding:80px 0;
    text-align:left;
  }

  h1{font-size:34px}
  h2{font-size:32px}

  /* BUTTON FULL WIDTH */
  .btn{
    width:90%;
    text-align:center;
    border-radius:40px;
  font-weight:600;
  letter-spacing:.3px;
  }

  /* GRID RESPONSIVE */
  .product-grid{
    grid-template-columns:1fr 1fr;
  }

  .main-header{
    height:70px;
  padding:0;
    
    /* matches mobile topbar height */
  }
}

/* ================= SMALL MOBILE ================= */
@media(max-width:600px){
  .product-grid{
    grid-template-columns:1fr;
  }
}

/* ===== ORANGE BRAND ACCENT ===== */
.accent{ color:var(--accent); }

.menu a:hover{
  color:var(--primary);
}

.card:hover h3{
  color:var(--primary);
}

.btn-outline:hover{
  background:var(--accent);
  border-color:var(--accent);
}

/* ================= CLICKABLE PRODUCT CARDS ================= */

.card{
  display:block;              /* makes <a> behave like card */
  text-decoration:none;       /* remove underline */
  color:inherit;              /* keep text color */
  cursor:pointer;
}

.card:hover{
  transform:translateY(-8px);
}

/* PRODUCT PAGE LAYOUT */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.split img{
  width:100%;
  max-width:420px;
  height:320px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 15px 40px rgba(0,0,0,.15);
}


@media(max-width:992px){
  .split{
    grid-template-columns:1fr;
  }
}
.trust-strip{
  background:#fff;
  padding:35px 0;
  border-bottom:1px solid #eee;
}

.trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  text-align:center;
  font-weight:600;
  color:var(--dark);
}

@media(max-width:992px){
  .trust-grid{grid-template-columns:1fr 1fr;gap:20px}
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  text-align:center;
}
.mega-inner a{
  text-decoration:none;
  color:var(--dark);
  font-weight:500;
  padding:6px 0;
  display:block;
}

.mega-inner a:hover{
  color:var(--primary);
}



/* ================= HERO SLIDER ================= */

.hero-slider{
  padding-top:0;     /* remove fake spacing */
  height:100vh;
  background:#000;
}




.swiper-slide{
  height:100vh;
  display:flex;
  align-items:center;
  color:#fff;
  background-size:cover;
  background-position:center;
  position:relative;
  padding-top:80px;
}
.swiper-wrapper{
  height:100vh;
}


.swiper-slide::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}

.hero-content{
  position:relative;
  max-width:720px;
  padding-top:40px;
}

.hero-content h1{
  font-size:64px;
  line-height:1.1;
  margin-bottom:24px;
  letter-spacing:-0.5px;
}
.hero-content p{
  font-size:20px;
  max-width:520px;
  margin-bottom:32px;
  color: #b1e9da;
}
.hero-content .btn{
  margin-right:14px;
}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(40px)}
  to{opacity:1;transform:translateY(0)}
}

/* SLIDE IMAGES */
.slide1{background:url('../images/hero1.jpg') center/cover no-repeat;}
.slide2{background:url('../images/hero2.jpg') center/cover no-repeat;}
.slide3{background:url('../images/hero3.jpg') center/cover no-repeat;}
/* ================= PRODUCT CATEGORIES ================= */

.categories{
  background:#fff;
  text-align:center;
}

.text-center{text-align:center}

.category-grid{
  margin-top:70px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

.category-card{
  position:relative;
  height:300px;
  display:flex;
  align-items:flex-end;
  padding:25px;
  color:#fff;
  text-decoration:none;
  font-size:22px;
  font-weight:600;
  overflow:hidden;
  border-radius:12px;
  transition:.4s;
}

.category-card .overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.75) 10%,
    rgba(0,0,0,.2) 60%,
    rgba(0,0,0,.1) 100%
  );
  transition:.4s;
}

.category-card h3{
  position:relative;
  z-index:2;
  font-size:26px;
  font-weight:600;
  letter-spacing:.3px;
}

.category-card:hover{
  transform:translateY(-12px) scale(1.02);
  box-shadow:0 25px 50px rgba(0,0,0,.25);
}

.category-card:hover .overlay{
  opacity:.85;
}

/* category images */
.c1{background:url('../images/cat1.jpg') center/cover}
.c2{background:url('../images/cat2.jpg') center/cover}
.c3{background:url('../images/cat3.jpg') center/cover}
.c4{background:url('../images/cat4.jpg') center/cover}
.c5{background:url('../images/cat5.jpg') center/cover}
.c6{background:url('../images/cat6.jpg') center/cover}

/* mobile */
@media(max-width:992px){
  .category-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:600px){
  .category-grid{
    grid-template-columns:1fr;
  }
}
/* ================= FEATURES SECTION ================= */

.features{
  background:var(--light);
  text-align:center;
}

.features-grid{
  margin-top:50px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:35px;
}

.feature{
  background:#fff;
  padding:35px;
  border-radius:12px;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
  transition:.4s;
}

.feature:hover{
  transform:translateY(-10px);
}

.feature .icon{
  font-size:40px;
  margin-bottom:15px;
}

/* mobile */
@media(max-width:992px){
  .features-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:600px){
  .features-grid{
    grid-template-columns:1fr;
  }
}
/* ================= CLIENT LOGOS ================= */

.clients{
  background:#fff;
  text-align:center;
}

.logo-slider{
  overflow:hidden;
  margin-top:40px;
}

.logo-track{
  display:flex;
  gap:80px;
  animation:scrollLogos 20s linear infinite;
}

.logo-track img{
  height:60px;
  opacity:.7;
  transition:.3s;
}

.logo-track img:hover{
  opacity:1;
}

@keyframes scrollLogos{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
/* ================= CONTACT PAGE ================= */

.contact-page{
  background:var(--light);
}

.contact-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:60px;
}

.contact-form form{
  background:#fff;
  padding:40px;
  border-radius:12px;
  box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
  margin-bottom:15px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:14px;
  border:1px solid #ddd;
  border-radius:8px;
  margin-bottom:15px;
  font-family:Poppins;
}

.contact-info{
  background:#fff;
  padding:40px;
  border-radius:12px;
  box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.contact-info p{
  margin:15px 0;
  font-size:18px;
}

/* mobile */
@media(max-width:992px){
  .contact-grid{
    grid-template-columns:1fr;
  }

  .form-row{
    grid-template-columns:1fr;
  }
}
.product-section{
  border-bottom:1px solid #eee;
  scroll-margin-top:120px;
}

.product-section:nth-child(even){
  background:#fafafa;
}
/* make slide relative so overlay can sit inside */
.swiper-slide{
  position:relative;
  overflow:hidden;
}

/* green diagonal industrial overlay */
.hero-shape{
  position:absolute;
  right:-120px;
  top:0;
  width:55%;
  height:100%;
  background:linear-gradient(
      135deg,
      rgba(47,143,117,.95),
      rgba(31,110,90,.95)
  );
  transform:skewX(-25deg);
  z-index:1;
}

/* keep text above shape */
.hero-content{
  position:relative;
  z-index:2;
  max-width:650px;
}
@media(max-width:992px){

  .hero-shape{
    width:90%;
    right:-220px;
    transform:skewX(-20deg);
    opacity:.9;
  }

}
/* ================= ABOUT PAGE ================= */

.about-page{
  background:var(--light);
  padding:120px 0 80px;
  text-align:center;
}

.about-container{
  max-width:820px;
}

.about-page h1{
  margin-bottom:35px;
}

.about-text p{
  font-size:18px;
  margin-bottom:22px;
  line-height:1.8;
}

.about-highlight{
  font-size:19px;
  color:var(--dark);
  font-weight:500;
}

/* ===== VISION CARD ===== */

.vision-section{
  background:#fff;
  padding:70px 0 120px;
}

.vision-card{
  max-width:720px;
  margin:auto;
  background:#fff;
  padding:55px;
  border-radius:16px;
  box-shadow:0 20px 45px rgba(0,0,0,.08);
  text-align:center;
}

.vision-card h2{
  margin-bottom:18px;
}
@media(max-width:768px){

  .about-page{
    padding:80px 0 50px;
  }

  .about-page h1{
    font-size:32px;
  }

  .about-text p{
    font-size:16px;
  }

  .vision-card{
    padding:35px 22px;
  }

  .vision-card h2{
    font-size:28px;
  }

}
