@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Segoe+UI:wght@400;500;700&display=swap');

/* --- Partner Carousel Styles --- */
.partner-carousel {
    background: #fff;
    padding: 0.8rem 0;
    overflow: hidden;
    border-bottom: 1px solid #e0e5ec;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite 3s;
    gap: 2rem;
}
.partner-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: opacity(0.8);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.partner-logo:hover {
    filter: saturate(1.3) opacity(1);
    transform: scale(1.1);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            margin: 0;
            padding-top: 80px;
            font-family: 'Segoe UI', Arial, sans-serif;
            background: #f3f6f9;
            color: #222;
        }
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            background: #181818;
            color: #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 999;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }
        .navbar-logo-link {
            text-decoration: none;
        }
        .navbar-logo {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-weight: bold;
            letter-spacing: 1px;
            color: #8be9c1;
            transition: transform 0.3s ease;
        }
        .navbar-logo span {
            font-family: 'Great Vibes', cursive;
            font-size: 1.9rem;
            font-weight: normal;
        }
        .navbar-logo:hover {
            transform: scale(1.02);
        }
        .navbar-logo img {
            height: 45px;
            width: 45px;
            border-radius: 50%;
            border: 2px solid #8be9c1;
            object-fit: cover;
            background-color: #333; /* Fallback color if image fails to load */
        }
        .navbar-links {
            display: flex;
            gap: 2rem;
        }
        .navbar-links a {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.05rem;
            transition: color 0.2s, border-color 0.2s;
            padding-bottom: 2px;
            border-bottom: 2px solid transparent;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
        .navbar-links a i {
            color: #8be9c1;
            transition: transform 0.2s ease;
            width: 20px;
            text-align: center;
        }
        .navbar-links a:hover {
            color: #b983ff;
            border-bottom: 2px solid #8be9c1;
        }
        .navbar-actions button {
            margin-left: 1rem;
            padding: 0.5rem 1.2rem;
            border: none;
            border-radius: 20px;
            background: linear-gradient(90deg,#8be9c1 0%, #b983ff 100%);
            color: #181818;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.2s;
            box-shadow: 0 2px 8px rgba(139,233,193,0.08);
        }
        .navbar-actions button:hover {
            background: linear-gradient(90deg,#b983ff 0%, #8be9c1 100%);
        }

.navbar-links.logged-in {
    margin-left: auto;
    margin-right: 2rem; /* Add some space between links and profile button */
}

.profile-menu {
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: background-color 0.2s;
}

.profile-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.profile-btn-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #8be9c1;
    background-color: #333;
}

.profile-btn .fa-user-circle {
    font-size: 1.5rem;
    color: #8be9c1;
}

.profile-chevron {
    transition: transform 0.3s ease;
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: 120%; /* Position below the button */
    right: 0;
    background-color: #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    min-width: 180px;
    z-index: 100;
    overflow: hidden;
    padding: 0.5rem 0;
    border: 1px solid #444;
}

.profile-dropdown.active { display: block; }
.profile-dropdown a { display: block; padding: 0.8rem 1.2rem; color: #eee; text-decoration: none; font-size: 1rem; transition: background-color 0.2s, color 0.2s; }
.profile-dropdown a:hover { background-color: #b983ff; color: #fff; }
.dropdown-divider { height: 1px; background-color: #444; margin: 0.5rem 0; }

.navbar-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: #8be9c1;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.navbar.scrolled {
    background-color: rgba(24, 24, 24, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* For Safari compatibility */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


        .hero {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            padding: 4rem 2rem 3rem 2rem;
            min-height: 70vh;
            background: linear-gradient(120deg, #181818 0%, #8be9c1 60%, #b983ff 100%);
            position: relative;
            overflow: hidden;
        }
        .hero-slideshow {
            position: relative;
            width: 100%;
            max-width: 400px;
            height: 300px;
            margin-right: 3rem;
        }
        .hero-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 24px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.18);
            border: 4px solid #fff;
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }
        .hero-img.active {
            opacity: 1;
        }
        .hero-content {
            max-width: 500px;
            color: #fff;
            z-index: 2;
        }
        .hero-title {
            font-size: 2.8rem;
            font-weight: bold;
            margin-bottom: 1.2rem;
            line-height: 1.1;
            color: #fff;
            text-shadow: 0 2px 8px #18181855;
        }
        .hero-desc {
            font-size: 1.25rem;
            margin-bottom: 2rem;
            color: #f3f6f9;
            text-shadow: 0 1px 4px #18181833;
        }
        .donate-btn {
            padding: 0.9rem 2.2rem;
            background: linear-gradient(90deg,#b983ff 0%, #8be9c1 100%);
            color: #181818;
            border: none;
            border-radius: 25px;
            font-size: 1.15rem;
            font-weight: bold;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(139,233,193,0.12);
            transition: background 0.2s, color 0.2s;
        }
        .donate-btn:hover {
            background: linear-gradient(90deg,#8be9c1 0%, #b983ff 100%);
            color: #fff;
        }
        .stats-bar {
            display: flex;
            gap: 2rem;
            margin-top: 2.5rem;
            justify-content: flex-start;
        }
        .stat {
            background: rgba(24,24,24,0.7);
            color: #8be9c1;
            padding: 1rem 2rem;
            border-radius: 16px;
            font-size: 1.1rem;
            font-weight: 500;
            box-shadow: 0 2px 8px #18181833;
            text-align: center;
        }
        .stat strong {
            display: block;
            font-size: 1.7rem;
            color: #b983ff;
        }
        .modal {
            display: none;
            position: fixed;
            top: 0; left: 0;
            width: 100vw; height: 100vh;
            background: rgba(0,0,0,0.5);
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        .modal.active { display: flex; }
        .modal-content {
            background: #fff;
            padding: 2rem;
            border-radius: 16px;
            min-width: 300px;
            max-width: 90vw;
            box-shadow: 0 4px 24px rgba(0,0,0,0.2);
            position: relative;
        }
        .modal-content h2 { margin-top: 0; color: #181818; }
        .modal-content input {
            width: 100%;
            padding: 0.7rem;
            margin: 0.5rem 0;
            border-radius: 8px;
            border: 1px solid #ccc;
        }
        .modal-content button {
            margin-top: 1rem;
            width: 100%;
            padding: 0.7rem;
            background: linear-gradient(90deg,#8be9c1 0%, #b983ff 100%);
            color: #181818;
            border: none;
            border-radius: 8px;
            font-weight: bold;
            cursor: pointer;
        }
        .close-modal {
            position: absolute;
            top: 1.5rem;
            right: 2rem;
            font-size: 1.5rem;
            color: #222;
            cursor: pointer;
        }
        .footer {
            background: #181818;
            color: #8be9c1;
            padding: 2.5rem 1rem 1rem 1rem;
            margin-top: 3rem;
        }
        .footer-content {
            max-width: 900px;
            margin: auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        .footer-logo {
            font-size: 1.7rem;
            font-weight: bold;
            margin-bottom: 1rem;
            letter-spacing: 2px;
            color: #b983ff;
        }
        .footer-socials {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 1rem;
        }
        .footer-socials a svg {
            transition: transform 0.2s, fill 0.2s;
        }
        .footer-socials a:hover svg {
            transform: scale(1.2);
            fill: #8be9c1;
        }
        .footer-contact {
            font-size: 1rem;
            margin-bottom: 1rem;
            color: #fff;
        }
        .footer-contact a {
            color: #b983ff;
            text-decoration: underline;
        }
        .footer-copy {
            font-size: 0.95rem;
            color: #fff;
            margin-top: 0.5rem;
        }
#footer-container {
    margin-top: auto;
}

/* --- Page Hero Styles --- */
.page-hero {
    background: linear-gradient(120deg, #181818 0%, #8be9c1 60%, #b983ff 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
}
.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 0 2px 8px #18181855;
}
.page-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #f3f6f9;
    text-shadow: 0 1px 4px #18181833;
}

/* --- Contact Page Styles --- */
.contact-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: #fff;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.contact-form h2, .contact-info h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #181818;
    margin-top: 0;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #b8bac0;
    border-radius: 12px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #b983ff;
    box-shadow: 0 0 0 3px #b983ff33;
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg,#8be9c1 0%, #b983ff 100%);
    color: #181818;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.submit-btn:hover {
    background: linear-gradient(90deg,#b983ff 0%, #8be9c1 100%);
    color: #fff;
    transform: translateY(-2px);
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info .info-item i {
    font-size: 1.8rem;
    color: #b983ff;
    margin-top: 5px;
    min-width: 30px;
    text-align: center;
}

.contact-info .info-item h3 { margin: 0 0 0.3rem 0; font-size: 1.2rem; color: #181818; }
.contact-info .info-item p { margin: 0; font-size: 1rem; line-height: 1.5; color: #555; }
.social-links { margin-top: 2.5rem; display: flex; gap: 1.5rem; }
.social-links a { color: #181818; font-size: 1.5rem; transition: color 0.2s, transform 0.2s; }
.social-links a:hover { color: #b983ff; transform: scale(1.2); }

/* --- Gallery Page Styles --- */
.gallery-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}
.gallery-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #b983ff;
    text-align: center;
    margin-bottom: 2.5rem;
}
.gallery-grid {
    display: grid;
    /* Default to a single column on small screens */
    grid-template-columns: 1fr;
    grid-auto-rows: 280px; /* Increased row height for bigger pictures */
    grid-auto-flow: dense;
    gap: 1rem;
}

/* Two columns for medium screens */
@media (min-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Three columns for large screens (max 3 per line) */
@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 12px #b8bac044;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s ease;
}
.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 24px #b983ff44;
    z-index: 10;
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.big { grid-column: span 2; grid-row: span 2; }

           .locations-section {
            background: linear-gradient(120deg, #181818 0%, #b983ff 60%, #8be9c1 100%);
            padding: 3rem 1rem 2rem 1rem;
            color: #fff;
        }
        .locations-container {
            max-width: 900px;
            margin: auto;
        }
        .locations-title {
            font-size: 2.2rem;
            font-weight: bold;
            margin-bottom: 1rem;
            color: #fff;
            text-shadow: 0 2px 8px #18181855;
            letter-spacing: 1px;
        }
        .locations-desc {
            font-size: 1.15rem;
            margin-bottom: 2rem;
            color: #f3f6f9;
            text-shadow: 0 1px 4px #18181833;
        }
        .locations-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.2rem 2rem;
        }
        .locations-list li {
            display: flex;
            align-items: center;
            font-size: 1.08rem;
            background: rgba(24,24,24,0.18);
            border-radius: 12px;
            padding: 0.7rem 1rem;
            margin-bottom: 0.2rem;
            box-shadow: 0 2px 8px #18181822;
            transition: background 0.2s;
        }
        .locations-list li:hover {
            background: rgba(139,233,193,0.18);
        }
        .loc-icon {
            display: inline-block;
            width: 1.4em;
            height: 1.4em;
            margin-right: 0.7em;
            vertical-align: middle;
            background: none;
        }
        .loc-icon::before {
            content: '';
            display: inline-block;
            width: 1.4em;
            height: 1.4em;
            background-image: url('data:image/svg+xml;utf8,<svg fill="purple" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="10" r="3"/><path d="M12 2C7.03 2 3 6.03 3 11c0 5.25 7.07 10.74 8.13 11.52a1 1 0 0 0 1.13 0C13.93 21.74 21 16.25 21 11c0-4.97-4.03-9-9-9zm0 18.88C10.14 19.13 5 14.97 5 11c0-3.86 3.14-7 7-7s7 3.14 7 7c0 3.97-5.14 8.13-7 9.88z"/></svg>');
            background-size: contain;
            background-repeat: no-repeat;
        }
        @media (max-width: 900px) {
            .locations-list {
                grid-template-columns: 1fr;
            }
        }
        .teachings-highlight {
            background: rgba(24,24,24,0.18);
            border-radius: 16px;
            padding: 2rem 1.5rem 1.5rem 1.5rem;
            margin-bottom: 2.5rem;
            box-shadow: 0 2px 12px #18181822;
            text-align: center;
        }
        .teachings-title {
            font-size: 1.5rem;
            font-weight: bold;
            color: #b983ff;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            letter-spacing: 1px;
        }
        .teachings-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.7em 1.2em;
            justify-content: center;
            font-size: 1.08rem;
            color: #fff;
            margin-bottom: 1.2rem;
        }
        .teachings-list span {
            background: linear-gradient(90deg,#8be9c1 0%, #b983ff 100%);
            color: #181818;
            border-radius: 8px;
            padding: 0.4em 1em;
            font-weight: 500;
            box-shadow: 0 1px 4px #18181822;
            margin-bottom: 0.3em;
            transition: background 0.2s;
        }
        .teachings-list span:hover {
            background: linear-gradient(90deg,#b983ff 0%, #8be9c1 100%);
            color: #fff;
        }
        .teachings-note {
            font-size: 1.05rem;
            color: #8be9c1;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 0.5em;
            font-weight: 500;
        }
        @media (max-width: 900px) {
            .teachings-list {
                flex-direction: column;
                align-items: center;
            }
}
.awards-section {
    background: linear-gradient(120deg, #b983ff 0%, #8be9c1 100%);
    padding: 3rem 1rem 2rem 1rem;
    color: #181818;
}
.awards-container {
    max-width: 1200px;
    margin: auto;
}
.awards-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
.awards-icon {
    font-size: 6rem;
    color: gold;
    text-shadow: 0 4px 16px #18181833;
}
.awards-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0;
    color: #181818;
    letter-spacing: 1px;
}
.awards-desc {
    font-size: 1.18rem;
    margin-bottom: 2.5rem;
    color: #222;
    text-align: center;
}
.awards-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.award-card {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    padding: 1.5rem 1.2rem;
    box-shadow: 0 2px 16px #b983ff33;
    font-size: 1.18rem;
    font-weight: 500;
    transition: box-shadow 0.2s, transform 0.2s;
}
.award-card:hover {
    box-shadow: 0 8px 32px #8be9c155;
    transform: translateY(-2px) scale(1.03);
}
.award-card-icon {
    font-size: 2.8rem;
    color: gold;
    margin-right: 1.2rem;
    min-width: 2.8rem;
    text-align: center;
}
.award-card-text {
    color: #181818;
    flex: 1;
    font-size: 1.08rem;
}
.award-card {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.6s cubic-bezier(.77,0,.18,1), transform 0.6s cubic-bezier(.77,0,.18,1);
    }
    .award-card.show {
        opacity: 1;
        transform: translateY(0);
    }

@media (min-width: 768px) {
    .awards-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .awards-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}
    .yeti-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1.2rem;
    }
    .yeti-face {
        position: relative;
        width: 80px;
        height: 80px;
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 4px 16px #b8bac0;
        margin: auto;
    }
    .yeti-eyes {
        position: absolute;
        top: 32px;
        left: 18px;
        width: 44px;
        display: flex;
        justify-content: space-between;
    }
    .yeti-eye {
        width: 12px;
        height: 12px;
        background: #222;
        border-radius: 50%;
        transition: transform 0.2s;
    }
    .yeti-mouth {
        position: absolute;
        left: 50%;
        top: 58px;
        width: 24px;
        height: 10px;
        background: #b983ff;
        border-radius: 0 0 12px 12px;
        transform: translateX(-50%);
        transition: width 0.2s, background 0.2s;
    }
    .yeti-horns {
        position: absolute;
        top: -18px;
        left: 10px;
        width: 60px;
        height: 20px;
        background: transparent;
        border-top: 6px solid #8be9c1;
        border-radius: 50px 50px 0 0;
    }
      .modal-content.neumorphic {
        background: #e0e5ec;
        box-shadow: 0 2px 12px #b8bac0;
        border-radius: 24px;
        min-width: 320px;
        max-width: 95vw;
        padding: 2.5rem 2rem 2rem 2rem;
        position: relative;
        text-align: center;
        transition: box-shadow 0.3s;
    }
    .modal-content.neumorphic h2 {
        margin-top: 0.5rem;
        color: #222;
        font-weight: bold;
        font-size: 1.5rem;
    }
    .modal-content.neumorphic input, .modal-content.neumorphic select {
        box-sizing: border-box; /* This is the fix for the overflow issue */
        width: 100%;
        padding: 0.8rem;
        margin: 0.7rem 0;
        border-radius: 12px;
        border: 1px solid #b8bac0;
        background: #e0e5ec;
        box-shadow: none;
        font-size: 1rem;
        transition: border 0.2s;
    }
    .modal-content.neumorphic input:focus {
        outline: none;
        border: 1.5px solid #b983ff;
    }
    .login-btn, .google-btn {
        width: 100%;
        padding: 0.8rem;
        margin-top: 1rem;
        border-radius: 12px;
        border: none;
        background: linear-gradient(90deg,#8be9c1 0%, #b983ff 100%);
        color: #222;
        font-weight: bold;
        font-size: 1.1rem;
        cursor: pointer;
        box-shadow: 0 2px 8px #b8bac0;
        transition: background 0.2s;
    }
    .login-btn:hover {
        background: linear-gradient(90deg,#b983ff 0%, #8be9c1 100%);
        color: #fff;
    }
    .google-btn {
        background: #fff;
        color: #222;
        margin-top: 0.7rem;
        box-shadow: 0 2px 8px #b8bac0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.7em;
        transition: background 0.2s;
    }
    .google-btn:hover {
        background: #e0e5ec;
    }
    .google-btn i {
        font-size: 1.3em;
        color: #b983ff;
    }
    @media (max-width: 500px) {
        .modal-content.neumorphic {
            padding: 1.2rem 0.5rem;
            min-width: 90vw;
        }
        .yeti-face { width: 60px; height: 60px; }
    }
      #signup-modal .modal-content {
        max-width: 400px;
        margin: auto;
    }
    #signup-form input, #signup-form select {
        width: 100%;
        padding: 0.7rem;
        margin: 0.5rem 0;
        border-radius: 10px;
        border: 1px solid #b8bac0;
        background: #e0e5ec;
        box-shadow: none;
        font-size: 0.98rem;
        transition: border 0.2s;
    }
    #signup-form input:focus, #signup-form select:focus {
        outline: none;
        border: 1.5px solid #b983ff;
    }
    #signup-form select {
        color: #222;
    }
    @media (max-width: 500px) {
        #signup-modal .modal-content {
            max-width: 98vw;
            padding: 1rem 0.3rem;
        }
    }
.navbar-toggle {
    background: none;
    border: none;
    color: #8be9c1;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1000; /* Ensure it's on top */
    display: none;
}

@media (max-width: 850px) {
    .navbar { flex-direction: column; align-items: stretch; }
    .navbar-header { display: flex; justify-content: space-between; align-items: center; width: 100%; }
    .navbar-toggle { display: block; }
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #222; /* Slightly different background for the dropdown */
        padding: 1rem 0;
        border-top: 1px solid #444;
        margin-top: 0.5rem;
    }
    .navbar-menu.active { display: flex; }
    .navbar-links { flex-direction: column; gap: 0; align-items: center; margin: 0; }
    .navbar-links a {
        padding: 0.8rem 1rem;
        width: 100%;
        text-align: center;
        border-bottom: none;
    }
    .navbar-links a:hover { background-color: rgba(255, 255, 255, 0.05); }
    .navbar-actions {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        border-top: 1px solid #444;
        margin-top: 1rem;
    }
    .navbar-actions button { margin: 0; }
    .profile-menu { align-self: center; }
    .awards-header { flex-direction: column; gap: 1rem; }
    .awards-title { font-size: 1.5rem; }
    .awards-icon { font-size: 3.5rem; }
    .award-card { font-size: 1rem; padding: 1rem; max-width: 98vw; }
    .award-card-icon { font-size: 2rem; margin-right: 0.7rem; }

    .modal-content.neumorphic {
        padding: 1.2rem 0.5rem;
        min-width: 90vw;
    }
    .yeti-face { width: 60px; height: 60px; }
    #signup-modal .modal-content {
        max-width: 98vw;
        padding: 1rem 0.3rem;
    }
    .lightbox-content { width: 95%; }
}

@media (max-width: 700px) {
    /* Other general responsive styles */
    .hero-title { font-size: 2rem; }
    .hero-img { max-width: 95vw; }
    .footer-content { padding: 0 0.5rem; }
    .footer-logo { font-size: 1.2rem; }
    .footer-socials { gap: 1rem; }
}

@media (max-width: 900px) {
    .hero { flex-direction: column; padding: 2.5rem 1rem 2rem 1rem; }
    .hero-slideshow { margin: 0 0 2rem 0; height: 250px; }
    .stats-bar { flex-direction: column; gap: 1rem; align-items: flex-start; }
}
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}
@media (max-width: 700px) {
    .page-hero h1 { font-size: 2.2rem; }
    .page-hero p { font-size: 1.1rem; }
    .contact-grid {
        padding: 1.5rem;
    }
    .contact-form h2, .contact-info h2 {
        font-size: 1.8rem;
    }
}


/* --- Lightbox Modal Styles --- */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001; /* Higher than navbar */
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.lightbox.visible {
    display: block;
}
.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    animation-name: zoom;
    animation-duration: 0.4s;
}
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}
@media (max-width: 700px) {
    .lightbox-content {
        width: 95%;
    }
}

/* --- Agent Signup Modal Styles --- */
.agent-modal-content {
    background: #fff;
    border-radius: 24px;
    max-width: 550px;
    width: 95%;
    padding: 2rem 2.5rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    text-align: left;
    border-top: 8px solid #b983ff;
    position: relative;
}
.agent-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #181818;
    margin-bottom: 1rem;
}
.agent-modal-header .fa-hands-helping {
    font-size: 2.5rem;
    color: #b983ff;
}
.agent-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: bold;
}
.agent-modal-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #333;
}
.agent-modal-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}
.agent-modal-benefits li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}
.agent-modal-benefits .fa-check-circle {
    color: #8be9c1;
    font-size: 1.2rem;
}
.agent-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.agent-register-btn, .agent-close-btn {
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.agent-register-btn {
    background: linear-gradient(90deg,#8be9c1 0%, #b983ff 100%);
    color: #181818;
}
.agent-register-btn:hover {
    background: linear-gradient(90deg,#b983ff 0%, #8be9c1 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 233, 193, 0.4);
}
.agent-close-btn {
    background: #e0e5ec;
    color: #555;
}
.agent-close-btn:hover {
    background: #d1d9e6;
    color: #181818;
}

/* --- Programs Page Specific Styles --- */
.programs-list-section { max-width: 1200px; margin: 3rem auto; padding: 0 1rem; }
.section-title { font-size: 2.5rem; text-align: center; color: #b983ff; margin-bottom: 2rem; }

.no-training-notice {
    background: #fff;
    border-left: 6px solid #b983ff;
    padding: 1.5rem 2rem;
    margin: 0 auto 3rem auto;
    max-width: 800px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 12px #b8bac044;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.no-training-notice .fa-info-circle {
    font-size: 2.5rem;
    color: #b983ff;
}
.no-training-notice p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
}

.collapsible-container {
    max-width: 800px;
    margin: 1rem auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px #b8bac066;
    overflow: hidden;
    border: 1px solid #e0e5ec;
}
.collapsible-header {
    background: #fff;
    color: #181818;
    cursor: pointer;
    padding: 1.2rem 1.5rem;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.collapsible-header:hover {
    background-color: #f3f6f9;
}
.collapsible-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #b983ff;
}
.opportunity-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #e0e5ec;
    transition: transform 0.2s ease;
}
.opportunity-logo:hover {
    transform: scale(1.05);
}
.collapsible-icon {
    transition: transform 0.3s ease;
}
.collapsible-header.active .collapsible-icon {
    transform: rotate(180deg);
}
.collapsible-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fff;
}
.collapsible-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1.5rem 0;
    color: #333;
}
.collapsible-content .agent-register-btn {
    display: inline-block;
    width: auto;
    margin-bottom: 1.5rem;
}

/* --- SAL-DOS Workshop Theme --- */
.collapsible-container.sal-dos-theme {
    border-color: #b983ff;
    box-shadow: 0 4px 20px #b983ff33;
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
}
.sal-dos-theme .collapsible-title {
    color: #b983ff;
}
.workshop-registrations {
    background: #f3f6f9;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border-left: 4px solid #8be9c1;
}
.workshop-registrations h4 {
    margin: 0 0 1rem 0;
    color: #181818;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.workshop-popup {
    font-family: 'Segoe UI', Arial, sans-serif;
}
.workshop-popup h3 {
    margin-top: 0;
}
.workshop-popup ul {
    text-align: left;
}
.registration-count {
    font-weight: bold;
    color: #b983ff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.registered-names-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
}
.registered-name {
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border-left: 3px solid #8be9c1;
    font-size: 0.95rem;
}

/* --- NDE Collapsible Theme --- */
.collapsible-container.nde-theme {
    border-color: #3a86ff;
    box-shadow: 0 4px 20px #3a86ff33;
}
.nde-theme .collapsible-title {
    color: #3a86ff;
}
.nde-theme .collapsible-title .fa-building {
    color: #3a86ff;
}
.nde-theme .agent-register-btn {
    background: linear-gradient(90deg,#3a86ff 0%, #8be9c1 100%);
}
.nde-theme .agent-register-btn:hover {
    background: linear-gradient(90deg,#8be9c1 0%, #3a86ff 100%);
    box-shadow: 0 4px 12px rgba(58, 134, 255, 0.4);
}

.nde-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
    background: #f3f6f9;
    padding: 1rem;
    border-radius: 12px;
}
.nde-detail-item h4 {
    margin: 0 0 0.5rem 0;
    color: #181818;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nde-detail-item h4 .fas {
    color: #3a86ff;
}
.nde-detail-item p, .nde-detail-item ul {
    margin: 0;
    padding-left: 0;
    list-style-position: inside;
    font-size: 1rem;
    line-height: 1.5;
}
.collapsible-content h4 {
    font-size: 1.2rem;
    color: #181818;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e0e5ec;
    padding-bottom: 0.5rem;
}
.nde-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.nde-program-category h5 {
    font-size: 1.1rem;
    margin: 0 0 0.8rem 0;
    color: #3a86ff;
}
.nde-program-category ul {
    margin: 0;
    padding-left: 1.2rem;
    list-style-type: disc;
}
.nde-program-category ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #333;
}

/* --- Donors Section --- */
.donors-section {
    background: #f3f6f9;
    padding: 3rem 1rem;
    margin: 3rem 0;
}
.donors-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.donors-container h3 {
    font-size: 2rem;
    color: #181818;
    margin-bottom: 0.5rem;
}
.donors-container p {
    color: #555;
    margin-bottom: 2rem;
}
.donors-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.donor-item {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #8be9c1;
}
.donor-name {
    font-weight: bold;
    color: #181818;
    margin-bottom: 0.5rem;
}
.donor-amount {
    color: #b983ff;
    font-size: 1.1rem;
    font-weight: 500;
}
.loading-donors {
    grid-column: 1 / -1;
    color: #666;
    font-style: italic;
}

/* --- Newsletter Signup Section --- */
.newsletter-signup {
    max-width: 800px;
    margin: 4rem auto 2rem auto;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px #b8bac066;
    border-top: 6px solid #8be9c1;
}
.newsletter-signup h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #181818;
    margin: 0 0 1rem 0;
}
.newsletter-signup p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
#newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
#newsletter-form input {
    flex-grow: 1;
    max-width: 400px;
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px solid #b8bac0;
    font-size: 1rem;
    box-sizing: border-box;
}
#newsletter-form input:focus {
    outline: none;
    border-color: #b983ff;
    box-shadow: 0 0 0 3px #b983ff33;
}
#newsletter-form button {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg,#8be9c1 0%, #b983ff 100%);
    color: #181818;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
#newsletter-form button:hover {
    background: linear-gradient(90deg,#b983ff 0%, #8be9c1 100%);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    #newsletter-form {
        flex-direction: column;
    }
    #newsletter-form input {
        max-width: 100%;
    }
}

.footer { background: linear-gradient(135deg, #181818 0%, #2a2a2a 100%); color: #fff; padding: 3rem 0 1rem; margin-top: 4rem; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #8be9c1 0%, #b983ff 100%); }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand .footer-logo { font-size: 2.2rem; font-weight: bold; color: #8be9c1; margin-bottom: 0.5rem; letter-spacing: 2px; }
.footer-tagline { color: #b983ff; font-size: 1.1rem; margin-bottom: 1.5rem; font-weight: 500; }
.footer-stats { display: flex; gap: 1.5rem; }
.stat-item { text-align: center; }
.stat-item span { display: block; font-size: 1.8rem; font-weight: bold; color: #8be9c1; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.link-group h4 { color: #b983ff; font-size: 1.2rem; margin-bottom: 1rem; font-weight: bold; }
.link-group a { display: block; color: #ccc; text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; }
.link-group a:hover { color: #8be9c1; }
.contact-item { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: #ccc; }
.contact-item i { color: #b983ff; width: 16px; }
.contact-item a { color: #ccc; text-decoration: none; }
.contact-item a:hover { color: #8be9c1; }
.footer-bottom { border-top: 1px solid #333; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(139,233,193,0.1); border-radius: 50%; color: #8be9c1; transition: all 0.3s; }
.footer-socials a:hover { background: #8be9c1; color: #181818; transform: translateY(-2px); }
.footer-copy { color: #999; font-size: 0.9rem; }

@media (max-width: 700px) {
    .navbar { flex-direction: column; align-items: flex-start; padding: 1rem; }
    .navbar-links { flex-direction: column; gap: 1rem; margin-top: 1rem; }
    .modal-content.neumorphic { padding: 1.2rem 0.5rem; min-width: 90vw; }
    .yeti-face { width: 60px; height: 60px; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; } 
    .footer-links { grid-template-columns: 1fr; gap: 1.5rem; } 
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; } 
    .footer-stats { justify-content: center; } 
}

/* --- Profile Modal Styles --- */
.profile-modal-content {
    max-width: 500px;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    border-top: 8px solid #8be9c1;
    background-color: #fff;
}
.profile-modal-header {
    background: linear-gradient(120deg, #181818 0%, #8be9c1 60%, #b983ff 100%);
    color: #fff;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}
#profile-modal-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    margin-bottom: 1rem;
    background-color: #333;
    object-fit: cover;
}
#profile-modal-name {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
#profile-modal-email {
    margin: 0.2rem 0 0 0;
    font-size: 1.1rem;
    opacity: 0.9;
}
.profile-modal-body {
    padding: 2rem;
}
.profile-modal-body h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #181818;
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.detail-item { background: #f3f6f9; padding: 1rem; border-radius: 12px; font-size: 1rem; }
.detail-item strong { display: block; color: #b983ff; font-size: 0.9rem; margin-bottom: 0.3rem; text-transform: uppercase; }
.detail-item span { color: #333; font-weight: 500; }
.detail-item.full-width { grid-column: 1 / -1; }

@media (max-width: 600px) {
    .profile-details-grid { grid-template-columns: 1fr; }
}

/* --- Donation Modal Styles --- */
.amount-options h4 {
    margin: 1rem 0 0.5rem 0;
    color: #181818;
    font-size: 1.1rem;
}
.amount-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}
@media (max-width: 600px) {
    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}
.amount-btn {
    padding: 0.8rem;
    border: 2px solid #e0e5ec;
    background: #fff;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.amount-btn:hover, .amount-btn.selected {
    border-color: #b983ff;
    background: #f3f6f9;
    color: #b983ff;
}
#custom-amount {
    margin-top: 0.5rem;
}

/* --- About Page Styles --- */
.about-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 24px #b8bac033;
}
.about-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #b983ff;
    text-align: center;
    margin-bottom: 1.5rem;
}
.about-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #333;
}
.about-founder {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    background: #f3f6f9;
    padding: 2rem;
    border-radius: 16px;
}
.founder-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #8be9c1;
    flex-shrink: 0; /* Prevents image from shrinking on flex containers */
}
.founder-info h3 {
    font-size: 1.8rem; color: #181818; margin: 0 0 0.5rem 0;
    line-height: 1.3; /* Improve readability for wrapped text */
    overflow-wrap: break-word; /* Prevent overflow for long text strings */
}
.founder-info p { font-size: 1.05rem; margin: 0; }

@media (max-width: 700px) {
    .about-section { padding: 1.5rem; margin: 2rem 1rem; }
    .about-founder { flex-direction: column; text-align: center; padding: 1.5rem; }
    .founder-info h3 { font-size: 1.5rem; }
}