/* ─────────────────────────────────────────
       DESIGN TOKENS
    ───────────────────────────────────────── */
:root {
    --blue: #212D65;
    --red: #F0483E;
    --gray-bg: #E6E7ED;
    --white: #ffffff;
    --text-dark: #1a1a2e;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--text-dark);
}

/* ═══════════════════════════════════════
       HERO SECTION
    ═══════════════════════════════════════ */
.hero-section {
    position: relative;
    background-color: var(--blue);
    /* Hero image as bg — replace with actual image */
    /* background-image: url('https://images.unsplash.com/photo-1600585154526-990dced4db0d?w=1600&auto=format&fit=crop&q=60'); */
    /* background-size: cover; */
    /* background-position: center top; */
    /* min-height: 520px; */
    overflow: visible;
}

/* Radial dark blue overlay — stronger left, fades to transparent right */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(33, 45, 101, 0.97) 30%, rgba(33, 45, 101, 0.88) 55%, rgba(33, 45, 101, 0.50) 75%, transparent 100%),
        linear-gradient(90deg, rgba(33, 45, 101, 0.98) 0%, rgba(33, 45, 101, 0.85) 45%, rgba(33, 45, 101, 0.30) 75%, rgba(33, 45, 101, 0.05) 100%);
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    min-height: 520px;
    max-width: 1360px;
    margin: 0 auto;
}

/* ── Logo Row ── */
.hero-logo-row {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 22px 48px;
    display: flex;
    align-items: center;
    gap: 35px;
}

.hero-logo-img {
    height: 80px;
    width: auto;
    display: block;
}

/* Inline logo markup — shown when no PNG available */
.logo-text-block {
    line-height: 1;
    text-decoration: none;
}

.logo-dr-john {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1px;
}

.logo-dr-john .stars {
    display: flex;
    gap: 3px;
    color: var(--red);
    font-size: 0.45rem;
}

.logo-cowan {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-congress-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.logo-line {
    flex: 1;
    height: 1.5px;
    background: var(--red);
    min-width: 14px;
}

.logo-congress {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.btn-hero-donate {
    background: var(--red);
    color: var(--white) !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    padding: 9px 45px;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-hero-donate:hover {
    background: #d63a31;
}

/* ── Hero Left Content ── */
.hero-left {
    width: 48%;
    padding: 160px 0 56px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin: 0;
    text-align: center;
}

.hero-subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
    text-align: center;
    width: 100%;
}

/* ── Hero Form ── */
.hero-form {
    width: 100%;
    max-width: 420px;
}

.hero-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.hero-input {
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 12px;
    padding: 11px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    color: var(--blue);
    outline: none;
    width: 100%;
    transition: background 0.2s;
}

.hero-input::placeholder {
    color: #aaa;
}

.hero-input:focus {
    background: #fff;
}

.hero-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-bottom: 16px;
}

.hero-check-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
    line-height: 1.3;
}

.hero-check-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    transition: all 0.15s;
}

.hero-check-label input[type="checkbox"]:checked {
    background: var(--red);
    border-color: var(--red);
}

.hero-check-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 3px;
    width: 5px;
    height: 8px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.btn-hero-submit {
    display: block;
    width: 100%;
    background: var(--red);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    padding: 9px 13px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 18px;
}

.btn-hero-submit:hover {
    background: #d63a31;
}

.hero-social-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    width: 100%;
}

.hero-social-icon {
    color: var(--white);
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.2s;
    opacity: 0.85;
}

.hero-social-icon:hover {
    color: var(--red);
    opacity: 1;
}

/* ── Hero Right: Person image ── */
.hero-right {
    width: 52%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
}

.hero-person {
    display: block;
    transform: translateY(-80px);
    margin-bottom: -80px;
    height: 670px;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    /* filter: drop-shadow(-12px 0 32px rgba(0,0,0,0.45)); */
    position: relative;
    z-index: 3;
}

/* ═══════════════════════════════════════
       MEET SECTION (white bg)
    ═══════════════════════════════════════ */
.meet-section {
    background: var(--white);
    padding: 64px 80px;
}

.meet-inner {
    display: flex;
    align-items: flex-start;
    gap: 56px;
    max-width: 1000px;
    margin: 0 auto;
}

.meet-text {
    flex: 1;
}

.meet-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.08rem;
    font-weight: 400;
    color: var(--blue);
    line-height: 1.7;
    margin-bottom: 22px;
}

.meet-text p:last-child {
    margin-bottom: 0;
}

.meet-text strong {
    font-weight: 700;
}

.meet-photo-wrap {
    flex-shrink: 0;
    width: 35%;
}

.meet-photo {
    width: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 25px;
    display: block;
}

/* ═══════════════════════════════════════
       ISSUES SECTION (gray bg)
    ═══════════════════════════════════════ */
.issues-section {
    background: var(--gray-bg);
    padding: 60px 80px;
}

.issues-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.issue-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.issue-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.issue-icon i {
    color: var(--white);
    font-size: 0.6rem;
}

.issue-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    color: var(--blue);
    line-height: 1.55;
    margin: 0;
}

/* ═══════════════════════════════════════
       PRIMARY BANNER (white bg, centered text)
    ═══════════════════════════════════════ */
.primary-section {
    background: var(--white);
    padding: 52px 40px;
    text-align: center;
}

.primary-date {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.primary-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.9vw, 1.25rem);
    font-weight: 700;
    color: var(--red);
    margin: 0;
    line-height: 1.3;
}

/* ═══════════════════════════════════════
       FOOTER (dark blue bg)
    ═══════════════════════════════════════ */
.site-footer {
    background: var(--blue);
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    display: block;
}

/* Inline footer logo */
.footer-logo-inline {
    text-align: center;
    text-decoration: none;
}

.footer-logo-inline .logo-dr-john {
    justify-content: center;
}

.footer-logo-inline .logo-cowan {
    font-size: 2rem;
    display: block;
    text-align: center;
}

.footer-logo-inline .logo-congress-row {
    justify-content: center;
}

.footer-social-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-social {
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.2s;
    opacity: 0.85;
}

.footer-social:hover {
    color: var(--red);
    opacity: 1;
}

/* ═══════════════════════════════════════
       DISCLAIMER BAR
    ═══════════════════════════════════════ */
.disclaimer-bar {
    background: #1a2254;
    padding: 10px 10px;
    text-align: center;
}

.disclaimer-bar p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.60);
    margin: 0;
    letter-spacing: 0.3px;
}

.disclaimer-bar a {
    color: rgba(255, 255, 255, 0.60);
    text-decoration: underline;
    transition: color 0.2s;
}

.disclaimer-bar a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ═══════════════════════════════════════
       PRIVACY POLICY PAGE (hidden by default)
    ═══════════════════════════════════════ */
#privacy-section {
    display: none;
    background: var(--white);
    padding: 64px 80px;
}

#privacy-section.active {
    display: block;
}

.privacy-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    margin-bottom: 32px;
    cursor: pointer;
    transition: color 0.2s;
}

.privacy-back:hover {
    color: var(--red);
}

.privacy-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 28px;
}

.privacy-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 28px 0 10px;
}

.privacy-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--blue);
    margin: 18px 0 8px;
}

.privacy-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: #444;
    line-height: 1.75;
    margin-bottom: 14px;
}

/* ═══════════════════════════════════════
       RESPONSIVE — TABLET  (≤1024px)
    ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-left {
        width: 58%;
        padding-left: 32px;
    }

    .hero-right {
        width: 42%;
    }

    .hero-person {
        height: 460px;
    }

    .meet-section {
        padding: 48px 40px;
    }

    .issues-section {
        padding: 48px 40px;
    }

    #privacy-section {
        padding: 48px 40px;
    }
}

/* ═══════════════════════════════════════
       RESPONSIVE — MOBILE  (≤767px)
    ═══════════════════════════════════════ */
@media (max-width: 767px) {

    /* Hero */
    .hero-section {
        overflow: hidden;
    }

    .hero-overlay {
        background: linear-gradient(180deg,
                rgba(33, 45, 101, 0.55) 0%,
                rgba(33, 45, 101, 0.96) 40%,
                rgba(33, 45, 101, 0.99) 100%);
    }

    .hero-logo-row {
        padding: 16px 20px;
        gap: 14px;
    }

    .hero-logo-img {
        height: 52px;
    }

    .logo-cowan {
        font-size: 1.8rem;
    }

    .hero-body {
        flex-direction: column;
        align-items: center;
    }

    .hero-right {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .hero-person {
        transform: translateY(0);
        height: auto;
        width: 100%;
        margin: 0;
        object-fit: cover;
        object-position: top center;
        filter: none;
    }

    .hero-left {
        width: 100%;
        padding: 20px 20px 40px;
        align-items: center;
        text-align: center;
    }

    .hero-headline {
        text-align: center;
    }

    .hero-input-row {
        grid-template-columns: 1fr;
    }

    .hero-checks {
        grid-template-columns: 1fr;
    }

    .hero-check-label {
        justify-content: flex-start;
        text-align: left;
    }

    /* Meet */
    .meet-section {
        padding: 40px 20px;
    }

    .meet-inner {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .meet-photo-wrap {
        width: 100%;
    }

    .meet-photo {
        height: 220px;
        width: 100%;
    }

    .meet-text p {
        font-size: 0.95rem;
        text-align: center;
    }

    /* Issues */
    .issues-section {
        padding: 40px 20px;
    }

    .issues-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Primary */
    .primary-section {
        padding: 36px 20px;
    }

    /* Footer */
    .site-footer {
        padding: 28px 20px;
    }

    /* Privacy */
    #privacy-section {
        padding: 40px 20px;
    }
}


@media (max-width: 567px) {
    .hero-person {
        transform: translateY(0);
        height: auto;
        width: 140%;
        margin: 0;
        margin-left: -18%;
        object-fit: cover;
        object-position: top center;
        filter: none;
    }

        .hero-logo-row {
        position: relative;
        flex-direction: column;
        padding-top: 30px;
        padding-bottom: 0;
    }
        .hero-logo-img {
        height: auto;
        width: 70%; 
        margin: auto;
    }

    .btn-hero-donate {
    font-size: 1.1rem;
    border-radius: 15px;
    padding: 10px 60px;
    margin-top: 20px;
}
}