:root {
    --teal: #0F8C8C;
    --deep-teal: #0A5C5C;
    --gold: #F3A623;
    --light-gold: #FFD47A;
    --soft-mint: #E5F7F4;
    --white: #FFFFFF;
    
    --heading-font: 'Poppins', system-ui, sans-serif;
    --body-font: 'Inter', system-ui, sans-serif;
    --display-font: 'Nunito', system-ui, sans-serif;
    
    --border-radius: 20px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
}

::selection {
    background: var(--teal);
    color: var(--white);
}
::-webkit-scrollbar-track{
    background: var(--white);
}
::-webkit-scrollbar-thumb{
    background: var(--teal);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover{
    background: var(--gold);
}
::-webkit-scrollbar-thumb:active{
    background: var(--deep-teal);
}
::-webkit-scrollbar-thumb:focus{
    background: var(--gold);
}
::-webkit-scrollbar-thumb:disabled{
    background: var(--light-gold);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: #333;
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--display-font);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--deep-teal);
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--deep-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--deep-teal);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    text-decoration: none;
    display: inline-block;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--deep-teal);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(229, 247, 244, 0.7) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(253, 243, 226, 0.7) 100%), 
                url('logo.jpg') center/contain no-repeat;
    background-color: #E5F7F4;
    padding-top: 80px;
}

.hero-content {
    width: 100%;
    padding: 0 5%;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--display-font);
    font-size: 3.5rem;
    color: var(--deep-teal);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--teal);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-cta-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    text-decoration: none;
    display: inline-block;
}

.cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.cta-secondary {
    background: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-secondary:hover {
    background: var(--teal);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Sections */
.section {
    padding: 2rem 5%;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--deep-teal);
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--teal);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Youth Empowerment Section */
.youth-empowerment {
    background: linear-gradient(135deg, var(--soft-mint) 0%, #f8fdfb 100%);
}

.youth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.youth-content h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--deep-teal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.youth-content h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--teal);
    margin-bottom: 1.5rem;
}

.youth-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.program-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-checkbox {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-right: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-checkbox.checked {
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-checkbox.unchecked {
    background: #e0e0e0;
}

.feature-text h4 {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    color: var(--deep-teal);
    margin-bottom: 0.5rem;
}

.feature-text p {
    margin-bottom: 0;
    font-size: 1rem;
    color: #666;
}

.youth-image {
    background: var(--soft-mint);
    height: 500px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.youth-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 140, 140, 0.1) 0%, rgba(10, 92, 92, 0.2) 100%);
}

.youth-image-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

.youth-image-content h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--deep-teal);
    margin-bottom: 1rem;
}

.youth-image-content p {
    margin-bottom: 2rem;
    color: var(--teal);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-image {
    background: var(--soft-mint);
    height: 400px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

/* About highlight styles */
.about-highlight {
    background: linear-gradient(135deg, rgba(15,140,140,0.05) 0%, rgba(243,166,35,0.03) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.about-card {
    background: white;
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 6px 18px rgba(10, 76, 76, 0.06);
    border-left: 4px solid var(--teal);
}

.about-card h4 {
    margin-bottom: 0.5rem;
    font-family: var(--heading-font);
    color: var(--deep-teal);
}

.about-card ul {
    list-style-type: none;
    margin-bottom: 10px;
}

.about-cta {
    display: inline-block;
    margin-top: 1.4rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow);
}

/* Mini stats slideshows (three separate autoplay slides) */
.mini-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    margin: 2.5rem 0;
    padding: 0 5%;
    /* background: green; */
}

.mini-stat {
    /* flex: 1 1 0; */
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(245,250,249,0.9));
    border-radius: 16px;
    padding: 1.4rem;
    text-align: center;
    box-shadow: var(--shadow);
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.mini-slider { position: relative; min-height: 110px; }
.mini-slide { position: absolute; inset: 0; display:flex; flex-direction:column; justify-content:center; align-items:center; opacity:0; visibility:hidden; transition: opacity 500ms ease, transform 500ms ease; transform: translateY(8px); }
.mini-slide.active { opacity:1; visibility:visible; transform: translateY(0); }

.mini-number { font-family: var(--display-font); font-size: 48px; color: var(--gold); font-weight: 800; }
.mini-label { font-size: 18px; color: var(--deep-teal); margin-top: 6px; }

@media (max-width: 900px) {
    .mini-stats { flex-direction: column; padding: 0 4%; }
}

.founders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.founder-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.founder-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--soft-mint);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 2.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 50%;
    background: #fff;
}

.founder-name {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    color: var(--deep-teal);
    margin-bottom: 0.5rem;
}

.founder-role {
    color: var(--teal);
    margin-bottom: 1rem;
}

/* Program Cards */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--gold) 100%);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.program-icon {
    width: 60px;
    height: 60px;
    background: var(--soft-mint);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--teal);
    font-size: 1.5rem;
}

.program-title {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    color: var(--deep-teal);
    margin-bottom: 1rem;
}

.program-description {
    color: #555;
    margin-bottom: 1.5rem;
}

.program-link {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.program-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s;
}

.program-link:hover::after {
    transform: translateX(5px);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--teal) 0%, var(--deep-teal) 100%);
    color: white;
    text-align: center;
    padding: 4rem 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: var(--display-font);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--light-gold);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--soft-mint);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--deep-teal);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--body-font);
    transition: border 0.3s;
}

.form-control:focus {
    border-color: var(--teal);
    outline: none;
}

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

.form-submit-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Donation Section */
.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.donation-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.donation-amount {
    font-family: var(--display-font);
    font-size: 2.5rem;
    color: var(--gold);
    margin: 1rem 0;
}

/* Footer */
.footer {
    background: var(--deep-teal);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-family: var(--heading-font);
    margin-bottom: 1.5rem;
    color: var(--light-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--light-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Page Sections */
.page-section {
    display: none;
    padding-top: 100px;
}

.page-section.active {
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        height: auto;
        /* padding: 8rem 0 4rem; */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta-container {
        justify-content: center;
    }
    
    .founders {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .logo-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 250px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Testimonials slider styles */
.testimonial-slider { 
    position: relative;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    min-height: 260px; /* will be adjusted by JS on init */
}

.testimonial-card { 
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 100%;
    max-width: 900px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 600ms ease, transform 600ms ease;
    box-sizing: border-box;
    padding: 25px;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.12);
    border: none;
    cursor: pointer;
}

.testimonial-dot.active { background: var(--teal); }

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.testimonial-btn {
    background: var(--teal);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.testimonial-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }


