:root {
  --green:#28a745;
  --orange:#ff6600;
  --black:#111;
  --white:#fff;
}

html{
  scroll-behavior: smooth;
}

* { 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::after { content:''; position:absolute; width:0%; height:2px; background:var(--orange); left:0; bottom:-5px; transition:0.3s; }
nav ul li:hover::after { width:100%; }
nav ul li.nav-btn::after{
  display: none;
}
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 */
.hero-cleaning{
  position:relative;
  min-height:60vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:80px 8% 60px;

  /* BACKGROUND IMAGE */
  background:url("Images/banner.png") center/cover no-repeat;

  color:#fff;
  overflow:hidden;
}

/* optional dark overlay for readability */
.hero-cleaning::before{
  content:"";
  position:absolute;
  inset:0;
 
}

.hero-cleaning-content{
  position:relative;
  z-index:2;
  max-width:900px;
  width:100%;
}

/* HEADING */
.hero-cleaning h1{
  font-size:3rem;
  margin-bottom:10px;
}

.hero-cleaning p{
  max-width:600px;
  margin:auto;
  color:#6b7280;
  font-size:1.1rem;
}

/* Animated Brand Heading */
.hero-cleaning-content h1{
  font-weight:800;
  background:linear-gradient(
    90deg,
    #16a34a,
    #ff6600,
    #163d2b,
    #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%;}
}

@media (max-width:992px){
  .hero-cleaning{
    padding:105px 6% 50px; /* was 90px */
  }



  .hero-cleaning h1{
    font-size:2.6rem;
  }

  .hero-cleaning p{
    font-size:1rem;
    max-width:580px;
  }

}

@media (max-width:768px){
  .hero-cleaning{
    padding:100px 5% 45px; /* was 85px */
  }



  .hero-cleaning h1{
    font-size:2.2rem;
  }

  .hero-cleaning p{
    font-size:0.98rem;
    line-height:1.6;
  }
}

@media (max-width:480px){
  .hero-cleaning{
    padding:95px 5% 40px; /* was 80px */
  }



  .hero-cleaning h1{
    font-size:1.8rem;
    margin-bottom:12px;
  }

  .hero-cleaning p{
    font-size:0.92rem;
    max-width:100%;
  }
}

@media (max-width:360px){
  .hero-cleaning{
    padding-top:90px; /* was 75px */
  }


  .hero-cleaning p{
    font-size:0.86rem;
  }
}

/* BUTTON WRAPPER */
.buttons{
  display:flex;
  justify-content:center;   /* centers buttons */
  align-items:center;
  gap:15px;
  flex-wrap:wrap;
  margin-top:35px;         /* space below text */
}

/* BUTTONS */
.buttons a{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:12px 25px;
  border-radius:8px;
  font-weight:bold;
  text-decoration:none;
  transition:0.3s ease;
  white-space:nowrap;
  min-height:48px;
  margin:0;
}

/* PRIMARY */
.btn-primary{
  background-color:#f97316;
  color:#fff;
}

.btn-primary:hover{
  background-color:#16a34a;
}

/* OUTLINE */
.btn-outline{
  border:2px solid #16a34a;
  color:#16a34a;
}

.btn-outline:hover{
  background-color:#16a34a;
  color:#fff;
}

/* TABLET */
@media (max-width:768px){

  .buttons{
    gap:10px;
    justify-content:center;
  }

  .buttons a{
    margin-top:25px;
    padding:11px 18px;
    font-size:0.95rem;
    min-width:180px;
  }
}

/* MOBILE */
@media (max-width:600px){

  .buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    flex-wrap:wrap; /* allow wrapping instead of stretching */
    width:100%;
  }

  .buttons a{
    flex: 0 0 auto;   /* IMPORTANT: stops stretching */
    width: auto;      /* prevents full width */
    min-width: 140px; /* keeps buttons readable */
    margin-top:20px;
    padding:10px 16px;
    font-size:0.85rem;
    text-align:center;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width:380px){

  .buttons{
    gap:6px;
  }

  .buttons a{
    font-size:0.75rem;
    padding:10px 6px;
  }
}

.products{padding:70px 10%;}
.search-bar{display:flex;justify-content:center;margin-bottom:30px;}
.search-bar input{width:100%;max-width:420px;padding:12px 18px;border-radius:8px;border:1px solid #ddd;font-size:14px;border-color:var(--green);}
.search-bar input:focus{border-color:var(--orange);outline:none;}

/* CATEGORY BUTTONS */
.categories{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:35px;
}

.categories button{
  border:none;
  padding:10px 16px;
  background:#f3f4f6;
  border-radius:20px;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
}

.categories button:hover{
  background:var(--orange);
  color:#fff;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:25px;
}

/* CARD */
.card{
  background:#fff;
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
  transition:all 0.35s ease;
  display:flex;
  flex-direction:column;
  cursor:pointer;
  position:relative;
}

.card.hide{
  display:none !important;
}

/* IMAGE */
.card img{
  width:100%;
  height:210px;
  object-fit:contain;
  transition:transform 0.4s ease;
}

/* CONTENT */
.card-content{
  padding:18px;
  flex:1;
  display:flex;
  flex-direction:column;
}

.card-content h3{
  margin-bottom:8px;
  font-size:1.1rem;
}

.card-content p{
  font-size:.9rem;
  color:var(--gray);
  margin-bottom:15px;
  flex:1;
}

/* BUTTON */
.card-content a{
  background:var(--orange);
  color:#fff;
  padding:10px;
  text-align:center;
  border-radius:6px;
  font-weight:600;
  transition:0.3s;
}

/* HOVER */
.card:hover{
  transform:translateY(-10px);
  box-shadow:0 15px 25px rgba(49,255,67,0.5);
}

.card:hover img{
  transform:scale(1.08);
}

.card-content a:hover{
  background:#16a34a;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width:768px){

  .grid{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:18px;
  }

  .card img{
    height:170px;
  }

  .card-content{
    padding:14px;
  }

  .card-content h3{
    font-size:1rem;
  }

  .card-content p{
    font-size:0.85rem;
  }
}

/* Mobile */
@media (max-width:480px){

  .grid{
    grid-template-columns:repeat(2,1fr);
    gap:14px;
  }

  .card{
    border-radius:12px;
  }

  .card img{
    height:130px;
  }

  .card-content{
    padding:12px;
  }

  .card-content h3{
    font-size:0.92rem;
    margin-bottom:6px;
  }

  .card-content p{
    font-size:0.78rem;
    margin-bottom:10px;
  }

  .card-content a{
    padding:8px;
    font-size:0.8rem;
  }
}

/* Extra Small */
@media (max-width:360px){

  .grid{
    grid-template-columns:1fr;
  }

  .card img{
    height:140px;
  }
}

/* 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;}

/* 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;
  }
}