/* school.css - Styles for school partnerships page */

/* Reset and Base Styles */
:root {
    --primary-blue: #0066ff;
    --primary-orange: #ff6b35;
    --blue-dark: #0052d4;
    --orange-dark: #e55a2f;
    --blue-light: #e6f0ff;
    --orange-light: #fff0e6;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #212529;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --dark-bg: #0f172a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-blue {
    color: var(--primary-blue);
}

.text-orange {
    color: var(--primary-orange);
}

.text-center {
    text-align: center;
}

.text-bold {
    font-weight: 700;
}

/* Hero Section */
.schools-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--blue-light) 0%, rgba(255, 107, 53, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.schools-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.1;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    color: var(--medium-gray);
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
    max-width: 800px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Button Styles */
.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-orange {
    background: var(--primary-orange);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-orange:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Content Sections */
.section {
    padding: 80px 0;
}

.section-title {
    color: var(--primary-blue);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
}

.section-subtitle {
    color: var(--medium-gray);
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 800px;
}

.centered-title {
    text-align: center;
}

.centered-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Background Sections */
.curriculum-section,
.delivery-section,
.partnership-section {
    background: var(--light-gray);
}

.global-recognition-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 100%);
    color: white;
}

.global-recognition-section .section-title {
    color: white;
}

.global-recognition-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary-blue);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-orange {
    border-top-color: var(--primary-orange);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.card-orange .card-icon {
    background: var(--orange-light);
    color: var(--primary-orange);
}

.card-title {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.card-description {
    color: var(--medium-gray);
    margin-bottom: 15px;
}

.card-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.card-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--medium-gray);
}

.card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.card-orange .card-list li::before {
    color: var(--primary-orange);
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.program-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.program-badge {
    display: inline-block;
    background: var(--orange-light);
    color: var(--primary-orange);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Global Cards */
.global-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.global-card .card-title {
    color: white;
}

.global-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

/* Partnership Grid */
.partnership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.partnership-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.partnership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-blue);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
}

.timeline-content {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    position: relative;
    width: calc(50% - 30px);
    margin-left: 50%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 25px;
    width: 20px;
    height: 20px;
    background: var(--primary-orange);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-blue);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: calc(50% - 20px);
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Form */
.school-contact-form {
    max-width: 800px;
    margin: 40px auto;
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.interest-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 6px;
    background: var(--light-gray);
    cursor: pointer;
}

.interest-option:hover {
    background: var(--blue-light);
}

.interest-option input[type="checkbox"] {
    width: auto;
}

.form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.call-btn {
    background: var(--primary-orange);
    color: white;
}

.call-btn:hover {
    background: var(--orange-dark);
}

/* Utility Classes */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .section {
        padding: 60px 0;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 30px;
    }

    .interests-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partnership-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: calc(50% - 20px);
    }
}