/* ============================================
   ACADEMICS PAGE — PREMIUM STYLES
   Cambridge Model Sr. Sec. School
   ============================================ */

/* ============================================
   SHARED SECTION HEADER
   ============================================ */
.acad-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.acad-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    color: #C9A24D;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.acad-badge-light {
    display: inline-block;
    background: rgba(201, 162, 77, 0.15);
    color: #C9A24D;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.acad-section-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 14px;
}

.acad-section-header p {
    color: #6b7280;
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   QUICK STATS (overlapping hero)
   ============================================ */
.acad-stats-section {
    padding: 0;
    position: relative;
    z-index: 2;
    margin-top: -50px;
}

.acad-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.acad-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px 18px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 162, 77, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.acad-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    border-color: rgba(201, 162, 77, 0.3);
}

.acad-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0B3D2E;
    margin-bottom: 4px;
    line-height: 1.1;
}

.acad-stat-label {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
}

/* ============================================
   CAMBRIDGE PATHWAY
   ============================================ */
.acad-pathway-section {
    padding: 80px 0;
    background: #fff;
}

.acad-pathway-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.acad-pathway-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(201, 162, 77, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.acad-pathway-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 162, 77, 0.25);
}

.acad-pathway-step {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(11, 61, 46, 0.06);
    line-height: 1;
}

.acad-pathway-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 22px;
    margin-bottom: 18px;
}

.acad-pathway-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 8px;
}

.acad-grades {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(201, 162, 77, 0.12);
    color: #8B6914;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.acad-pathway-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.65;
}

/* ============================================
   SUBJECTS
   ============================================ */
.acad-subjects-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFF8EE, #FFF0DB);
}

.acad-subjects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.acad-subject-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 162, 77, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.acad-subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
    border-color: rgba(201, 162, 77, 0.25);
}

.acad-subject-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: linear-gradient(135deg, #FFF8EE, #FFF0DB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 20px;
    margin-bottom: 16px;
    transition: all 0.35s ease;
}

.acad-subject-card:hover .acad-subject-icon {
    background: linear-gradient(135deg, #0B3D2E, #155d47);
}

.acad-subject-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 10px;
}

.acad-subject-card p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ============================================
   TEACHING METHODOLOGY
   ============================================ */
.acad-method-section {
    padding: 80px 0;
    background: #fff;
}

.acad-method-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.acad-method-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.acad-method-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.acad-method-content .acad-badge {
    margin-bottom: 12px;
}

.acad-method-content h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 14px;
}

.acad-method-intro {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 28px;
}

.acad-method-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.acad-method-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.acad-method-check {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 12px;
    margin-top: 2px;
}

.acad-method-item h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 3px;
}

.acad-method-item p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.55;
}

/* ============================================
   ASSESSMENT
   ============================================ */
.acad-assess-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFF8EE, #FFF0DB);
}

.acad-assess-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.acad-assess-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 162, 77, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.acad-assess-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 162, 77, 0.25);
}

.acad-assess-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFF8EE, #FFF0DB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 24px;
    margin: 0 auto 18px;
    transition: all 0.35s ease;
}

.acad-assess-card:hover .acad-assess-icon {
    background: linear-gradient(135deg, #0B3D2E, #155d47);
}

.acad-assess-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 10px;
}

.acad-assess-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.65;
}

/* ============================================
   ACADEMIC SUPPORT
   ============================================ */
.acad-support-section {
    padding: 80px 0;
    background: #fff;
}

.acad-support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 900px;
    margin: 0 auto;
}

.acad-support-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 162, 77, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.acad-support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(201, 162, 77, 0.25);
}

.acad-support-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 13px;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 19px;
}

.acad-support-card h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 6px;
}

.acad-support-card p {
    font-size: 0.87rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ============================================
   STEM & INNOVATION
   ============================================ */
.acad-stem-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0B3D2E 0%, #155d47 50%, #0B3D2E 100%);
    position: relative;
    overflow: hidden;
}

.acad-stem-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(201, 162, 77, 0.05);
}

.acad-stem-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(201, 162, 77, 0.04);
}

.acad-stem-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.acad-stem-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.acad-stem-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.acad-stem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.acad-stem-card {
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.acad-stem-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(201, 162, 77, 0.3);
}

.acad-stem-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(201, 162, 77, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 24px;
    margin: 0 auto 18px;
    transition: all 0.35s ease;
}

.acad-stem-card:hover .acad-stem-icon {
    background: rgba(201, 162, 77, 0.25);
}

.acad-stem-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.acad-stem-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.acad-cta-section {
    padding: 72px 0;
    background: linear-gradient(180deg, #FFF8EE, #FFF0DB);
}

.acad-cta-content {
    text-align: center;
}

.acad-cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 14px;
}

.acad-cta-content p {
    color: #6b7280;
    font-size: 1.02rem;
    max-width: 550px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.acad-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.acad-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 4px 16px rgba(11, 61, 46, 0.2);
}

.acad-btn-primary:hover {
    background: linear-gradient(135deg, #155d47, #1a7a5e);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 61, 46, 0.3);
}

.acad-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 12px;
    background: transparent;
    color: #0B3D2E;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(11, 61, 46, 0.25);
    transition: all 0.35s ease;
}

.acad-btn-secondary:hover {
    background: rgba(11, 61, 46, 0.05);
    border-color: #0B3D2E;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 992px) {
    .acad-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .acad-stats-section {
        margin-top: -20px;
    }

    .acad-pathway-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .acad-subjects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .acad-method-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .acad-method-image {
        max-height: 350px;
    }

    .acad-assess-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .acad-support-grid {
        grid-template-columns: 1fr;
    }

    .acad-stem-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .acad-section-header h2 {
        font-size: 1.7rem;
    }

    .acad-stem-header h2 {
        font-size: 1.7rem;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 576px) {
    .acad-stats-section {
        margin-top: 0;
    }

    .acad-stats-section {
        margin-top: 0;
    }

    .acad-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .acad-stat-card {
        padding: 18px 10px;
    }

    .acad-stat-number {
        font-size: 1.4rem;
    }

    .acad-stat-label {
        font-size: 0.7rem;
    }

    .acad-pathway-section,
    .acad-subjects-section,
    .acad-method-section,
    .acad-assess-section,
    .acad-support-section,
    .acad-stem-section,
    .acad-cta-section {
        padding: 55px 0;
    }

    .acad-section-header {
        margin-bottom: 32px;
    }

    .acad-section-header h2 {
        font-size: 1.35rem;
    }

    .acad-section-header p {
        font-size: 0.9rem;
    }

    .acad-subjects-grid {
        grid-template-columns: 1fr;
    }

    .acad-pathway-card {
        padding: 28px 22px;
    }

    .acad-subject-card {
        padding: 24px 20px;
    }

    .acad-assess-card {
        padding: 28px 22px;
    }

    .acad-support-card {
        padding: 20px 18px;
        gap: 14px;
    }

    .acad-support-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 16px;
    }

    .acad-method-content h2 {
        font-size: 1.4rem;
    }

    .acad-stem-header h2 {
        font-size: 1.35rem;
    }

    .acad-stem-card {
        padding: 28px 22px;
    }

    .acad-cta-content h2 {
        font-size: 1.35rem;
    }

    .acad-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .acad-btn-primary,
    .acad-btn-secondary {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}
