:root {
  --green:#28a745;
  --orange:#ff6600;
  --black:#111;
  --white:#fff;
}

html{
  scroll-behavior: smooth;
}

.highlight {
 color: #28a745;
 font-weight: 600;
}

* { margin:0; padding:0; box-sizing:border-box; font-family:'Montserrat',sans-serif;}
body { background:var(--white); color:var(--black); scroll-behavior:smooth;}
a { text-decoration:none; color:inherit; }

/* NAVBAR */
nav { display:flex; justify-content:space-between; align-items:center; padding:20px 10%; background: rgba(255,255,255,0.95); position:sticky; top:0; z-index:100; box-shadow:0 2px 10px rgba(0,0,0,0.05);}
nav .logo { font-weight:700; font-size:1.8rem; color:var(--green);}
nav ul { display:flex; gap:30px; font-family:'Montserrat',sans-serif;}
nav ul li { list-style:none; font-weight:600; position:relative; cursor:pointer; font-family:'Montserrat',sans-serif;}
nav ul li.nav-btn::after{
  display: none;
}
/* ACTIVE LINK */
nav ul li a.active{
  color: var(--black);
}

/* underline stays visible */
nav ul li a.active::after{
  width: 100%;
}

/* FIX: apply underline to link instead of li */
nav ul li a{
  position: relative;
}

nav ul li a::after{
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: var(--orange);
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav ul li a:hover::after{
  width: 100%;
}

nav ul li a.active::after{
  width: 100%;
}

/* REMOVE underline from button */
nav .nav-btn a::after{
  display: none !important;
}
nav .get-quote-btn { background:var(--orange); color:#fff; padding:10px 20px; border-radius:5px; font-weight:600; transition:0.3s; text-decoration: none;  box-shadow: 0 4px 12px rgba(249,115,22,0.3);}
nav .get-quote-btn:hover { background:var(--green);   text-decoration: none;box-shadow: 0 6px 18px rgba(22,163,74,0.4);}
.hamburger { display:none; flex-direction:column; cursor:pointer; gap:5px; }
.hamburger span { width:25px; height:3px; background:var(--black); transition:0.3s; }
.hamburger.active span:nth-child(1){
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2){
  opacity: 0;
}

.hamburger.active span:nth-child(3){
  transform: rotate(-45deg) translate(6px, -6px);
}

/* LOGO STYLING */
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #111;
}

.logo img{
  height: 80px;
  width: auto;
  object-fit: cover;
  transition: 0.3s;
}

/* slightly smaller on mobile */
@media (max-width: 768px){
  .logo img{
    height: 50px;
  }
}

/* OPTIONAL: brand color accent */
.logo span{
  background: linear-gradient(90deg, #16a34a, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo img{
  transition: 0.3s;
}

.logo:hover img{
  transform: rotate(-5deg) scale(1.05);
}


/* MOBILE NAV */
@media (max-width: 900px){

  nav{
    padding: 15px 6%;
  }

  /* SHOW HAMBURGER */
  .hamburger{
    display: flex;
  }

  /* HIDE DESKTOP MENU */
  nav ul{
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    
    background: white;
    flex-direction: column;
    align-items: flex-start;

    padding: 25px 30px;
    gap: 20px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  /* WHEN OPEN */
  nav ul.show{
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  /* NAV ITEMS */
  nav ul li{
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }

  nav ul li:last-child{
    border-bottom: none;
  }

  /* LINKS */
  nav ul li a{
    display: block;
    width: 100%;
    font-size: 1rem;
  }

  /* BUTTON FIX */
  .get-quote-btn{
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}

/*------------------------------------------------------------------------------------*/

/* HERO */
section { padding:80px 10%; }
/* HERO SPLIT LAYOUT */
.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  gap: 40px;
  flex-wrap: wrap; /* responsive for mobile */
  
}


/* Animated Brand Heading */
.hero-content h1{
  font-size: 3.5rem;
  font-weight: 800;

  background: linear-gradient(
    90deg,
    #16a34a,   /* green */
    #ff6600,   /* orange */
    #163d2b,   /* black */
    #16a34a
  );

  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: brandGradient 6s linear infinite;
}

/* Gradient animation */
@keyframes brandGradient{
  0%{background-position: 0%;}
  100%{background-position: 300%;}
}


.hero-content {
  flex: 1 1 400px;
  text-align: left;
}

.hero-content span {
  font-weight: bold;
  color: #f97316;
  font-size: 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin: 10px 0;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #4b5563;
  font-weight: 600;
}

.hero-image {
  flex: 1 1 400px;
  
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
 box-shadow:0 15px 25px rgba(49, 255, 67, 0.5); /* added box shadow */
}

/* Buttons */
.buttons a {
  display: inline-block;
  margin-right: 15px;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background-color: #f97316;
  color: white;
  
}

.btn-primary:hover {
  background-color: #16a34a;
}

.btn-outline {
  border: 2px solid #16a34a;
  color: #16a34a;
}

.btn-outline:hover {
  background-color: #16a34a;
  color: white;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-split {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-image img {
    max-width: 100%;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
}

/* ================= BUTTON RESPONSIVENESS ================= */

/* Tablet */
@media (max-width: 900px){
  .buttons{
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap; /* 🔥 keep horizontal */
  }

  .buttons a{
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* Mobile */
@media (max-width: 600px){
  .buttons{
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap; /* 🔥 force side-by-side */
  }

  .buttons a{
    padding: 10px 12px;
    font-size: 0.85rem;
    flex: 1;              /* 🔥 makes them equal width */
    text-align: center;
  }
}

.trust-bar{
  text-align: center;
  padding: 15px;
  background: #f9fafb;
  font-weight: 600;
  color: #333;
  margin-bottom: 50px;
}

/* ABOUT SECTION */
.about {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 80px 10%;
  flex-wrap: wrap;
}

/* SECOND ABOUT ROW SPACING */
.second-about{
  margin-top: 40px;
}

/* STATIC IMAGE (SECOND ROW) */
.about-image{
  flex: 1;
  max-width: 500px;
}

.about-image img{
  width: 100%;
  height: 350px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 15px 25px rgba(255, 157, 0, 0.5); 
  transition: 0.4s;
}

/* subtle hover effect */
.about-image img:hover{
  transform: scale(1.03);
}

/* spacing */
.about-second{
  margin-top: 40px;
}

/* MOBILE */
@media (max-width: 900px){
  .about-second{
    flex-direction: column-reverse;
  }
}


.image-slider {
  flex: 1;
  position: relative;
  max-width: 500px;
  height: 350px;
  overflow: hidden;
  border-radius: 15px;
   box-shadow:0 15px 25px rgba(49, 255, 67, 0.5); /* added box shadow */
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.text {
  flex: 1;
}

.text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.text p {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

.about-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #f97316;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.about-btn:hover {
  background: #16a34a;
}

/* Mobile */
@media (max-width: 900px) {
  .about {
    flex-direction: column;
  }
}


/* reverse stacking on mobile */
@media (max-width: 900px){
  .second-about{
    flex-direction: column-reverse;
  }
}

/* FEATURES */
.features { background:#f8f8f8; display:flex; flex-wrap:wrap; gap:20px; justify-content:center; text-align:center; padding:60px 10%; }
.feature-card { flex:1 1 250px; background:#fff; padding:30px; border-radius:15px; box-shadow:0 10px 20px rgba(0,0,0,0.05); transition:0.3s; cursor:pointer; }
.feature-card:hover { transform:translateY(-10px); box-shadow:0 15px 25px rgba(49, 255, 67, 0.5); }
.feature-card svg { width:40px; height:40px; margin-bottom:15px; fill:var(--white); background:gold; border-radius:50%; padding:10px; }
.feature-card h3 { margin-bottom:10px; }
.feature-card p { color:#555; font-size:0.95rem; }

@media (max-width: 768px){

  .features{
    padding:45px 6%; /* reduce section padding */
    gap:15px;
  }

  .feature-card{
    flex:1 1 200px;   /* smaller base size */
    padding:22px;     /* reduce card padding */
  }

  .feature-card svg{
    width:34px;
    height:34px;
    padding:8px;
  }

  .feature-card h3{
    font-size:1rem;
  }

  .feature-card p{
    font-size:0.85rem;
  }
}

@media (max-width: 480px){

  .features{
    padding:35px 5%;
  }

  .feature-card{
    flex:1 1 100%;  /* stack nicely on small phones */
    padding:20px;
  }

  .feature-card p{
    font-size:0.82rem;
  }
}

/* PRODUCT CATEGORIES */
.categories-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); /* slightly smaller */
  gap:18px;
}

.category-card{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  cursor:pointer;
  transition:transform 0.3s ease;
}

.category-card:hover{
  transform:scale(1.03);
}

.category-card img{
  width:100%;
  height:220px; /* smaller image height */
  object-fit:cover;
  display:block;
  transition:transform 0.5s ease;
}

.category-card:hover img{
  transform:scale(1.05);
}

/* Overlay always visible */
.overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.45);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:18px;
}

.icon{
  width:48px;
  height:48px;
  background:#16a34a;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:10px;
}

.overlay h3{
  font-size:1.15rem;
  margin-bottom:4px;
}

.overlay span{
  font-size:0.92rem;
  color:#ddd;
}

/* Tablet */
@media (max-width:768px){

  .categories-grid{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:15px;
  }

  .category-card img{
    height:190px;
  }

  .overlay h3{
    font-size:1rem;
  }

  .overlay span{
    font-size:0.85rem;
  }

  .icon{
    width:42px;
    height:42px;
  }
}

/* Mobile */
@media (max-width:480px){

  .categories-grid{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
  }

  .category-card img{
    height:160px;
  }

  .overlay{
    padding:12px;
  }

  .overlay h3{
    font-size:0.9rem;
  }

  .overlay span{
    font-size:0.75rem;
  }

  .icon{
    width:36px;
    height:36px;
    margin-bottom:8px;
  }
}



/* FEATURED PRODUCTS */
.grid { 
  display: grid; 
  gap: 20px; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* slightly wider min-width */
}

.card { 
  background: #fff; 
  border-radius: 15px; 
  overflow: hidden; 
  box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
  cursor: pointer; 
  transition: transform 0.3s, box-shadow 0.3s; 
  position: relative; 
  display: flex; 
  flex-direction: column; 
  height: 400px; /* taller card */
}

.card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 15px 25px rgba(255, 157, 0, 0.5); 
}

.card img { 
  width: 100%; 
  height: 220px; /* taller image */
  object-fit: cover; 
  transition: transform 0.5s; 
}

.card:hover img { 
  transform: scale(1.05); 
}

.card h3 { 
  text-align: left; 
  padding: 15px; 
  font-size: 1.2rem; /* slightly larger */
  margin: 0; 
}

.card p { 
  text-align: left; 
  padding: 0 15px; 
  font-size: 0.95rem; 
  color: #4b5563; 
  flex-grow: 1; /* allows card to expand nicely */
}

/* Orange Top-Right Label */
.card .label {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #f97316;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  z-index: 10; /* ensures it stays on top on hover */
  transition: none; /* prevents any hover changes */
}

/* Product Button */
.card button {
  margin: 10px 15px 15px 15px;
  background-color: #f97316;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
}

.card button:hover {
  background-color: #16a34a; 
  transform: translateY(-2px);
}

.btn-card{
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: var(--orange);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-card:hover{
  background: var(--green);
}

/* ================= SMALLER SCREENS ================= */
@media (max-width: 768px) {

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }

  .card {
    height: 340px; /* reduce overall card height */
  }

  .card img {
    height: 160px; /* smaller image */
  }

  .card h3 {
    font-size: 1rem;
    padding: 12px;
  }

  .card p {
    font-size: 0.85rem;
    padding: 0 12px;
  }

  .card button {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .btn-card {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .card .label {
    font-size: 11px;
    padding: 5px 10px;
  }
}



/* CTA */
.cta { background:linear-gradient(135deg,var(--green),var(--orange)); color:#fff; text-align:center; border-radius:25px; padding:60px 30px; margin-top:50px; margin-bottom: 150px; }
.cta h2 { font-size:2rem; margin-bottom:20px; }
.cta p { font-size:1.1rem; margin-bottom:30px; }
.cta a { background:#fff; color:var(--green); padding:12px 30px; border-radius:8px; font-weight:600; }
.cta a:hover { background:#16a34a; color: #fff }

/* MEDIA QUERIES */
@media(max-width:768px){
  nav ul { display:none; flex-direction:column; background:#fff; position:absolute; top:70px; right:10%; width:200px; border-radius:10px; box-shadow:0 10px 20px rgba(0,0,0,0.1); }
  nav ul.show { display:flex; }
  .hamburger { display:flex; }
  .hero h1 { font-size:2.2rem; }
  .hero p { font-size:1rem; }
  .features { flex-direction:column; }
  .about { flex-direction:column; }
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  font-size: 22px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 999;
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}
/* --------------------
   FOOTER
-------------------- */

.footer {
  background: #ffffff;
  padding: 90px 10% 35px 10%;
  border-top: 1px solid #e5e7eb;
}

/* Layout */
.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 70px; /* more spacing */
  align-items: start;
}

/* Branding */
.footer-branding img {
  width: 190px; /* smaller logo */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  margin-bottom: 25px;
}

/* Socials */
.footer-socials {
  display: flex;
  gap: 18px;
}

.footer-socials a {
  font-size: 14px;
  text-decoration: none;
  color: #111;
  transition: 0.3s;
  font-weight: 600;
}

.footer-socials a:hover {
  color: #f97316;
}

/* Columns */
.footer-column h3 {
  margin-bottom: 20px;
  color: #f97316;
  font-size: 16px;
}

.footer-column a {
  display: block;
  margin-bottom: 12px;
  color: #111;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
}

.footer-column a:hover {
  color: #f97316;
  transform: translateX(4px);
}

.footer-column p {
  margin-bottom: 10px;
  font-size: 14px;
  color: #111;
  font-weight: 600;
}

.footer-small {
  margin-top: 15px;
  font-size: 13px;
  color: #111;
  font-weight: 600;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 55px 0 30px 0;
}

/* Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #111;
  font-weight: 600;
}

.footer-legal a {
  margin-left: 25px;
  text-decoration: none;
  color: #111;
  transition: 0.3s;
  font-weight: 600;
  
}

.footer-legal a:hover {
  color: #f97316;
}

/* --------------------
   RESPONSIVE
-------------------- */

@media (max-width: 900px) {

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-branding img {
    margin: 0 auto 20px auto;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

}





/* ================================
   SCROLL REVEAL BASE (Apple Style)
================================ */

/* Hidden state */
.reveal{
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

/* When visible */
.reveal.active{
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* ================================
   DIRECTION VARIATIONS
================================ */

/* From left */
.reveal-left{
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s ease;
}

.reveal-left.active{
  opacity: 1;
  transform: translateX(0);
}

/* From right */
.reveal-right{
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease;
}

.reveal-right.active{
  opacity: 1;
  transform: translateX(0);
}

/* Zoom in */
.reveal-zoom{
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s ease;
}

.reveal-zoom.active{
  opacity: 1;
  transform: scale(1);
}


/* ================================
   STAGGER EFFECT (Apple feel)
================================ */

.reveal:nth-child(1){ transition-delay: 0.1s; }
.reveal:nth-child(2){ transition-delay: 0.2s; }
.reveal:nth-child(3){ transition-delay: 0.3s; }
.reveal:nth-child(4){ transition-delay: 0.4s; }
.reveal:nth-child(5){ transition-delay: 0.5s; }





/* ================================
   PERFORMANCE OPTIMIZATION
================================ */

.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom{
  will-change: transform, opacity;
}


/* ================================
   OPTIONAL: DISABLE ON SMALL DEVICES
================================ */

@media (max-width: 600px){
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-zoom{
    transform: none;
    opacity: 1;
    transition: none;
  }
}