*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, sans-serif;
}

body{
  background:#f4f6f9;
}

/* NAVBAR */
header{
  background:#0b2342;
  position:fixed;
  width:100%;
  top:0;
  z-index:1000;
  height:85px; /* fixed height */
}

.nav-container{
  height:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 40px;
  color:#fff;
}

.logo-section{
  display:flex;
  align-items:center;
  gap:18px;
  height:100%;
}

.logo-section h2{
  font-size:34px;
  font-weight:700;
  white-space:nowrap;
  line-height:1;
}

.logo{
  height:150px;
  width:auto;
  object-fit:contain;
}

nav a{
  color:#fff;
  text-decoration:none;
  margin-left:20px;
  font-weight:bold;
  transition:0.3s;
}

nav a:hover{
  color:#25D366;
}

/* HERO */
.hero{
  position:relative;
  height:65vh;
  margin-top:85px; /* matches header */
  border-bottom-left-radius:30px;
  border-bottom-right-radius:30px;
  overflow:hidden;
}

.bg-video{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  top:0;
  left:0;
  z-index:-1;
}

.overlay{
  background:rgba(0,0,0,0.6);
  color:#fff;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:20px;
}

/* BUTTONS */
.btn{
  display:inline-block;
  padding:10px 20px;
  border-radius:8px;
  font-weight:600;
  font-size:15px;
  transition:0.3s;
  color:#fff;
  background:#0b2342;   /* 🔥 THIS WAS MISSING */
  text-decoration:none;
}
.supply-buttons .btn{
  width:240px;
  text-align:center;
  text-decoration:none;
}

.supply-buttons{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:nowrap;   /* 🔥 prevents stacking */
}
.whatsapp{
  background:#25D366;
}

.call{
  background:#007bff;
}

.btn:hover{
  transform:scale(1.05);
}

/* ABOUT */
.about{
  padding:80px 20px;
  text-align:center;
}

/* SERVICES */
.services{
  padding:60px 20px;
  text-align:center;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(150px,1fr));
  gap:20px;
  margin-top:30px;
}

.card{
  background:#fff;
  padding:25px; /* 🔥 reduce from 25px */
  border-radius:10px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  transition:0.3s;

}

.card i{
  font-size:30px;
  margin-bottom:10px;
  color:#0b2342;
}

.card:hover{
  transform:translateY(-8px);
  background:#0b2342;
  color:#fff;
}

.card:hover i{
  color:#25D366;
}

/* CONTACT */
.contact{
  padding:60px 20px;
  text-align:center;
  background:#e9eef5;
}

.facebook{
  background:#1877F2;
}

.facebook:hover{
  background:#145bd1;
}

.instagram{
  background:#E4405F;
}

.linkedin{
  background:#0077B5;
}
/* FOOTER */
footer{
  text-align:center;
  background:#0b2342;
  color:#fff;
  padding:15px;
}

.gallery-img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:10px;
}

.chemical-list{
  list-style:none;
  padding:20px;
  max-width:600px;
  margin:auto;
}

.chemical-list li{
  background:#fff;
  margin:10px 0;
  padding:12px;
  border-radius:8px;
  box-shadow:0 2px 5px rgba(0,0,0,0.1);
}

/* LIGHT BUTTON (for white backgrounds) */
.btn-light{
  display:inline-block;
  padding:12px 20px;
  margin:10px;
  border-radius:6px;
  font-weight:bold;
  background:#0b2342; /* dark blue */
  color:#fff;
  transition:0.3s;
}

.btn-light:hover{
  background:#25D366;
}


/* GALLERY GRID */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
  gap:20px;
  padding:20px;
}

/* IMAGE STYLE */
.gallery-img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  transition:0.3s;
}

/* HOVER EFFECT */
.gallery-img:hover{
  transform:scale(1.05);
  box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

/* LIGHTBOX (FULL SCREEN VIEW) */
#lightbox{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:2000;
}

#lightbox img{
  max-width:90%;
  max-height:90%;
  border-radius:10px;
}


/* ACCORDION */
.accordion{
  max-width:700px;
  margin:30px auto;
}

.accordion-btn{
  width:100%;
  padding:15px;
  text-align:left;
  border:none;
  outline:none;
  background:#0b2342;
  color:#fff;
  font-size:16px;
  margin-top:10px;
  cursor:pointer;
  border-radius:6px;
  transition:0.3s;
}

.accordion-btn:hover{
  background:#25D366;
}

.accordion-content{
  display:none;
  background:#fff;
  padding:15px;
  border-radius:6px;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.accordion-content p{
  margin:5px 0;
  color:#333;
}


/* CHEM GRID */
.chem-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

/* CARD */
.chem-card{
  background:#fff;
  border-radius:12px;
  padding:20px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  cursor:pointer;
  transition:0.3s;
}

.chem-card:hover{
  transform:translateY(-5px);
}

/* HEADER */
.chem-header{
  display:flex;
  align-items:center;
  gap:10px;
}

.chem-header i{
  font-size:22px;
  color:#0b2342;
}

/* DROPDOWN CONTENT */
/* CARD */
.chem-card{
  background:#fff;
  border-radius:12px;
  padding:20px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  cursor:pointer;
  transition:0.3s;
}

.chem-card:hover{
  transform:translateY(-5px);
}

/* HEADER */
.chem-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.chem-header h3{
  margin:0;
}

.chem-header i{
  font-size:22px;
  color:#0b2342;
  transition:0.3s;
}

/* DROPDOWN CONTENT WITH ANIMATION */
.chem-content{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.4s ease;
  margin-top:10px;
  border-top:1px solid #eee;
}

/* WHEN OPEN */
.chem-card.active .chem-content{
  max-height:500px; /* enough space */
  margin-top:15px;
}

/* TEXT */
.chem-content p{
  margin:8px 0;
  font-size:16px;
  color:#333;
  line-height:1.5;
}

/* ROTATE ICON WHEN OPEN */
.chem-card.active .chem-header i{
  transform:rotate(180deg);
  color:#25D366;
}

/* CLEAN SECTION */
.clean-section{
  padding:80px 20px;
  background:#f9fafc;
}

/* CONTAINER (THIS FIXES YOUR MAIN PROBLEM) */
.container{
  max-width:900px;
  margin:auto;
  text-align:center;
}

.container p{
  margin:15px 0;
  line-height:1.7;
  font-size:16px;
  color:#444;
}

.clean-section{
  padding:80px 20px;
  background:#f9fafc;
}

.container{
  max-width:900px;
  margin:auto;
  text-align:center;
}

.container p{
  margin:15px 0;
  line-height:1.7;
  font-size:16px;
  color:#444;
}

/* ABOUT GRID (FIXED) */
.about-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px,1fr));
  gap:20px;
  margin-top:40px;
}

/* CARD */
.about-card{
  background:#fff;
  padding:20px;
  border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
  transition:0.3s;
}

/* HEADER (CLICKABLE AREA) */
.about-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
}

.about-header h3{
  flex:1;
  margin:0;
  font-size:17px;
  color:#0b2342;
}

/* ICONS */
.about-header i{
  color:#0b2342;
  font-size:16px;
}

/* DROPDOWN CONTENT */
.about-content{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.4s ease;
}

/* ACTIVE OPEN */
.about-card.active .about-content{
  max-height:600px;
  margin-top:10px;
}

/* TEXT */
.about-content p{
  font-size:15.5px;
  line-height:1.7;
  color:#444;
  text-align:justify;
}

/* ARROW ROTATION */
.arrow{
  transition:0.3s;
}

.about-card.active .arrow{
  transform:rotate(180deg);
}

/* HOVER EFFECT */
.about-card:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* ACTIVE STYLE */
.about-card.active{
  border-left:4px solid #25D366;
}

/* MOBILE */
@media(max-width:768px){
  .about-grid{
    grid-template-columns:1fr;
  }
}

/* SCROLL ONLY WHEN ACTIVE */
.scroll-card .about-content{
  max-height:0;          /* 🔥 keep it closed initially */
  overflow:hidden;
  transition:max-height 0.4s ease;
}

/* WHEN OPEN → ENABLE SCROLL */
.scroll-card.active .about-content{
  max-height:300px;      /* open height */
  overflow-y:auto;       /* enable scroll */
  margin-top:10px;
  padding-right:5px;
}

/* NICE SCROLLBAR */
.scroll-card.active .about-content::-webkit-scrollbar{
  width:6px;
}

.scroll-card.active .about-content::-webkit-scrollbar-thumb{
  background:#0b2342;
  border-radius:10px;
}

.download-btn{
  display:inline-block;
  margin-top:10px;
  background:#0b2342;
  color:#fff;
  padding:10px 16px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.download-btn:hover{
  background:#25D366;
}

.equipment{
  background:#0b2342;
}

.equipment:hover{
  background:#25D366;
}

/* GALLERY GRID (3 PER ROW) */
.service-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  max-width:1200px;   /* 🔥 THIS IS THE KEY */
  margin:auto;       /* center it */
  gap:20px;
}

/* IMAGE STYLE */
.gallery-img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
  transition:0.3s;
}

/* HOVER EFFECT */
.gallery-img:hover{
  transform:scale(1.05);
}
@media(max-width:768px){
  .service-grid{
    grid-template-columns:1fr;
  }
}

/* LIGHTBOX */
.lightbox{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  justify-content:center;
  align-items:center;
  z-index:2000;
}

.lightbox-content{
  max-width:90%;
  max-height:90%;
  border-radius:10px;
}

.close{
  position:absolute;
  top:20px;
  right:30px;
  color:#fff;
  font-size:30px;
  cursor:pointer;
}



/* MOBILE */
@media(max-width:768px){

  nav{
    display:none;
  }
  .nav-container{
    padding:0 15px;
  }

  .hero h1{
    font-size:22px;
  }

  .logo{
    height:70px;
  }

  .logo-section h2{
    font-size:24px;
  }

}

/* ============================= */
/* EQUIPMENT PAGE LAYOUT */
/* ============================= */

.equipment-layout{
  display:flex;
  gap:30px;
  padding:90px;
}

/* LEFT SIDE */
.equipment-left{
  width:40%;
}

/* RIGHT SIDE */
.equipment-right{
  width:60%;
}

/* FORCE 3 IMAGES */
.equipment-right .gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:15px;
}

/* IMAGE SIZE */
.equipment-right .gallery-img{
  height:180px;
  object-fit:cover;
  border-radius:10px;
}

/* MOBILE */
@media(max-width:768px){
  .equipment-layout{
    flex-direction:column;
  }

  .equipment-left,
  .equipment-right{
    width:100%;
  }
}

/* ============================= */
/* RIGHT SIDE BACKGROUND */
/* ============================= */

.equipment-right{
  width:60%;
  background:#f9fafc; /* same as left */
  padding:20px;
  border-radius:12px;
}

/* ============================= */
/* HEADER STYLE */
/* ============================= */

.equipment-right h2{
  text-align:center;
  margin-bottom:20px;
  font-size:22px;
  color:#0b2342; /* same as left */
}

/* ============================= */
/* IMAGE CARD EFFECT */
/* ============================= */

.equipment-right .gallery-img{
  height:180px;
  object-fit:cover;
  border-radius:12px;
  border:2px solid rgba(255,255,255,0.1);
  transition:0.3s;
}

/* HOVER EFFECT */
.equipment-right .gallery-img:hover{
  transform:scale(1.05);
  border-color:#25D366;
  box-shadow:0 8px 25px rgba(0,0,0,0.4);
}

/* SAME LAYOUT AS EQUIPMENT */
.equipment-layout{
  display:flex;
  gap:30px;
  align-items:flex-start;
}

/* LEFT SIDE */
.equipment-left{
  width:40%;
}

/* RIGHT SIDE */
.equipment-right{
  width:60%;
  background:#f9fafc;
  padding:20px;
  border-radius:12px;
}

/* GRID FIX (IMPORTANT FOR CHEMICALS ONLY) */
.chemicals-grid{
  grid-template-columns:1fr 1fr;
}

/* ============================= */
/* MOBILE FIX (IMPORTANT) */
/* ============================= */
@media(max-width:768px){

  /* STACK LEFT + RIGHT */
  .equipment-layout{
    flex-direction:column;
    padding:20px;
  }

  .equipment-left,
  .equipment-right{
    width:100%;
  }

  /* FIX IMAGE GRID (NO MORE THIN STRIPS) */
  .service-grid{
    grid-template-columns:1fr 1fr; /* 2 per row */
    gap:15px;
  }

  /* MAKE IMAGES LOOK NORMAL */
  .gallery-img{
    height:160px;
  }

  /* FIX CHEM GRID */
  .chem-grid{
    grid-template-columns:1fr; /* stack cards */
  }

  /* FIX HEADINGS */
  h2{
    font-size:20px;
  }

  /* CENTER CONTENT BETTER */
  .about{
    padding:40px 15px;
  }

  /* BUTTON FIX */
  .supply-buttons{
    flex-direction:column;
    align-items:center;
  }

  .supply-buttons .btn{
    width:90%;
  }

}

/* ============================= */
/* MOBILE FIX - HOME PAGE */
/* ============================= */
@media(max-width:768px){

  /* HEADER FIX */
  .nav-container{
    padding:0 15px;
  }

  .logo{
    height:60px;
  }

  .logo-section h2{
    font-size:18px;
  }

  /* SERVICE CARDS (Industries, Medicals, etc) */
  .service-grid{
    grid-template-columns:1fr; /* one per row */
    gap:15px;
  }

  .card{
    padding:18px;
  }

  .card h3{
    font-size:18px;
  }

  /* BUTTONS (IMPORTANT FIX) */
  .supply-buttons{
    flex-direction:column;
    align-items:center;
    gap:10px;
  }

  .supply-buttons .btn{
    width:90%;   /* full width on mobile */
  }

  /* CONTACT BUTTONS */
  .contact .btn{
    width:90%;
    margin:8px auto;
    display:block;
  }

  /* CONTACT TEXT */
  .contact{
    padding:40px 15px;
  }

  /* GENERAL SPACING */
  .about{
    padding:40px 15px;
  }

}