/* ===== NANO FILTRATION SYSTEMS STYLES ===== */
:root {
  --primary: #0066cc;
  --secondary: #00a859;
  --accent: #ff6b35;
  --warning: #ffc107;
  --dark: #2c3e50;
  --light: #f8f9fa;
  --gray: #6c757d;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #004c99 100%);
  padding: 100px 0;
  color: white;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text h1 {
  color: white;
  font-size: 42px;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-text .usp {
  color: #ecf0f1;
  font-size: 22px;
  margin-bottom: 25px;
  line-height: 1.4;
}

.capacity {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 25px;
  border-radius: 8px;
  margin-bottom: 25px;
  display: inline-block;
}

.capacity strong {
  color: var(--secondary);
}

.capacity span {
  color: white;
  font-size: 20px;
  font-weight: 600;
}

.features-highlight {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.features-highlight span {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.features-highlight i {
  color: var(--secondary);
}

.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: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #e55a2b;
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.hero-image {
  flex: 1;
  text-align: center;
}

.image-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 60px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.image-placeholder i {
  font-size: 120px;
  color: var(--secondary);
  margin-bottom: 20px;
}

.image-placeholder p {
  color: white;
  font-size: 18px;
  font-weight: 500;
}

/* Technology Overview */
.tech-overview {
  background: white;
  padding: 80px 0;
}

.comparison-table {
  overflow-x: auto;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 800px;
}

.comparison-table th {
  background: var(--primary);
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.comparison-table th:first-child {
  background: var(--dark);
}

.comparison-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  color: var(--dark);
  font-size: 14px;
  text-align: center;
}

.comparison-table td:first-child {
  background: #f8f9fa;
  font-weight: 600;
  text-align: left;
}

.comparison-table tr:nth-child(even) td:first-child {
  background: #f0f3f5;
}

.comparison-table tr:hover {
  background: #e8f4fc;
}

/* System Types */
.system-types {
  background: #f8f9fa;
  padding: 80px 0;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.system-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 1px solid #eee;
}

.system-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary);
}

.system-header {
  background: var(--primary);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.system-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.system-type {
  background: var(--secondary);
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.system-body {
  padding: 25px;
}

.system-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.system-specs span {
  color: var(--dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.system-specs i {
  color: var(--primary);
  width: 18px;
  text-align: center;
}

.system-body p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.components {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.components h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 16px;
}

.components ul {
  padding-left: 20px;
  margin: 0;
}

.components li {
  color: var(--gray);
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.capacity-info {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.capacity-info span {
  background: #e8f4fc;
  color: var(--primary);
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.capacity-info span:hover {
  background: var(--primary);
  color: white;
}

/* Membrane Specifications */
.membrane-specs {
  background: white;
  padding: 80px 0;
}

.membrane-specs.alt {
  background: #f8f9fa;
}

.membrane-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.membrane-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 1px solid #eee;
}

.membrane-specs.alt .membrane-card {
  background: white;
}

.membrane-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.membrane-header {
  background: var(--primary);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.membrane-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.membrane-brand {
  background: var(--accent);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.membrane-body {
  padding: 25px;
}

.membrane-specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.membrane-specs-list span {
  color: var(--dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.membrane-specs-list i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.performance-data {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.performance-data h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 15px;
}

.performance-data ul {
  padding-left: 20px;
  margin: 0;
}

.performance-data li {
  color: var(--gray);
  margin-bottom: 5px;
  font-size: 14px;
}

.applications {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.sizes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sizes span {
  background: #e8f4fc;
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

/* Applications Section */
.applications {
  background: white;
  padding: 80px 0;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.app-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.app-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.app-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
}

.app-card h3 {
  color: var(--dark);
  margin-bottom: 15px;
  font-size: 20px;
}

.app-card p {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.app-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.app-details span {
  background: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--dark);
}

/* Pretreatment Section */
.pretreatment {
  background: white;
  padding: 80px 0;
}

.pretreatment.alt {
  background: #f8f9fa;
}

.pretreatment-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  color: var(--dark);
  margin-bottom: 5px;
  font-size: 20px;
}

.step-content p {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 14px;
}

.step-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-specs span {
  color: var(--dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-specs i {
  color: var(--primary);
  width: 16px;
}

.water-quality {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.water-quality h3 {
  color: var(--dark);
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
}

.quality-table {
  overflow-x: auto;
}

.quality-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.quality-table th {
  background: var(--primary);
  color: white;
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}

.quality-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  color: var(--dark);
  font-size: 14px;
}

.quality-table tr:nth-child(even) {
  background: #f8f9fa;
}

.quality-table tr:hover {
  background: #e8f4fc;
}

/* Components Section */
.components-section {
  background: white;
  padding: 80px 0;
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.component-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.component-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.component-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
}

.component-card h3 {
  color: var(--dark);
  margin-bottom: 15px;
  font-size: 20px;
}

.component-card p {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.component-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.component-specs span {
  background: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--dark);
}

/* Case Studies */
.case-studies {
  background: white;
  padding: 80px 0;
}

.case-studies.alt {
  background: #f8f9fa;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.case-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 1px solid #eee;
}

.case-studies.alt .case-card {
  background: white;
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.case-header {
  background: var(--primary);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.case-location {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.case-body {
  padding: 25px;
}

.case-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.case-specs span {
  color: var(--dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-specs i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.case-body p {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.results {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
}

.results h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 16px;
}

.results ul {
  padding-left: 20px;
  margin: 0;
}

.results li {
  color: var(--gray);
  margin-bottom: 5px;
  font-size: 14px;
}
/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: 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: 25px auto 0;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-text h1 {
    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%;
  }

  .features-highlight {
    justify-content: center;
  }

  .image-placeholder {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .hero,
  .tech-overview,
  .system-types,
  .membrane-specs,
  .applications,
  .pretreatment,
  .components-section,
  .case-studies,
  .enquiry {
    padding: 60px 0;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text .usp {
    font-size: 20px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .system-grid,
  .membrane-grid,
  .application-grid,
  .components-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .pretreatment-steps {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .comparison-table,
  .quality-table {
    font-size: 14px;
  }

  .image-placeholder i {
    font-size: 80px;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text .usp {
    font-size: 18px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .features-highlight {
    flex-direction: column;
    align-items: center;
  }

  .capacity-info span,
  .sizes span {
    flex: 1;
    text-align: center;
  }

  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .contact-info {
    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;
}

/* Add animations to cards */
.system-card,
.membrane-card,
.app-card,
.component-card,
.case-card,
.step {
  opacity: 0;
}
