/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --green:#1f6f43;
    --light-green:#eaf5ec;
    --dark:#222;
}

html{
    scroll-behavior:smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f7faf7;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

/* ================= NAVBAR ================= */
.navbar {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    color: var(--green);
    font-weight: 700;
    letter-spacing: .5px;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: .3s;
}

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

.nav-menu a:hover::after{
    width:100%;
}

/* cart */
.cart-btn {
    background: var(--green);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: .3s;
}

.cart-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(31,111,67,.25);
}

/* ================= HERO ================= */
.hero {
    padding: 70px 0 50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1{
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-text p{
    color:#666;
    margin-bottom: 22px;
}

.hero img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,.12);
}

/* button */
.btn-primary {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 13px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

.btn-primary:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(31,111,67,.25);
}

/* ================= ABOUT ================= */
.about {
    background: var(--light-green);
    padding: 70px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-grid img{
    width:100%;
    border-radius:16px;
}

.about-box {
    background: var(--green);
    color: white;
    padding: 40px;
    border-radius: 16px;
}

.about-box h2{
    margin-bottom:10px;
}

/* ================= PRODUCTS ================= */
.products {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.product-card {
    background: #fff;
    padding: 22px;
    border-radius: 18px;
    text-align: center;
    transition: .35s;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,.12);
}

.product-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}

.price {
    color: var(--green);
    font-weight: 600;
    margin: 10px 0 16px;
    font-size: 18px;
}

.add-cart {
    background: var(--green);
    color: white;
    border: none;
    padding: 11px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: .25s;
}

.add-cart:hover{
    transform: scale(1.05);
}

/* ================= WHY ================= */
.why {
    background: #f0f7f1;
    padding: 80px 0;
}

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

.why-box {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 14px;
    font-weight: 500;
    transition:.3s;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.why-box:hover{
    transform: translateY(-6px);
}

/* ================= FOOTER ================= */
.footer {
    background: var(--green);
    color: white;
    text-align: center;
    padding: 50px 0;
}

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

.socials{
    margin-bottom:15px;
}

.socials a {
    color: white;
    margin: 0 12px;
    font-size: 22px;
    transition:.3s;
}

.socials a:hover{
    transform: scale(1.2);
}

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

    .hero-text h1{
        font-size: 34px;
    }

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

/* ================= MOBILE ================= */
@media (max-width: 768px){

    .nav-menu{
        display:none;
    }

    .hero-grid,
    .about-grid,
    .product-grid{
        grid-template-columns: 1fr;
        gap:30px;
    }

    .hero{
        padding-top:40px;
    }

    .hero-text h1{
        font-size:28px;
    }

    .section-title{
        font-size:26px;
    }

    .why-grid{
        grid-template-columns:1fr;
    }

    .product-card img{
        height:200px;
    }
}

/* ================= SMALL MOBILE ================= */
@media (max-width:480px){
    .container{
        width:94%;
    }

    .cart-btn{
        padding:8px 12px;
    }
}


/* HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
}
.hamburger span{
  width:25px;height:3px;background:#333;margin:4px 0;
}

/* MOBILE MENU */
@media(max-width:768px){
  .hamburger{display:flex;}
  .nav-menu{
    position:absolute;
    top:70px;left:0;width:100%;
    background:#fff;
    flex-direction:column;
    display:none;
    padding:20px;
  }
  .nav-menu.show{display:flex;}
}

/* BUTTON GROUP */
.btn-group{display:flex;gap:10px;justify-content:center;}
.details-btn{
  background:#fff;
  border:2px solid var(--green);
  color:var(--green);
  padding:10px 16px;
  border-radius:8px;
  cursor:pointer;
}

/* CART DRAWER */
.cart-drawer{
  position:fixed;
  right:-350px;
  top:0;
  width:320px;
  height:100%;
  background:#fff;
  box-shadow:-5px 0 20px rgba(0,0,0,.15);
  transition:.3s;
  z-index:2000;
  padding:20px;
}
.cart-drawer.open{right:0;}
.cart-header{
  display:flex;
  justify-content:space-between;
  margin-bottom:20px;
}

/* MODAL */
.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.5);
  justify-content:center;
  align-items:center;
  z-index:3000;
}
.modal-box{
  background:#fff;
  padding:30px;
  border-radius:12px;
  width:90%;
  max-width:500px;
}
.modal.show{display:flex;}

.spec-table{
  width:100%;
  border-collapse:collapse;
  margin-top:15px;
}
.spec-table td{
  border-bottom:1px solid #eee;
  padding:8px;
}
.close{cursor:pointer;float:right;font-size:22px;}


/* ================= HAMBURGER PREMIUM ================= */
.nav-right{
  display:flex;
  align-items:center;
  gap:14px;
}

/* hamburger base */
.hamburger{
  display:none;
  width:30px;
  height:22px;
  position:relative;
  cursor:pointer;
  z-index:3001;
}

/* lines */
.hamburger span{
  position:absolute;
  left:0;
  width:100%;
  height:3px;
  background:#333;
  border-radius:3px;
  transition:.35s ease;
}

/* line positions */
.hamburger span:nth-child(1){ top:0; }
.hamburger span:nth-child(2){ top:9px; }
.hamburger span:nth-child(3){ top:18px; }

/* ===== ANIMATE TO X ===== */
.hamburger.active span:nth-child(1){
  transform: rotate(45deg);
  top:9px;
}

.hamburger.active span:nth-child(2){
  opacity:0;
  transform: translateX(-20px);
}

.hamburger.active span:nth-child(3){
  transform: rotate(-45deg);
  top:9px;
}

/* ================= MOBILE MENU IMPROVED ================= */
@media(max-width:768px){

  .hamburger{
    display:block;
  }

  .nav-menu{
    position:absolute;
    top:72px;
    left:0;
    width:100%;
    background:#fff;
    flex-direction:column;
    gap:18px;
    padding:24px;
    box-shadow:0 20px 40px rgba(0,0,0,.08);

    /* animation */
    opacity:0;
    transform: translateY(-15px);
    pointer-events:none;
    transition:.35s ease;
  }

  .nav-menu.show{
    opacity:1;
    transform: translateY(0);
    pointer-events:auto;
  }

  .nav-menu li{
    text-align:center;
  }

  .nav-menu a{
    font-size:16px;
    font-weight:500;
  }

  /* better hero spacing mobile */
  .hero{
    padding-top:30px;
  }

  .hero-text{
    text-align:center;
  }

  .btn-group{
    flex-direction:column;
  }

  .cart-btn{
    padding:8px 12px;
  }
}


.logo-wrap{
  display:flex;
  align-items:center;
  gap:10px;
}
.site-logo{
  width:42px;
}
.logo-main{
  font-weight:700;
  color:var(--green);
}
.logo-tag{
  font-size:11px;
  color:#666;
}


/* ===== NEW SECTIONS ===== */

.support{
  padding:80px 0;
  background:#f6faf7;
}
.support-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}
.support img{
  width:100%;
  border-radius:16px;
}

.faq{
  padding:80px 0;
  background:#eef7f1;
}
.faq-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
.faq-box{
  background:#fff;
  padding:22px;
  border-radius:12px;
}

.blog{
  padding:80px 0;
}
.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.blog-card{
  background:#fff;
  padding:30px;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.contact{
  padding:80px 0;
  background:var(--green);
  color:#fff;
  text-align:center;
}
.contact-box{
  max-width:600px;
}

/* ===== MOBILE ===== */
@media(max-width:768px){
  .support-grid,
  .faq-grid,
  .blog-grid{
    grid-template-columns:1fr;
  }
}

/* ===== ENQUIRY BUTTON ===== */
.enquiry-btn{
  background:var(--green);
  color:#fff;
  padding:10px 20px;
  border-radius:8px;
  text-decoration:none;
  font-weight:500;
  transition:.3s;
}
.enquiry-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.15);
}
.enquiry-btn.small{
  padding:8px 14px;
  font-size:14px;
}

/* ===== ENQUIRY PAGE ===== */
.enquiry-page{
  padding:80px 0;
  background:#f6faf7;
}

.enquiry-box{
  max-width:700px;
  margin:auto;
  background:#fff;
  padding:40px;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.08);
  text-align:center;
}

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

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.btn-primary.full{
  width:100%;
}

/* ===== CONTACT FORM ===== */
.contact-form-box{
  max-width:600px;
  margin:auto;
}

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

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

  .enquiry-box{
    padding:25px;
  }
}

.success-msg{
  background:#e6f7ec;
  color:#1f6f43;
  padding:14px;
  border-radius:8px;
  margin-bottom:20px;
  font-weight:500;
}

/* ===== ADMIN ===== */
.admin-body{
  background:#f4f8f5;
  font-family:Poppins;
}

.admin-box{
  max-width:500px;
  margin:80px auto;
  background:#fff;
  padding:30px;
  border-radius:14px;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.admin-box input,
.admin-box textarea{
  width:100%;
  padding:12px;
  margin-bottom:12px;
  border:1px solid #ddd;
  border-radius:8px;
}

.admin-container{
  max-width:900px;
  margin:40px auto;
}

.admin-table{
  width:100%;
  background:#fff;
  border-collapse:collapse;
  margin-top:20px;
}

.admin-table th,
.admin-table td{
  padding:12px;
  border-bottom:1px solid #eee;
  text-align:left;
}

.delete-btn{
  color:red;
  text-decoration:none;
  font-weight:600;
}

/* MOBILE */
@media(max-width:768px){
  .admin-container{
    padding:0 15px;
  }
}


/* ===== PRODUCT MODAL ===== */
.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  justify-content:center;
  align-items:center;
  z-index:9999;
  padding:20px;
}

.modal.show{
  display:flex;
}

.modal-box{
  background:#fff;
  width:100%;
  max-width:560px;
  border-radius:16px;
  padding:28px;
  max-height:85vh;
  overflow:auto;
  position:relative;
}

.close{
  position:absolute;
  right:14px;
  top:10px;
  font-size:24px;
  cursor:pointer;
}

.product-details-content{
  margin-top:12px;
  line-height:1.6;
}
/* extra spacing before footer */
.footer{
  margin-top:60px;
}

.ts-control{
  padding:14px !important;
  border-radius:8px !important;
  border:1px solid #ddd !important;
}

/* ===== PHONE INPUT FIX ===== */
.iti{
  width:100%;
}

.iti input{
  width:100%;
  padding:14px !important;
  border-radius:8px;
  border:1px solid #ddd;
}


/* intl tel input fix */
.iti{
  width:100%;
}

.iti input{
  width:100%;
  padding:14px 14px 14px 90px !important;
  border-radius:8px;
  border:1px solid #ddd;
}


/* =========================================
   ENQUIRY NAVBAR (MATCH HOME DESIGN)
========================================= */
.enquiry-navbar{
  width:100%;
  background:#ffffff;
  border-bottom:1px solid #eef2ef;
  position:sticky;
  top:0;
  z-index:999;
}

.enquiry-nav-inner{
  max-width:1200px;
  margin:auto;
  padding:14px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* ===== BACK BUTTON ===== */
.back-dashboard-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:linear-gradient(135deg,#1f6f43,#2e8b57);
  color:#fff;
  padding:9px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  box-shadow:0 6px 18px rgba(31,111,67,.25);
  transition:all .25s ease;
}

.back-dashboard-btn i{
  font-size:13px;
}

/* hover */
.back-dashboard-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(31,111,67,.35);
  background:linear-gradient(135deg,#155a35,#1f6f43);
}

/* ===== BRAND ===== */
.enquiry-brand{
  font-weight:700;
  font-size:18px;
  color:#1f6f43;
  letter-spacing:.5px;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */
@media(max-width:768px){

  .enquiry-nav-inner{
    padding:12px 14px;
  }

  .back-dashboard-btn{
    padding:8px 14px;
    font-size:13px;
  }

  .enquiry-brand{
    font-size:16px;
  }

}

@media(max-width:480px){

  .enquiry-nav-inner{
    flex-wrap:wrap;
    gap:8px;
  }

  .enquiry-brand{
    width:100%;
    text-align:center;
    order:-1;
  }

}


/* ===================================
   ULTRA PREMIUM LOGO HOVER
=================================== */
.logo-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  transition:all .25s ease;
  position:relative;
}

/* remove link styling completely */
.logo-wrap:link,
.logo-wrap:visited,
.logo-wrap:hover,
.logo-wrap:active{
  text-decoration:none;
  color:inherit;
}

/* ===== PREMIUM MICRO HOVER ===== */
.logo-wrap:hover{
  transform:translateY(-1px);
}

/* subtle glow effect */
.logo-wrap::after{
  content:"";
  position:absolute;
  inset:-6px -10px;
  border-radius:12px;
  background:radial-gradient(
    circle at center,
    rgba(31,111,67,0.10),
    transparent 70%
  );
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}

.logo-wrap:hover::after{
  opacity:1;
}

/* logo image smoothness */
.site-logo{
  transition:transform .25s ease, filter .25s ease;
}

.logo-wrap:hover .site-logo{
  transform:scale(1.04);
  filter:brightness(1.05);
}

.site-logo{
  display:block;
}