﻿:root {
    /*--color-primary: #6BB8A8;*/ /* Soft teal */
    /*FORCED CHANGE*/
    --color-primary: #56944a;
    --color-accent: #F2E9E4; /* Light dusty beige */
    --color-contrast: #2E4057; /* Midnight navy */
    --color-cta: #F4A261; /* Golden amber */
    --color-bg: #F9F8F5; /* Light sand */
    --color-text: #2E4057;
    --color-light: #ffffff;
    --color-grey-green: #637b65;
}
html {
    scroll-behavior: smooth;
}

/* ===== GLOBAL STYLES ===== */html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', sans-serif;
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}


.tagline {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #F2E9E4;
}

.blip {
    font-size: 1.1rem;
    color: #F2E9E4;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;

}
.wave-divider {
    height: 100px;
    overflow: hidden;
    line-height: 0;
}

    .wave-divider svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 100px;
    }

/* Adjust base paragraph size globally */
* p {
    font-size: 1rem; /* Previously 1.05rem or more */
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
}


.btn, .hero-buttons a {
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--color-highlight);
    color: var(--color-text-dark);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}
/* Container class (used site-wide) */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== BASE STYLES ===== */
.navbar {
    background-color: var(--color-primary); /* default: solid background */

    color: var(--color-light);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, height .3s ease;
}
    .navbar.transparent ul li a {
        color: white;
        transition: color 0.2s ease, text-decoration 0.2s ease !important;
    }

        .navbar.transparent ul li a:hover {
            color: white; /* Prevents color shift */
            text-decoration: underline;
            text-underline-offset: 4px;
            text-decoration-thickness: 2px;
        }

    /* Transparent override (initial state) */
    .navbar.transparent {
        background-color: transparent;
        box-shadow: none;
    }

    /* Optional scroll state override */
    .navbar.scrolled {
        background-color: var(--color-contrast); /* e.g., #6BB8A8 */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .navbar.scrolled .logo img {
        height: 50px;
        width: 50px;
    }



    /* ===== CONTAINER ===== */
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
        gap: 1rem;
    }

    /* ===== LOGO ===== */
    .navbar .logo img {
        height: 70px;
        width: 70px;
        object-fit: contain;
    }
    /* Default logo */
    .navbar .logo img {
        height: 100px;
        width: 100px;
        object-fit: contain;
        filter: brightness(0) invert(1); /* makes white logo visible on dark bg */
/*        transition: filter 2s ease-in-out, transform 2s ease-in-out !important; */
    transition: .3s ease-in;
    }

    /* On hover, apply navy tone */
    .navbar .logo:hover img {
        filter: brightness(0) saturate(100%) sepia(100%) hue-rotate(190deg) brightness(1) contrast(1);
    }
    .navbar .logo:hover img {
        transform: scale(1.05);
    }

.logo-img {
    height: 70px;
    width: 70px;
    object-fit: contain;
}

.logo:hover .logo-svg {
    color: var(--color-contrast); /* Midnight Navy */
}


/* ===== NAV LINKS ===== */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    transition: all 0.3s ease;
}

    .nav-links li a {
        font-weight: 600;
        font-size: 0.75rem;
        color: var(--color-light); /* or var(--color-text) for white nav */
        position: relative;
        transition: color 0.3s ease;
    }

        .nav-links li a::after {
            content: "";
            display: block;
            height: 2px;
            width: 0%;
            background-color: var(--color-contrast); /* 👈 Midnight Navy */
            
            transition: width 0.3s ease;
            margin-top: 4px;
        }

        .nav-links li a:hover {
            color: var(--color-contrast); /* 👈 Midnight Navy */
        }

            .nav-links li a:hover::after {
                width: 100%;
            }

/* ===== TOGGLE BUTTON (MOBILE) ===== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 1.6rem;
    cursor: pointer;
}

/* ===== RESPONSIVE (MOBILE) ===== */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--color-contrast);
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

        .nav-links.open {
            max-height: 500px;
            padding: 1.5rem 0;
        }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links li a {
        font-size: 1rem;
        color: var(--color-light);
    }

        .nav-links li a:hover::after {
            background-color: var(--color-cta);
        }
}

/* ===== SECTION STYLES ===== */
/*.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
}*/

.full-screen-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

    .full-screen-section .logo {
        max-width: 180px;
        margin-bottom: 1rem;
    }

    .full-screen-section h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    min-width: 140px;
    transition: background-color 0.3s ease;
}

    .btn.primary {
        background-color: var(--color-primary) !important;
        color: var(--color-text-light);
        border: none;
    }

    .btn.secondary {
        background-color: var(--color-action);
        color: var(--color-text-light);
        border: none;
    }

    .btn.outline {
        border: 2px solid var(--color-primary);
        background-color: transparent;
        color: var(--color-primary);
    }

    .btn:hover {
        opacity: 0.9;
    }

/* ===== FOOTER ===== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: auto;
}

.footer-tucker {
    max-height: 80px;
    margin-bottom: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .full-screen-section h1 {
        font-size: 2rem;
    }
}

.fade-up {
    opacity: 0 !important;
    transform: translateY(60px);
    transition: opacity 3s ease, transform 2s ease;
}

.fade-up-active {
    opacity: 1 !important;
    transform: translateY(0);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    background-image: url('/images/treehouse-hero.jpg');
    background-attachment:fixed;
    background-size: cover;
    background-position: center;
    min-height: 75vh;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Overlay Layer */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2E4057;
    background-color:var(--color-contrast);
    opacity: 0.75;
    z-index: 1;
}

/* Content Wrapper */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    color: white;
}

.hero-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
}
.hero-text {
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .brand-title {
        font-size: 3rem; /* previously clamp(3rem, etc.) */
    }

    .tagline {
        font-size: 1rem;
    }

    .blip {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .hero-buttons .btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
        margin: 0.4rem;
    }

    .hero-text {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem; /* consistent spacing between buttons */
    }

        .hero-buttons .btn {
            width: auto; /* or set to a consistent min-width like 220px */
            max-width: 90vw;
            text-align: center;
            width:100%;
        }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
}


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        justify-content:center;
    }
}

/* Logo Styling */
.hero-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
}

/* Buttons */
/* Optional: tighten buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 0.75rem;
}
.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    display: inline-block;
}

/* Primary Button */
.btn.primary {
    background-color: #6BB8A8;
    /*FORCED CHANGE - KEEP*/
    background-color: var(--color-contrast);
    color: white;
}

    .btn.primary:hover {
        transform: scale(1.03);
        background-color: #589d90;
    }

/* Secondary Button */
.btn.secondary {
    background-color: #F2E9E4;
    color: #2E4057;
}

    .btn.secondary:hover {
        background-color: #ddd2cd;
    }

/* Outline Button */
.btn.outline {
    border: 2px solid #F2E9E4;
    color: #F2E9E4;
    background: transparent;
}

    .btn.outline:hover {
        background-color: #F2E9E4;
        color: #2E4057;
    }

/* Wavy Divider */
.hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

    .hero-divider svg {
        display: block;
        width: 100%;
        height: 120px;
        transform: rotate(180deg); /* invert if needed */
    }

/* About Section */
/* About Section */
.about-section {
    background-color: #F9F8F5;
    color: #2E4057;
    padding: 8rem 2rem 0;
    position: relative;
}

    
    .about-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-left p,
.about-lead {
    font-family: 'Inter', sans-serif;
    color: #2E4057;
}

.about-left p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.about-right {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .about-right blockquote {
        background-color: white;
        color: #2E4057;
        font-family: 'Inter', sans-serif;
        font-style: italic;
        font-weight: 100;
        font-size: 1rem;
        line-height: 1.6;
        padding: 2rem;
        border-radius: 50%;
        width: 250px;
        height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: 0 auto 1rem auto;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
        border: 8px solid #2E4057;
        position: relative;
    }

/*.quote-mark {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    font-weight: 900;
    color: #6BB8A8;
    font-style: normal;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    opacity: 0.8;
    display:none;
}
*/
.founder-credit {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6BB8A8;
}

.about-right blockquote {
    width: 90%;
    max-width: 400px;
    aspect-ratio: 1/1;
    border-radius: 50% !important;
    height: auto;
    overflow: hidden;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-left p,
    .about-lead {
        text-align: left;
        max-width: 100%;
    }



    .quote-mark {
        opacity: 0.2;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 8rem;
        line-height: 9rem;
    }
}

.circle-inner {
    background: orange;
    height: 100%;
    width: 100%;
    position: absolute;
    background-image: url(/images/tucker.jpg);
    background-size: cover;
    background-position: center center;
}

/*Programs and Services*/
.programs-section-grid {
    color: #F9F8F5;
    background-color: #F9F8F5;
    padding: 6rem 2rem 12rem;
    text-align: center;
    position:relative;
}

.programs-section-grid .section-title, .events-section .section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2E4057;
    width: 100%;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.program-block h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700; /* Slightly bolder */
    margin-bottom: 0.5rem;
    line-height: 1.4; /* Slight lift */
}

.program-block p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8; /* Softer, more readable */
    color: #2E4057;
    max-width: 280px;
    margin: 0 auto;
    font-weight: 400;
}
.service-icon {
    font-size: 3em;
    color: #2E4057;
    margin-bottom: 0.75rem;
    display: inline-block;
}


.program-block h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2E4057;
}

.program-block p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #2E4057;
}
@media (max-width: 768px) {
    .programs-section-grid {
        padding: 4rem 1.5rem;
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .program-block {
        text-align: center;
        max-width: 100%;
        margin-bottom:20px;
    }

        .program-block p {
            max-width: 100%;
            text-align:justify;
        }

    .service-icon {
        margin: 0 auto 1rem auto;
        color: var(--color-primary);
        font-size:4rem;;
    }
}


#our-space {
    background: #2E4057;
    padding: 10rem 2rem;
}

/* Our Space Section */
.space-section {
    background-color: #2E4057;
    background-color: var(--color-grey-green) !important;
    color: #F9F8F5;
    padding: 8rem 2rem 8rem;
    position: relative;
}

.space-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.space-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.space-image-wrapper {
    width: 90%;
    max-width: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.space-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Text Area */
.space-right {
    font-family: 'Inter', sans-serif;
}

.space-lead {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.space-right p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Features Styled Like Button Cards */
.space-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    flex: 1 1 45%;
    background-color: #F9F8F5;
    color: #2E4057;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem; /* ⬅️ slightly smaller than before */
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}


    .feature-item i {
        font-size: 1.25rem; /* ⬅️ previously 1.5rem */
        min-width: 30px;
        text-align: center;
        color: var(--color-primary);
    }


    .feature-item:hover {
        transform: translateY(-3px);
    }

/* Mobile */
@media (max-width: 768px) {
    .space-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .space-left {
        order: -1;
    }

    .space-right p,
    .space-lead {
        text-align: left;
    }

    .space-features {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-item {
        flex: 1 1 100%;
    }
}


/*Newsletter*/
/* Newsletter Section */
.newsletter-section {
    background-color: #F9F8F5;

    color: #2E4057;
    padding: 4rem 2rem;
    text-align: center;

}

    .newsletter-section .section-title {
        color: var(--color-contrast);
        margin: 0 0 8px 0;
        font-size: 1.5rem;
    }

    .newsletter-section .container {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

.newsletter-lead {
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 600px;
}

/* ✅ Inline form on desktop */
.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 600px;
}

    .newsletter-form input[type="email"] {
        flex: 1;
        padding: 1rem;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 0.5rem;
        font-family: 'Inter', sans-serif;
        min-width: 0;
    }

    .newsletter-form button {
        padding: 1rem 1.5rem;
        background-color: #6BB8A8;
        /*FORCED CHANGE*/
       /* background-color: var(--color-primary);*/
        color: white;
        font-size: 1rem;
        border: none;
        border-radius: 0.5rem;
        font-family: 'Inter', sans-serif;
        cursor: pointer;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

        .newsletter-form button:hover {
            background-color: #55988e;
        }

/* 📱 Stack input + button on mobile */
@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

        .newsletter-form input,
        .newsletter-form button {
            width: 100%;
        }

        .newsletter-form button {
            padding: 1rem;
        }
}


/* Donate Section */
.donate-section {
    background-color: #F9F8F5;
/*    background-color:var(--color-primary) !important;
*/    color: #2E4057;
    padding: 6rem 2rem 0;
    text-align: center;
    position: relative; /* <-- KEY TO FIX IT */
}

.wave-divider {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    height: 100px;
}

    .wave-divider svg {
        position: relative;
        display: block;
        width: 100%;
        height: 100px;
    }

    .wave-divider path {
        fill: #F9F8F5;
    }


    .donate-section .container {
        max-width: 700px;
        margin: 0 auto;
        padding: 0 1rem;
    }

.donate-lead {
    font-size: 1rem;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.donate-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #6BB8A8;
    background-color: var(--color-primary) !important;
      color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

    .donate-button:hover {
        background-color: #55988e;
    }

/* Wave Divider */
.wave-divider {
    position: absolute;
    top: -1px; /* sits flush against previous section */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .wave-divider svg {
        display: block;
        width: 100%;
        height: 100px;
    }

    .wave-divider path {
        fill: #F9F8F5; /* same as donate background */
    }

/* Mobile */
@media (max-width: 600px) {
    .donate-button {
        width: 100%;
        max-width: 300px;
    }
}

#events-section {
    background-color: #ffffff;
    padding: 8rem 2rem;
}

.events-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.events-heading {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: #2E4057;
    margin-bottom: 1rem;
}

.events-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* MAIN EVENT */
.events-main {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2E4057;
    position: relative;
    padding: 2rem;
    border-radius: 0.5rem;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transition: background-image 0.5s ease;
}

/* Overlay */
.events-main-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2E4057;
    opacity: 0.75;
    z-index: 1;
    pointer-events: none;
}

/* Date Top Right */
.events-main-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #2E4057;
    background-color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    z-index: 2;
}

/* Main Content */
.events-main-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: left;
}

    .events-main-content h3 {
        font-family: 'Outfit', sans-serif;
        font-size: 2rem;
        margin-bottom: 0.25rem;
        color: #ffffff;
    }

    .events-main-content p {
        font-family: 'Inter', sans-serif;
        font-size: 1rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
        color: #ffffff;
    }

/* Button */
.events-main-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    color: #2E4057;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 2rem;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .events-main-button i {
        font-size: 1.2rem;
    }

    .events-main-button:hover {
        background-color: #f2f2f2;
        transform: translateX(5px);
    }

/* EVENTS GRID (Small Cards) */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    position: relative;
    overflow: hidden;
}

.events-card {
    background-color: var(--color-primary);
    /*FORCED CHANGE*/
    /*background-color: var(--color-primary);*/
    border-radius: 0.5rem;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center; 
    justify-content: center;
    cursor: pointer;
    filter: grayscale(100%) brightness(0.9);
    transition: transform 0.5s ease, filter 0.3s ease, opacity 0.5s ease;
    opacity: 1;
}

    .events-card.active {
        filter: brightness(1.05) saturate(1.2);
    }

    .events-card:hover {
        transform: translateY(-3px);
    }

.events-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: white;
    text-align: center;
}

.events-card-date {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
}

/* Placeholder Style */
.events-card.placeholder {
    background-color: #d3d3d3;
    color: #2E4057;
    cursor: default;
    filter: none;
    opacity: 0.7;
}

    .events-card.placeholder:hover {
        transform: none;
    }

/* Slide/Fade Animations */
.events-card.exit {
    opacity: 0;
    transform: translateX(-20px);
}

.events-card.enter {
    opacity: 0;
    transform: translateX(20px);
}

.events-card.enter-active {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .events-card {
        height: 80px;
        margin: 0;
    }

    .events-main {
        height: 500px;
    }

    .events-card-title {
        font-size: 1rem;
    }
}

/**/
#site-footer {
    background-color: #2E4057;
    background-color: var(--color-grey-green) !important;
    color: #ffffff;
    padding: 8rem 2rem 2rem 2rem; /* 🔥 More breathing space */
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Grid Setup */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    width: 100%;
    text-align: left;
}

/* Column Structure */
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Column: Logo */
.footer-logo-column img {
    width: 140px;
    height: auto;
}

/* Column: Let's Connect */
.footer-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem; /* 🔥 Smaller */
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.75rem; /* 🔥 Smaller */
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.footer-button {
    display: inline-block;
    background-color: #6BB8A8;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 0.6rem 1.2rem; /* 🔥 Smaller button */
    font-weight: 600;
    font-size: 0.75rem; /* 🔥 Smaller */
    border-radius: 2rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .footer-button:hover {
/*        background-color: #5aa094;
*/        transform: translateY(-2px);
    }

/* Column: Contact Info */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.75rem; /* 🔥 Smaller */
}

    .footer-contact-list li {
        margin-bottom: 1rem;
    }

    .footer-contact-list span {
        font-weight: 600;
        color: #ffffff;
    }

    .footer-contact-list a {
        color: #6BB8A8;
        color: #7ee0d3; /* rich golden yellow */
        /*forced change*/
        /* color:var(--color-primary);*/
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-contact-list a:hover {
            color: #ffffff;
        }

/* Footer Bottom */
.footer-bottom {
    font-size: 0.6rem; /* 🔥 Very small, elegant */
    color: #cccccc;
    text-align: center;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        align-items: center;
    }

    .footer-contact-list {
        text-align: center;
    }
}




/* Quote */
/*.footer-quote {
  max-width: 800px;
  margin-bottom: 5rem;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: 'Outfit', sans-serif;
  font-size: 8rem;
  color: #6BB8A8;
  opacity: 0.15;
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.quote-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #ffffff;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.quote-author {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #cccccc;
  position: relative;
  z-index: 1;
}*/


.footer-quote {
    max-width: 800px;
    margin-bottom: 5rem;
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
    border-bottom: 3px solid rgba(255,255,255,.1);
}

.quote-mark {
    font-family: 'Outfit', sans-serif;
    font-size: 16rem; /* 🔥 Bolder and easier to see */
    color: #6BB8A8; /* Teal color */
    opacity: 0.12; /* 🔥 Softer background effect */
    position: absolute;
    top: -4rem; /* 🔥 Better vertical positioning */
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.quote-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #ffffff;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.quote-author {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #cccccc;
    position: relative;
    z-index: 1;
}


.footer-resources {
    margin-bottom: 3rem;
    text-align: center;
}

.footer-resources-heading {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-resources-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
}

    .footer-resources-links a {
        color: #6BB8A8;
        color: #7ee0d3; /* rich golden yellow */
        /*forced change*/
        /* color: var(--color-primary);*/
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-resources-links a:hover {
            color: #ffffff;
        }

.resource-separator {
    color: #ffffff;
    opacity: 0.5;
}





.news-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, auto));
    margin-bottom: 20px;
    justify-content: center;
}

.news-card {
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width:600px;
}

.news-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-card-body {
    padding: 1rem;
}

.news-card-title {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.news-card-excerpt {
    font-size: 0.95rem;
    color: #555;
}


.page-section {
    background-color: #f9f9f9;
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-heading {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.news-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.news-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.news-card-excerpt {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
}

.news-card-date {
    font-size: 0.85rem;
    color: #888;
}
.news-article-bg {
    background-color: #f9f9f9;
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.news-article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    
}

.news-back-link {
    font-size: 0.95rem;
    color: #2E4057;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

    .news-back-link:hover {
        text-decoration: underline;
    }

.news-article-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #222;
    margin-bottom:0 !important;
}

.news-article-date {
    font-size: 0.9rem;
    color: #777;
    
}

.news-article-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    margin-bottom: 1rem;
    max-height:500px;
}

.news-article-body {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #333;
}

.news-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.news-share-button {
    background-color: #2E4057;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
}

    .news-share-button:hover {
        background-color: #223344;
    }
