
/* ========================================
   SUE NAMI'S SWIMMING JOURNEY
   MAIN STYLESHEET
======================================== */


/* ========================================
   1. COLOR VARIABLES
======================================== */

:root {
    --midnight-blue: #264666;
    --brilliant-blue: #66c2e1;
    --dusk-blue: #4074b4;
    --seafoam: #96d0d6;
    --rose: #b48995;
    --gold: #dbb183;
    --purple: #404288;
    --mighty-green: #8dbf55;
    --dark-blue: #101121;
    --white: #ffffff;
    --light-grey: #f4f7f8;
}


/* ========================================
   2. GLOBAL BASE STYLES
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark-blue);
    background: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

.site-main {
    min-height: 65vh;
}

.home-content {
    padding: 80px 25px;
    text-align: center;
}

.home-content h1 {
    color: var(--midnight-blue);
    font-size: clamp(2rem, 4vw, 3.5rem);
}


/* ========================================
   3. SITEWIDE BUTTON STYLES
======================================== */

button,
input[type="submit"],
.footer-button {
    display: inline-block;
    min-width: 190px;
    padding: 14px 24px;
    border: 0;
    border-radius: 4px;
    background: var(--seafoam);
    color: var(--midnight-blue);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

button:hover,
input[type="submit"]:hover,
.footer-button:hover {
    opacity: 0.88;
}

button:focus-visible,
input[type="submit"]:focus-visible,
.footer-button:focus-visible {
    outline: 3px solid var(--seafoam);
    outline-offset: 4px;
}


/* ========================================
   4. HEADER AND NAVIGATION
======================================== */

.site-header {
    width: 100%;
    background: var(--midnight-blue);
    color: var(--white);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    min-height: 110px;
    margin: 0 auto;
    padding: 15px 30px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    text-decoration: none;
}

.site-brand img {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-text strong {
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.brand-text small {
    color: var(--seafoam);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    color: var(--white);
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    border-bottom-color: var(--seafoam);
    color: var(--seafoam);
}


/* ========================================
   5. FOOTER
======================================== */

.site-footer {
    padding: 65px 7% 0;
    background: var(--midnight-blue);
    color: var(--white);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 55px;
}

.footer-column h2 {
    margin: 0 0 22px;
    color: var(--seafoam);
    font-size: 1.15rem;
}

.footer-column h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-column p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-column a {
    color: var(--seafoam);
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}


/* Footer actions */

.footer-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-actions .footer-button,
.footer-actions .paypalBuy input[type="submit"] {
    min-width: 190px;
    padding: 14px 24px;
    border: 0;
    border-radius: 4px;
    background: var(--seafoam);
    color: var(--midnight-blue);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
}

.footer-actions .footer-button {
    margin-bottom: 20px;
}

.footer-actions .paypalBuy {
    margin-bottom: 35px;
}

.footer-actions .paypalBuy input[type="submit"] {
    margin-bottom: 20px;
}

.footer-actions .paypalBuy input[type="submit"]:hover {
    opacity: 0.88;
}


/* Footer mission */

.footer-mission {
    width: 100%;
    padding: 25px;
    border-left: 3px solid var(--seafoam);
    background: rgba(255, 255, 255, 0.06);
}

.footer-mission h2 {
    margin-bottom: 12px;
}

.footer-mission p {
    margin: 0;
    font-style: italic;
}

.footer-mission span {
    display: block;
    margin-top: 12px;
    color: var(--seafoam);
    font-style: normal;
    font-weight: 600;
}


/* Footer contact */

.footer-contact {
    margin-top: 28px;
}

.footer-contact strong {
    display: block;
    margin-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 6px;
}


/* Footer copyright */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}


/* ========================================
   6. HOMEPAGE — THREE HERO SECTIONS
======================================== */

.homepage {
    width: 100%;
    background: var(--midnight-blue);
}


/* Shared hero structure */

.homepage .hero-section {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 110vh;
    padding: 80px 7%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.homepage .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(16, 17, 33, 0.72) 0%,
        rgba(16, 17, 33, 0.48) 45%,
        rgba(16, 17, 33, 0.12) 100%
    );
}

.homepage .contentWrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1250px;
    min-height: 460px;
    margin: 0 auto;
    padding: 35px 45px;
}

.homepage .contentCol {
    width: 100%;
    color: var(--white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
}


/* Shared hero typography */

.homepage h2 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.15;
    font-weight: 700;
}

.homepage h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    margin-top: 16px;
    background: var(--seafoam);
}

.homepage h3 {
    margin: 0 0 15px;
    color: var(--seafoam);
    font-size: 1.1rem;
    line-height: 1.5;
}

.homepage h4 {
    margin: 0 0 18px;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
}

.homepage h5 {
    margin: 20px 0 12px;
    color: var(--gold);
    font-size: 0.95rem;
}

.homepage p,
.homepage li {
    font-size: 0.9rem;
    line-height: 1.7;
}

.homepage p {
    margin: 12px 0;
}

.homepage ul {
    margin: 15px 0 20px;
    padding-left: 24px;
}

.homepage li {
    padding: 5px 0;
}

.homepage .contentCol.center,
.homepage .contentCol.left {
    text-align: left;
}

.homepage blockquote {
    margin: 0;
    padding: 28px;
    border-left: 4px solid var(--seafoam);
    background: rgba(16, 17, 33, 0.45);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.7;
}


/* Shared desktop hero height */

.homepage .Slider1,
.homepage .Slider2,
.homepage .Slider3 {
    min-height: 100vh;
}


/* Hero 1 — Introduction */

.homepage .Slider1::before {
    background: linear-gradient(
        90deg,
        rgba(16, 17, 33, 0.78) 0%,
        rgba(16, 17, 33, 0.62) 32%,
        rgba(16, 17, 33, 0.18) 62%,
        rgba(16, 17, 33, 0.02) 100%
    );
}

.homepage .Slider1 .contentWrap {
    justify-content: flex-start;
}

.homepage .Slider1 .hero-message {
    width: 100%;
    max-width: 540px;
    color: var(--white);
    text-align: left;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
}

.homepage .Slider1 .hero-eyebrow {
    margin: 0 0 20px;
    color: var(--seafoam);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
}

.homepage .Slider1 .hero-message h2 {
    margin-bottom: 20px;
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -1px;
}

.homepage .Slider1 .hero-message h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
}

.homepage .Slider1 .hero-lead {
    margin: 12px 0 0;
    color: var(--seafoam);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.homepage .paypalBuy {
    margin-top: 25px;
}

.homepage .paypalBuy input[type="submit"] {
    padding: 13px 25px;
    border: 0;
    border-radius: 30px;
    background: var(--seafoam);
    color: var(--midnight-blue);
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.homepage .paypalBuy input[type="submit"]:hover {
    background: var(--brilliant-blue);
    transform: translateY(-2px);
}


/* Hero 2 — Vision and impact */

.homepage .Slider2 .contentWrap {
    justify-content: flex-end;
}

.homepage .Slider2 .contentCol {
    max-width: 950px;
    margin-left: auto;
    text-align: right;
}

.homepage .Slider2 ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 30px;
    max-width: 900px;
    margin-left: auto;
    padding-left: 0;
    list-style-position: inside;
}

.homepage .Slider2 li {
    padding: 8px 10px;
    border-right: 3px solid var(--seafoam);
    background: rgba(16, 17, 33, 0.25);
    text-align: right;
}


/* Hero 3 — People and story */

.homepage .Slider3 .contentWrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 45px;
}

.homepage .Slider3 .contentCol.left,
.homepage .Slider3 .contentCol.right {
    width: 100%;
    max-width: none;
}

.homepage .Slider3 .contentCol.right {
    padding: 0;
}


/* ========================================
   7. HOMEPAGE — SCROLL REVEAL ANIMATION
======================================== */

/*
   Sections remain visible by default.
   JavaScript enables animation only when observation is supported.
*/


/* Hero section reveal */

.homepage .hero-reveal {
    opacity: 1;
    transform: none;
}

.homepage.motion-enabled .hero-reveal {
    opacity: 0;
    transform: translateY(65px);
    transition:
        opacity 1000ms ease,
        transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.homepage.motion-enabled .hero-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Hero text reveal */

.homepage.motion-enabled .hero-reveal .contentCol {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 900ms ease 200ms,
        transform 1000ms cubic-bezier(0.22, 1, 0.36, 1) 200ms;
}

.homepage.motion-enabled .hero-reveal.is-visible .contentCol {
    opacity: 1;
    transform: translateY(0);
}


/* Individual testimonial card reveals */

.home-testimonials .testimonial-card {
    opacity: 1;
    transform: none;
}

.home-testimonials.cards-motion-enabled .testimonial-card {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity 850ms ease,
        transform 950ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-testimonials.cards-motion-enabled .testimonial-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Keep testimonial heading visible */

.home-testimonials .testimonials-heading {
    opacity: 1;
    transform: none;
}


/* ========================================
   8. HOMEPAGE — CONTACT SECTION
======================================== */

.home-contact {
    padding: 90px 30px;
    background: var(--light-grey);
}

.contact-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 75px;
    max-width: 1150px;
    margin: 0 auto;
}

.contact-intro {
    padding-top: 20px;
}

.contact-intro .section-eyebrow {
    margin: 0 0 14px;
    color: var(--dusk-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-intro h2 {
    margin: 0 0 22px;
    color: var(--midnight-blue);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.15;
}

.contact-intro > p:not(.section-eyebrow) {
    max-width: 440px;
    color: #52616e;
    font-size: 1rem;
    line-height: 1.8;
}

.contact-details {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

.contact-detail {
    display: grid;
    gap: 7px;
}

.contact-label {
    color: var(--dusk-blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-detail a {
    color: var(--midnight-blue);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--dusk-blue);
}


/* Contact form */

.contact-form-wrap {
    padding: 38px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(16, 17, 33, 0.08);
}

.contact-form-wrap h3 {
    margin: 0 0 28px;
    color: var(--midnight-blue);
    font-size: 1.45rem;
}

.home-contact-form {
    display: grid;
    gap: 20px;
}

.home-contact-form .form-row {
    display: grid;
    gap: 8px;
}

.home-contact-form label {
    color: var(--midnight-blue);
    font-size: 0.85rem;
    font-weight: 600;
}

.home-contact-form input,
.home-contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d7dfe5;
    border-radius: 4px;
    background: #ffffff;
    color: var(--midnight-blue);
    font: inherit;
    font-size: 0.95rem;
}

.home-contact-form input:focus,
.home-contact-form textarea:focus {
    outline: 2px solid var(--seafoam);
    outline-offset: 2px;
    border-color: var(--dusk-blue);
}

.home-contact-form textarea {
    resize: vertical;
}

.home-contact-form button {
    justify-self: start;
    padding: 14px 28px;
    border: 0;
    border-radius: 30px;
    background: var(--midnight-blue);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-contact-form button:hover {
    background: var(--dusk-blue);
    transform: translateY(-2px);
}


/* ========================================
   9. HOMEPAGE — TESTIMONIALS
======================================== */

.home-testimonials {
    padding: 90px 30px;
    background: var(--white);
}

.testimonials-inner {
    max-width: 1250px;
    margin: 0 auto;
}

.testimonials-heading {
    max-width: 680px;
    margin: 0 auto 50px;
    text-align: center;
}

.testimonials-heading .section-eyebrow {
    margin: 0 0 14px;
    color: var(--dusk-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.testimonials-heading h2 {
    margin: 0 0 18px;
    color: var(--midnight-blue);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.2;
}

.testimonials-heading > p:last-child {
    color: #52616e;
    font-size: 1rem;
    line-height: 1.8;
}


/* Masonry layout */

.testimonials-grid {
    columns: 3;
    column-gap: 24px;
}

.testimonial-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 24px;
    padding: 28px;
    border: 1px solid #e3e9ed;
    border-top: 3px solid var(--seafoam);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 5px 22px rgba(16, 17, 33, 0.045);
    break-inside: avoid;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(16, 17, 33, 0.09);
}

.testimonial-card blockquote {
    margin: 0;
    color: #394653;
    font-size: 0.92rem;
    line-height: 1.8;
}

.testimonial-card .testimonial-author {
    display: block;
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid #e8edf0;
    color: var(--midnight-blue);
    font-size: 0.82rem;
    font-weight: 700;
}


/* Alternating testimonial card backgrounds */

.testimonials-grid .testimonial-card:nth-child(4n + 1) {
    background-color: #eaf5f7;
}

.testimonials-grid .testimonial-card:nth-child(4n + 2) {
    background-color: #ffffff;
}

.testimonials-grid .testimonial-card:nth-child(4n + 3) {
    background-color: #f7f0e9;
}

.testimonials-grid .testimonial-card:nth-child(4n + 4) {
    background-color: #f1f0f8;
}


/* ========================================
   10. EDUCATION — LIBRARY INTRODUCTION
======================================== */

.education-library-intro {
    width: 100%;
    padding: 85px 7% 65px;
    background: linear-gradient(
        110deg,
        #eaf5f7 0%,
        #f7f0e9 52%,
        #f1f0f8 100%
    );
}

.library-welcome {
    max-width: 1100px;
    margin: 0 auto 55px;
    text-align: center;
}

.library-welcome .section-eyebrow {
    color: var(--dusk-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.library-welcome h1 {
    margin: 12px 0 18px;
    color: var(--midnight-blue);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
}

.library-welcome > p:last-child {
    max-width: 680px;
    margin: 0 auto;
    color: #52616e;
    font-size: 1.05rem;
    line-height: 1.8;
}


/* Library navigation */

.library-navigation {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1250px;
    margin: 0 auto;
    border-top: 1px solid rgba(38, 70, 102, 0.25);
    border-bottom: 1px solid rgba(38, 70, 102, 0.25);
}

.library-navigation a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 28px 32px;
    color: var(--midnight-blue);
    text-decoration: none;
    transition: background 0.2s ease;
}

.library-navigation a + a {
    border-left: 1px solid rgba(38, 70, 102, 0.2);
}

.library-navigation a:hover {
    background: rgba(150, 208, 214, 0.2);
}

.library-navigation span {
    color: var(--dusk-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.library-navigation strong {
    font-size: 1.25rem;
}

.library-navigation small {
    color: #52616e;
    font-size: 0.9rem;
}


/* Coordinated Education navigation colors */

.library-navigation a:nth-child(1) {
    background-color: #eaf5f7;
}

.library-navigation a:nth-child(2) {
    background-color: #f7f0e9;
}

.library-navigation a:nth-child(3) {
    background-color: #f1f0f8;
}


/* Matching navigation hover colors */

.library-navigation a:nth-child(1):hover {
    background-color: #dceef2;
}

.library-navigation a:nth-child(2):hover {
    background-color: #f0e4d8;
}

.library-navigation a:nth-child(3):hover {
    background-color: #e6e4f2;
}


/* ========================================
   11. EDUCATION — SECTION NUMBER LABELS
======================================== */

.education-section-number {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 10px;
    padding: 0;
    color: var(--dusk-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}


/* Preserve section spacing */

.water-safety-section,
.journey-guide,
.activities-section {
    padding-top: 65px;
}


/* ========================================
   12. EDUCATION — WATER SAFETY
======================================== */

.water-safety-section {
    padding: 65px 7% 85px;
    background: #eaf5f7;
}

.water-safety-content {
    max-width: 1200px;
    margin: 0 auto;
}

.water-safety-resource {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(40px, 6vw, 85px);
    padding: 65px 0;
}

.water-safety-resource + .water-safety-resource {
    border-top: 1px solid #dce5e9;
}

.water-safety-copy {
    max-width: 620px;
}

.water-safety-copy h3 {
    margin: 0 0 12px;
    color: var(--midnight-blue);
    font-size: clamp(1.7rem, 2.5vw, 2.3rem);
    line-height: 1.2;
}

.water-safety-copy h4 {
    margin: 0 0 25px;
    color: var(--dusk-blue);
    font-size: 1.15rem;
    font-weight: 500;
}

.water-safety-copy h5 {
    margin: 0 0 18px;
    color: var(--rose);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    line-height: 1.5;
    text-transform: uppercase;
}

.water-safety-copy p {
    margin: 0 0 18px;
    color: #52616e;
    font-size: 0.96rem;
    line-height: 1.85;
}


/* Water safety images */

.water-safety-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.water-safety-image a {
    display: block;
    width: 100%;
    text-align: center;
}

.water-safety-image img {
    display: block;
    width: 100%;
    max-width: 470px;
    max-height: 470px;
    margin: 0 auto;
    object-fit: contain;
}

.water-safety-image span {
    color: var(--dusk-blue);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}


/* Alternate resource layout */

.water-safety-resource.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.water-safety-resource.reverse .water-safety-copy {
    grid-column: 2;
    grid-row: 1;
}

.water-safety-resource.reverse .water-safety-image {
    grid-column: 1;
    grid-row: 1;
}


/* ========================================
   13. EDUCATION — NAMI'S JOURNEY GUIDE
======================================== */

.journey-guide {
    padding: 75px 7%;
    background: #f7f0e9;
}

.journey-guide-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(40px, 6vw, 85px);
    max-width: 1200px;
    margin: 0 auto;
}

.journey-guide-copy {
    max-width: 680px;
}

.journey-guide-copy h3 {
    margin: 0 0 15px;
    color: var(--midnight-blue);
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    line-height: 1.2;
}

.journey-guide-copy h4 {
    margin: 0 0 25px;
    color: var(--dusk-blue);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
}

.journey-guide-copy h5 {
    margin: 0 0 18px;
    color: var(--rose);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    line-height: 1.5;
    text-transform: uppercase;
}

.journey-guide-copy p,
.journey-guide-copy li {
    color: #52616e;
    font-size: 0.94rem;
    line-height: 1.8;
}

.journey-guide-copy ul {
    margin: 25px 0 0;
    padding-left: 22px;
}

.journey-guide-copy li {
    margin-bottom: 18px;
    padding-left: 8px;
}


/* Journey guide PDF */

.journey-guide-pdf {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.journey-guide-pdf a {
    display: block;
    width: 100%;
    text-align: center;
}

.journey-guide-pdf img {
    display: block;
    width: 100%;
    max-width: 440px;
    max-height: 560px;
    margin: 0 auto;
    object-fit: contain;
}

.journey-guide-pdf span {
    color: var(--dusk-blue);
    font-size: 0.85rem;
    font-weight: 600;
}


/* ========================================
   14. EDUCATION — ACTIVITIES AND COLORING
======================================== */

.activities-section {
    padding: 75px 7%;
    background: #f1f0f8;
}


/* Activities introduction */

.activities-intro {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}


/* Activity gallery */

.activity-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 55px;
}


/* Individual activity resource */

.activity-resource {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
}


/* Activity cards */

.activity-resource > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 410px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 0;
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}

.activity-resource > a:hover {
    background-color: #e6e4f2;
    transform: translateY(-4px);
}


/* Activity images */

.activity-resource img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: 320px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.activity-resource > a:hover img {
    transform: scale(1.035);
}


/* Activity captions */

.activity-resource figcaption {
    margin-top: 18px;
    color: var(--midnight-blue);
    text-align: center;
}

.activity-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
    text-align: center;
}

.activity-resource h6 {
    margin: 0;
    color: var(--midnight-blue);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}


/* Activity download icon */

.download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    margin-top: 12px;
    padding: 0;
    background: transparent;
    color: var(--midnight-blue);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.activity-resource > a:hover .download-icon {
    color: var(--dusk-blue);
    transform: translateY(2px);
}


/* ========================================
   15. SHOP PAGE
======================================== */

.shop-page {
    width: 100%;
    background: var(--white);
}

.shop-intro {
    padding: 85px 7% 65px;
    background: var(--light-grey);
    text-align: center;
}

.shop-intro .section-eyebrow {
    color: var(--dusk-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.shop-intro h1 {
    margin: 12px 0 18px;
    color: var(--midnight-blue);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
}

.shop-intro > p:last-child {
    color: #52616e;
    font-size: 1.05rem;
    line-height: 1.8;
}

.shop-product {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: clamp(45px, 7vw, 100px);
    max-width: 1250px;
    margin: 0 auto;
    padding: 85px 7%;
}

.class-product {
    border-top: 1px solid #dce5e9;
}

.shop-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.shop-product-image img {
    display: block;
    width: 100%;
    max-width: 430px;
    max-height: 540px;
    object-fit: contain;
}

.shop-product-content {
    max-width: 680px;
}

.shop-product-label {
    margin: 0 0 14px;
    color: var(--rose);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.shop-product-content h2 {
    margin: 0 0 24px;
    color: var(--midnight-blue);
    font-size: clamp(1.8rem, 2.7vw, 2.5rem);
    line-height: 1.2;
}

.shop-product-content p:not(.shop-product-label) {
    margin: 0 0 20px;
    color: #52616e;
    font-size: 0.96rem;
    line-height: 1.85;
}

.shop-product-content ul {
    margin: 25px 0 30px;
    padding-left: 22px;
}

.shop-product-content li {
    margin-bottom: 13px;
    padding-left: 6px;
    color: #52616e;
    font-size: 0.95rem;
    line-height: 1.7;
}

.shop-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 165px;
    padding: 15px 28px;
    background: var(--midnight-blue);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.shop-buy-button:hover {
    background: var(--dusk-blue);
    transform: translateY(-2px);
}


/* ========================================
   16. DONATE PAGE
======================================== */

.donate-page {
    width: 100%;
    background: var(--white);
}


/* Donate introduction */

.donate-intro {
    padding: 85px 7% 70px;
    background: var(--light-grey);
    text-align: center;
}

.donate-intro .section-eyebrow {
    color: var(--dusk-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.donate-intro h1 {
    margin: 12px 0 22px;
    color: var(--midnight-blue);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
}

.donate-intro h2 {
    margin: 0 0 15px;
    color: var(--midnight-blue);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    line-height: 1.3;
}

.donate-intro > p:last-child {
    margin: 0;
    color: var(--dusk-blue);
    font-size: 1rem;
    line-height: 1.7;
}


/* Two-column content */

.donate-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(35px, 5vw, 70px);
    max-width: 1450px;
    margin: 0 auto;
    padding: 80px 7%;
}

.donate-main,
.donate-sidebar {
    min-width: 0;
}


/* Left column — mission and giving */

.donate-message,
.donate-giving {
    margin-bottom: 65px;
}

.donate-message h3,
.donate-giving h3 {
    margin: 0 0 22px;
    color: var(--midnight-blue);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.25;
}

.donate-message > p,
.donate-giving > p {
    color: #52616e;
    font-size: 0.96rem;
    line-height: 1.85;
}


/* Coach Cindy's message */

.donate-quote {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    gap: 28px;
    margin: 30px 0;
}

.donate-quote img {
    display: block;
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.donate-quote p {
    margin: 0;
    color: #52616e;
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.85;
}


/* Giving opportunities */

.donate-giving h4 {
    margin: 0 0 20px;
    color: var(--dusk-blue);
    font-size: 1.1rem;
    font-weight: 600;
}

.donate-giving ol {
    margin: 28px 0 0;
    padding-left: 25px;
}

.donate-giving ol > li {
    margin-bottom: 22px;
    padding-left: 8px;
    color: #52616e;
    font-size: 0.95rem;
    line-height: 1.8;
}

.donate-giving a,
.donate-contact a {
    color: var(--dusk-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.donate-giving ul {
    margin: 14px 0 0;
    padding-left: 22px;
}

.donate-giving ul li {
    margin-bottom: 10px;
}


/* Right column — call to action */

.donate-sidebar {
    padding: 40px;
    background: var(--light-grey);
}

.donate-action-label {
    margin: 0 0 12px;
    color: var(--rose);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
}


/* Donate contact */

.donate-contact h3 {
    margin: 0 0 18px;
    color: var(--midnight-blue);
    font-size: 1.8rem;
    line-height: 1.25;
}

.donate-contact h4,
.donate-paypal h4,
.donate-form h4 {
    margin: 0 0 18px;
    color: var(--dusk-blue);
    font-size: 1.1rem;
    font-weight: 600;
}

.donate-contact p:not(.donate-action-label) {
    color: #52616e;
    font-size: 0.94rem;
    line-height: 1.8;
}

.donate-contact ul {
    margin: 20px 0 30px;
    padding-left: 20px;
}

.donate-contact li {
    margin-bottom: 12px;
    color: #52616e;
    font-size: 0.9rem;
    line-height: 1.6;
}


/* PayPal */

.donate-paypal {
    padding: 30px 0;
    border-top: 1px solid #dce5e9;
    border-bottom: 1px solid #dce5e9;
}

.donate-paypal button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 22px;
    border: 0;
    background: var(--midnight-blue);
    color: var(--white);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.donate-paypal button:hover {
    background: var(--dusk-blue);
    transform: translateY(-2px);
}


/* Donation inquiry form */

.donate-form {
    padding-top: 30px;
}

.donation-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.donation-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.donation-form-field label {
    color: var(--midnight-blue);
    font-size: 0.85rem;
    font-weight: 600;
}

.donation-form-field input,
.donation-form-field select,
.donation-form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d4dfe4;
    border-radius: 0;
    background: var(--white);
    color: #52616e;
    font-family: inherit;
    font-size: 0.9rem;
}

.donation-form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.donation-form-field input:focus,
.donation-form-field select:focus,
.donation-form-field textarea:focus {
    outline: 2px solid var(--seafoam);
    outline-offset: 2px;
}

.donation-inquiry-form > button {
    width: 100%;
    min-height: 52px;
    padding: 14px 22px;
    border: 0;
    background: var(--midnight-blue);
    color: var(--white);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.donation-inquiry-form > button:hover {
    background: var(--dusk-blue);
    transform: translateY(-2px);
}


/* ========================================
   17. FORM STATUS MESSAGES
======================================== */

.form-success,
.form-error {
    margin: 20px 0;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.form-success {
    border: 1px solid #a8d1b7;
    background: #e8f4ed;
    color: #245b46;
}

.form-error {
    border: 1px solid #e3b5b5;
    background: #f9ebeb;
    color: #8a3030;
}


/* ========================================
   18. RESPONSIVE — TABLET AND MOBILE
======================================== */

@media (max-width: 900px) {

    /* Testimonials */

    .testimonials-grid {
        columns: 2;
    }
}


@media (max-width: 760px) {

    /* Footer */

    .site-footer {
        padding: 45px 6% 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }


    /* Homepage heroes */

    .homepage .hero-section {
        min-height: 650px;
        padding: 45px 25px;
        background-position: center;
    }

    .homepage .Slider1 {
        min-height: 680px;
    }

    .homepage .Slider2,
    .homepage .Slider3 {
        min-height: 650px;
    }

    .homepage .contentWrap {
        min-height: auto;
        padding: 30px 15px;
    }

    .homepage .Slider1 .hero-message {
        max-width: 100%;
    }

    .homepage .Slider2 ul {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .homepage .Slider3 .contentWrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 25px;
    }

    .homepage .Slider3 .contentCol.right {
        padding: 0;
    }


    /* Homepage contact */

    .home-contact {
        padding: 65px 22px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrap {
        padding: 28px 22px;
    }


    /* Homepage testimonials */

    .home-testimonials {
        padding: 65px 22px;
    }

    .testimonials-heading {
        margin-bottom: 35px;
    }

    .testimonials-grid {
        columns: 1;
    }

    .testimonial-card {
        padding: 24px;
    }


    /* Education library */

    .education-library-intro {
        padding: 65px 22px 45px;
    }

    .library-welcome {
        margin-bottom: 35px;
    }

    .library-navigation {
        grid-template-columns: 1fr;
    }

    .library-navigation a {
        padding: 22px 15px;
    }

    .library-navigation a + a {
        border-top: 1px solid rgba(38, 70, 102, 0.2);
        border-left: 0;
    }


    /* Water safety */

    .water-safety-section {
        padding: 30px 24px 55px;
    }

    .water-safety-resource,
    .water-safety-resource.reverse {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 45px 0;
    }

    .water-safety-resource.reverse .water-safety-copy,
    .water-safety-resource.reverse .water-safety-image {
        grid-column: 1;
        grid-row: auto;
    }

    .water-safety-image img {
        max-height: 380px;
    }


    /* Journey guide */

    .journey-guide {
        padding: 55px 24px;
    }

    .journey-guide-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .journey-guide-pdf img {
        max-height: 460px;
    }


    /* Activities */

    .activities-section {
        padding: 55px 24px;
    }

    .activities-intro {
        margin-bottom: 30px;
    }

    .activity-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 15px;
    }

    .activity-resource > a {
        min-height: 280px;
        padding: 12px;
    }

    .activity-resource img {
        height: 210px;
    }


    /* Shop */

    .shop-intro {
        padding: 65px 24px 45px;
    }

    .shop-product {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 55px 24px;
    }

    .shop-product-image img {
        max-height: 400px;
    }

    .shop-product-content {
        max-width: none;
    }


    /* Donate */

    .donate-intro {
        padding: 65px 24px 50px;
    }

    .donate-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 55px 24px;
    }

    .donate-quote {
        grid-template-columns: 110px 1fr;
        gap: 18px;
    }

    .donate-quote img {
        max-width: 110px;
    }

    .donate-sidebar {
        padding: 28px 24px;
    }
}


@media (max-width: 480px) {

    /* Homepage heroes */

    .homepage .hero-section {
        padding: 35px 22px;
    }

    .homepage .Slider1 {
        min-height: 650px;
    }

    .homepage .Slider2,
    .homepage .Slider3 {
        min-height: 620px;
    }

    .homepage .contentWrap {
        padding: 25px 8px;
    }

    .homepage .Slider1 .hero-message h2 {
        font-size: 2.2rem;
    }

    .homepage p,
    .homepage li {
        font-size: 0.85rem;
    }

    .homepage blockquote {
        padding: 18px;
        font-size: 0.95rem;
    }


    /* Activities */

    .activity-gallery {
        grid-template-columns: 1fr;
    }

    .activity-resource > a {
        min-height: 330px;
    }

    .activity-resource img {
        height: 260px;
    }


    /* Donate */

    .donate-quote {
        grid-template-columns: 1fr;
    }

    .donate-quote img {
        max-width: 135px;
        margin: 0 auto;
    }
}


/* ========================================
   19. ACCESSIBILITY — REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .homepage.motion-enabled .hero-reveal,
    .homepage.motion-enabled .hero-reveal .contentCol,
    .home-testimonials.cards-motion-enabled .testimonial-card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .testimonial-card,
    .activity-resource > a,
    .activity-resource img,
    .download-icon,
    .shop-buy-button,
    .home-contact-form button,
    .donate-paypal button,
    .donation-inquiry-form > button {
        transition: none;
    }
}


/* ========================================
   404 - PAGE NOT FOUND
======================================== */

.error-page {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 140px;
    background: #f3f8fb;
    text-align: center;
}

.error-page-content {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.error-page-content h1 {
    margin: 12px 0 24px;
    color: var(--midnight-blue);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
}

.error-page-content > p:not(.section-eyebrow) {
    max-width: 620px;
    margin: 0 auto 18px;
    color: #526779;
    font-size: 1.05rem;
    line-height: 1.8;
}

.error-page-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 34px;
}

.error-page-actions > a:not(.shop-buy-button) {
    color: var(--midnight-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.error-page-actions > a:not(.shop-buy-button):hover {
    color: var(--dusk-blue);
}

@media (max-width: 600px) {
    .error-page {
        min-height: 50vh;
        padding: 60px 20px;
    }

    .error-page-actions {
        flex-direction: column;
        gap: 18px;
    }
}


/* ========================================
   20. RESPONSIVE HEADER — MOBILE NAVIGATION
======================================== */

/* Hamburger button is hidden on desktop. */

.mobile-menu-toggle {
    display: none;
}


@media (max-width: 768px) {

    /* Header layout */

    .header-inner {
        position: relative;
        flex-wrap: wrap;
        gap: 0;
        min-height: 85px;
        padding: 10px 20px;
    }

    /* Brand */

    .site-brand {
        gap: 10px;
        min-width: 0;
    }

    .site-brand img {
        width: 62px;
        height: 62px;
        flex-shrink: 0;
    }

    .brand-text strong {
        font-size: 1.05rem;
        letter-spacing: 1px;
    }

    .brand-text small {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }


    /* Hamburger button */

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;

        width: 46px;
        min-width: 46px;
        height: 46px;
        padding: 10px;

        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 5px;
        background: transparent;
        color: var(--white);

        cursor: pointer;
        flex-shrink: 0;
    }

    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.08);
        opacity: 1;
    }

    .mobile-menu-toggle:focus-visible {
        outline: 3px solid var(--seafoam);
        outline-offset: 3px;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 23px;
        height: 2px;
        border-radius: 2px;
        background: var(--white);
        transition: transform 0.25s ease, opacity 0.2s ease;
    }


    /* Hamburger transforms into an X */

    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    /* Mobile navigation panel */

    .main-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        width: 100%;
        padding: 8px 0 12px;

        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        display: block;
        padding: 14px 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        font-size: 0.95rem;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav a:hover,
    .main-nav a[aria-current="page"] {
        border-bottom-color: rgba(150, 208, 214, 0.5);
    }

}


/* Smaller phones */

@media (max-width: 380px) {

    .header-inner {
        padding-right: 14px;
        padding-left: 14px;
    }

    .site-brand img {
        width: 52px;
        height: 52px;
    }

    .brand-text strong {
        font-size: 0.95rem;
    }

    .brand-text small {
        font-size: 0.65rem;
    }

}
