/* Page Header */
.page-header {
    margin-top: 70px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
}

.page-header .container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000080;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #000080;
    margin-bottom: 10px;
}

.page-description {
    font-size: 16px;
    color: #6c757d;
    max-width: 600px;
}

/* Page Section */
.page-section {
    padding: 80px 20px;
}

.page-section.bg-light {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #000080;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 50px;
}

/* About Page */
.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.section-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: #000080;
    margin-bottom: 20px;
}

.section-text p {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.section-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    padding: 40px;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #000080;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000080;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.8;
}

/* Founders Grid */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-card {
    text-align: center;
}

.founder-image {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.founder-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.founder-card:hover .founder-image img {
    transform: scale(1.05);
}

.founder-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000080;
    margin-bottom: 5px;
}

.founder-title {
    font-size: 14px;
    color: #000080;
    font-weight: 600;
    margin-bottom: 10px;
}

.founder-card p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.8;
}

/* Subjects Page */
.subjects-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.curriculum-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 2px solid #e9ecef;
    justify-content: center;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn.active {
    color: #000080;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #000080;
}

.tab-btn:hover {
    color: #000080;
}

.tab-content {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #000080;
    margin-bottom: 10px;
}

.curriculum-description {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 40px;
}

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

.subject-category {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.subject-category h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000080;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subject-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subject-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #343a40;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.subject-badge:hover {
    background-color: #000080;
    color: #ffffff;
    border-color: #000080;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 128, 0.2);
}

.subject-badge.core {
    background-color: rgba(0, 0, 128, 0.1);
    border-color: #000080;
    color: #000080;
}

.subject-badge.core:hover {
    background-color: #000080;
    color: #ffffff;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 800;
    color: #000080;
    margin-bottom: 15px;
}

.contact-info > p {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-method {
    margin-bottom: 30px;
}

.contact-method h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000080;
    margin-bottom: 10px;
}

.contact-method p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.contact-method a {
    color: #000080;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-detail {
    font-size: 12px;
    color: #999999;
    margin-top: 5px !important;
}

/* Contact Form */
.contact-form {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000080;
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 28px;
    }

    .section-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .curriculum-tabs {
        flex-wrap: wrap;
        border-bottom: 1px solid #e9ecef;
    }

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

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

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

    .section-title {
        font-size: 28px;
    }

    .section-text h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 22px;
    }

    .page-description {
        font-size: 14px;
    }

    .section-title {
        font-size: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}
