* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1bb7bc 0%, #006f6b 50%, #00313b 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="180" fill="url(%23a)"/><circle cx="800" cy="300" r="120" fill="url(%23a)"/><circle cx="400" cy="600" r="150" fill="url(%23a)"/></svg>') repeat;
    animation: float 25s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translate(-30px, -30px) rotate(0deg); }
    25% { transform: translate(30px, -40px) rotate(90deg); }
    50% { transform: translate(40px, 30px) rotate(180deg); }
    75% { transform: translate(-40px, 40px) rotate(270deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.4rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.hero-image {
    width: 200px;
    height: 150px;
    border-radius: 15px;
    margin: 30px auto 0;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    object-fit: cover;
}

/* Foundation Overview */
.foundation-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #e4e7e8 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00313b;
}

.section-subtitle {
    text-align: center;
    color: #006f6b;
    margin-bottom: 50px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pillar-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 49, 59, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #1bb7bc;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(27, 183, 188, 0.1), transparent);
    transition: left 0.5s ease;
}

.pillar-card:hover::before {
    left: 100%;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 49, 59, 0.2);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #006f6b;
    display: block;
}

.pillar-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #00313b;
}

/* Impact Statistics */
.impact-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #1bb7bc 0%, #006f6b 50%, #00313b 100%);
    color: white;
    position: relative;
}

.impact-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1bb7bc;
    text-shadow: 0 0 20px rgba(27, 183, 188, 0.5);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Children Images Section */
.children-showcase {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

.children-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.children-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 49, 59, 0.15);
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #a1e8e8, #e4e7e8);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.children-image-card:hover {
    transform: scale(1.02);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #006f6b;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 40px 20px;
}

.image-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #1bb7bc;
}

/* Programs Section */
.programs {
    padding: 80px 0;
    background: linear-gradient(135deg, #a1e8e8 0%, #e4e7e8 100%);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.program-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    border: 2px solid #1bb7bc;
}

.program-card:hover {
    transform: scale(1.02);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1bb7bc, #006f6b, #00313b);
}

.program-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00313b;
    margin-bottom: 15px;
}

.program-description {
    color: #006f6b;
    margin-bottom: 25px;
    line-height: 1.7;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.program-impact {
    background: linear-gradient(135deg, #1bb7bc, #006f6b);
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    display: inline-block;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(27, 183, 188, 0.3);
}

/* Focus Areas */
.focus-areas {
    padding: 80px 0;
    background: #ffffff;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.focus-card {
    background: linear-gradient(135deg, #ffffff 0%, #e4e7e8 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 49, 59, 0.12);
    transition: all 0.3s ease;
    border: 1px solid #1bb7bc;
}

.focus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 49, 59, 0.2);
}

.focus-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #006f6b;
}

.focus-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00313b;
    margin-bottom: 15px;
}

.focus-description {
    color: #006f6b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #e4e7e8 0%, #a1e8e8 100%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 49, 59, 0.15);
    text-align: center;
    border: 1px solid #1bb7bc;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: #1bb7bc;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #006f6b;
    margin-top: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1bb7bc, #006f6b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    border: 3px solid #1bb7bc;
    box-shadow: 0 5px 15px rgba(27, 183, 188, 0.3);
}

.author-info {
    text-align: left;
}

.author-info h4 {
    color: #00313b;
    margin-bottom: 5px;
}

.author-info p {
    color: #006f6b;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .programs-grid,
    .focus-grid,
    .testimonial-grid,
    .children-gallery {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0;
    }

    .pillar-card,
    .program-card,
    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-author {
        justify-content: flex-start;
    }

    .children-image-card {
        min-height: 200px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .program-card {
        max-width: none;
    }
}

/* Performance optimizations */
.pillar-card,
.program-card,
.focus-card,
.testimonial-card,
.stat-item {
    will-change: transform;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .hero::before,
    .impact-stats::before {
        display: none;
    }
    
    .hero,
    .impact-stats {
        background: #1bb7bc !important;
        color: white !important;
    }
}