/* Ozone Therapy Page Styles */

/* Alternate Section Styling (Navy Blue Backgrounds) */
.ozone-section:nth-child(even) {
  background: #0d4c88;
  color: #ffffff;
}

.ozone-section:nth-child(even) em {
  color: #b7d814;
}

.ozone-section:nth-child(even) h2,
.ozone-section:nth-child(even) h3 {
  color: #ffffff;
}

.ozone-section:nth-child(even) .section-kicker {
  color: #b7d814;
}

.ozone-section:nth-child(even) p {
  color: rgba(255, 255, 255, 0.95);
}

.ozone-section:nth-child(even) .button--secondary {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.ozone-section:nth-child(even) .button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #b7d814;
  color: #b7d814;
}

/* Hero Section */
.ozone-hero {
  color: #ffffff;
  padding-top: 0;
}

.ozone-hero .shell {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.ozone-hero .breadcrumb {
  grid-column: 1 / -1;
  margin-bottom: 5px;
}

.ozone-hero .ozone-hero-content {
  grid-column: 1;
  width: auto !important;
  max-width: none !important;
}

.ozone-hero .ozone-hero-content h1 {
  text-align: left;
}

.ozone-hero .ozone-hero-content .hero-description {
  text-align: left;
  max-width: none !important;
}

.ozone-hero .shell > div:last-child {
  grid-column: 2;
  max-width: 400px;
  width: 100%;
}

.ozone-hero .shell > div:last-child img {
  max-width: 350px;
  width: 100%;
}

@media (max-width: 900px) {
  .ozone-hero .ozone-hero-content {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
  }

  .ozone-hero .ozone-hero-content h1 {
    text-align: center;
  }

  .ozone-hero .ozone-hero-content .hero-description {
    text-align: center;
    max-width: 100% !important;
  }
}

.ozone-hero .section-kicker {
  color: #b7d814;
}

.ozone-hero em {
  color: #b7d814;
  font-style: italic;
}

.ozone-hero p {
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 900px) {
  .ozone-hero .shell {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ozone-hero .ozone-hero-content {
    grid-column: auto;
  }

  .ozone-hero .shell > div:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .ozone-hero .shell > div:last-child img {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .ozone-hero .shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ozone-hero .shell > div:last-child img {
    max-width: 250px;
  }
}

.breadcrumb {
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: #b7d814;
}

.breadcrumb-item.active {
  color: #b7d814;
}

/* Benefits Grid (Section 2) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(13, 76, 136, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-top: 4px solid #b7d814;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(13, 76, 136, 0.2);
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.benefit-card h3 {
  color: #0d4c88;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.benefit-card p {
  color: #666;
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* Conditions List (Section 4) */
.conditions-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.condition-item {
  background: linear-gradient(135deg, rgba(13, 76, 136, 0.08) 0%, rgba(183, 216, 20, 0.05) 100%);
  border-radius: 12px;
  padding: 30px;
  border-left: 4px solid #b7d814;
  transition: all 0.35s ease;
}

.condition-item:hover {
  background: linear-gradient(135deg, rgba(13, 76, 136, 0.15) 0%, rgba(183, 216, 20, 0.1) 100%);
  transform: translateX(6px);
}

.condition-icon {
  font-size: 40px;
  margin-bottom: 15px;
  display: block;
}

.condition-item h3 {
  color: #0d4c88;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 600;
}

.condition-item p {
  color: #666;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* Steps Container (Section 5) */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.step-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 35px 25px;
  box-shadow: 0 4px 15px rgba(13, 76, 136, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-top: 4px solid #b7d814;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 35px rgba(13, 76, 136, 0.2);
}

.step-number {
  font-size: 48px;
  font-weight: 700;
  color: #0d4c88;
  margin-bottom: 15px;
  display: block;
  font-family: 'Cormorant Garamond', serif;
}

.step-card h3 {
  color: #0d4c88;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.step-card p {
  color: #666;
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* Features Grid (Section 7) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(13, 76, 136, 0.06) 0%, rgba(183, 216, 20, 0.06) 100%);
  border-radius: 12px;
  padding: 35px;
  border: 2px solid rgba(13, 76, 136, 0.1);
  text-align: center;
  transition: all 0.35s ease;
}

.feature-card:hover {
  border-color: #b7d814;
  background: linear-gradient(135deg, rgba(13, 76, 136, 0.1) 0%, rgba(183, 216, 20, 0.08) 100%);
  transform: translateY(-4px);
}

.feature-card .icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  color: #0d4c88;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  font-size: 15px;
  margin: 0;
  line-height: 1.7;
}

/* FAQ Container (Section 8) */
.faq-container {
  display: grid;
  gap: 25px;
  margin-top: 40px;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  border-left: 5px solid #b7d814;
  box-shadow: 0 2px 12px rgba(13, 76, 136, 0.08);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 20px rgba(13, 76, 136, 0.12);
}

.faq-item h3 {
  color: #0d4c88;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.faq-item p {
  color: #666;
  font-size: 15px;
  margin: 0;
  line-height: 1.7;
}

/* Section Kicker */
.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b7d814;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .ozone-hero {
    padding: 60px 0;
  }

  .ozone-hero > .shell > div {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 0;
  }

  .benefits-grid,
  .conditions-list,
  .steps-container,
  .features-grid,
  .faq-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ozone-section {
    padding: 60px 0;
  }

  .step-card,
  .benefit-card,
  .condition-item,
  .feature-card,
  .faq-item {
    padding: 25px;
  }

  .section-kicker {
    font-size: 11px;
  }

  h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  h3 {
    font-size: 16px;
  }
}

/* Scroll Reveal Animation */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animation for Multiple Elements */
.benefit-card,
.condition-item,
.step-card,
.feature-card,
.faq-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.benefit-card.in-view,
.condition-item.in-view,
.step-card.in-view,
.feature-card.in-view,
.faq-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Button Styles in Blue Sections */
.ozone-section:nth-child(even) .button--primary {
  background: #b7d814;
  border-color: #b7d814;
  color: #0d4c88;
}

.ozone-section:nth-child(even) .button--primary:hover {
  background: #a5d900;
  border-color: #a5d900;
}

/* Typography Fine-tuning */
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

h2 em {
  font-style: italic;
  color: #b7d814;
}

h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  color: #0d4c88;
}

p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

/* Link Styles */
a {
  color: #0d4c88;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #b7d814;
  text-decoration: underline;
}

.ozone-section:nth-child(even) a {
  color: #b7d814;
}

.ozone-section:nth-child(even) a:hover {
  color: #ffffff;
}
