/* -----------------------------------------------------------
   RESET
----------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* -----------------------------------------------------------
   GLOBAL
----------------------------------------------------------- */
body {
    font-family: "Inter", "DM Sans", sans-serif;
    background: #f7f9fc;
    color: #1a1a1a;
    line-height: 1.7;
    scroll-behavior: smooth;
    animation: none;
    transition: background-color 0.35s ease, color 0.35s ease;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(153,219,67,0.10), transparent 30%),
                radial-gradient(circle at bottom right, rgba(74,133,182,0.12), transparent 35%);
    pointer-events: none;
    z-index: -1;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@keyframes fadePage {
    from { opacity: 0; }
    to { opacity: 1; }
}

h1, h2, h3 {
    font-family: "Norwester", sans-serif;
    letter-spacing: 0.5px;
}

p {
    line-height: 1.8;
}

::selection {
    background: #99db43;
    color: #1a4060;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #e8eef5;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4a85b6, #99db43);
    border-radius: 999px;
}

/* -----------------------------------------------------------
   DARK MODE
----------------------------------------------------------- */
body.dark {
    background: #0f1b26;
    color: #f4f7fb;
}

body.dark header {
    background: linear-gradient(135deg, #0f1b26 0%, #142a3c 48%, #1a4060 100%);
}

body.dark h1,
body.dark h2,
body.dark h3,
body.dark p,
body.dark li,
body.dark label,
body.dark .site-title-text {
    color: #f4f7fb;
}

body.dark section h2 {
    color: #f8fbff;
}

body.dark .site-brand {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(153, 219, 67, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

body.dark .site-title-text {
    color: #1a4060;
}

body.dark .site-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.22));
}

body.dark .card {
    background: rgba(20, 38, 53, 0.85);
    color: #e6e6e6;
    border-left-color: #99db43;
    border-color: rgba(153, 219, 67, 0.3);
}

body.dark footer {
    background: #0f1b26;
}

/* -----------------------------------------------------------
   HEADER / NAVBAR
----------------------------------------------------------- */
header {
    background: linear-gradient(135deg, #1a4060 0%, #285f85 48%, #4a85b6 100%);
    color: white;
    padding: 25px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    gap: 16px;
    isolation: isolate;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

header h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 32px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 14px;
    background: white;
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.site-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.site-title-text {
    color: #1a4060;
    font-weight: 700;
}

.site-logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    margin: 0 auto;
}

/* LOGO */
.vyc-logo {
    width: 55px;
    height: 55px;
}

/* NAV LINKS */
nav {
    display: flex;
    align-items: center;
}

.nav-dropdown {
    position: relative;
    margin-left: 25px;
}

.nav-dropdown > a {
    margin-left: 0;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -14px;
    min-width: 190px;
    padding: 18px 0 10px;
    background: #1a4060;
    border-top: 3px solid #99db43;
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.nav-dropdown:hover::after,
.nav-dropdown:focus-within::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -14px;
    right: 0;
    height: 18px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    margin: 0;
    padding: 11px 16px;
    white-space: nowrap;
    font-size: 15px;
}

.dropdown-menu a::after {
    display: none;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 17px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

nav a:hover,
nav a:focus-visible {
    transform: translateY(-2px);
    text-shadow: 0 0 16px rgba(255,255,255,0.3);
}

nav .button,
nav .join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 25px;
    padding: 8px 16px;
    line-height: 1;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 3px;
    background: #99db43;
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* DARK MODE + HAMBURGER BUTTONS */
#dark-toggle,
#menu-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    line-height: 1;
    margin-left: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

#menu-toggle {
    display: none;
}

#dark-toggle:hover,
#menu-toggle:hover,
#dark-toggle:focus-visible,
#menu-toggle:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
    border-color: #99db43;
    color: #f1ec62;
}

/* MOBILE NAV */
@media (max-width: 900px) {
    nav {
        display: none;
        flex-direction: column;
        background: #1a4060;
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }

    nav.open {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
        margin-left: 0;
    }

    .dropdown-menu {
        position: static;
        min-width: 0;
        padding: 4px 0 4px 16px;
        border-top: 0;
        box-shadow: none;
    }

    .nav-dropdown .dropdown-menu {
        display: block;
    }

    #menu-toggle {
        display: inline-block;
    }
}

/* -----------------------------------------------------------
   HERO (PARALLAX)
----------------------------------------------------------- */
.hero {
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 10%;
    background:
        linear-gradient(rgba(26,64,96,0.75), rgba(26,64,96,0.75)),
        url("images/vaughan.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: white;
}

.hero h2 {
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    line-height: 1.02;
    padding: 20px 30px;
    border-radius: 12px;
    color: #ffffff;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.28);
    max-width: 960px;
}

@keyframes bounceHero {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-6px); }
}

@keyframes floatHero {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.hero p {
    font-size: 22px;
    max-width: 750px;
    line-height: 1.5;
}

/* -----------------------------------------------------------
   BUTTONS
----------------------------------------------------------- */
.button {
    display: inline-block;
    margin-top: 35px;
    padding: 15px 35px;
    background: #99db43;
    color: #1a4060;
    border-radius: 40px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.button:hover,
.button:focus-visible {
    background: #f1ec62;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.16);
}

/* -----------------------------------------------------------
   SECTIONS + WAVES
----------------------------------------------------------- */
section {
    padding: 80px 10%;
    position: relative;
}

.section-fade {
    opacity: 1;
    transform: none;
}

.section-fade.visible {
    opacity: 1;
    transform: none;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

section.wave-top::before,
section.wave-bottom::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    background-size: cover;
}

section.wave-top::before {
    top: -60px;
    background: url("images/wave-top.svg") no-repeat center;
}

section.wave-bottom::after {
    bottom: -60px;
    background: url("images/wave-bottom.svg") no-repeat center;
}

section h2 {
    text-align: center;
    font-size: 42px;
    color: #1a4060;
    margin: 0 auto 40px;
    position: relative;
    display: inline-block;
    padding: 0 12px;
}

section h2::before {
    content: "";
    position: absolute;
    inset: -10px -18px;
    background: radial-gradient(circle, rgba(153, 219, 67, 0.22), transparent 70%);
    filter: blur(16px);
    z-index: -1;
}

.home-section-lede {
    max-width: 760px;
    margin: -16px auto 34px;
    text-align: center;
}

.home-link-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.home-link-list a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 20px;
    border-left: 5px solid #99db43;
    border-radius: 14px;
    background: rgba(255,255,255,0.82);
    color: #1a4060;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(26,64,96,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-link-list a:hover,
.home-link-list a:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(26,64,96,0.14);
}

.home-link-list strong {
    font-family: "Norwester", sans-serif;
    font-size: 21px;
    font-weight: 400;
}

.home-link-list span {
    color: #4a6173;
    line-height: 1.55;
}

body.dark .home-link-list a {
    background: rgba(20,38,53,0.9);
    color: #f4f7fb;
}

body.dark .home-link-list span {
    color: #c7d4df;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 12px;
}

.about-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(74, 133, 182, 0.15);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 14px 34px rgba(26, 64, 96, 0.08);
}

.about-panel h3 {
    color: #1a4060;
    font-size: 24px;
    margin-bottom: 16px;
}

.about-panel p + p {
    margin-top: 14px;
}

.about-photo {
    min-height: 100%;
    min-height: 360px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(145deg, #1a4060 0%, #4a85b6 62%, #99db43 150%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(26, 64, 96, 0.18);
    transform: none;
    opacity: 1;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-photo img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: block;
    object-fit: cover;
    object-position: 25% center;
    transform: scale(1.25);
    transform-origin: 25% center;
    filter: saturate(0.92) contrast(1.04);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}

.about-photo::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 14px;
    pointer-events: none;
}

.about-photo:hover {
    transform: translateY(-6px) rotate(0deg);
    box-shadow: 0 20px 42px rgba(26, 64, 96, 0.24);
}

.about-photo:hover img {
    filter: saturate(1) contrast(1.04);
    transform: scale(1.28);
}

@keyframes photoReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.about-panel.highlight {
    background: linear-gradient(135deg, rgba(153, 219, 67, 0.16), rgba(74, 133, 182, 0.12));
    border-color: rgba(153, 219, 67, 0.35);
}

.about-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.about-list li {
    position: relative;
    padding-left: 20px;
    color: #1a4060;
}

.about-list li::before {
    content: "•";
    color: #99db43;
    position: absolute;
    left: 0;
    top: 0;
}

.values-intro {
    max-width: 680px;
    margin: 8px auto 38px;
    text-align: center;
    color: #4a6173;
    font-size: 18px;
    line-height: 1.6;
}

body.dark .values-intro {
    color: #c7d4df;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.value-card {
    min-width: 0;
    max-width: none;
    min-height: 100%;
    padding: 28px 26px 30px;
    border-left-width: 5px;
    display: flex;
    flex-direction: column;
}

.value-card h3 {
    margin: 10px 0 14px;
    color: #1a4060;
    font-size: 27px;
}

.value-card p {
    color: #354b5e;
    font-size: 16px;
    line-height: 1.65;
}

.value-number {
    color: #4a85b6;
    font-family: "Norwester", sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
}

.members-section {
    background: rgba(232,238,245,0.55);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}

.member-card {
    display: flex;
    align-items: center;
    min-height: 92px;
    padding: 22px 24px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(74,133,182,0.16);
    border-left: 5px solid #99db43;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(26,64,96,0.08);
}

.member-card h3 {
    color: #1a4060;
    font-size: 21px;
    line-height: 1.25;
}

body.dark .members-section {
    background: rgba(15,27,38,0.7);
}

body.dark .member-card {
    background: rgba(20,38,53,0.92);
    border-color: rgba(153,219,67,0.28);
}

body.dark .member-card h3 {
    color: #f4f7fb;
}

body.dark .value-card h3,
body.dark .value-card p,
body.dark .value-number {
    color: #f4f7fb;
}

body.dark .about-panel {
    background: rgba(20, 38, 53, 0.92);
    border-color: rgba(153, 219, 67, 0.25);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

body.dark .about-panel h3,
body.dark .about-list li {
    color: #f4f7fb;
}

body.dark .about-photo {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

@media (max-width: 800px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-panel {
        padding: 22px;
    }

    .about-photo,
    .about-photo img {
        min-height: 280px;
    }
}

@media (max-width: 520px) {
    .card-container {
        align-items: center;
    }

    .card-container .card,
    .home-card-grid .card,
    .values-grid .card {
        width: 100%;
        max-width: 420px;
        justify-self: center;
    }

    .home-link-list,
    .members-grid {
        justify-items: center;
    }

    .home-link-list > *,
    .members-grid > * {
        width: 100%;
        max-width: 420px;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .executive-row {
        gap: 20px;
    }

    .executive-row .card {
        width: 100%;
        min-width: 0;
        max-width: 320px;
        min-height: 0;
        padding: 22px;
    }

    .executive-row .executive-photo {
        height: 180px;
    }

    .executive-row .card h3 {
        font-size: 22px;
        line-height: 1.25;
    }

    .executive-row .executive-role {
        display: block;
        color: #4a85b6;
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-photo,
    .about-photo img {
        animation: none;
        transition: none;
    }

    .about-photo {
        opacity: 1;
        transform: none;
    }
}

/* -----------------------------------------------------------
   FEATURE BAND
----------------------------------------------------------- */
.feature-band {
    padding: 42px 10%;
}

.feature-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: center;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(74,133,182,0.16);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 14px 34px rgba(26,64,96,0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(26,64,96,0.16);
}

.feature-media {
    min-height: 240px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(26,64,96,0.12);
    transform: perspective(1000px) rotateY(-2deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-media:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 16px 30px rgba(26,64,96,0.18);
}

.feature-band-reverse .feature-panel {
    grid-template-columns: 0.9fr 1.1fr;
}

.feature-band-reverse .feature-media {
    order: -1;
}

.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.who-we-are-image {
    object-position: 25% center;
    transform: scale(1.3);
    transform-origin: 25% center;
}

.feature-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(153,219,67,0.12), transparent 55%);
    pointer-events: none;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4a85b6;
    margin-bottom: 10px;
}

.about-section::after,
.current-initiatives-page::after,
.past-initiatives-section::after,
.hero::after,
.feature-band::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    top: 34px;
    border: 1px solid rgba(241,236,98,0.35);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(241,236,98,0.06), 0 0 0 48px rgba(241,236,98,0.04);
    pointer-events: none;
}

.feature-band::after {
    top: 18px;
    right: 4%;
    width: 180px;
    height: 180px;
}

.feature-copy h3 {
    font-size: 27px;
    margin-bottom: 12px;
    color: #1a4060;
}

.feature-copy p {
    color: #334155;
}

.feature-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(153,219,67,0.18);
    color: #1a4060;
    font-weight: 600;
    font-size: 0.95rem;
}

body.dark .feature-panel {
    background: linear-gradient(135deg, rgba(20,38,53,0.95), rgba(26,64,96,0.9));
    border-color: rgba(153,219,67,0.25);
}

body.dark .feature-copy h3 {
    color: #f4f7fb;
}

body.dark .feature-copy p {
    color: #d8e3ee;
}

body.dark .pill {
    background: rgba(153,219,67,0.2);
    color: #f4f7fb;
}

body.dark .metric-card {
    background: rgba(13,25,36,0.84);
}

.card-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.home-card-grid {
    display: grid;
    gap: 24px;
}

.home-traction-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-initiative-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-card-grid .card {
    min-width: 0;
    max-width: none;
}

.executive-row {
    justify-content: center;
    align-items: stretch;
}

.card {
    background: rgba(255,255,255,0.78);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    flex: 1 1 260px;
    min-width: 260px;
    max-width: 300px;
    min-height: 360px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.65);
    border-left: 6px solid #99db43;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 18px 36px rgba(0,0,0,0.16);
}

.join-page section {
    padding-top: 52px;
    padding-bottom: 52px;
}

.join-page .wave-top > p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.2rem;
    text-align: center;
}

.join-page .card-container {
    justify-content: center;
    gap: 20px;
}

.join-page .card {
    min-height: 0;
}

.join-page > section .button {
    display: block;
    width: max-content;
    margin: 28px auto 0;
}

.executive-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0.9rem;
    margin-bottom: 1rem;
}

.card h3,
.card p {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.executive-role {
    display: block;
    font-style: italic;
    color: #4a85b6;
    margin-top: -0.2rem;
    margin-bottom: 0.8rem;
    text-align: center;
}

.card h3 {
    color: #4a85b6;
    font-size: 26px;
    margin-bottom: 15px;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(153,219,67,0.2), rgba(74,133,182,0.16));
    color: #1a4060;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.dark .card-icon {
    color: #99db43;
}

/* -----------------------------------------------------------
   CONTACT PAGE
----------------------------------------------------------- */
.contact-intro {
    background: linear-gradient(135deg, rgba(26,64,96,0.98) 0%, rgba(40,95,133,0.95) 48%, rgba(74,133,182,0.92) 100%);
    color: white;
    padding-top: 92px;
    padding-bottom: 104px;
    text-align: center;
    overflow: hidden;
}

.contact-intro::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -90px;
    top: -150px;
    border: 1px solid rgba(241,236,98,0.35);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(241,236,98,0.06), 0 0 0 48px rgba(241,236,98,0.04);
}

.contact-intro .eyebrow {
    color: #f1ec62;
}

.contact-intro h2 {
    display: block;
    color: white;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    margin-bottom: 18px;
}

.contact-lead {
    max-width: 650px;
    margin: 0 auto;
    color: #e8f2f8;
    font-size: 1.15rem;
}

.contact-section {
    padding-top: 86px;
    padding-bottom: 96px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
    gap: 34px;
    max-width: 1120px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-details,
.contact-form-panel {
    border-radius: 24px;
    padding: 34px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 38px;
    background: #1a4060;
    color: white;
    box-shadow: 0 18px 38px rgba(26,64,96,0.18);
    overflow: hidden;
    position: relative;
}

.contact-details::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    bottom: -100px;
    right: -70px;
    border: 28px solid rgba(153,219,67,0.14);
    border-radius: 50%;
}

.contact-details::before {
    content: "VYC";
    position: absolute;
    right: 18px;
    top: 26px;
    color: rgba(255,255,255,0.07);
    font-family: "Norwester", sans-serif;
    font-size: 92px;
    line-height: 1;
    transform: rotate(-8deg);
    pointer-events: none;
}

.contact-details h3,
.contact-form-panel h3 {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 14px;
}

.contact-details h3 {
    color: white;
}

.contact-details p {
    color: #dce8f2;
}

.contact-panel-intro {
    max-width: 280px;
    margin-top: 18px;
    font-size: 1.02rem;
    line-height: 1.65;
}

.contact-detail-list {
    display: grid;
    gap: 0;
    position: relative;
    z-index: 1;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    color: white;
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,0.17);
    transition: padding-left 0.2s ease, color 0.2s ease;
}

.contact-detail:hover,
.contact-detail:focus-visible {
    padding-left: 6px;
    color: #f1ec62;
}

.contact-detail .card-icon {
    flex: 0 0 46px;
    margin: 0;
    color: #99db43;
    background: rgba(255,255,255,0.1);
}

.contact-detail small {
    display: block;
}

.contact-detail small {
    color: inherit;
    font-size: 0.98rem;
    overflow-wrap: anywhere;
}

.contact-form-panel {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(74,133,182,0.16);
    box-shadow: 0 18px 38px rgba(26,64,96,0.1);
}

.form-heading {
    margin-bottom: 24px;
}

.form-heading h3 {
    color: #1a4060;
}

.form-heading > p:last-child,
.form-note {
    color: #617487;
    font-size: 0.92rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.contact-form label {
    color: #1a4060;
    font-size: 0.92rem;
    font-weight: 700;
}

.contact-form label span,
.form-heading span {
    color: #4a85b6;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #cbd9e4;
    border-radius: 10px;
    font: inherit;
    background: #f8fbfd;
    color: #1a1a1a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 138px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4a85b6;
    box-shadow: 0 0 0 3px rgba(74,133,182,0.16);
}

.contact-form .button {
    border: none;
    cursor: pointer;
    justify-self: start;
    margin-top: 2px;
}

.contact-form .button span {
    margin-left: 7px;
    font-size: 1.15em;
}

.form-note {
    margin-top: -7px;
}

body.dark .contact-form-panel {
    background: rgba(20,38,53,0.92);
    border-color: rgba(153,219,67,0.25);
}

body.dark .form-heading h3,
body.dark .contact-form label {
    color: #f4f7fb;
}

body.dark .form-heading > p:last-child,
body.dark .form-note {
    color: #c7d4df;
}

body.dark .contact-form input,
body.dark .contact-form select,
body.dark .contact-form textarea {
    background: rgba(13,25,36,0.85);
    border-color: rgba(153,219,67,0.3);
    color: #f4f7fb;
}

/* -----------------------------------------------------------
   YOUTH VOICE PAGE
----------------------------------------------------------- */
.home-hero,
.about-hero,
.contact-hero,
.join-hero,
.initiatives-hero,
.youth-voice-hero {
    background: linear-gradient(rgba(26,64,96,0.78), rgba(26,64,96,0.78));
}

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

.priority-card,
.form-card {
    background: rgba(255,255,255,0.9);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(74,133,182,0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.priority-card h3 {
    color: #1a4060;
    margin-bottom: 10px;
}

.priority-card p {
    color: #334155;
}

.youth-voice-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.youth-voice-form label {
    font-weight: 700;
    color: #1a4060;
}

.youth-voice-form input,
.youth-voice-form select,
.youth-voice-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(74,133,182,0.25);
    border-radius: 12px;
    font: inherit;
    background: #fff;
    color: #1a1a1a;
}

.youth-voice-form textarea {
    resize: vertical;
    min-height: 130px;
}

body.dark .priority-card,
body.dark .form-card {
    background: rgba(20,38,53,0.9);
    border-color: rgba(153,219,67,0.2);
}

body.dark .priority-card h3,
body.dark .youth-voice-form label {
    color: #f4f7fb;
}

body.dark .priority-card p,
body.dark .youth-voice-form input,
body.dark .youth-voice-form select,
body.dark .youth-voice-form textarea {
    color: #d8e3ee;
}

body.dark .youth-voice-form input,
body.dark .youth-voice-form select,
body.dark .youth-voice-form textarea {
    background: rgba(13,25,36,0.85);
    border-color: rgba(153,219,67,0.25);
}

/* -----------------------------------------------------------
   IMAGE CAROUSEL
----------------------------------------------------------- */
.carousel-section {
    margin-top: 50px;
}

.initiatives-intro {
    max-width: 760px;
    margin: -22px auto 0;
    text-align: center;
}

.current-initiatives-page h2,
.past-initiatives-section h2 {
    display: block;
}

.calendar-frame {
    width: 100%;
    margin-top: 36px;
    border: 1px solid rgba(74, 133, 182, 0.2);
    border-radius: 18px;
    overflow: hidden;
    background: white;
    box-shadow: 0 12px 30px rgba(26, 64, 96, 0.1);
}

.calendar-frame iframe {
    display: block;
    width: 100%;
    height: min(72vh, 720px);
}

.past-initiatives-section {
    padding-bottom: 48px;
}

.past-initiatives-section .carousel-section {
    margin-top: 36px;
}

.past-initiatives-page .carousel-card {
    min-height: calc(100vh - 230px);
    max-width: none;
    grid-template-columns: minmax(0, 2.5fr) minmax(280px, 1fr);
}

.past-initiatives-page .carousel-stage {
    min-height: calc(100vh - 290px);
}

.expectations-section {
    padding-top: 48px;
}

.expectations-section h2 {
    display: block;
    margin-bottom: 28px;
}

.carousel-card {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: 30px;
    background: white;
    padding: 25px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 6px solid #99db43;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-stage {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 380px;
    background: #1a4060;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-controls {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: #1a4060;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-btn:hover {
    transform: translateY(-2px);
    background: #f1ec62;
}

.carousel-dots {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 11px;
    height: 11px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.dot.active {
    background: #99db43;
    transform: scale(1.15);
}

.carousel-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.carousel-copy h3 {
    color: #4a85b6;
    font-size: 28px;
    margin-bottom: 12px;
}

.carousel-copy p {
    margin-bottom: 12px;
    color: #334155;
}

.carousel-copy-note {
    font-weight: 700;
    color: #1a4060;
}

body.dark .carousel-card {
    background: #142635;
    color: #e6e6e6;
}

body.dark .calendar-frame {
    background: #142635;
    border-color: rgba(153,219,67,0.3);
}

body.dark .carousel-copy p {
    color: #d8e3ee;
}

body.dark .carousel-copy h3,
body.dark .carousel-copy-note {
    color: #99db43;
}

/* -----------------------------------------------------------
   VAUGHAN YOUTH NETWORK FAIR
----------------------------------------------------------- */
.network-fair-banner {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 88px 10% 100px;
    color: white;
    background: linear-gradient(135deg, #1a4060 0%, #285f85 52%, #4a85b6 100%);
    overflow: hidden;
}

.network-fair-banner::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -80px;
    bottom: -180px;
    border: 1px solid rgba(241,236,98,0.42);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(241,236,98,0.08), 0 0 0 52px rgba(241,236,98,0.05);
    pointer-events: none;
}

.network-fair-banner .eyebrow {
    color: #f1ec62;
    margin-bottom: 14px;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.network-fair-banner h2 {
    max-width: 900px;
    margin-bottom: 20px;
    color: white;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.05;
    text-shadow: 0 2px 4px rgba(0,0,0,0.28);
}

.network-fair-lede {
    max-width: 700px;
    font-size: 1.2rem;
    line-height: 1.65;
}

.network-fair-details {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.network-fair-details span {
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 999px;
    color: #f8fbff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.network-fair-registration {
    padding-top: 64px;
    padding-bottom: 64px;
    background: rgba(255,255,255,0.72);
    text-align: center;
}

.network-fair-registration-copy {
    max-width: 680px;
    margin: 0 auto;
}

.network-fair-registration .eyebrow {
    margin-bottom: 8px;
    color: #4a85b6;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.network-fair-registration h2 {
    margin-bottom: 24px;
    color: #1a4060;
}

.network-fair-registration p:not(.eyebrow) {
    max-width: 600px;
    margin: 0 auto;
}

.network-fair-registration .button {
    margin-top: 24px;
}

body.dark .network-fair-registration {
    background: rgba(20,38,53,0.72);
}

body.dark .network-fair-registration .eyebrow {
    color: #99db43;
}

body.dark .network-fair-registration h2 {
    color: #f8fbff;
}

.network-fair-content,
.organization-section {
    padding-top: 76px;
    padding-bottom: 82px;
}

.network-fair-intro {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.network-fair-intro h2 {
    display: block;
    margin-bottom: 28px;
}

.network-fair-intro .eyebrow {
    margin-bottom: 6px;
}

.fair-planning-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}

.fair-planning-card,
.organization-card {
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(74,133,182,0.16);
    border-left: 6px solid #99db43;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(26,64,96,0.1);
}

.fair-planning-card {
    padding: 0;
    background: transparent;
    border: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #4a85b6;
    background: linear-gradient(135deg, rgba(74,133,182,0.1), rgba(153,219,67,0.18));
    border: 2px dashed rgba(74,133,182,0.42);
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.venue-schedule {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid rgba(74,133,182,0.18);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.72);
    box-shadow: 0 12px 30px rgba(26,64,96,0.1);
}

.venue-schedule li {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) 1.2fr;
    gap: 20px;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(74,133,182,0.14);
}

.venue-schedule li:last-child {
    border-bottom: 0;
}

.venue-schedule time {
    color: #1a4060;
    font-size: 0.95rem;
    font-weight: 700;
}

.venue-schedule p {
    color: #263f52;
    line-height: 1.55;
}

body.dark .venue-schedule {
    background: rgba(20,38,53,0.92);
    border-color: rgba(153,219,67,0.28);
}

body.dark .venue-schedule li {
    border-color: rgba(153,219,67,0.18);
}

body.dark .venue-schedule time,
body.dark .venue-schedule p {
    color: #f4f7fb;
}

.event-map-frame {
    position: relative;
    margin-bottom: 24px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(74,133,182,0.22);
    border-radius: 14px;
    background: #e8eef5;
    box-shadow: 0 12px 30px rgba(26,64,96,0.1);
}

.event-map-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-map-trigger {
    position: absolute;
    right: 16px;
    bottom: 16px;
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    background: #1a4060;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.event-map-trigger:hover,
.event-map-trigger:focus-visible {
    background: #285f85;
}

.event-map-dialog {
    width: min(96vw, 1400px);
    max-width: none;
    max-height: 94vh;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #f7f9fc;
    color: #1a1a1a;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.event-map-dialog::backdrop {
    background: rgba(15,27,38,0.78);
}

.event-map-dialog-content {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    max-height: 94vh;
    padding: 18px;
}

.event-map-dialog-header,
.event-map-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.event-map-dialog-header {
    padding: 0 0 14px;
}

.event-map-dialog-header h2 {
    margin: 0;
    color: #1a4060;
    font-size: 28px;
}

.event-map-close,
.event-map-zoom-in,
.event-map-zoom-out,
.event-map-reset {
    border: 1px solid rgba(74,133,182,0.28);
    border-radius: 8px;
    background: white;
    color: #1a4060;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.event-map-close {
    width: 42px;
    height: 42px;
    font-size: 28px;
    line-height: 1;
}

.event-map-viewport {
    min-height: 0;
    overflow: auto;
    border-radius: 10px;
    background: #e8eef5;
    text-align: center;
}

.event-map-zoom-image {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    transition: width 0.2s ease;
}

.event-map-controls {
    justify-content: center;
    padding-top: 14px;
}

.event-map-zoom-in,
.event-map-zoom-out {
    width: 42px;
    height: 42px;
    font-size: 24px;
}

.event-map-reset {
    padding: 10px 14px;
}

.event-map-close:hover,
.event-map-close:focus-visible,
.event-map-zoom-in:hover,
.event-map-zoom-out:hover,
.event-map-reset:hover,
.event-map-close:focus-visible,
.event-map-zoom-in:focus-visible,
.event-map-zoom-out:focus-visible,
.event-map-reset:focus-visible {
    border-color: #4a85b6;
    background: #e8eef5;
}

.event-map-zoom-in:disabled,
.event-map-zoom-out:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

body.dark .event-map-dialog {
    background: #142635;
    color: #f4f7fb;
}

body.dark .event-map-dialog-header h2,
body.dark .event-map-close,
body.dark .event-map-zoom-in,
body.dark .event-map-zoom-out,
body.dark .event-map-reset {
    color: #f4f7fb;
}

body.dark .event-map-close,
body.dark .event-map-zoom-in,
body.dark .event-map-zoom-out,
body.dark .event-map-reset {
    background: #1a4060;
    border-color: rgba(153,219,67,0.35);
}

@media (max-width: 600px) {
    .event-map-image {
        height: 100%;
    }

    .event-map-trigger {
        right: 10px;
        bottom: 10px;
        padding: 9px 12px;
        font-size: 0.9rem;
    }

    .event-map-dialog {
        width: 96vw;
        border-radius: 12px;
    }

    .event-map-dialog-content {
        padding: 12px;
    }

    .event-map-dialog-header h2 {
        font-size: 22px;
    }
}

.fair-planning-card h3,
.organization-card h3 {
    color: #1a4060;
    font-size: 27px;
    margin-bottom: 8px;
}

.organization-section {
    background: rgba(232,238,245,0.55);
}

.organization-list {
    display: grid;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.organization-card {
    display: grid;
    grid-template-columns: minmax(230px, 0.8fr) 1.2fr;
    gap: 28px;
    align-items: center;
    padding: 20px;
}

.organization-placeholder {
    width: 240px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.vff-logo-placeholder {
    background: #1a4060;
    border-radius: 14px;
    padding: 12px;
}

.organization-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.organization-copy {
    padding: 8px 14px 8px 0;
}

.organization-label {
    color: #4a85b6;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.organization-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.organization-tags span {
    padding: 6px 10px;
    border: 1px solid rgba(74,133,182,0.3);
    border-radius: 999px;
    color: #1a4060;
    background: rgba(153,219,67,0.16);
    font-size: 0.78rem;
    font-weight: 700;
}

body.dark .organization-card {
    background: rgba(20,38,53,0.92);
    border-color: rgba(153,219,67,0.28);
}

body.dark .organization-section {
    background: rgba(15,27,38,0.7);
}

body.dark .fair-planning-card h3,
body.dark .organization-card h3,
body.dark .fair-planning-card p,
body.dark .organization-card p {
    color: #f4f7fb;
}

body.dark .image-placeholder {
    color: #99db43;
    border-color: rgba(153,219,67,0.5);
    background: linear-gradient(135deg, rgba(74,133,182,0.18), rgba(153,219,67,0.1));
}

body.dark .organization-tags span {
    border-color: rgba(153,219,67,0.42);
    color: #f4f7fb;
    background: rgba(153,219,67,0.12);
}

@media (max-width: 800px) {
    .fair-planning-grid,
    .organization-card,
    .venue-schedule li {
        grid-template-columns: 1fr;
    }

    .organization-copy {
        padding: 0 4px 8px;
    }
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */
footer {
    background: #1a4060;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    font-size: 16px;
}

.site-footer {
    background: linear-gradient(135deg, #142c45, #1a4060);
    color: #f8fbff;
    padding: 42px 10%;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.site-footer h3,
.site-footer h4 {
    font-family: "Norwester", sans-serif;
    margin-bottom: 10px;
    color: #f1ec62;
}

.site-footer h4 a {
    color: inherit;
    text-decoration: none;
}

.site-footer h4 a:hover,
.site-footer h4 a:focus-visible {
    text-decoration: underline;
}

.site-footer p {
    color: #dce8f2;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f8fbff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
    transform: translateX(4px);
    color: #99db43;
}

.footer-links svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.copyright {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.16);
    color: #dce8f2;
    font-size: 0.95rem;
}

body.dark .site-footer {
    background: linear-gradient(135deg, #0f1b26, #142c45);
}

body.dark .site-footer h3,
body.dark .site-footer h4,
body.dark .site-footer a,
body.dark .site-footer p,
body.dark .copyright {
    color: #f4f7fb;
}

body.dark .site-footer a:hover {
    color: #99db43;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------------
   MOBILE RESPONSIVE
----------------------------------------------------------- */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-details {
        min-height: 420px;
    }

    .hero h2 {
        font-size: 42px;
    }

    .feature-panel {
        grid-template-columns: 1fr;
    }

    .feature-band-reverse .feature-panel {
        grid-template-columns: 1fr;
    }

    .feature-band-reverse .feature-media {
        order: 0;
    }

    .feature-media {
        min-height: 220px;
    }

    .card-container {
        flex-direction: column;
    }

    .home-traction-grid,
    .home-initiative-grid {
        grid-template-columns: 1fr;
    }

    .priority-grid {
        grid-template-columns: 1fr;
    }

    .carousel-card {
        grid-template-columns: 1fr;
    }

    .carousel-stage {
        min-height: 260px;
    }

    .past-initiatives-page .carousel-card {
        min-height: 0;
    }

    .past-initiatives-page .carousel-stage {
        min-height: 55vh;
    }
}

@media (min-width: 901px) and (max-width: 1250px) {
    header {
        padding-left: 5%;
        padding-right: 5%;
    }

    nav a {
        margin-left: 12px;
        font-size: 14px;
    }

    nav .button,
    nav .join-btn {
        margin-left: 12px;
    }

    .nav-dropdown {
        margin-left: 12px;
    }
}

@media (max-width: 600px) {
    .contact-intro {
        padding-top: 70px;
        padding-bottom: 82px;
    }

    .contact-details,
    .contact-form-panel {
        padding: 25px 22px;
        border-radius: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------------
   SMALL-SCREEN SIZING
----------------------------------------------------------- */
img,
iframe {
    max-width: 100%;
}

@media (max-width: 900px) {
    header {
        flex-wrap: wrap;
        padding: 14px 5%;
        gap: 8px;
    }

    .site-brand {
        min-width: 0;
        flex: 1 1 auto;
        padding: 6px 10px;
        justify-content: center;
    }

    .site-title {
        min-width: 0;
        justify-content: center;
        width: 100%;
    }

    .site-title-text {
        font-size: clamp(0.95rem, 3.8vw, 1.25rem);
        line-height: 1.15;
        text-align: center;
    }

    .site-logo {
        width: 48px;
        height: 48px;
    }

    #menu-toggle,
    #dark-toggle {
        flex: 0 0 auto;
        margin-left: 6px;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
    }

    header nav,
    header nav.open {
        order: 4;
        width: 100%;
        margin: 0;
        padding: 12px 0 4px;
        border-radius: 0;
        gap: 2px;
    }

    header nav a,
    header nav .nav-dropdown > a,
    header nav .button,
    header nav .join-btn {
        width: 100%;
        margin: 0;
        padding: 11px 12px;
        text-align: left;
        font-size: 1rem;
    }

    header nav .button,
    header nav .join-btn {
        justify-content: flex-start;
        margin-top: 4px;
    }

    .dropdown-menu a {
        padding: 9px 12px 9px 24px;
        white-space: normal;
    }

    section,
    .feature-band,
    .network-fair-banner {
        padding-left: 5%;
        padding-right: 5%;
    }

    section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    section h2 {
        display: block;
        font-size: clamp(1.9rem, 8vw, 2.6rem);
        line-height: 1.1;
        margin-bottom: 28px;
    }

    .hero {
        min-height: 0;
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .hero h2,
    .network-fair-banner h2,
    .contact-intro h2 {
        font-size: clamp(2rem, 10vw, 3.25rem);
        padding: 0;
    }

    .hero p,
    .network-fair-lede,
    .contact-lead {
        font-size: 1rem;
    }

    .feature-panel,
    .carousel-card,
    .contact-details,
    .contact-form-panel,
    .organization-card {
        padding: 20px;
    }

    .about-panel,
    .value-card,
    .priority-card,
    .form-card {
        padding: 20px;
    }

    .card,
    .home-card-grid .card {
        min-width: 0;
        max-width: none;
        min-height: 0;
        padding: 24px 20px;
    }

    .card-container {
        gap: 18px;
    }

    .carousel-stage,
    .past-initiatives-page .carousel-stage {
        min-height: 56vw;
        max-height: 380px;
    }

    .calendar-frame iframe {
        height: 600px;
    }

    .organization-placeholder {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }

    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 520px) {
    .site-brand {
        padding: 5px 8px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-title {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .site-logo {
        width: 42px;
        height: 42px;
        margin: 0 auto;
    }

    .site-title-text {
        display: block;
        width: 100%;
        text-align: center;
    }

    #menu-toggle,
    #dark-toggle {
        font-size: 19px;
        min-width: 40px;
        min-height: 40px;
        padding: 6px;
    }

    .executive-row .card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .executive-row .executive-photo {
        display: block;
        flex: 0 0 180px;
        width: 100%;
        margin-bottom: 16px;
    }

    .executive-row .card h3,
    .executive-row .card p.executive-role {
        display: block;
        position: relative;
        z-index: 1;
        width: 100%;
        flex: 0 0 auto;
        clear: both;
    }

    .button {
        width: 100%;
        margin-top: 24px;
        padding: 13px 20px;
        text-align: center;
    }

    .contact-intro,
    .network-fair-banner {
        padding-top: 58px;
        padding-bottom: 64px;
    }

    .contact-details,
    .contact-form-panel,
    .feature-panel,
    .carousel-card,
    .organization-card {
        border-radius: 16px;
        padding: 16px;
    }

    .feature-media {
        min-height: 190px;
    }

    .carousel-copy h3,
    .feature-copy h3,
    .contact-details h3,
    .contact-form-panel h3 {
        font-size: 1.5rem;
    }

    .network-fair-details span {
        width: 100%;
    }

    .site-footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    .feature-panel {
        gap: 18px;
    }

    .feature-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
        transform: none;
    }

    .feature-media:hover {
        transform: none;
    }

    .feature-copy h3 {
        font-size: 1.4rem;
    }

    .event-map-dialog-content {
        max-height: 88vh;
    }

    .event-map-viewport {
        min-height: 42vh;
    }

    .event-map-controls {
        flex-wrap: wrap;
    }

    .venue-schedule li {
        gap: 8px;
        padding: 16px;
    }

    .organization-card h3,
    .fair-planning-card h3 {
        overflow-wrap: anywhere;
    }
}
