/* ===================================
   CSS Variables & Reset
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-green: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Source Sans Pro", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ===================================
   Header & Navigation
   =================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 62px;
    width: auto;
    padding-top: 5px;
}

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

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

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

.cta-button {
    background: var(--accent-green);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    margin-top: 70px;
    height: 600px;
    /* Removing static background for slideshow */
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Gradient Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,rgba(15,40,80,0.65),rgba(15,40,80,0.40),rgba(15,40,80,0.20));
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;

    animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.06);
    }
}


.hero-slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease;
    z-index: 2; /* Ensure content is above slides and overlay */
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--accent-green);
    color: white;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* ===================================
   Quick Facts Section
   =================================== */
.quick-facts {
    background: var(--bg-light);
    padding: 3rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.fact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.fact-card:hover {
    transform: translateY(-5px);
}

.fact-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 5rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    font-weight: 700;
}

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

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

.about-image {
    width: 100%;
    height: 400px;
    background: url('../images/about/about-image.jpg') center/cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ===================================
   Founders Section
   =================================== */
.founders {
    background: var(--bg-light);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.founder-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.founder-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.founder-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    overflow: hidden;
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-info h3 {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.founder-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.founder-message {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Programs Section
   =================================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.program-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.program-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ... existing styles ... */

.program-link {
    display: inline-block;
    margin-top: auto; /* Pushes link to bottom */
    color: var(--secondary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    padding-top: 1rem;
}

.program-link:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.program-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.program-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: var(--bg-light);
    color: var(--secondary-blue);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.program-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.program-link:hover {
    color: var(--accent-green);
}

/* ===================================
   Partners Section
   =================================== */
.partners {
    background: var(--primary-blue);
    color: white;
}

.partners .section-title {
    color: white;
}

.partners .section-subtitle {
    color: rgba(255,255,255,0.9);
}

/* Partners Carousel */
.partners-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-track-container {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.partner-slide {
    flex: 0 0 33.333%;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .partner-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .partner-slide {
        flex: 0 0 100%;
    }
}

.carousel-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255,255,255,0.6);
}

.partner-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    height: 100%;
    box-sizing: border-box;
    text-align: center;
}

.partner-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.partner-logo {
    width: 180px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    padding: 0.1rem;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.partner-card p {
    opacity: 0.9;
    line-height: 1.7;
    font-size: 0.95rem;
}

.partner-link {
    display: inline-block;
    margin-top: 1rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.partner-link:hover {
    color: var(--accent-green);
    transform: translateX(5px);
    
}

/* ===================================
   Impact Stats Section
   =================================== */
.impact-stats {
    background: linear-gradient(135deg, var(--accent-green), #059669);
    color: white;
    text-align: center;
}

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

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: var(--bg-light);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

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

/* ===================================
   Footer
   =================================== */
footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    text-decoration: none;
    color: white;
}

.social-icon img {
    width: 34px;
    height: 34px;
    margin: 3px;
    filter: brightness(0) invert(1);
}

.social-icon:hover {
    background: var(--accent-green);
}

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

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* 
---

## File: `css/responsive.css` */


/* ===================================
   Tablet Responsive (768px - 1024px)
   =================================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-content {
        gap: 3rem;
    }

    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* ===================================
   Mobile Responsive (max-width: 768px)
   =================================== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .cta-button {
        display: none;
    }

    .logo img {
        height: 50px;
    }

    /* Hero Section */
    .hero {
        height: 500px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Quick Facts */
    .facts-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .fact-number {
        font-size: 2.5rem;
    }

    /* Section Padding */
    section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin: -1.5rem auto 2rem;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 300px;
    }

    /* Founders Section */
    .founders-grid {
        grid-template-columns: 1fr;
    }

    .founder-card {
        padding: 2rem;
    }

    .founder-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Programs Section */
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .program-image {
        height: 200px;
    }

    /* Partners Section */
    .partners-grid {
        grid-template-columns: 1fr;
    }

    /* Impact Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .stat-item p {
        font-size: 0.95rem;
    }

    /* CTA Section */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    footer {
        padding: 3rem 1.5rem 2rem;
    }
}

/* ===================================
   Small Mobile (max-width: 480px)
   =================================== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .fact-number {
        font-size: 2rem;
    }

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

    .stat-item h3 {
        font-size: 2rem;
    }

    nav {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }
}

/* ===================================
   Partners Carousel Mobile Adjustments
   =================================== */
@media (max-width: 768px) {
    .partners-carousel {
        position: relative;
        display: block; /* Remove flex behavior that might restrict width */
    }

    .carousel-track-container {
        width: 100%;
        margin: 0;
    }

    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 40px;
        height: 40px;
        background: rgba(30, 58, 138, 0.8); /* Make them more visible/consistent with theme */
    }

    .carousel-btn:hover {
        background: rgba(30, 58, 138, 1);
        transform: translateY(-50%) scale(1.1);
    }
    
    .carousel-prev {
        left: 0;
    }
    
    .carousel-next {
        right: 0;
    }
}
