/* ==========================================================================
   AliveWater Homepage Styles
   Refined modern content experience
   ========================================================================== */

.aw-homepage {
  position: relative;
  overflow: hidden;
}

.aw-container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.aw-home-section {
  position: relative;
  padding: 3.5rem 0;
}

.aw-home-section:nth-child(odd) {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.aw-home-section:nth-child(even) {
  background: linear-gradient(180deg, #f7fbfe 0%, #eff6fb 100%);
}

/* subtle section divider feel */
.aw-home-section + .aw-home-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 2rem));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(0, 132, 203, 0) 0%,
    rgba(0, 132, 203, 0.12) 20%,
    rgba(0, 132, 203, 0.12) 80%,
    rgba(0, 132, 203, 0) 100%
  );
}

/* ==========================================================================
   Section heading
   ========================================================================== */

.aw-section-heading {
  position: relative;
  margin-bottom: 1.5rem;
}

.aw-section-heading::before {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  margin-bottom: 0.85rem;
}

.aw-section-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: #173a56;
}

/* Optional label */
.aw-section-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ==========================================================================
   Body text
   ========================================================================== */

.aw-rich-text p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.88;
  color: rgba(35, 31, 32, 0.82);
}

.aw-rich-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.aw-rich-text a:hover,
.aw-rich-text a:focus {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ==========================================================================
   Intro / content panels
   ========================================================================== */

.aw-home-intro .aw-rich-text,
.aw-home-story .aw-rich-text,
.aw-home-movies .aw-rich-text,
.aw-home-distributors .aw-rich-text {
  position: relative;
}

/* ==========================================================================
   Benefits
   ========================================================================== */

.aw-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.1rem;
}

.aw-benefit-card {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 132, 203, 0.08);
  border-radius: 18px;
  padding: 1.35rem 1.2rem 1.25rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.aw-benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.aw-benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.075);
  border-color: rgba(0, 132, 203, 0.15);
}

.aw-benefit-card h3 {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.72;
  color: #23425c;
}

/* ==========================================================================
   Highlight banner
   ========================================================================== */

.aw-highlight-banner {
  margin: 2rem 0 2.1rem;
  padding: 1rem 1.25rem;
  border-radius: 15px;
  background: linear-gradient(135deg, #0c7fc0 0%, #0a5ea3 100%);
  box-shadow: 0 12px 24px rgba(0, 84, 169, 0.16);
  text-align: center;
}

.aw-highlight-banner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.28;
  font-weight: 700;
}

/* ==========================================================================
   Main image
   ========================================================================== */

.aw-image-block {
  margin: 2rem 0;
}

.aw-image-block img {
  display: block;
  width: min(100%, 980px);
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   Quote
   ========================================================================== */

.aw-quote {
  position: relative;
  margin: 2rem 0;
  padding: 1.35rem 1.25rem 1.1rem;
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 132, 203, 0.06) 0%, rgba(0, 132, 203, 0.015) 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.035);
}

.aw-quote::before {
  content: "“";
  position: absolute;
  top: 0.15rem;
  right: 0.9rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(0, 132, 203, 0.11);
  font-weight: 700;
}

.aw-quote p {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1.82;
  color: #23425c;
  font-style: italic;
}

.aw-quote cite {
  display: inline-block;
  font-style: normal;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ==========================================================================
   Videos
   ========================================================================== */

.aw-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.aw-video-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 132, 203, 0.07);
  border-radius: 18px;
  padding: 0.95rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.045);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.aw-video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.075);
}

.aw-video-card h3 {
  margin: 0 0 0.75rem;
  min-height: 3em;
  font-size: 0.93rem;
  line-height: 1.48;
  font-weight: 600;
}

.aw-video-card h3 a {
  color: #23425c;
  text-decoration: none;
}

.aw-video-card h3 a:hover,
.aw-video-card h3 a:focus {
  color: var(--primary);
  text-decoration: underline;
}

.aw-video-embed {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 13px;
  background: #000;
}

.aw-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.aw-video-note {
  margin-top: 1.6rem;
}

/* ==========================================================================
   Downloads
   ========================================================================== */

.aw-download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
  margin-top: 2rem;
}

.aw-download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aw-download-list li {
  margin-bottom: 0.85rem;
}

.aw-download-list a {
  position: relative;
  display: block;
  padding: 0.95rem 1rem 0.95rem 3rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  border: 1px solid rgba(0, 132, 203, 0.07);
  color: #23425c;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.aw-download-list a::before {
  content: "\f1c1";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: #d93025;
  font-size: 1rem;
}

.aw-download-list a:hover,
.aw-download-list a:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.065);
  border-color: rgba(0, 132, 203, 0.16);
  color: var(--primary);
}

/* ==========================================================================
   Programs / distributors
   ========================================================================== */

.aw-program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
  margin-top: 2rem;
}

.aw-program-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 132, 203, 0.08);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.045);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.aw-program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.075);
}

.aw-program-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.04rem;
  color: #173a56;
}

.aw-program-card p {
  margin: 0 0 0.9rem;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(35, 31, 32, 0.82);
}

.aw-program-card a {
  color: var(--primary);
  text-decoration: none;
}

.aw-program-card a:hover,
.aw-program-card a:focus {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ==========================================================================
   Additional polished visual touches
   ========================================================================== */

/* slightly stronger first paragraph under a section heading */
.aw-home-section .aw-rich-text p:first-child {
  color: rgba(35, 31, 32, 0.9);
}

/* image and content transition feel */
.aw-benefit-card,
.aw-video-card,
.aw-download-list a,
.aw-program-card,
.aw-image-block img,
.aw-quote {
  will-change: transform;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
  .aw-home-section {
    padding: 3rem 0;
  }

  .aw-benefits-grid,
  .aw-video-grid,
  .aw-download-grid,
  .aw-program-grid {
    grid-template-columns: 1fr;
  }

  .aw-section-heading {
    margin-bottom: 1.25rem;
  }

  .aw-section-heading h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .aw-container {
    width: calc(100% - 1rem);
  }

  .aw-home-section {
    padding: 2.4rem 0;
  }

  .aw-section-heading {
    margin-bottom: 1rem;
  }

  .aw-section-heading::before {
    width: 48px;
    margin-bottom: 0.7rem;
  }

  .aw-section-heading h2 {
    font-size: 1.34rem;
    line-height: 1.24;
  }

  .aw-rich-text p {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .aw-benefit-card,
  .aw-video-card,
  .aw-program-card {
    padding: 1rem;
    border-radius: 16px;
  }

  .aw-highlight-banner {
    padding: 0.9rem 1rem;
    border-radius: 14px;
  }

  .aw-image-block img {
    border-radius: 16px;
  }

  .aw-quote {
    padding: 1rem;
    border-radius: 14px;
  }

  .aw-download-list a {
    padding: 0.9rem 0.95rem 0.9rem 2.8rem;
    border-radius: 13px;
  }
}