
html, body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden; 
    height: 100%;
    scroll-snap-type: y proximity; 
    scroll-behavior: smooth; 
}


body {
    overflow-y: auto;
    -ms-overflow-style: none; 
    scrollbar-width: none;  
}
body::-webkit-scrollbar { display: none; } 

.scroll-cue {
    position: fixed;
    left: 50%;
    bottom: 2.8rem;
    transform: translateX(-50%);
    display: block;
    font-size: 2.6rem;
    font-style: normal;
    font-weight: 300;
    line-height: 1;
    color: rgba(59, 34, 15, 0.9);
    text-shadow: 0 3px 8px rgba(255, 255, 255, 0.3);
    z-index: 90;
    pointer-events: none;
    animation: scrollCueBounce 2.2s ease-in-out infinite;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.scroll-cue.is-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
}

@keyframes scrollCueBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.header {
    background-color: hsl(0, 0%, 100%);
    display: flex;
    align-items: baseline;
    padding: 1rem 2rem;
    gap: 3rem;
    box-shadow: 0 2px 0 rgba(88, 88, 88, 0.363);
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.slides {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always; 
    overflow: hidden;
}
.slide1 {
    background: linear-gradient(135deg, #8b7355 0%, #5d4e37 100%);
    display: flex;
    flex-direction: column;
}

/* Homepage keeps the background image */
.page-homepage .slide1 {
    background-image: url(backgroundfrontpage.webp);
    background-size: cover;
    background-position: center;
}

.hero-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 2rem;
    transform: translateY(100px);
}

.slide2 {
    background: linear-gradient(135deg, #8b7355 0%, #5d4e37 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.slide2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vh;
    height: 100vw;
    background-image: url(sunflowerbackground1.jpg);
    background-size: cover;
    background-position: left center;
    transform: translate(-50%, -50%) rotate(90deg);
    z-index: 0;
}

.mission-section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    text-align: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 60px 80px;
    background: linear-gradient(135deg, rgba(75, 30, 4, 0.5), rgba(0, 0, 0, 0.4));
    border-radius: 0;
    box-shadow: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    filter: blur(15px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.25,.8,.25,1), filter 0.8s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mission-section.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .mission-section {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

.mission-title-main {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 25px 0;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 15px;
}

.mission-text-main {
    font-size: 28px;
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
    color: #f0f0f0;
}

.mission-learn-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.mission-learn-more:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .mission-section {
        padding: 40px 30px;
    }
    
    .mission-title-main {
        font-size: 32px;
    }
    
    .mission-text-main {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .mission-section {
        padding: 30px 20px;
    }
    
    .mission-title-main {
        font-size: 28px;
    }
    
    .mission-text-main {
        font-size: 16px;
    }
}

.slide3 {
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    background-image: url(sunflowerbackground2.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-bottom: calc(2rem + 120px);
    height: auto;
    min-height: 100vh;
}

.page-homepage .slide3 h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #4b1e04;
    margin: 0 0 2rem 0;
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        opacity: 0;
        transform: translateY(20px) scale(1.1);
        filter: blur(8px);
        transition: opacity .5s ease, transform .5s cubic-bezier(.25,.8,.25,1), filter .5s ease;
    text-align: center;
}

.page-homepage .slide3 h2.in-view {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .page-homepage .slide3 h2 {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    position: relative;
    width: 200px;
    flex-shrink: 0;
    cursor: pointer;
    overflow: visible;
    z-index: 1;
}

.team-member:hover {
    z-index: 10;
}

.team-member img {
        width: 200px;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(24px) scale(1.08);
        filter: blur(6px);
    transition: opacity .45s ease, transform .45s cubic-bezier(.25,.8,.25,1), filter .45s ease;
    display: block;
    position: relative;
    z-index: 2;
}

.team-member img.team-photo-nikki {
    transform: translateY(24px) scale(1.08) rotate(-90deg);
}

.team-info {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 220px;
    height: 0;
    background: linear-gradient(135deg, rgba(75, 30, 4, 0.95), rgba(0, 0, 0, 0.9));
    border-radius: 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    overflow: hidden;
    transition: height 0.4s ease, padding-top 0.4s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
    box-sizing: border-box;
}

.team-member:hover .team-info {
    height: 380px;
    padding-top: 220px;
}

.team-info h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 5px 0;
    padding: 0 15px;
}

.team-info p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.85rem;
    color: #f0f0f0;
    margin: 0 0 5px 0;
    font-weight: 500;
    padding: 0 15px;
}

.team-info .bio {
    font-size: 0.7rem;
    line-height: 1.3;
    font-weight: 400;
    color: #e0e0e0;
    margin: 5px 0 0 0;
    padding: 0 15px;
    max-height: 100px;
    overflow-y: auto;
    padding-right: 10px;
}

.team-info .bio::-webkit-scrollbar {
    width: 6px;
}

.team-info .bio::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.team-info .bio::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.team-info .bio::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.team-info .bio {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
}

.team-member img.in-view {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
}

.team-member img.team-photo-nikki.in-view {
    transform: translateY(0) scale(1) rotate(-90deg);
}

@media (prefers-reduced-motion: reduce) {
    .team-member img {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

.slide4 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), url(sunflowersunflower.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    height: 100vh;
    box-sizing: border-box;
    position: relative;
}

.page-homepage .slide4::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.page-homepage .slide4 > * {
    position: relative;
    z-index: 1;
}

.page-homepage .slide2,
.page-homepage .slide3,
.page-homepage .slide4 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24)), url(sunflowersunflower.jpg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.page-homepage .slide2::before {
    content: none;
}

.slider-container {
    width: 100%;
    max-width: 1400px;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.slider-title {
    text-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.slider-title::after {
    content: '';
    width: min(360px, 70vw);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.88), transparent);
}

.slider-title h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(2.2rem, 4.2vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 8px 16px rgba(0, 0, 0, 0.45);
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 0 60px;
    height: 55vh;
    max-height: 550px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.5s ease;
    will-change: transform;
    align-items: center;
}

.review-card {
    min-width: 500px;
    width: 500px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 32px;
    padding: 3.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.stars {
    color: #f4a624;
    font-size: 2rem;
    letter-spacing: 6px;
}

.review-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #333;
    font-style: italic;
    margin: 0;
}

.reviewer-name {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #5d4e37;
    margin: 0;
    text-align: right;
}

.reviewer-name-easterseals {
    font-size: 1.2rem;
}

.hover-zones {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
    display: flex;
    align-items: center;
}

.hover-zone {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    pointer-events: auto;
    cursor: pointer;
    background: rgba(75, 30, 4, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 2.1rem;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1;
    z-index: 20;
}

.hover-zone.left {
    left: 20px;
}

.hover-zone.left::before {
    content: '❮';
    display: block;
    text-align: center;
    line-height: 1;
}

.hover-zone.right {
    right: 20px;
}

.hover-zone.right::before {
    content: '❯';
    display: block;
    text-align: center;
    line-height: 1;
}

.hover-zone:hover {
    background: rgba(75, 30, 4, 0.82);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5), 0 3px 12px rgba(0, 0, 0, 0.4);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hover-zone.left::before {
    content: '\276E';
}

.hover-zone.right::before {
    content: '\276F';
}

@media (max-width: 900px) {
    .slider-title h2 {
        font-size: 2rem;
    }
    
    .review-card {
        min-width: 350px;
        width: 350px;
        padding: 2.5rem;
    }
    
    .slider-wrapper {
        padding: 0 30px;
        height: 50vh;
        max-height: 450px;
    }
    
    .hover-zone {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .hover-zone.left::before,
    .hover-zone.right::before {
        line-height: 50px;
    }
    
    .hover-zone.left {
        left: 15px;
    }
    
    .hover-zone.right {
        right: 15px;
    }
}

@media (max-width: 600px) {
    .slider-title h2 {
        font-size: 1.5rem;
    }
    
    .review-card {
        min-width: 280px;
        width: 280px;
        padding: 2rem;
    }
    
    .slider-wrapper {
        padding: 0 20px;
        height: 45vh;
        max-height: 400px;
    }
    
    .hover-zone {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
    
    .hover-zone.left::before,
    .hover-zone.right::before {
        line-height: 45px;
    }
    
    .hover-zone.left {
        left: 10px;
    }
    
    .hover-zone.right {
        right: 10px;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .reviewer-name {
        font-size: 1rem;
    }
    
    .stars {
        font-size: 1.4rem;
    }
}


.link {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
    background: none;
    border: none;
    font-size: 16px;
    color:rgb(41, 29, 3);
    cursor: pointer;
    padding: 0;
}

.nav {
    display: flex;
    gap: clamp(5.5rem, 9vw, 10rem);
    align-items: baseline;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #4b1e04;
    margin: 5px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:focus-visible {
    outline: 2px solid rgba(75, 30, 4, 0.45);
    outline-offset: 4px;
    border-radius: 6px;
}

.link:hover {
    text-decoration: underline;
    color:#4b1e04;
}

.donate-nav {
    background-color: rgba(75, 30, 4, 0.08);
    color: rgb(41, 29, 3) !important;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    transition: all 0.3s ease;
}

.donate-nav:hover {
    background-color: rgba(75, 30, 4, 0.15);
    color: #4b1e04 !important;
    text-decoration: none;
    transform: none;
    box-shadow: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(100% + 20px);
    background: transparent;
    z-index: 998;
}

.dropdown-menu {
    position: fixed;
    left: 0;
    right: auto;
    top: calc(1rem + 1.5em + 1rem + 2px);
    margin-top: 0;
    background: rgba(245, 245, 245, 0.98);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(200, 200, 200, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 2rem;
    width: max-content;
    max-width: calc(100vw - 2rem);
    box-sizing: border-box;
    z-index: 999;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    height: 20px;
    background: transparent;
}

@media (max-width: 768px) {
    .dropdown-menu {
        flex-direction: column;
        gap: 1.5rem;
        min-width: min(280px, calc(100vw - 2rem));
        padding: 1.5rem;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-width: none;
        transform: translateY(-8px);
    }
}

@media (max-width: 900px) {
    .header {
        align-items: center;
        gap: 1rem;
        padding: 0.85rem 1rem;
    }

    .teamtitle {
        padding-right: 0;
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        padding: 0.8rem 1rem 1rem;
        max-height: calc(100svh - 72px);
        overflow-y: auto;
        z-index: 101;
    }

    .header.menu-open .nav {
        display: flex;
    }

    .header.menu-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header.menu-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .header.menu-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .link,
    .donate-nav {
        width: 100%;
        text-align: left;
        padding: 0.65rem 0;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown > .link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .dropdown > .link::after {
        content: '+';
        font-size: 1.1rem;
        font-weight: 600;
    }

    .dropdown.is-open > .link::after {
        content: '\2212';
    }

    .dropdown::before,
    .dropdown-menu::before {
        content: none;
    }

    .dropdown-menu {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        margin-top: 0.35rem;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 1rem;
        border-radius: 10px;
        display: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        box-sizing: border-box;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown.is-open .dropdown-menu {
        display: flex;
    }
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dropdown-column h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #4b1e04;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-column a {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: rgba(41, 29, 3, 0.85);
    text-decoration: none;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin: 0 -0.5rem;
}

.dropdown-column a:hover {
    color: #4b1e04;
    background: rgba(75, 30, 4, 0.06);
    padding-left: 0.75rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu:hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.teamtitle {
    font-weight: bolder;
    font: 25px georgia, sans-serif;
    padding-right: 40px;
    color: #4b1e04;
}

.donate {
    background-color: transparent;
    border: 2px solid white;
    border-radius: 5px;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    max-width: 90vw;
    box-sizing: border-box;
}

.donate:hover {
    background-color: white;
    color: #4b1e04;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 4rem;
    margin-top: auto;
    transform: translateY(150px);
}

.who-we-are-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
    position: relative;
}

.who-we-are-container::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 300px;
    z-index: 1;
}

.who-we-are {
    background-color: transparent;
    border: none;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 30px 400px;
    font-size: 24px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease, font-weight 0.3s ease;
    box-shadow: none;
    letter-spacing: 3px;
    max-width: 90vw;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    text-align: center;
}

.who-we-are-container:hover .who-we-are {
    transform: translateY(-200px);
}

.who-we-are-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    text-align: center;
    max-width: 600px;
    padding: 25px 40px;
    background: linear-gradient(135deg, rgba(75, 30, 4, 0.9), rgba(0, 0, 0, 0.7));
    border-radius: 12px;
    opacity: 0;
    transform: translateY(-210px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3;
}

.mission-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 10px;
}

.mission-content {
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-weight: 400;
    color: #f0f0f0;
}

.our-progress-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.our-progress-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.who-we-are-container:hover .who-we-are-text {
    opacity: 1;
    transform: translateY(-200px);
    pointer-events: auto;
}

.hero-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 2rem;
}
.hero-text h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    margin: 0;
    padding: 0 2rem;
    max-width: 90vw;
    text-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
} 

@media (max-width: 900px) {
    html, body {
        scroll-snap-type: none;
    }

    .slides {
        min-height: 100dvh;
        height: auto;
    }

    .page-homepage .slide2,
    .page-homepage .slide3,
    .page-homepage .slide4 {
        background-attachment: scroll;
    }

    .hero-text {
        margin-top: 5rem;
        transform: none;
    }

    .hero-text h1 {
        font-size: clamp(2.2rem, 12vw, 3.5rem);
        padding: 0 1rem;
    }

    .button-group {
        transform: none;
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .who-we-are {
        padding: 1rem;
        width: min(100%, 360px);
        letter-spacing: 1px;
        font-size: 1.15rem;
        white-space: nowrap;
    }

    .who-we-are-container::before {
        display: none;
    }

    .who-we-are-container:hover .who-we-are {
        transform: none;
    }

    .who-we-are-text {
        max-width: min(92vw, 560px);
        padding: 1rem;
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .who-we-are-container:hover .who-we-are-text {
        transform: none;
    }

    .hover-zones {
        display: none;
    }
}

@media (max-width: 700px) {
    .slides {
        min-height: 100svh;
    }

    .header {
        padding: 0.75rem 0.9rem;
    }

    .page-homepage .slide3 {
        padding: calc(88px + 1rem) 1rem 1.75rem;
    }

    .page-homepage .slide3 h2 {
        font-size: clamp(2rem, 9vw, 2.6rem);
        margin-bottom: 1rem;
    }

    .image-grid {
        width: min(100%, 360px);
        gap: 1rem;
        align-items: stretch;
    }

    .team-member {
        width: 100%;
        cursor: default;
    }

    .team-member img,
    .team-member img.in-view {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        opacity: 1;
        transform: none;
        filter: none;
        border-radius: 14px 14px 0 0;
    }

    .team-member img.team-photo-nikki,
    .team-member img.team-photo-nikki.in-view {
        transform: rotate(-90deg);
    }

    .team-info {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        padding: 1rem 1rem 1.1rem;
        overflow: visible;
        border-radius: 0 0 14px 14px;
    }

    .team-member:hover .team-info {
        height: auto;
        padding-top: 1rem;
    }

    .team-info h3,
    .team-info p {
        width: 100%;
        text-align: left;
    }

    .team-info .bio {
        max-height: none;
        overflow: visible;
        font-size: 0.8rem;
        line-height: 1.45;
        padding-right: 15px;
    }

    .slide4 {
        height: auto;
        min-height: 100svh;
        padding: calc(88px + 1rem) 1rem 1.5rem;
    }

    .slider-container {
        gap: 1rem;
    }

    .slider-wrapper {
        padding: 0 0.25rem;
        height: auto;
        max-height: none;
    }

    .slider-track {
        gap: 1rem;
    }

    .review-card {
        min-width: min(82vw, 320px);
        width: min(82vw, 320px);
        padding: 1.35rem;
        border-radius: 18px;
        gap: 1rem;
    }

    .review-text,
    .reviewer-name {
        font-size: 0.95rem;
    }

    .initiatives-section {
        gap: 1rem;
        padding: calc(88px + 1rem) 1rem 1.5rem;
    }

    .page-chronic-illnesses .initiative-layout,
    .page-mental-developmental .initiative-layout {
        width: min(100%, calc(100vw - 1.5rem));
    }

    .page-chronic-illnesses .initiative-images,
    .page-mental-developmental .initiative-images {
        grid-template-columns: 1fr;
    }

    .page-chronic-illnesses .initiative-images img:nth-child(3),
    .page-mental-developmental .initiative-images img:nth-child(3) {
        grid-column: auto;
    }

    .page-our-projects .projects-toc {
        width: min(100%, 430px);
    }

    .page-our-projects .toc-bubble {
        width: 100%;
        text-align: center;
    }

    .page-our-projects .project-images {
        padding: 0.25rem;
        gap: 0.6rem;
    }

    .page-resource1 .resource-gallery {
        width: min(100%, 420px);
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .page-resource1 .resource-gallery img:nth-child(1),
    .page-resource1 .resource-gallery img:nth-child(4),
    .page-resource1 .resource-gallery img:nth-child(6),
    .page-resource1 .resource-gallery img:nth-child(7) {
        grid-column: auto;
        grid-row: auto;
    }
}

.page-homepage .hero-text h1 {
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

@media (prefers-reduced-motion: reduce) {
    .page-homepage .hero-text h1 {
        opacity: 1;
        animation: none;
    }
}

/* Learn More Page Color Themes */

/* What we Do Page - Soft Red/Coral theme */
.page-chronic-illnesses .container,
.page-mental-developmental .container,
.page-our-projects .container {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-chronic-illnesses .container::before,
.page-mental-developmental .container::before,
.page-our-projects .container::before {
    content: '';
    position: absolute;
    inset: -14px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24)), url(generalbackground.jpg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    filter: blur(6px);
    transform: scale(1.02);
    pointer-events: none;
    z-index: -1;
}

.page-chronic-illnesses .container > *,
.page-mental-developmental .container > *,
.page-our-projects .container > * {
    position: relative;
}

.page-chronic-illnesses .slide1,
.page-mental-developmental .slide1,
.page-our-projects .slide1 {
    position: relative;
    background: transparent !important;
    box-shadow: none;
}
.page-chronic-illnesses .slide1::before,
.page-mental-developmental .slide1::before,
.page-our-projects .slide1::before {
    content: none;
}
.page-chronic-illnesses .slide2,
.page-mental-developmental .slide2,
.page-our-projects .slide2 {
    background: transparent;
    box-shadow: none;
}
.page-chronic-illnesses .slide2::before,
.page-mental-developmental .slide2::before,
.page-our-projects .slide2::before {
    content: none;
}
.page-chronic-illnesses .slide3,
.page-mental-developmental .slide3,
.page-our-projects .slide3 {
    background: transparent;
    box-shadow: none;
}

.page-our-projects .projects-toc {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.page-our-projects .event-heading {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.25;
    color: #4b1e04;
    text-align: center;
    text-shadow: 0 3px 10px rgba(255, 255, 255, 0.45);
}

.page-our-projects .event-divider {
    width: min(420px, 80vw);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(75, 30, 4, 0.5), transparent);
    margin-top: 0.4rem;
}

.page-our-projects .toc-bubble {
    border: 1px solid rgba(75, 30, 4, 0.22);
    background: rgba(255, 255, 255, 0.78);
    color: #4b1e04;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.page-our-projects .toc-bubble:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.12);
}

.page-our-projects .project-images {
    margin-top: 0.35rem;
    width: min(1120px, 96vw);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    align-items: stretch;
    padding: 0.75rem;
    box-sizing: border-box;
}

#projects-partnership .project-images {
    width: min(900px, 92vw);
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 0.6rem;
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    padding: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(75, 30, 4, 0.45) rgba(255, 255, 255, 0.22);
}

#projects-partnership .project-images > * {
    min-width: 0;
}

#projects-hope .project-images {
    width: min(1100px, 94vw);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    height: clamp(280px, calc(100vh - 340px), 520px);
    max-height: calc(100vh - 340px);
    overflow: visible;
    justify-content: center;
    align-content: center;
    justify-items: stretch;
    align-items: stretch;
    padding: 0.75rem;
}

#projects-fbla .project-images {
    width: min(980px, 92vw);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    height: clamp(260px, calc(100vh - 380px), 500px);
    max-height: calc(100vh - 380px);
    overflow: hidden;
    justify-content: center;
    align-content: center;
    justify-items: stretch;
    align-items: stretch;
    padding: 0.75rem;
}

#projects-wwc .project-images {
    width: min(1120px, 94vw);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    height: clamp(300px, calc(100vh - 340px), 560px);
    max-height: calc(100vh - 340px);
    overflow-y: auto;
    justify-content: center;
    align-content: center;
    justify-items: stretch;
    align-items: stretch;
    padding: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(75, 30, 4, 0.45) rgba(255, 255, 255, 0.22);
}

#projects-major .project-images {
    width: min(860px, 92vw);
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 0.7rem;
}

#projects-facepainting .project-images {
    width: min(980px, 92vw);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

#projects-mugs .project-images {
    width: min(900px, 92vw);
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 0.65rem;
}

#projects-partnership .project-images::-webkit-scrollbar,
#projects-hope .project-images::-webkit-scrollbar,
#projects-wwc .project-images::-webkit-scrollbar {
    width: 10px;
}

#projects-partnership .project-images::-webkit-scrollbar-track,
#projects-hope .project-images::-webkit-scrollbar-track,
#projects-wwc .project-images::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
}

#projects-partnership .project-images::-webkit-scrollbar-thumb,
#projects-hope .project-images::-webkit-scrollbar-thumb,
#projects-wwc .project-images::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(75, 30, 4, 0.35), rgba(75, 30, 4, 0.58));
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

#projects-partnership .project-images::-webkit-scrollbar-thumb:hover,
#projects-hope .project-images::-webkit-scrollbar-thumb:hover,
#projects-wwc .project-images::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(75, 30, 4, 0.48), rgba(75, 30, 4, 0.72));
}

#projects-partnership .project-images > :last-child:nth-child(odd) {
    grid-column: 2;
}

#projects-hope .initiatives-section {
    gap: 0.75rem;
    padding-top: calc(95px + 0.75rem);
    padding-bottom: 1rem;
}

#projects-fbla .initiatives-section {
    gap: 0.75rem;
    padding-top: calc(95px + 0.75rem);
    padding-bottom: 1rem;
}

#projects-wwc .initiatives-section {
    gap: 0.75rem;
    padding-top: calc(95px + 0.75rem);
    padding-bottom: 1rem;
}

#projects-fbla .project-images img,
#projects-fbla .project-images video,
#projects-fbla .project-video-wrap {
    aspect-ratio: 16 / 10;
}

#projects-wwc .project-images img,
#projects-wwc .project-images video,
#projects-wwc .project-video-wrap {
    aspect-ratio: 16 / 10;
}

@media (max-height: 900px) {
    #projects-fbla .project-images {
        height: calc(100vh - 400px);
        max-height: calc(100vh - 400px);
    }

    #projects-wwc .project-images {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: repeat(5, minmax(0, 1fr));
        height: calc(100vh - 380px);
        max-height: calc(100vh - 380px);
    }
}

@media (max-height: 760px) {
    #projects-fbla .project-images {
        height: calc(100vh - 380px);
        max-height: calc(100vh - 380px);
    }

    #projects-wwc .project-images {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(7, minmax(0, 1fr));
        height: calc(100vh - 340px);
        max-height: calc(100vh - 340px);
    }
}

#projects-partnership .project-images img,
#projects-partnership .project-images video,
#projects-partnership .project-video-wrap,
#projects-hope .project-images img,
#projects-hope .project-images video,
#projects-hope .project-video-wrap {
    aspect-ratio: 16 / 10;
    transform-origin: center top;
}

#projects-hope .project-images img {
    aspect-ratio: auto;
    height: 100%;
}

#projects-partnership .project-images img:hover {
    transform: scale(1.05);
    z-index: 8;
}

.page-our-projects .project-images img,
.page-our-projects .project-images video {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transform-origin: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, z-index 0.25s ease;
}

#projects-facepainting .project-images img {
    filter: blur(1.6px);
}

.page-our-projects .project-images video {
    background: #000;
    border-radius: 0;
    box-shadow: none;
}

.page-our-projects .project-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    background: #000;
}

.page-our-projects .project-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-our-projects .video-mute-btn {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
}

.page-our-projects .video-mute-btn:hover {
    background: rgba(0, 0, 0, 0.62);
}

.page-our-projects .project-images img:hover {
    transform: scale(1.04);
    z-index: 5;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

@media (max-width: 700px) {
    .page-our-projects .project-images {
        width: min(680px, 94vw);
        grid-template-columns: 1fr;
    }

    #projects-partnership .project-images {
        width: min(100%, 94vw);
        grid-template-columns: 1fr;
        max-height: none;
        overflow: visible;
        padding-inline: 0.25rem;
    }

    #projects-partnership .project-images > :last-child:nth-child(odd) {
        grid-column: auto;
    }

    #projects-wwc .project-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        height: calc(100vh - 320px);
        max-height: calc(100vh - 320px);
    }
}

@media (max-height: 820px) {
    #projects-partnership .project-images {
        width: min(820px, 90vw);
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        max-height: calc(100vh - 220px);
    }

    #projects-partnership .project-images > :last-child:nth-child(odd) {
        grid-column: auto;
    }
}

@media (max-width: 980px) {
    #projects-partnership .project-images {
        width: min(100%, 94vw);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        overflow: visible;
    }
}

@media (max-height: 700px) {
    #projects-partnership .project-images {
        width: min(560px, 88vw);
        grid-template-columns: 1fr;
        max-height: calc(100vh - 200px);
    }
}

@media (max-width: 700px) {
    #projects-partnership .project-images {
        width: min(100%, 94vw);
        grid-template-columns: 1fr;
        max-height: none;
        overflow: visible;
        padding-inline: 0.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-our-projects .project-images img,
    .page-our-projects .project-images video {
        transition: none !important;
    }

    .page-our-projects .project-images img:hover {
        transform: none !important;
    }
}

/* Pumpkin Patch layout override */
#projects-partnership {
    overflow-y: auto;
}

#projects-partnership .initiatives-section {
    min-height: 100vh;
    justify-content: flex-start;
    padding-bottom: 2rem;
}

#projects-partnership .project-images {
    width: min(100%, 900px);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    max-height: none;
    overflow: visible;
}

#projects-partnership .project-images > :last-child:nth-child(odd) {
    grid-column: auto;
}

.page-our-projects .initiatives-section {
    animation: projectsLoadIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-our-projects .event-heading {
    opacity: 0;
    animation: projectsLoadIn 0.66s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.page-our-projects .event-divider {
    opacity: 0;
    animation: projectsLoadIn 0.66s cubic-bezier(0.22, 1, 0.36, 1) 0.16s forwards;
}

.page-our-projects .projects-toc {
    opacity: 0;
    animation: projectsLoadIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.24s forwards;
}

.page-our-projects .toc-bubble {
    opacity: 0;
    animation: projectsLoadIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-our-projects .toc-bubble:nth-child(1) { animation-delay: 0.26s; }
.page-our-projects .toc-bubble:nth-child(2) { animation-delay: 0.32s; }
.page-our-projects .toc-bubble:nth-child(3) { animation-delay: 0.38s; }
.page-our-projects .toc-bubble:nth-child(4) { animation-delay: 0.44s; }
.page-our-projects .toc-bubble:nth-child(5) { animation-delay: 0.5s; }
.page-our-projects .toc-bubble:nth-child(6) { animation-delay: 0.56s; }
.page-our-projects .toc-bubble:nth-child(7) { animation-delay: 0.62s; }
.page-our-projects .toc-bubble:nth-child(8) { animation-delay: 0.68s; }

.page-our-projects .project-images {
    opacity: 0;
    animation: projectsLoadIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.24s forwards;
}

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

@media (prefers-reduced-motion: reduce) {
    .page-our-projects .initiatives-section,
    .page-our-projects .event-heading,
    .page-our-projects .event-divider,
    .page-our-projects .projects-toc,
    .page-our-projects .toc-bubble,
    .page-our-projects .project-images {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.initiatives-section {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.75rem;
    padding: calc(110px + 2rem) clamp(1.5rem, 5vw, 5rem) 3rem;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 1;
}

.initiative-card {
    max-width: min(900px, 92vw);
    margin-inline: auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.66));
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: clamp(1.2rem, 3vw, 2.3rem);
    backdrop-filter: blur(8px);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.initiative-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16), 0 4px 10px rgba(0, 0, 0, 0.1);
}

.initiative-card h2 {
    margin: 0 0 1rem 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1.4rem, 3.3vw, 2.3rem);
    line-height: 1.3;
    color: #4b1e04;
}

.initiative-card p {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1rem, 2.1vw, 1.25rem);
    line-height: 1.7;
    color: rgba(41, 29, 3, 0.92);
}

@media (prefers-reduced-motion: reduce) {
    .initiative-card {
        transition: none !important;
    }

    .initiative-card:hover {
        transform: none !important;
    }
}

.page-chronic-illnesses .initiative-layout,
.page-mental-developmental .initiative-layout {
    width: min(1080px, calc(100vw - 3rem));
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(1rem, 3vw, 2.4rem);
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.25,.8,.25,1), filter 0.7s ease;
}

.page-mental-developmental .initiative-layout {
    width: min(980px, calc(100vw - 3rem));
    grid-template-columns: 1fr;
}

.page-chronic-illnesses .initiatives-section.in-view .initiative-layout,
.page-mental-developmental .initiatives-section.in-view .initiative-layout {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.page-chronic-illnesses .initiative-card,
.page-mental-developmental .initiative-card {
    text-align: left;
    min-width: 0;
}

.page-mental-developmental .initiative-card p + p {
    margin-top: 0.9rem;
}

.page-chronic-illnesses .initiative-images,
.page-mental-developmental .initiative-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 0.75rem;
    min-width: 0;
    max-width: 100%;
}

.page-chronic-illnesses .initiative-images img,
.page-mental-developmental .initiative-images img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.page-chronic-illnesses .initiative-images img:nth-child(3),
.page-mental-developmental .initiative-images img:nth-child(3) {
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .page-chronic-illnesses .initiative-layout,
    .page-mental-developmental .initiative-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: min(680px, calc(100vw - 2rem));
    }

    .page-chronic-illnesses .initiative-images,
    .page-mental-developmental .initiative-images {
        order: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-chronic-illnesses .initiative-card,
    .page-mental-developmental .initiative-card {
        order: 1;
    }
}

@media (max-height: 760px) {
    .page-chronic-illnesses .initiatives-section,
    .page-mental-developmental .initiatives-section {
        padding-top: calc(90px + 1rem);
        padding-bottom: 1.5rem;
    }

    .page-chronic-illnesses .initiative-images img,
    .page-mental-developmental .initiative-images img {
        aspect-ratio: 16 / 11;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-chronic-illnesses .initiative-layout,
    .page-mental-developmental .initiative-layout {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

/* Information on Invisible Disabilities Page - Soft Teal/Turquoise theme */
.page-mental-developmental .slide1 {
    position: relative;
}
.page-mental-developmental .slide1::before {
    content: none;
}
.page-mental-developmental .slide2 {
    background: transparent;
    box-shadow: none;
}
.page-mental-developmental .slide3 {
    background: transparent;
    box-shadow: none;
}

/* Our Projects & Initiatives Page - Soft Purple/Lavender theme */
.page-our-projects .slide1 {
    position: relative;
}
.page-our-projects .slide1::before {
    content: none;
}
.page-our-projects .slide2 {
    background: transparent;
    box-shadow: none;
}
.page-our-projects .slide3 {
    background: transparent;
    box-shadow: none;
}

/* Feedback page - single long slide */
.feedback-single-slide {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    background: transparent !important;
    position: relative;
}

/* Animated background particles */
.feedback-single-slide::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vh;
    height: 100vw;
    background-image: url(sunflowerpetals.jpg);
    background-size: cover;
    background-position: center;
    transform: translate(-50%, -50%) rotate(90deg);
    pointer-events: none;
    z-index: 0;
}

.feedback-single-slide::-webkit-scrollbar {
    display: none;
}

.page-feedback-single {
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.page-feedback-single::-webkit-scrollbar {
    display: none;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.page-feedback-single .container {
    height: auto;
    position: relative;
    z-index: 1;
}

/* Get Involved Pages - Shared Background (generalbackground3) */
.page-partner .container,
.page-feedback-single .container {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-partner .container::before,
.page-feedback-single .container::before {
    content: '';
    position: absolute;
    inset: -10px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(generalbackground3.jpg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    filter: blur(4px);
    transform: scale(1.02);
    pointer-events: none;
    z-index: -1;
}

.page-partner .slide1,
.page-partner .slide2,
.page-partner .slide3,
.page-feedback-single .slide1 {
    background: transparent !important;
}

.page-partner .slide2::before,
.page-feedback-single .feedback-single-slide::before {
    content: none;
}

.page-partner .feedback-single-slide {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    background: transparent !important;
    position: relative;
}

.page-partner .feedback-single-slide::before {
    content: none;
}

.page-partner .container {
    height: auto;
    position: relative;
    z-index: 1;
}

/* Contact Us Page - generalbackground2 */
.page-socials .container {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-socials .container::before {
    content: '';
    position: absolute;
    inset: -10px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)), url(generalbackground2.jpg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    filter: blur(4px);
    transform: scale(1.02);
    pointer-events: none;
    z-index: -1;
}

.page-socials .slide1,
.page-socials .slide2,
.page-socials .slide3 {
    background: transparent !important;
}

.page-socials .slide2::before {
    content: none;
}

.page-socials .contact-simple {
    min-height: calc(100vh - 84px);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: center;
    justify-content: center;
    column-gap: 0.95rem;
    row-gap: 0.2rem;
    padding: calc(84px + 0.5rem) 1.5rem 1.25rem;
    text-align: center;
    box-sizing: border-box;
}

.page-socials .contact-title {
    flex-basis: 100%;
    margin: 0 0 0.12rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    font-weight: 700;
    color: #4b1e04;
    text-align: center;
    text-shadow: 0 3px 10px rgba(255, 255, 255, 0.45);
}

.page-socials .contact-divider {
    flex-basis: 100%;
    width: min(340px, 78vw);
    height: 2px;
    margin: 0 0 0.9rem;
    background: linear-gradient(90deg, transparent, rgba(75, 30, 4, 0.58), transparent);
}

.page-socials .contact-simple p {
    margin: 0;
}

.page-socials .contact-simple p {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    font-weight: 700;
}

.page-socials .contact-address-row {
    margin-top: 0.75rem !important;
}

.page-socials .contact-simple a {
    color: #4b1e04;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.page-socials .contact-bubble {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-width: min(320px, 86vw);
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(75, 30, 4, 0.22);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-socials .contact-bubble:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.page-socials .contact-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(75, 30, 4, 0.08);
    line-height: 1;
    color: #4b1e04;
}

.page-socials .contact-icon svg {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
}

.page-socials .contact-label {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.2;
}

/* Donate Page - generalbackground2 */
.page-donate .container {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-donate .container::before {
    content: '';
    position: absolute;
    inset: -10px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)), url(generalbackground2.jpg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    filter: blur(4px);
    transform: scale(1.02);
    pointer-events: none;
    z-index: -1;
}

.page-donate .slide1 {
    background: transparent !important;
}

.page-donate .donate-hub {
    min-height: calc(100vh - 84px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: calc(84px + 1rem) 1.5rem 1.5rem;
    text-align: center;
    box-sizing: border-box;
}

.page-donate .donate-title {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    font-weight: 700;
    color: #4b1e04;
    text-shadow: 0 3px 10px rgba(255, 255, 255, 0.45);
}

.page-donate .donate-divider {
    width: min(340px, 78vw);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(75, 30, 4, 0.58), transparent);
}

.page-donate .donate-divider-bottom {
    margin-top: 0.55rem;
}

.page-donate .donate-subtitle {
    margin: 0.1rem 0 0.25rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: #4b1e04;
}

.page-donate .donate-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.page-donate .donate-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(420px, 90vw);
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(75, 30, 4, 0.22);
    background: rgba(255, 255, 255, 0.84);
    color: #4b1e04;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1rem, 2vw, 1.12rem);
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-donate .donate-option:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.page-donate .donate-l4c {
    margin: 0.05rem 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 700;
    color: #4b1e04;
}

.page-donate .donate-option-dummy {
    margin-top: 0.35rem;
    cursor: not-allowed;
    opacity: 0.85;
}

.page-donate .donate-title {
    opacity: 0;
    animation: donateLoadIn 0.66s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.page-donate .donate-divider {
    opacity: 0;
    animation: donateLoadIn 0.66s cubic-bezier(0.22, 1, 0.36, 1) 0.14s forwards;
}

.page-donate .donate-options {
    opacity: 0;
    animation: donateLoadIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

.page-donate .donate-option {
    opacity: 0;
    transform: translateY(14px);
    animation: donateLoadIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-donate .donate-options .donate-option:nth-child(1) {
    animation-delay: 0.26s;
}

.page-donate .donate-options .donate-option:nth-child(2) {
    animation-delay: 0.34s;
}

.page-donate .donate-divider-bottom {
    opacity: 0;
    animation: donateLoadIn 0.66s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

.page-donate .donate-l4c {
    opacity: 0;
    animation: donateLoadIn 0.66s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.page-donate .donate-option-dummy {
    opacity: 0;
    animation: donateLoadIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.58s forwards;
}

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

@media (prefers-reduced-motion: reduce) {
    .page-donate .donate-title,
    .page-donate .donate-divider,
    .page-donate .donate-options,
    .page-donate .donate-option,
    .page-donate .donate-divider-bottom,
    .page-donate .donate-l4c,
    .page-donate .donate-option-dummy {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.page-socials .contact-title {
    opacity: 0;
    animation: socialsLoadIn 0.66s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.page-socials .contact-divider {
    opacity: 0;
    animation: socialsLoadIn 0.66s cubic-bezier(0.22, 1, 0.36, 1) 0.14s forwards;
}

.page-socials .contact-bubble {
    opacity: 0;
    transform: translateY(14px);
    animation: socialsLoadIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-socials .contact-simple p:nth-of-type(1) .contact-bubble {
    animation-delay: 0.24s;
}

.page-socials .contact-simple p:nth-of-type(2) .contact-bubble {
    animation-delay: 0.32s;
}

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

@media (prefers-reduced-motion: reduce) {
    .page-socials .contact-title,
    .page-socials .contact-divider,
    .page-socials .contact-bubble {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.partner-email-line {
    margin: 0.35rem 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
    color: #4b1e04;
    text-align: center;
}

.partner-email-line a {
    color: #4b1e04;
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* Feedback Page Styles */
.feedback-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: calc(100vh - 100px);
    position: relative;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    filter: blur(15px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.25,.8,.25,1), filter 0.8s ease;
}

.feedback-content.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .feedback-content {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

.feedback-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    transition: all 0.6s ease;
}

.feedback-title-container.blur {
    filter: blur(3px);
    opacity: 0.7;
    transform: translateY(-30px);
}

.feedback-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-align: center;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
                 0 0 30px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    transition: all 0.6s ease;
}

.title-divider {
    width: 600px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #ffffff 50%, transparent 100%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: all 0.6s ease;
}

.title-divider.move-up {
    transform: translateY(-80px);
    opacity: 0;
}

.feedback-open-btn {
    background: linear-gradient(135deg, #d4a01a 0%, #c78b18 50%, #b57815 100%);
    color: #2d2104;
    border: none;
    padding: 20px 55px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 160, 26, 0.4);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.feedback-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 26, 0.5);
    background: linear-gradient(135deg, #e6b520 0%, #d49b1c 50%, #c28a18 100%);
}

.feedback-form-container {
    display: none;
    margin-top: 3rem;
    width: 100%;
    max-width: 650px;
}

.feedback-form-container.active {
    display: block;
    animation: slideUpFadeIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-form {
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25),
                0 0 100px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.feedback-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 142, 83, 0.1), 
        transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.feedback-form h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    background: linear-gradient(135deg, #c78b18 0%, #b57815 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.8rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s ease backwards;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

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

.form-group label {
    display: block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    background: linear-gradient(135deg, #c67d0e 0%, #b57815 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c78b18;
    box-shadow: 0 0 0 4px rgba(199, 139, 24, 0.2),
                0 4px 15px rgba(212, 160, 26, 0.3);
    transform: translateY(-2px);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-buttons {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s ease backwards;
    animation-delay: 0.4s;
}

.submit-btn,
.cancel-btn {
    flex: 1;
    padding: 14px 35px;
    border: none;
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.submit-btn {
    background: linear-gradient(135deg, #c78b18 0%, #b57815 100%);
    color: #2d2104;
    box-shadow: 0 4px 15px rgba(199, 139, 24, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 139, 24, 0.5);
}

.cancel-btn {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    color: #666;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cancel-btn:hover {
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.success-message {
    display: none;
    background: linear-gradient(135deg, #d4a854 0%, #c78b18 100%);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25),
                0 0 100px rgba(212, 168, 84, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.success-message::before {
    content: '✓';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    opacity: 0.1;
    animation: checkBounce 0.6s ease;
}

@keyframes checkBounce {
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 0.15;
    }
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.1;
    }
}

.success-message.active {
    display: block;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    50% {
        transform: scale(1.05) rotate(3deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.success-message h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.2rem;
    color: #2d2104;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: fadeInScale 0.6s ease backwards;
    animation-delay: 0.2s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-message p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    color: #3d2805;
    position: relative;
    z-index: 1;
    animation: fadeInScale 0.6s ease backwards;
    animation-delay: 0.4s;
}

.page-partner .success-message::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6.2rem;
    opacity: 0.08;
    animation: none;
}

.page-partner .success-message.active {
    animation: partnerSuccessFade 3s ease-in-out both;
}

.page-partner .success-message h3,
.page-partner .success-message p {
    animation: none;
}

@keyframes partnerSuccessFade {
    0% {
        opacity: 0;
    }
    18% {
        opacity: 1;
    }
    78% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.boximage img{
    size: 2000px 2000px;
}

/* Find Help Pages - Shared Background */
.page-resource1 .container,
.page-resource2 .container,
.page-resource3 .container {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-resource1 .container::before,
.page-resource2 .container::before,
.page-resource3 .container::before {
    content: '';
    position: absolute;
    inset: -10px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)), url(generalbackground2.jpg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    filter: blur(4px);
    transform: scale(1.02);
    pointer-events: none;
    z-index: -1;
}

.page-resource1 .slide1,
.page-resource1 .slide2,
.page-resource1 .slide3,
.page-resource2 .slide1,
.page-resource2 .slide2,
.page-resource2 .slide3,
.page-resource3 .slide1,
.page-resource3 .slide2,
.page-resource3 .slide3 {
    background: transparent !important;
}

.page-resource1 .slide2::before,
.page-resource2 .slide2::before,
.page-resource3 .slide2::before {
    content: none;
}

.page-resource1 .resource-heading,
.page-resource2 .resource-heading,
.page-resource3 .resource-heading {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: #3b220f;
    text-align: center;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.28);
}

.page-resource1 .resource-divider,
.page-resource2 .resource-divider,
.page-resource3 .resource-divider {
    width: min(460px, 82vw);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 34, 15, 0.75), transparent);
    margin-top: 0.35rem;
}

.page-resource1 .resource-gallery {
    width: min(1080px, 94vw);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 120px;
    gap: 0.55rem;
    padding: 0.6rem;
    box-sizing: border-box;
}

.page-resource1 .resource-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.page-resource1 .resource-gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.page-resource1 .resource-gallery img:nth-child(1),
.page-resource1 .resource-gallery img:nth-child(6) {
    grid-column: span 2;
    grid-row: span 2;
}

.page-resource1 .resource-gallery img:nth-child(4),
.page-resource1 .resource-gallery img:nth-child(7) {
    grid-row: span 2;
}

.page-resource1 .resource-donate-btn {
    margin-top: 0.9rem;
    color: #3b220f;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-resource1 .resource-donate-btn:hover {
    transform: translateX(3px);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-shadow: 0 2px 8px rgba(59, 34, 15, 0.18);
}

.page-resource1 .resource-donate-btn:focus-visible {
    outline: 2px solid rgba(59, 34, 15, 0.35);
    outline-offset: 2px;
}

.page-resource2 .resource-support-btn {
    margin-top: 0.9rem;
    color: #3b220f;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-resource2 .resource-support-btn:hover {
    transform: translateX(3px);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-shadow: 0 2px 8px rgba(59, 34, 15, 0.18);
}

.page-resource2 .resource-support-btn:focus-visible {
    outline: 2px solid rgba(59, 34, 15, 0.35);
    outline-offset: 2px;
}

.page-resource3 .resource-donate-ida-btn {
    margin-top: 0.9rem;
    color: #3b220f;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-resource3 .resource-donate-ida-btn:hover {
    transform: translateX(3px);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-shadow: 0 2px 8px rgba(59, 34, 15, 0.18);
}

.page-resource3 .resource-donate-ida-btn:focus-visible {
    outline: 2px solid rgba(59, 34, 15, 0.35);
    outline-offset: 2px;
}

.page-resource1 .initiatives-section,
.page-resource2 .initiatives-section,
.page-resource3 .initiatives-section {
    animation: resourceLoadIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-resource1 .slide1 .resource-heading,
.page-resource1 .slide2 .resource-heading,
.page-resource2 .slide1 .resource-heading,
.page-resource2 .slide2 .resource-heading,
.page-resource3 .slide1 .resource-heading,
.page-resource3 .slide2 .resource-heading {
    opacity: 0;
    animation: resourceLoadIn 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.page-resource1 .slide1 .resource-divider,
.page-resource1 .slide2 .resource-divider,
.page-resource2 .slide1 .resource-divider,
.page-resource2 .slide2 .resource-divider,
.page-resource3 .slide1 .resource-divider,
.page-resource3 .slide2 .resource-divider {
    opacity: 0;
    animation: resourceLoadIn 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.page-resource1 .slide1 .initiative-card,
.page-resource1 .slide2 .initiative-card,
.page-resource1 .slide2 .resource-gallery,
.page-resource2 .slide1 .initiative-card,
.page-resource2 .slide2 .initiative-card,
.page-resource3 .slide1 .initiative-card,
.page-resource3 .slide2 .initiative-card {
    opacity: 0;
    animation: resourceLoadIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.26s forwards;
}

.page-resource1 .resource-donate-btn {
    opacity: 0;
    animation: resourceLoadIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.34s forwards;
}

.page-resource2 .resource-support-btn {
    opacity: 0;
    animation: resourceLoadIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.34s forwards;
}

.page-resource3 .resource-donate-ida-btn {
    opacity: 0;
    animation: resourceLoadIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.34s forwards;
}

.page-resource1 .resource-gallery img {
    opacity: 0;
    animation: resourceLoadIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-resource1 .resource-gallery img:nth-child(1) { animation-delay: 0.22s; }
.page-resource1 .resource-gallery img:nth-child(2) { animation-delay: 0.28s; }
.page-resource1 .resource-gallery img:nth-child(3) { animation-delay: 0.34s; }
.page-resource1 .resource-gallery img:nth-child(4) { animation-delay: 0.4s; }
.page-resource1 .resource-gallery img:nth-child(5) { animation-delay: 0.46s; }
.page-resource1 .resource-gallery img:nth-child(6) { animation-delay: 0.52s; }
.page-resource1 .resource-gallery img:nth-child(7) { animation-delay: 0.58s; }
.page-resource1 .resource-gallery img:nth-child(8) { animation-delay: 0.64s; }

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

@media (prefers-reduced-motion: reduce) {
    .page-resource1 .initiatives-section,
    .page-resource2 .initiatives-section,
    .page-resource3 .initiatives-section,
    .page-resource1 .slide1 .resource-heading,
    .page-resource1 .slide2 .resource-heading,
    .page-resource2 .slide1 .resource-heading,
    .page-resource2 .slide2 .resource-heading,
    .page-resource3 .slide1 .resource-heading,
    .page-resource3 .slide2 .resource-heading,
    .page-resource1 .slide1 .resource-divider,
    .page-resource1 .slide2 .resource-divider,
    .page-resource2 .slide1 .resource-divider,
    .page-resource2 .slide2 .resource-divider,
    .page-resource3 .slide1 .resource-divider,
    .page-resource3 .slide2 .resource-divider,
    .page-resource1 .slide1 .initiative-card,
    .page-resource1 .slide2 .initiative-card,
    .page-resource2 .slide1 .initiative-card,
    .page-resource2 .slide2 .initiative-card,
    .page-resource3 .slide1 .initiative-card,
    .page-resource3 .slide2 .initiative-card,
    .page-resource1 .slide2 .resource-gallery,
    .page-resource1 .resource-donate-btn,
    .page-resource2 .resource-support-btn,
    .page-resource3 .resource-donate-ida-btn,
    .page-resource1 .resource-gallery img {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 900px) {
    .page-resource1 .resource-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 140px;
    }

    .page-resource1 .resource-gallery img:nth-child(1),
    .page-resource1 .resource-gallery img:nth-child(6),
    .page-resource1 .resource-gallery img:nth-child(4),
    .page-resource1 .resource-gallery img:nth-child(7) {
        grid-column: auto;
        grid-row: auto;
    }
}

