/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, #e6f7ff 0%, #b3e0ff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="white" opacity="0.1"/></svg>');
  bottom: 0;
  left: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  font-size: 42px;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-text .usp {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.capacity {
  background-color: white;
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.capacity span {
  color: var(--primary);
  font-weight: 700;
  font-size: 20px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--light);
  transform: translateY(-3px);
}

.hero-image {
  flex: 1;
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== SECTION COMMON STYLES ===== */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  width: 70px;
  height: 4px;
  background-color: var(--accent);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  font-size: 18px;
  max-width: 700px;
  margin: 20px auto 0;
}

/* ===== OVERVIEW SECTION ===== */
.overview {
  background-color: var(--light-gray);
}

.overview-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.overview-text p {
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--gray);
  line-height: 1.8;
}

.overview-features {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item i {
  background-color: var(--light);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-item h4 {
  color: var(--dark);
  margin-bottom: 5px;
  font-size: 18px;
}

.feature-item p {
  color: var(--gray);
  font-size: 15px;
  margin: 0;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
  background-color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: white;
  padding: 35px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--secondary);
  transition: all 0.3s;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-card i {
  color: var(--primary);
  font-size: 42px;
  margin-bottom: 20px;
  display: block;
}

.benefit-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark);
}

.benefit-card p {
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

/* ===== SPECIFICATIONS SECTION ===== */
.specs {
  background-color: var(--light-gray);
}

.specs-table {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid #eee;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-name {
  padding: 20px;
  background-color: #f9f9f9;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-name i {
  color: var(--primary);
}

.spec-value {
  padding: 20px;
  color: var(--gray);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== APPLICATIONS SECTION ===== */
.applications {
  background-color: var(--light-gray);
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.app-card {
  background-color: white;
  padding: 35px 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.app-card:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  transform: translateY(-10px);
}

.app-card i {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary);
  transition: all 0.3s;
}

.app-card:hover i {
  color: white;
  transform: scale(1.1);
}

.app-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--dark);
}

.app-card:hover h4 {
  color: white;
}

.app-card p {
  color: var(--gray);
  font-size: 14px;
  margin: 0;
}

.app-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* Step Number for Regeneration Process */
.step-number-small {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  margin: 0 auto 15px;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--primary);
}

/* ===== PRODUCTS SECTION ===== */
.products {
  background-color: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
  overflow: hidden;
  height: 200px;
  width: 100%;
  background: linear-gradient(135deg, var(--light) 0%, #cce6ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-img i {
  font-size: 70px;
  color: var(--primary);
  transition: transform 0.5s;
}

.product-card:hover .product-img i {
  transform: scale(1.1);
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  margin-bottom: 10px;
  color: var(--dark);
  font-size: 20px;
}

.product-info p {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 15px;
}

.product-specs {
  list-style: none;
  margin: 15px 0;
}

.product-specs li {
  padding: 8px 0;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.product-specs i {
  color: var(--accent);
  font-size: 14px;
  min-width: 20px;
}

/* ===== WHY US SECTION ===== */
.why-us {
  background-color: var(--dark);
  color: white;
}

.why-us .section-title h2 {
  color: white;
}

.why-us .section-title h2:after {
  background-color: var(--accent);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.reason-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.reason-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.reason-card i {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.reason-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: white;
}

.reason-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 5px 0;
}

/* ===== RELATED SECTION ===== */
.related {
  background-color: white;
}

.related-products {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.related-product {
  background-color: white;
  padding: 12px 25px;
  border-radius: 30px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  font-size: 15px;
}

.related-product:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* ===== FAQ SECTION ===== */
.faq {
  background-color: var(--light-gray);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px 20px;
  max-height: 500px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer p {
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

/* Resin Life Meter */
.resin-life-meter {
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  margin: 15px 0 5px;
  overflow: hidden;
}

.resin-life-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.comparison-table th {
  background: var(--dark);
  color: white;
  padding: 20px;
  text-align: left;
}

.comparison-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.feature-yes {
  color: var(--success);
  font-weight: bold;
}

.feature-no {
  color: var(--danger);
}

/* Regeneration Steps */
.regeneration-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.reg-step {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.reg-step:before {
  content: "→";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 24px;
}

.reg-step:last-child:before {
  display: none;
}

.reg-step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 15px;
}

/* Water Quality Table */
.quality-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.quality-table th {
  background: #f5f7fa;
  padding: 15px;
  text-align: left;
  color: var(--dark);
  border-bottom: 2px solid var(--primary);
}

.quality-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.quality-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.badge-excellent {
  background: #e8f5e9;
  color: var(--success);
}

.badge-good {
  background: #fff3e0;
  color: var(--warning);
}

/* Chemical Dosing Info */
.chemical-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.chemical-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.chemical-card h4 {
  color: var(--dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chemical-card h4 i {
  color: var(--primary);
}
.hero,
.overview,
.specs,
.applications,
.products,
.why-us,
.faq,
.enquiry,
.benefits {
  padding: 100px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .hero-text h2 {
    font-size: 36px;
  }

  .hero-content {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text,
  .hero-image {
    flex: none;
    width: 100%;
  }

  .overview-content {
    grid-template-columns: 1fr;
  }

  .specs-table .spec-row {
    grid-template-columns: 1fr;
  }

  .ion-process {
    flex-direction: column;
    gap: 20px;
  }

  .ion-arrow {
    transform: rotate(90deg);
  }

  .reg-step:before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero,
  .overview,
  .specs,
  .applications,
  .products,
  .why-us,
  .faq,
  .enquiry,
  .benefits {
    padding: 50px;
  }
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 80px 0;
  }

  .hero-text h2 {
    font-size: 30px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons,
  .enquiry-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 576px) {
  .hero,
  .overview,
  .specs,
  .applications,
  .products,
  .why-us,
  .faq,
  .enquiry,
  .benefits {
    padding: 50px;
  }
  .hero-text h2 {
    font-size: 28px;
  }

  .hero-text .usp {
    font-size: 18px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .applications-grid {
    grid-template-columns: 1fr;
  }

  .related-products {
    flex-direction: column;
    align-items: center;
  }

  .related-product {
    width: 100%;
    text-align: center;
  }

  .regeneration-steps {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* ===== WATER QUALITY METERS ===== */
.quality-meter {
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  margin: 10px 0;
  overflow: hidden;
}

.quality-fill {
  height: 100%;
  border-radius: 4px;
}

.meter-95 {
  background: var(--success);
  width: 95%;
}

.meter-90 {
  background: #8bc34a;
  width: 90%;
}

.meter-98 {
  background: var(--accent);
  width: 98%;
}

/* ===== CHEMICAL SAFETY ===== */
.safety-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 10px;
}

.label-danger {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.label-warning {
  background: #fff3e0;
  color: #ef6c00;
  border: 1px solid #ffcc80;
}

/* ===== CAPACITY BADGES ===== */
.capacity-badge {
  display: inline-block;
  padding: 5px 15px;
  background: var(--light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin: 5px;
}
