/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5a6c7d;
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #5a6c7d;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #5a6c7d;
}

/* Hero Image Section */
.hero-image {
    position: relative;
    height: 500px;
    background-image: url('Images/Cover Image - The Learning Team.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Intro Section */
.intro {
    padding: 5rem 0;
    background-color: #f0f0f0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.centered {
    text-align: center;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #fff;
}

.large-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #444;
}

.large-text strong {
    color: #5a6c7d;
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    text-align: center;
    background-color: #fff;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Core Beliefs Section */
.core-beliefs {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.core-beliefs-wrapper {
    position: relative;
}

.core-beliefs-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: block;
}

.core-beliefs-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    z-index: 10;
}

.core-beliefs-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
}

.core-beliefs-overlay .btn {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Services Page Header */
.page-header {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
}

/* Services Intro */
.services-intro {
    padding: 4rem 0;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

/* Service Items */
.service-item {
    padding: 5rem 0;
    background-color: #fff;
}

.service-item.alternate {
    background-color: #f8f9fa;
}

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

.service-item h2 {
    font-size: 2.5rem;
    color: #5a6c7d;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-item p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero-image {
        height: 400px;
        background-attachment: scroll;
    }

    .core-beliefs-overlay h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .service-item h2 {
        font-size: 2rem;
    }

    .large-text,
    .service-item p {
        font-size: 1.125rem;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-image {
        height: 350px;
    }

    .core-beliefs-overlay h2 {
        font-size: 1.75rem;
    }

    .nav-brand a {
        font-size: 1.25rem;
    }

    .service-item h2 {
        font-size: 1.75rem;
    }
}