* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #238cc7;
    --secondary-blue: #1a6b96;
    --light-blue: #e8f4fd;
    --white: #ffffff;
    --black: #000000;
    --gray: #666666;
    --light-gray: #f8f9fa;
    --dark-overlay: rgba(0, 0, 0, 0.5);
    --darker-overlay: rgba(0, 0, 0, 0.7);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(47, 48, 48, 0.89);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 6rem;
    width: auto;
}

.nav-logo span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding-top: 2.5rem;
    height: 135vh;
    background: linear-gradient(var(--dark-overlay), var(--dark-overlay)), url('./images/boychild.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-text h1 {
    font-size: 3.0rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Times New Roman', Times, serif;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mission-vision-card {
    background: var(--light-blue);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.mission-vision-card .icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mission-vision-card .icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.mission-vision-card h4 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 15px;
}

/* Programs Section */
.programs {
    background: linear-gradient(var(--darker-overlay), var(--darker-overlay)), url('./images/clergy.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.bg-overlay .section-header h2,
.bg-overlay .section-header p {
    color: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.program-icon i {
    font-size: 2rem;
    color: var(--white);
}

.program-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.program-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Projects Section */
.projects {
    background: var(--light-gray);
    position: relative;
    z-index: 2;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: scale(1.05);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.project-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Founder Section */
.founder {
    background: linear-gradient(var(--darker-overlay), var(--darker-overlay));
    background-color: #84ecf8;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: var(--white);
    position: relative;
    z-index: 3;
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.founder-image {
    text-align: center;
}

.founder-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-blue);
}

.founder-text h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.founder-text h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.founder-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.founder-qualities {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.quality {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quality i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    width: 20px;
}

.quality span {
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--white);
    position: relative;
    z-index: 4;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.contact-details h4 {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray);
    line-height: 1.6;
}

.social-media {
    text-align: center;
}

.social-media h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
}

.social-link i {
    color: var(--white);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    position: relative;
    z-index: 5;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo img {
    height: 30px;
    width: 30px;
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-blue);
}

.footer-social i {
    color: var(--white);
    font-size: 1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .projects-gallery {
        grid-template-columns: 1fr;
    }

    .founder-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .projects-gallery {
        grid-template-columns: 1fr;
    }
    
    .project-item {
        height: 250px;
    }
    
    .founder-image img {
        width: 250px;
        height: 250px;
    }
}