/* Home Hero Slider CSS */
.hero-home {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: var(--bg-forest);
}

.hero-video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(28, 43, 51, 0.8) 0%, rgba(28, 43, 51, 0.4) 60%, rgba(28, 43, 51, 0.2) 100%);
    z-index: 2;
}

.hero-home-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin-top: 3rem;
}

.hero-home-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.hero-home-title {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-home-desc {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.4;
    max-width: 650px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}


/* Stats Section Grid */
.stat-card {
    border-right: 1px solid var(--border-muted);
    padding: 1rem 2rem 1rem 0;
    text-align: left;
}

.stat-card:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* Approach Cards */
.approach-card {
    background-color: var(--white);
    border: 1px solid var(--border-muted);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    transition: all var(--transition-normal);
    text-align: center;
}

.approach-card h3 {
    margin-bottom: 1rem;
}

.approach-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.approach-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold-dark);
    font-family: var(--font-serif);
    font-size: 1.8rem;
}

/* Journey Steps */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.journey-step {
    text-align: center;
    background-color: var(--bg-sand);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-muted);
}

.journey-step-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    display: block;
}

/* Endorsements */
.endorsements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.endorsement-card {
    background-color: var(--white);
    border: 1px solid var(--border-muted);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.endorsement-quote {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.endorsement-profile {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.endorsement-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    outline: 1px solid var(--border-muted);
}

.endorsement-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.endorsement-author {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold-dark);
}

@media (max-width: 768px) {
    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--border-muted);
        padding: 1.5rem 0;
    }

    .stat-card:last-child {
        border-bottom: none;
    }

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

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

/* Founder Letter Styles */
.founder-letter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.founder-letter-col p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: justify;
    text-justify: inter-word;
}

.founder-signature-wrap {
    margin-top: 2.5rem;
}

.founder-signature-text {
    font-family: 'Mrs Saint Delafield', cursive;
    font-size: 5rem;
    color: #3b5066;
    /* Elegant slate blue/gray signature ink color */
    line-height: 0.8;
    display: block;
    margin: 0.25rem 0 0.5rem -0.5rem;
    transform: rotate(-2deg);
    transform-origin: left center;
}

@media (max-width: 768px) {
    .founder-letter-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .founder-letter-col p {
        text-align: left;
    }
}

/* Founder Letter Style Classes (replacing inline styles) */
.founder-section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.founder-section-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-family: var(--font-serif);
    margin-top: 0.5rem;
}

.founder-sincerely {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.founder-name {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.3;
    font-size: 1.05rem;
}

.founder-title {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* Timeline Helpers */
.timeline-status {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

.timeline-meta-group {
    margin-top: 0.75rem;
    border-top: 1px solid var(--border-muted);
    padding-top: 0.75rem;
}

.timeline-meta-item {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.timeline-sublist {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0.75rem;
}

.timeline-sublist li {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.timeline-sublist li strong {
    color: var(--text-dark);
}

/* Strict 3-Column Programs Grid */
.programs-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .programs-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .programs-home-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Impact Statistics Section */
#impact-stats {
    background-color: var(--bg-cream);
    padding-top: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--border-muted);
}

/* Crisis Teaser Section Background */
#crisis-teaser {
    background-image: url('../../images/intro-bg1.jpg');
    /* Adjust to relative public directory path */
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Recognition Slider */
.recognition-slider-container {
    position: relative;
    margin: 0 auto 4rem auto;
    max-width: 900px;
    background-color: var(--white);
    border: 1px solid var(--border-muted);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(29, 42, 48, 0.04);
    overflow: hidden;
}

.recognition-slides {
    position: relative;
    height: 650px;
    width: 100%;
}

.recognition-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
    z-index: 1;
}

.recognition-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.recognition-img-wrap {
    position: relative;
    width: 100%;
    background-color: var(--bg-sand);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recognition-img-link {
    display: block;
    height: 100%;
    overflow: hidden;
}


.recognition-img-link img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
}

.recognition-img-link:hover img {
    transform: scale(1.03);
}

/* Bottom Bar */
.recognition-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem 1rem 3rem;
    background-color: var(--white);
    border-top: 1px solid var(--border-muted);
    gap: 2rem;
    flex: 1;
}

.recognition-meta-left {
    flex: 1;
}

.recognition-meta-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.recognition-slide-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold-dark);
    display: inline-block;
}

.recognition-meta-dot {
    color: var(--accent-gold-dark);
    font-size: 0.8rem;
}

.recognition-slide-date {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.recognition-slide-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    line-height: 1.25;
}

.recognition-slide-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0;
    font-family: var(--font-sans);
}

.recognition-meta-right {
    flex-shrink: 0;
}

.recognition-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background-color: var(--primary-brand);
    color: var(--white);
    border: 1px solid var(--primary-brand);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.recognition-btn:hover {
    background-color: transparent;
    color: var(--primary-brand);
}

.recognition-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Controls */
.recognition-nav {
    position: absolute;
    top: 275px;
    /* vertically centered on 550px height image area */
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    pointer-events: none;
    z-index: 10;
}

.recognition-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-muted);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 0;
}

.recognition-nav-btn:hover {
    background-color: var(--primary-brand);
    border-color: var(--primary-brand);
    color: var(--white);
    transform: scale(1.05);
}

.recognition-nav-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.recognition-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.recognition-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(76, 104, 117, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.recognition-dot.active {
    background-color: var(--primary-brand);
    transform: scale(1.2);
}

/* Responsiveness */
@media (max-width: 900px) {
    .recognition-slides {
        height: auto;
    }

    .recognition-slide {
        position: relative;
        height: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .recognition-slide.active {
        display: block;
    }

    .recognition-img-wrap {
        height: 450px;
        padding: 1.5rem;
    }

    .recognition-bottom-bar {
        padding: 2rem 2rem 2.8rem 2rem;
    }

    .recognition-nav {
        top: 225px;
        /* centered on 450px height image area */
    }
}

@media (max-width: 768px) {
    .recognition-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem 2rem 3rem 2rem;
    }

    .recognition-btn {
        align-self: flex-start;
        width: 100%;
        justify-content: center;
    }

    .recognition-dots {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .recognition-img-wrap {
        height: 350px;
        padding: 1rem;
    }

    .recognition-nav {
        top: 175px;
        /* centered on 350px height image area */
        padding: 0 0.5rem;
    }

    .recognition-slide-title {
        font-size: 1.4rem;
    }
}

/* Left align cards in get-involved section */
#get-involved .card-premium {
    text-align: left;
    align-items: flex-start;
}

#get-involved .approach-circle {
    margin-left: 0;
}

#get-involved .card-premium .btn {
    width: 100%;
}

/* birds */
.birds-full-con {
    width: calc(50% + 12px);
    text-align: right;
    float: right;
}

.birds-full-con img {
    width: 100%;
    padding-top: 15px;
}

@media (max-width: 1024px) {
    .birds-full-con {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .birds-full-con {
        width: calc(100% - 32px);
    }

    .birds-full-con img {
        padding-top: 20px;
    }

    .birds-full-con {
        display: none !important;
    }
}

/* end-birds */
/* butterfly*/
.butterfly-full-con {
    display: inline-block;
    width: 100%;
    position: relative;
    height: 150px;
}

.butterfly-full-con img {
    width: 100%;
    float: right;
    position: absolute;
    top: -20px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto
}

.m-0 {
    margin: 0;
}

.partners-logo-top-img {
    margin-top: 0 !important;
    border: 0 !important;
}

@media (max-width: 1024px) {
    .butterfly-full-con {
        height: 130px;
    }
}

@media (max-width: 768px) {
    .butterfly-full-con {
        height: 100px;
    }

    .partners-logo-row {
        padding-top: 2rem !important;
        margin-top: 2rem !important;
        border-top: 1px solid var(--border-muted) !important;
    }

    .butterfly-full-con {
        display: none !important;
    }
}

/* end-butterfly*/

/* two-col */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.tree-full-title {
    width: 100%;
    max-width: 400px;
}

.tree-full-con {
    width: 100%;
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
    }

    .tree-full-con {
        display: none !important;
    }

    .tree-full-title {
        width: 100%;
        max-width: 100%;
    }
}

/* end-two-col */

@media (max-width: 1366px) {
    .hero-home-title {
        font-size: clamp(2.8rem, 6vw, 3.5rem);
        margin-bottom: 1rem;
    }
    .hero-home-subtitle {
        margin-bottom: .5rem;
    }
    .hero-home-desc {
        margin-bottom: 1.5rem;
    }
    .hero-home-content {
        margin-top: 5rem;
    }
}

@media (max-width: 1199px) {
    .card-premium .btn {
        padding: 0.85rem 1.5rem;
    }
}

@media (max-width: 991px) {
    .hero-home, .hero-video-wrapper iframe {
        height: 70vh;
    }
    .endorsements-grid {
        gap: 3rem;
    }
}

@media (max-width: 767px) {
    .hero-home, .hero-video-wrapper iframe {
        height: 80vh;
    }
    .hero-home {
        min-height: 620px;
    }
    .hero-home-content {
        max-width: 100%;
        width: 100%;
    }
    .header {
        top: 10px;
    }
    .header-scrolled {
        top: 0px;
    }
    .nav {
        gap: 1rem;
    }
    .hero-home-title {
        font-size: clamp(2rem, 6vw, 4.8rem);
    }
    .hero-home-desc {
        margin-bottom: 2rem;
    }
    .section-stats .grid {
        gap: 0rem;
    }
    .mt-md.scroll-reveal.visible {
        margin-top: 2rem;
    }
    #programs .flex-header-row {
        display: block;
        margin-bottom: 2rem;
    }
    #programs .btn-secondary {
        margin-top: 25px;
    }
    .card-program {
        height: 350px;
    }
    .card-program-desc {
        margin-bottom: 0px;
    }
    .btn {
        width: 100%;
    }
    .recognition-img-wrap {
        height: 200px;
    }
    .recognition-nav {
        top: 100px;
    }
    .recognition-nav-btn {
        width: 34px;
        height: 34px;
    }
    .recognition-meta-top {
        display: block;
    }
    .recognition-meta-dot {
        display: none;
    }
    .recognition-slide-title {
        margin-bottom: 1rem;
    }
    .recognition-meta-right {
        width: 100%;
    }
    .endorsements-grid {
        gap: 2rem;
    }
    .endorsement-card {
        padding: 2rem 2rem 3rem 2rem;
    }
    .founder-letter-grid {
        gap: 0.4rem;
    }
    .card-premium {
        padding: 2rem 2rem 3rem 2rem;
    }
}