/* ============================================
   SERVICES / ACADEMICS PAGE — Full Width
   ============================================ */

.services-page {
    width: 100%;
    overflow-x: clip;
}

.services-page section {
    padding: 40px 0 !important;
    margin: 0;
    width: 100%;
}

.svc-section-head {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 clamp(16px, 4vw, 48px);
}

.svc-section-head .bf-tagline {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--royal-blue);
    margin-bottom: 8px;
}

.svc-section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.svc-section-head p {
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.svc-section-head .header-divider {
    width: 50px;
    height: 3px;
    background: var(--royal-blue);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ---- Intro strip ---- */
.svc-intro {
    width: 100%;
    background: var(--light-gray);
    padding: 28px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.svc-intro-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
}

.svc-intro-item {
    text-align: center;
    padding: 16px clamp(12px, 2vw, 24px);
    border-right: 1px solid var(--medium-gray);
}

.svc-intro-item:last-child {
    border-right: none;
}

.svc-intro-item i {
    font-size: 1.5rem;
    color: var(--royal-blue);
    margin-bottom: 10px;
}

.svc-intro-item h6 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.svc-intro-item p {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0;
}

/* ---- Hero intro ---- */
.svc-hero {
    padding-top: 40px !important;
}

.svc-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    align-items: stretch;
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.svc-hero-text {
    background: #fff;
    padding: clamp(28px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.svc-hero-text h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.svc-hero-text .lead {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.svc-hero-stats {
    display: flex;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--medium-gray);
}

.svc-hero-stat h4 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--royal-blue);
    margin-bottom: 4px;
    line-height: 1;
}

.svc-hero-stat span {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 600;
}

.svc-hero-image {
    min-height: 360px;
    overflow: hidden;
    background: var(--light-gray);
}

.svc-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

/* ---- Academic programs ---- */
.svc-programs {
    background: var(--light-gray);
    padding-top: 40px !important;
}

.svc-program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--medium-gray);
}

.svc-program-card {
    background: #fff;
    border-right: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
    padding: clamp(24px, 3vw, 36px);
    transition: background 0.3s ease;
}

.svc-program-card:last-child {
    border-right: none;
}

.svc-program-card:hover {
    background: #fafbfc;
}

.svc-program-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--royal-blue-light);
    color: var(--royal-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.svc-program-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.svc-program-card > p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.svc-program-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.svc-program-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.svc-program-features li i {
    color: var(--accent-green);
    margin-top: 3px;
    flex-shrink: 0;
}

.svc-program-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--medium-gray);
    flex-wrap: wrap;
}

.svc-program-age {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    background: var(--royal-blue-light);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

.svc-program-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--royal-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.svc-program-link:hover {
    color: var(--royal-blue-dark);
    gap: 10px;
}

/* ---- Special programs ---- */
.svc-special-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--medium-gray);
}

.svc-special-card {
    background: #fff;
    border-right: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
    padding: clamp(20px, 2.5vw, 28px);
    text-align: center;
    transition: background 0.3s ease;
}

.svc-special-card:last-child {
    border-right: none;
}

.svc-special-card:hover {
    background: #fafbfc;
}

.svc-special-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.svc-special-card:nth-child(1) .svc-special-icon {
    background: var(--accent-teal-bg);
    color: var(--accent-teal);
}

.svc-special-card:nth-child(2) .svc-special-icon {
    background: var(--accent-purple-bg);
    color: var(--accent-purple);
}

.svc-special-card:nth-child(3) .svc-special-icon {
    background: var(--accent-orange-bg);
    color: var(--accent-orange);
}

.svc-special-card:nth-child(4) .svc-special-icon {
    background: var(--accent-pink-bg);
    color: var(--accent-pink);
}

.svc-special-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.svc-special-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ---- Feature bar ---- */
.svc-feature-bar {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 36px 0 !important;
}

.svc-feature-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
}

.svc-feature-item {
    text-align: center;
    padding: 12px clamp(12px, 2vw, 24px);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

.svc-feature-item:last-child {
    border-right: none;
}

.svc-feature-item i {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.svc-feature-item h6 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.svc-feature-item p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ---- FAQ ---- */
.svc-faq {
    background: var(--light-gray);
    padding-top: 40px !important;
    padding-bottom: 48px !important;
}

.svc-faq-wrap {
    width: 100%;
    padding: 0;
    border-top: 1px solid var(--medium-gray);
}

.svc-faq .accordion-item {
    border: none;
    border-radius: 0 !important;
    margin-bottom: 0;
    border-bottom: 1px solid var(--medium-gray);
    overflow: hidden;
    background: #fff;
}

.svc-faq .accordion-button {
    font-weight: 600;
    color: var(--navy);
    background: #fff;
    padding: 20px clamp(16px, 4vw, 48px);
    font-size: 0.95rem;
    box-shadow: none !important;
}

.svc-faq .accordion-button:not(.collapsed) {
    background: var(--royal-blue-light);
    color: var(--royal-blue);
}

.svc-faq .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.svc-faq .accordion-body {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 16px clamp(16px, 4vw, 48px) 24px;
}

.svc-faq-cta {
    text-align: center;
    margin-top: 0;
    padding: 36px clamp(16px, 4vw, 48px);
    background: #fff;
    border-top: 1px solid var(--medium-gray);
}

.svc-faq-cta p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* ---- CTA ---- */
.svc-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 48px clamp(16px, 4vw, 48px) !important;
    text-align: center;
}

.svc-cta h3 {
    color: #fff;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.svc-cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    margin: 0 auto 24px;
    font-size: 0.95rem;
}

.svc-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.svc-cta .btn-light {
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 10px 28px;
    border: none;
}

.svc-cta .btn-light:hover {
    background: var(--royal-blue-light);
    color: var(--royal-blue);
}

.svc-cta .btn-outline-light {
    border-radius: var(--radius-pill);
    font-weight: 600;
    padding: 10px 28px;
    border-width: 2px;
}

.svc-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .svc-intro-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-intro-item:nth-child(2) {
        border-right: none;
    }

    .svc-intro-item {
        border-bottom: 1px solid var(--medium-gray);
    }

    .svc-intro-item:nth-child(3),
    .svc-intro-item:nth-child(4) {
        border-bottom: none;
    }

    .svc-hero-grid {
        grid-template-columns: 1fr;
    }

    .svc-hero-image {
        order: -1;
        min-height: 280px;
    }

    .svc-hero-image img {
        min-height: 280px;
    }

    .svc-program-grid {
        grid-template-columns: 1fr;
    }

    .svc-program-card {
        border-right: none;
    }

    .svc-special-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-special-card:nth-child(2) {
        border-right: none;
    }

    .svc-special-card:nth-child(1),
    .svc-special-card:nth-child(2) {
        border-bottom: 1px solid var(--medium-gray);
    }

    .svc-feature-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-feature-item:nth-child(2) {
        border-right: none;
    }

    .svc-feature-item:nth-child(1),
    .svc-feature-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 576px) {
    .svc-intro-inner {
        grid-template-columns: 1fr 1fr;
    }

    .svc-intro-item {
        border-right: none;
    }

    .svc-special-grid {
        grid-template-columns: 1fr;
    }

    .svc-special-card {
        border-right: none;
    }

    .svc-feature-inner {
        grid-template-columns: 1fr;
    }

    .svc-feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .svc-feature-item:last-child {
        border-bottom: none;
    }

    .services-page section {
        padding: 32px 0 !important;
    }
}
