/* Reset */

* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}



body {

  font-family: 'Poppins', sans-serif;

  color: #333;

}



/* Container */

.container {

  width: 90%;

  max-width: 1200px;

  margin: auto;

}



/* Header */

.header {

  background-color: #ffffff;

  border-bottom: 1px solid #eaeaea;

  position: sticky;

  top: 0;

  z-index: 1000;

}



.header-container {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 15px 0;

}



/* Logo */

.logo {

  display: flex;

  align-items: center;

  gap: 15px; 

}



.logo img {

  height: 70px;      

  width: auto;       

}



.logo span {

  font-size: 24px;  

  font-weight: 600;

  color: #0077b6;

}



/* Navigation */

.nav ul {

  list-style: none;

  display: flex;

  gap: 25px;

}



.nav a {

  text-decoration: none;

  color: #333;

  font-weight: 500;

  transition: color 0.3s ease;

}



.nav a:hover,

.nav a.active {

  color: #0077b6;

}







/* ================= MOBILE HEADER ================= */

@media (max-width: 768px) {



  .header {

    padding: 15px 0;

  }



  .header-container {

    flex-direction: column;

    align-items: center;

    gap: 15px;

  }



  .logo {

    display: flex;

    align-items: center;

    gap: 10px;

  }



  .logo img {

    height: 45px;

  }



  .nav ul {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

  }



  .nav ul li a {

    font-size: 16px;

    padding: 6px 0;

  }

}









/* Footer */

.footer {

  background-color: #0077b6; /* Aqua Blue */

  color: #fff;

  padding: 60px 0 30px 0;

  font-size: 14px;

  font-family: 'Poppins', sans-serif;

}



.footer a {

  color: #ffffff;

  text-decoration: none;

}



.footer a:hover {

  color: #90e0ef; /* lighter blue on hover */

}



/* Footer Container */

.footer-container {

  display: flex;

  flex-wrap: wrap;

  justify-content: space-between;

  gap: 40px; /* spacing between columns */

}



/* Brand Section */

.footer-brand {

  flex: 1 1 250px;

}



.footer-brand img {

  height: 70px;

  width: auto;

  margin-bottom: 15px;

}



.footer-brand span {

  display: block;

  font-size: 22px;

  font-weight: 600;

  margin-bottom: 10px;

}



.footer-brand p {

  font-size: 15px;

  line-height: 1.6;

  color: #e0f7fa;

}
.footer-social h3 {
  margin-bottom: 12px;
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 5px !important;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #1e90ff; /* sky blue theme */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #00bfff;
  transform: translateY(-3px);
}
 .footer-social {
  text-align: center;
}

.footer-social .social-icons {
  justify-content: center;
}



/* Contact Section */

.footer-contact {

  flex: 1.5 1 350px; /* slightly narrower to prevent wrapping */

}



.footer-contact h3 {

  margin-bottom: 15px;

  font-size: 17px;

  font-weight: 600;

  border-bottom: 2px solid #90e0ef;

  display: inline-block;

  padding-bottom: 5px;

}



.footer-contact ul {

  list-style: none;

  padding: 0;

}



.footer-contact li {

  margin-bottom: 12px;

  line-height: 1.6;

  white-space: normal; /* allows wrapping on long addresses */

  word-wrap: break-word;

}



.footer-contact i {

  margin-right: 8px;

  color: #90e0ef;

  width: 18px;

  text-align: center;

}



/* Quick Links Section */

.footer-links {

  flex: 1 1 200px;

}



.footer-links h3 {

  margin-bottom: 15px;

  font-size: 17px;

  font-weight: 600;

  border-bottom: 2px solid #90e0ef;

  display: inline-block;

  padding-bottom: 5px;

}



.footer-links ul {

  list-style: none;

  padding: 0;

}



.footer-links li {

  margin-bottom: 12px;

}



.footer-links li a {

  transition: color 0.3s ease;

}



/* Footer Bottom */

.footer-bottom {

  text-align: center;

  padding-top: 25px;

  border-top: 1px solid #90e0ef;

  font-size: 13px;

  color: #d0f0fc;

}



/* Responsive Design */

@media(max-width: 768px) {

  .footer-container {

    flex-direction: column;

    gap: 30px;

  }



  .footer-brand,

  .footer-contact,

  .footer-links {

    flex: 1 1 100%;

  }



  .footer-contact i {

    width: 16px;

    margin-right: 6px;

  }

}









/* ================= HERO SECTION ================= */

.hero {

  background: url('../assets/banner/banner-958939_1920.jpg') no-repeat center center/cover;

  height: 80vh;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  color: #fff;

  position: relative;

}



.hero::after {

  content: '';

  position: absolute;

  top: 0; left: 0;

  width: 100%; height: 100%;

  background-color: rgba(0, 119, 182, 0.1); /* overlay for readability */

  pointer-events: none; /* allows clicks to pass through */



}



.hero h1,

.hero p {

  position: relative; /* ensures text is above overlay */

  text-shadow: 2px 2px 8px rgba(0,0,0,0.5); /* improves readability */

}



.hero-content {

  position: relative;

  max-width: 700px;

  padding: 0 20px;

}



.hero h1 {

  font-size: 48px;

  font-weight: 600;

  margin-bottom: 20px;

}



.hero p {

  font-size: 18px;

  margin-bottom: 30px;

}



.btn-primary {

  display: inline-block;

  background-color: #90e0ef;

  color: #0077b6;

  padding: 15px 30px;

  font-weight: 600;

  text-decoration: none;

  border-radius: 5px;

  transition: background-color 0.3s ease, color 0.3s ease;

}



.btn-primary:hover {

  background-color: #fff;

  color: #0077b6;

}



/* Highlights Section */

.highlights {

  display: flex;

  justify-content: center; /* center all cards horizontally */

  margin: 60px 0;

  flex-wrap: wrap;

  gap: 30px;

}



.highlight {

  flex: 1 1 250px;

  max-width: 300px; /* limit max width for better centering */

  text-align: center;

  padding: 25px 20px;

  border-radius: 10px;

  background-color: #e0f7fa;

  transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.highlight:hover {

  transform: translateY(-10px);

  box-shadow: 0 10px 20px rgba(0,0,0,0.1);

}



/* Zoomed image size in cards */

.highlight img {

  height: 120px; /* increased from 80px */

  margin-bottom: 15px;

}



.highlight h3 {

  font-size: 20px;

  margin-bottom: 10px;

  color: #0077b6;

}



.highlight p {

  font-size: 14px;

  color: #023e8a;

  line-height: 1.5;

}



/* Responsive adjustments */

@media(max-width: 992px) {

  .highlight img {

    height: 100px;

  }

}



@media(max-width: 768px) {

  .highlights {

    flex-direction: column;

    align-items: center; /* keep cards centered vertically */

  }

  .highlight {

    width: 80%;

    max-width: none;

  }

  .highlight img {

    height: 120px;

  }

}



/* ================= RESPONSIVE HOMEPAGE ================= */

@media(max-width: 992px) {

  .hero h1 {

    font-size: 40px;

  }

  .hero p {

    font-size: 16px;

  }

  .highlights {

    gap: 20px;

  }

}



@media(max-width: 768px) {

  .hero h1 {

    font-size: 32px;

  }

  .hero p {

    font-size: 15px;

  }

  .highlights {

    flex-direction: column;

    align-items: center;

  }

  .highlight {

    width: 80%;

  }

}



















/* ================= ABOUT & PLANT PAGE ================= */



.about-plant {

  padding: 70px 0;

  background-color: #f9fcff;

}



.page-title {

  text-align: center;

  margin-bottom: 50px;

}



.page-title h1 {

  font-size: 34px;

  color: #023e8a;

  margin-bottom: 10px;

}



.page-title p {

  color: #555;

  font-size: 16px;

}



.about-text {

  max-width: 900px;

  margin: 0 auto 60px auto;

  font-size: 16px;

  line-height: 1.8;

  color: #333;

}



/* Plant Cards */

.plant-section {

  display: flex;

  flex-direction: column;

  gap: 60px;

}



.plant-card {

  display: flex;

  align-items: center;

  gap: 40px;

}



.plant-card.reverse {

  flex-direction: row-reverse;

}



.plant-card img {

  width: 100%;

  max-width: 280px;     /* uniform size for all machines */

  max-height: 220px;    /* key fix for tall images (ozonator) */

  height: auto;

  object-fit: contain;

  border-radius: 10px;

  box-shadow: 0 6px 16px rgba(0,0,0,0.12);

  display: block;

  margin: 0 auto;

}





.plant-info {

  flex: 1; /* ensures text uses remaining space */

}



.plant-info h3 {

  font-size: 22px;

  color: #0077b6;

  margin-bottom: 15px;

}



.plant-info p {

  font-size: 15px;

  line-height: 1.7;

  color: #444;

}



/* Process Section */

.process-section {

  margin-top: 70px;

}



.process-section h2 {

  font-size: 28px;

  color: #023e8a;

  margin-bottom: 20px;

}



.process-section ol {

  padding-left: 20px;

  font-size: 15px;

  line-height: 1.8;

  color: #333;

}



/* Why Choose Us */

.why-choose-us {

  margin-top: 60px;

}



.why-choose-us h2 {

  font-size: 28px;

  color: #023e8a;

  margin-bottom: 20px;

}



.why-choose-us ul {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px 40px;

  font-size: 15px;

  color: #333;

}



.why-choose-us li {

  list-style: none;

  position: relative;

  padding-left: 22px;

}



.why-choose-us li::before {

  content: "✔";

  position: absolute;

  left: 0;

  color: #0096c7;

}



/* Responsive */

@media(max-width: 900px) {

  .plant-card,

  .plant-card.reverse {

    flex-direction: column;

  }



  .plant-card img {

    width: 100%;

  }



  .why-choose-us ul {

    grid-template-columns: 1fr;

  }

}









/* ================= PRODUCTS PAGE ================= */



.products {

  padding: 70px 0;

  background-color: #f9fcff;

}



.product-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 35px;

  margin-top: 50px;

}



.product-card {

  background: #ffffff;

  border-radius: 12px;

  padding: 25px 20px;

  text-align: center;

  box-shadow: 0 6px 18px rgba(0,0,0,0.08);

  transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.product-card:hover {

  transform: translateY(-8px);

  box-shadow: 0 10px 25px rgba(0,0,0,0.12);

}



.product-card img {

  height: 180px;

  object-fit: contain;

  margin-bottom: 20px;

}



.product-card h3 {

  font-size: 20px;

  color: #0077b6;

  margin-bottom: 12px;

}



.product-card p {

  font-size: 14.5px;

  color: #444;

  line-height: 1.6;

}



/* Product Note */

.product-note {

  margin-top: 50px;

  text-align: center;

  font-size: 15px;

  color: #333;

  max-width: 850px;

  margin-left: auto;

  margin-right: auto;

}



/* Responsive */

@media(max-width: 1100px) {

  .product-grid {

    grid-template-columns: repeat(2, 1fr);

  }

}



@media(max-width: 600px) {

  .product-grid {

    grid-template-columns: 1fr;

  }



  .product-card img {

    height: 160px;

  }

}













/* ================= PAGE HEADER ================= */

.page-header {

  background: linear-gradient(135deg, #0b4f6c, #01b0d3);

  color: #fff;

  padding: 70px 20px;

  text-align: center;

}



.page-header h1 {

  font-size: 36px;

  margin-bottom: 10px;

}



.page-header p {

  font-size: 16px;

  opacity: 0.9;

}



/* ================= CERTIFICATIONS ================= */

.certifications-section {

  padding: 60px 20px;

}



.certificate {

  display: flex;

  gap: 30px;

  align-items: center;

  justify-content: space-between;

  padding: 30px;

  background: #ffffff;

  border-radius: 12px;

  margin-bottom: 30px;

  box-shadow: 0 8px 20px rgba(0,0,0,0.08);

}



.certificate-content {

  flex: 2;

}



.certificate-content h3 {

  color: #0b4f6c;

  margin-bottom: 10px;

}



.certificate-content p {

  font-size: 15px;

  line-height: 1.6;

  color: #444;

}



.certificate-image {

  flex: 1;

  text-align: center;

}



.certificate-image img {

  width: 160px;

  border-radius: 8px;

  cursor: pointer;

  border: 2px solid #e0e0e0;

  transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.certificate-image img:hover {

  transform: scale(1.05);

  box-shadow: 0 10px 25px rgba(0,0,0,0.2);

}



.certificate-image span {

  display: block;

  margin-top: 8px;

  font-size: 13px;

  color: #666;

}



/* ================= MODAL ================= */

.modal {

  display: none;

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,0.85);

  z-index: 9999;

  padding-top: 60px;

}



.modal-content {

  display: block;

  margin: auto;

  max-width: 85%;

  max-height: 85%;

  border-radius: 10px;

}



.close {

  position: absolute;

  top: 20px;

  right: 35px;

  font-size: 36px;

  color: #fff;

  cursor: pointer;

}



/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .certificate {

    flex-direction: column;

    text-align: center;

  }



  .certificate-image img {

    width: 200px;

  }

}







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

.hero-slider {

  position: relative;

  width: 100%;

  height: 90vh;

  overflow: hidden;

}



.slides {

  display: none;

  position: absolute;

  width: 100%;

  height: 100%;

}



.slides img {

  width: 100%;

  height: 100%;

  object-fit: cover;

}



/* Dark overlay for readability */

.slides::after {

  content: "";

  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.45);

}



.slide-content {

  position: absolute;

  top: 50%;

  left: 8%;

  transform: translateY(-50%);

  color: #fff;

  max-width: 600px;

  z-index: 2;

}



.slide-content h1 {

  font-size: 3rem;

  margin-bottom: 12px;

}



.slide-content p {

  font-size: 1.2rem;

  line-height: 1.6;

}



/* Fade animation */

.fade {

  animation: fadeEffect 1.5s;

}



@keyframes fadeEffect {

  from { opacity: 0.4; }

  to { opacity: 1; }

}



/* Responsive */

@media (max-width: 768px) {

  .hero-slider {

    height: 75vh;

  }



  .slide-content {

    left: 5%;

    right: 5%;

    text-align: center;

  }



  .slide-content h1 {

    font-size: 2rem;

  }



  .slide-content p {

    font-size: 1rem;

  }

}



.slider {

  position: relative;

  overflow: hidden;

  height: 90vh;

}



.slide {

  position: absolute;

  width: 100%;

  height: 100%;

  opacity: 0;

  transition: opacity 0.8s ease-in-out;

}



.slide.active {

  opacity: 1;

  z-index: 1;

}



.slide img {

  width: 100%;

  height: 100%;

  object-fit: cover;

}



/* Arrows */

.arrow {

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  background: rgba(0,0,0,0.5);

  color: white;

  border: none;

  font-size: 32px;

  padding: 10px 15px;

  cursor: pointer;

  z-index: 2;

}



.arrow.prev { left: 20px; }

.arrow.next { right: 20px; }



.arrow:hover {

  background: rgba(0,0,0,0.7);

}



/* Dots */

.dots {

  position: absolute;

  bottom: 25px;

  width: 100%;

  text-align: center;

  z-index: 2;

}



.dot {

  display: inline-block;

  height: 12px;

  width: 12px;

  margin: 0 6px;

  background: rgba(255,255,255,0.6);

  border-radius: 50%;

  cursor: pointer;

}



.dot.active {

  background: white;

}



/* Right aligned text for first slide */

.text-right .slide-content {

  left: auto;

  right: 8%;

  text-align: right;

  align-items: flex-end;

}



/* Dark background behind text for readability */

.dark-bg .slide-content {

  background: rgba(0, 0, 0, 0.55);

  padding: 24px 30px;

  border-radius: 12px;

}



