/* CSS Variables - Toastmasters Brand Colors */
:root {
    --color-primary: #004165;
    /* TI Navy Blue */
    --color-accent: #772432;
    /* TI True Maroon */
    --color-secondary: #004165;
    /* Fallback/Same as primary for text in some contexts or use #A9B7B1 for neutral accent */
    --color-neutral-accent: #A9B7B1;
    /* Cool Gray */
    --color-neutral-light: #f4f4f4;
    /* Clean White/Gray */
    --color-neutral-dark: #333333;
    --color-white: #ffffff;

    --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
    --font-body: 'Open Sans', 'Segoe UI', sans-serif;

    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    html, body {
        overflow-x: hidden;
    }

}

/* Global Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-neutral-dark);
    line-height: 1.6;
    background-color: var(--color-neutral-light);
    font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.0625rem);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.container {
    width: 90%;
    .success-message {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 4px;
        text-align: center;
        font-weight: 600;
    }

    /* Container-query based refinements for key grids */
    @container (max-width: 500px) {
        .officers-grid {
            grid-template-columns: 1fr !important;
        }
        .masonry-grid {
            grid-template-columns: 1fr !important;
            grid-auto-rows: 220px;
        }
    }

    @container (min-width: 900px) {
        .officers-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    /* Broader container-driven layout tuning */
    @container (max-width: 700px) {
        .pathways-grid,
        .resources-grid,
        .join-steps,
        .activity-grid,
        .role-takers-grid {
            grid-template-columns: 1fr !important;
        }
    }

    @container (min-width: 1100px) {
        .pathways-grid,
        .resources-grid,
        .activity-grid {
            grid-template-columns: repeat(3, 1fr);
        }
        .role-takers-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--color-neutral-light);
}

.bg-white {
    background-color: var(--color-white);
}

.text-navy {
    color: var(--color-primary);
}

.text-maroon {
    color: var(--color-accent);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    border: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-primary);
    /* Navy */
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #002a41;
}

.btn-maroon {
    background-color: var(--color-accent);
    /* Maroon */
    color: var(--color-white);
}

.btn-maroon:hover {
    background-color: #5a1b26;
    transform: translateY(-2px);
}

/* Focus Styles for Accessibility (Keyboard Navigation) */
.btn:focus,
.btn:focus-visible {
    outline: 3px solid #f2df74;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(242, 223, 116, 0.3);
}

a:focus-visible {
    outline: 3px solid #f2df74;
    outline-offset: 2px;
    border-radius: 3px;
}

input:focus,
input:focus-visible,
textarea:focus,
textarea:focus-visible,
select:focus,
select:focus-visible {
    outline: 2px solid #772432;
    outline-offset: 2px;
    border-color: #772432;
}

/* Accessible button hover + focus combined */
.btn:hover,
.btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Header & Navigation */
.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-placeholder {
    width: 250px;
    height: 60px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px dashed #ccc;  Removed border now that we have an image likely */
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    overflow: hidden;
    /* Ensure no spill */
}

.logo-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    /* Override HTML attributes if needed to keep aspect ratio */
    height: auto;
}

/* Mobile Menu Button */
/* Mobile Menu Button */
/* Mobile Menu Button */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    width: 44px;
    height: 44px;
}

/* Modern Sleek Hamburger */
.hamburger {
    display: block;
    width: 30px;
    /* Wider for elegance */
    height: 2px;
    /* Thinner for modern look */
    background-color: var(--color-primary);
    position: relative;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
    left: 0;
}

.hamburger::before {
    transform: translateY(-8px);
    /* Use transform for smoother spacing */
}

.hamburger::after {
    transform: translateY(8px);
}

/* Mobile Menu Open State - Animate to X */
.mobile-menu-toggle.active .hamburger {
    background-color: transparent;
    /* Hide middle line */
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    background-color: var(--color-white);
    /* Change color on open */
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    background-color: var(--color-white);
}

/* Nav List */
.nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--color-primary);
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.nav-list.active {
    right: 0;
}

.nav-list li a {
    display: block;
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--color-white);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-list li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
}

/* Resources Dropdown Menu */
.nav-item-with-dropdown {
    position: relative;
}

.nav-item-with-dropdown > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item-with-dropdown:hover .nav-dropdown {
    display: flex !important;
}

.nav-dropdown.open {
    display: flex !important;
}

/* Desktop only */
@media (min-width: 992px) {
    .nav-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background: #004165;
        flex-direction: column;
        width: 220px;
        border-radius: 4px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        display: none;
        z-index: 999;
    }

    .nav-dropdown li a {
        color: var(--color-white) !important;
        padding: 0.7rem 1rem;
        border: none;
        font-size: 0.95rem;
    }

    .nav-dropdown li a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color: var(--color-white) !important;
    }

    .nav-item-with-dropdown:hover .nav-dropdown {
        display: flex;
    }
}

/* Mobile: Dropdown expands inline */
@media (max-width: 991px) {
    .nav-dropdown {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }

    .nav-dropdown.open {
        display: flex !important;
    }

    .nav-dropdown li a {
        padding: 0.6rem 2rem !important;
        font-size: 0.9rem;
        color: var(--color-white) !important;
    }
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }

    .nav-list {
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        background: none;
        padding-top: 0;
        box-shadow: none;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-list li {
        width: auto;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .nav-list li a {
        color: var(--color-primary);
        padding: var(--spacing-sm) var(--spacing-md);
        border-bottom: none;
        position: relative;
        white-space: nowrap;
    }

    .nav-list li a:hover {
        background-color: transparent;
        color: var(--color-accent);
    }

    /* Special styling for highlighted links */
    .nav-divider {
        border-left: 1px solid #ddd;
        padding-left: 1rem;
        margin-left: 0.5rem;
    }

    .nav-highlight {
        color: #1e90ff !important;
        font-weight: 600;
    }

    .nav-admin {
        color: #772432 !important;
        font-weight: 600;
    }

    .logo-placeholder {
        width: 300px;
        height: 70px;
    }
}

/* Hero Section */
.hero {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    /* Basic pattern or gradient for visual interest without images yet */
    background-image: linear-gradient(135deg, var(--color-primary) 0%, #004080 100%);
}

.hero h1 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}


/* --- Component Styles --- */

/* Officer Cards (Leadership) */
.officers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.officer-card {
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 1.5rem;
    border-top: 4px solid var(--color-primary);
}

.officer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.officer-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.officer-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.role {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.assoc-role {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

/* Charter List (Leadership) */
.charter-list-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.charter-list-container p {
    color: #0d2235;
    font-weight: 600;
}

.charter-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 600px) {
    .charter-list {
        grid-template-columns: 1fr 1fr;
    }
}

.charter-list li {
    padding-left: 1.5rem;
    position: relative;
    font-weight: 600;
    color: #0d2235;
}

.charter-list li::before {
    content: '\f00c';
    /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Founder Highlight */
.founder-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
    background: var(--color-white);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border: 1px solid #e6edf2;
}

.founder-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    background: white;
}

.founder-meta h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.founder-meta .designation {
    margin: 0.25rem 0 0.15rem;
    color: var(--color-accent);
    font-weight: 700;
}

.founder-meta .club-name {
    margin: 0;
    color: #0d2235;
    font-weight: 600;
}

@media (max-width: 640px) {
    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-photo {
        margin: 0 auto;
    }
}

/* Support Grid (Guidance, Sponsors, Mentors) */
.support-section { position: relative; }
.support-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.35rem, 1vw + 1.2rem, 1.8rem);
    font-weight: 800;
    letter-spacing: 0.3px;
}

.support-grid { display: grid; gap: 1rem; }
.support-grid--leaders { grid-template-columns: 1fr; }
.support-grid--team { grid-template-columns: 1fr; }

@media (min-width: 640px) {
    .support-grid--leaders { grid-template-columns: 1fr 1fr; }
    .support-grid--team { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
    .support-grid--team { grid-template-columns: repeat(4, 1fr); }
}

.support-card {
    background: var(--color-white);
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    border: 1px solid #e6edf2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}

.support-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; right: 0;
    height: 6px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--color-primary);
}

.role-accent::before { background: linear-gradient(90deg, var(--color-primary), #0a5a84); }
.role-secondary::before { background: linear-gradient(90deg, var(--color-accent), #5a1b26); }
.role-muted::before { background: linear-gradient(90deg, #7088a0, #557089); }

.support-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.12); }

.support-photo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    background: white;
    margin: 0.15rem auto 0.35rem;
}

.support-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: center;
}

.support-head {
    font-size: 0.75rem;
    letter-spacing: .6px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(0,65,101,0.08);
}

.support-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0d2235;
    margin-bottom: 0.25rem;
}

.support-club {
    margin: 0;
    color: #3a5166;
    font-weight: 600;
}

.role-accent {
    border-top: none;
}

.role-secondary {
    border-top: none;
}

.role-muted {
    border-top: none;
}

/* Larger presence for leaders */
.support-card--leader .support-photo { width: 96px; height: 96px; }
.support-card--leader .support-name { font-size: 1.2rem; }

/* Membership Page Components */
.benefits-grid {
    /* defined inline in HTML, but good to have class hook */
}

.benefit-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: scale(1.02);
}

/* Timeline */
.timeline {
    position: relative;
}

.timeline::before {
    /* Vertical line handled in HTML or here?
       HTML had border-left. Let's stick to inline style override or basic class.
    */
}

.timeline-step {
    /* layout handled */
}

/* Gallery Masonry */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 250px;
    gap: 1rem;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 65, 101, 0.9), transparent);
    padding: 1rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

@media (max-width: 600px) {

    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Next Meeting Card */
.next-meeting-card {
    background-color: var(--color-white);
    color: var(--color-neutral-dark);
    padding: var(--spacing-lg);
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-top: 5px solid var(--color-secondary);
}

.next-meeting-card h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.meeting-time {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #6b152e;
    /* Darker red */
}

/* About Section Grid */
.about-grid {
    display: grid;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.stat-card {
    background: var(--color-neutral-light);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    border-left: 4px solid var(--color-primary);
}

.stat-card h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-neutral-dark);
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Meetings Section */
.highlight-list {
    margin: var(--spacing-md) 0;
    padding-left: 0;
}

.highlight-list li {
    background: var(--color-white);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.meeting-agenda-preview ul {
    list-style: disc;
    padding-left: var(--spacing-lg);
    margin-top: var(--spacing-sm);
}

/* Join Section Steps */
.join-steps {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

@media (min-width: 768px) {
    .join-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background: var(--color-neutral-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    position: relative;
    border: 1px solid #eee;
}

.step-number {
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto var(--spacing-md);
}

.text-center {
    text-align: center;
}

/* Pathways Section */
.pathways-grid {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

@media (min-width: 768px) {
    .pathways-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pathway-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--color-accent);
}

.pathway-card h3 {
    margin-bottom: var(--spacing-sm);
}

/* Officers Section */
.officers-grid {
    display: grid;
    gap: var(--spacing-lg);
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.officer-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.officer-placeholder {
    width: 120px;
    height: 120px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: bold;
}

.officer-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    display: block;
    border: 3px solid var(--color-primary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.officer-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.officer-card .role {
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Resources Section */
.resources-grid {
    display: grid;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.resource-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--color-secondary);
}

.resource-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.resource-card ul {
    padding-left: var(--spacing-md);
}

.resource-card li {
    margin-bottom: var(--spacing-sm);
}

.resource-card a {
    color: var(--color-primary);
    text-decoration: underline;
}

.resource-card a:hover {
    color: var(--color-accent);
}

/* Contact Section */
.contact-grid {
    display: grid;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--color-primary);
    border-color: transparent;
}

.honey {
    display: none;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-icons a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-col h3,
.footer-col h4 {
    /* Ensure footer headings contrast on the dark background */
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

/* Footer links and text maintain strong contrast */
.site-footer a {
    color: var(--color-white);
}

.site-footer a:hover {
    color: var(--color-neutral-accent);
}

.site-footer .social-icons a {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.trademark-notice {
    margin-top: var(--spacing-sm);
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Navigation Active State */
.nav-list li a.active {
    color: var(--color-accent);
    /* Highlight active page */
    font-weight: 700;
}

/* =========================================
   Meetings Page Styles
   ========================================= */

/* Meeting Info Card */
.meeting-info-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--color-secondary);
    margin-top: var(--spacing-md);
}

.meeting-header {
    border-bottom: 1px solid #eee;
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.meeting-time-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: var(--spacing-sm);
}

.meeting-logistics p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

/* Role Takers Grid */
.role-takers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.role-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s;
    border: 1px solid #eee;
}

.role-card:hover {
    transform: translateY(-5px);
}

.role-photo-placeholder {
    width: 100%;
    height: 200px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: bold;
    font-size: 1.2rem;
}

.role-info {
    padding: var(--spacing-md);
}

.role-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--color-primary);
}

.role-title {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.role-details {
    display: inline-block;
    background-color: var(--color-neutral-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--color-neutral-dark);
}

/* =========================================
   Activities Page Styles
   ========================================= */

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-date {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-sm);
    border-radius: 4px;
    text-align: center;
    min-width: 60px;
}

.news-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.news-content h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.read-more {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Gallery/Activity Grid */
.gallery-filters {
    margin-bottom: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.activity-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 250px;
    /* Fixed height for consistency */
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.newsletter-card .resource-icon {
    height: 150px;
    font-size: 3rem;
    background-color: var(--color-neutral-light);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 46, 93, 0.9);
    /* Primary color with opacity */
    color: var(--color-white);
    padding: var(--spacing-md);
    transform: translateY(100%);
    /* Hidden by default if desired, or show always */
    transform: translateY(0);
    /* Showing always for now */
}

.card-overlay h3 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 0;
}

.card-overlay p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.newsletter-card .card-content {
    padding: var(--spacing-md);
    text-align: center;
}

.newsletter-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.btn-sm {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--color-secondary);
    color: var(--color-neutral-dark);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* =========================================
   Voting Page Styles
   ========================================= */

.voting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.voting-card {
    background: var(--color-white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.voting-card h2 {
    font-size: 1.3rem;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.vote-option {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    padding: var(--spacing-sm);
    border-radius: 4px;
    transition: background-color 0.2s;
}

.vote-option:hover {
    background-color: var(--color-neutral-light);
}

.vote-option input[type="radio"] {
    margin-right: var(--spacing-md);
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
}

.vote-option label {
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}

.btn-block {
    width: 100%;
    margin-top: var(--spacing-sm);
}

/* Poll Results Placeholder */
.results-placeholder {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px dashed #ccc;
}

.result-bar-group {
    margin-top: var(--spacing-lg);
}

.result-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress-track {
    width: 100%;
    height: 20px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--color-secondary);
    transition: width 0.5s ease;
}A p p e n d i n g   S u c c e s s   M e s s a g e   S t y l e s 
 
 . s u c c e s s - m e s s a g e   {   b a c k g r o u n d - c o l o r :   # d 4 e d d a ;   c o l o r :   # 1 5 5 7 2 4 ;   b o r d e r :   1 p x   s o l i d   # c 3 e 6 c b ;   p a d d i n g :   1 r e m ;   m a r g i n - b o t t o m :   1 r e m ;   b o r d e r - r a d i u s :   4 p x ;   t e x t - a l i g n :   c e n t e r ;   f o n t - w e i g h t :   6 0 0 ;   } 
 
 