/* ==========================================================================
   VFA Christian College — Public Marketing Website
   Primary: #078f72 | Secondary: #0f172a | Background: #f5f7fb
   ========================================================================== */

:root {
    --bsa-primary: #078f72;
    --bsa-primary-dark: #056b56;
    --bsa-primary-light: #e6f7f2;
    --bsa-secondary: #0f172a;
    --bsa-accent: #14b8a6;
    --bsa-bg: #f5f7fb;
    --bsa-white: #ffffff;
    --bsa-muted: #64748b;
    --bsa-border: #e2e8f0;
    --bsa-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --bsa-radius: 12px;
    --bsa-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--bsa-font);
    color: var(--bsa-secondary);
    background: var(--bsa-bg);
    line-height: 1.6;
}

a { text-decoration: none; transition: color 0.2s, background 0.2s; }

a { text-decoration: none; transition: color 0.2s, background 0.2s; }

/* ----- Shared site container (header + footer width match) ----- */
.bsa-website .container-site,
.site-header .container-site,
.site-footer .container-site {
    max-width: 1320px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Match page body width to header/footer */
.bsa-website section > .container,
.bsa-website .page-hero > .container,
.bsa-website .hero-section > .container {
    max-width: 1320px;
}

/* ----- Site header ----- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.top-bar {
    background: #041633;
    color: #fff;
    font-size: 0.8125rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.top-bar .container-site {
    width: 100%;
}
.top-bar-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 44px;
    width: 100%;
}
.top-bar-contacts {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    min-width: 0;
    flex: 0 1 auto;
}
.top-bar-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}
.top-bar-contact-item i {
    color: var(--bsa-accent);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.site-header .top-bar-social {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
}
.site-header .top-bar-social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff !important;
    background: rgba(255,255,255,0.1);
    font-size: 0.95rem;
    line-height: 1;
    flex: 0 0 auto;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.site-header .top-bar-social a:hover {
    background: var(--bsa-primary);
    color: #fff !important;
    transform: translateY(-1px);
}

.top-bar-sep {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.25);
    margin: 0 0.875rem;
    flex-shrink: 0;
}
.top-bar-sep-before-social {
    margin-left: 0.5rem;
    margin-right: 1rem;
}

.navbar-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--bsa-primary) 0%, var(--bsa-accent) 50%, var(--bsa-primary) 100%);
}

.site-navbar {
    background: #fff;
    box-shadow: 0 2px 16px rgba(4, 22, 51, 0.06);
    padding: 0.75rem 0;
    transition: padding 0.25s ease, box-shadow 0.25s ease;
}
.site-navbar.site-navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(4, 22, 51, 0.1);
}

.site-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-right: 1rem;
    padding: 0;
    max-width: none;
    color: var(--bsa-secondary) !important;
}
.navbar-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
    min-width: 0;
}
.brand-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--bsa-secondary);
    letter-spacing: -0.01em;
}
.brand-tagline {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--bsa-muted);
    margin-top: 0.125rem;
    text-transform: none;
}

.site-logo,
.navbar-logo {
    height: 70px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}
.footer-logo {
    height: 80px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.site-navbar .navbar-collapse {
    align-items: center;
}
.site-navbar .navbar-nav {
    align-items: center;
    gap: 0.125rem;
}
.site-navbar .nav-link {
    color: var(--bsa-secondary);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.5rem 15px !important;
    border-radius: 6px;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--bsa-primary);
    background: var(--bsa-primary-light);
}
.site-navbar .nav-link.active {
    font-weight: 700;
}

.navbar-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bsa-border);
}
@media (min-width: 992px) {
    .navbar-actions {
        flex-direction: row;
        align-items: center;
        gap: 0.625rem;
        margin-top: 0;
        margin-left: 1rem;
        padding-top: 0;
        border-top: none;
        flex-shrink: 0;
    }
}
.navbar-actions .btn {
    font-weight: 600;
    padding: 0.5rem 1.125rem;
    white-space: nowrap;
}
@media (max-width: 991.98px) {
    .navbar-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.site-navbar .navbar-toggler {
    border-color: var(--bsa-border);
    padding: 0.35rem 0.55rem;
}
.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(7, 143, 114, 0.2);
}
.btn-bsa-primary {
    background: var(--bsa-primary);
    border-color: var(--bsa-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
}
.btn-bsa-primary:hover {
    background: var(--bsa-primary-dark);
    border-color: var(--bsa-primary-dark);
    color: #fff;
}
.btn-bsa-outline {
    border: 2px solid var(--bsa-primary);
    color: var(--bsa-primary);
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    background: transparent;
}
.btn-bsa-outline:hover {
    background: var(--bsa-primary);
    color: #fff;
}
.btn-bsa-secondary {
    background: var(--bsa-secondary);
    border-color: var(--bsa-secondary);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
}
.btn-bsa-secondary:hover {
    background: #1e293b;
    color: #fff;
}

/* ----- Hero ----- */
.hero-section {
    background: linear-gradient(135deg, var(--bsa-secondary) 0%, #1e3a5f 45%, var(--bsa-primary-dark) 100%);
    color: #fff;
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(7, 143, 114, 0.35);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero-lead {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 540px;
    margin-bottom: 2rem;
}
.hero-visual {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--bsa-radius);
    padding: 2rem;
    text-align: center;
}
.hero-visual .logo-box-lg {
    width: auto;
    height: auto;
    max-width: 200px;
    margin: 0 auto 1rem;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}
.hero-visual .logo-box-lg img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ----- Stats ----- */
.stats-section { margin-top: -3rem; position: relative; z-index: 2; }
.stat-card {
    background: var(--bsa-white);
    border-radius: var(--bsa-radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--bsa-shadow);
    text-align: center;
    height: 100%;
    border-bottom: 4px solid var(--bsa-primary);
}
.stat-card .stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--bsa-primary);
    line-height: 1;
}
.stat-card .stat-label {
    color: var(--bsa-muted);
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

/* ----- Section utilities ----- */
.section-padding { padding: 4.5rem 0; }
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--bsa-secondary);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    color: var(--bsa-muted);
    max-width: 640px;
    margin-bottom: 2.5rem;
}
.bg-white-section { background: var(--bsa-white); }

/* ----- Path cards ----- */
.path-card {
    background: var(--bsa-white);
    border: 1px solid var(--bsa-border);
    border-radius: var(--bsa-radius);
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
}
.path-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bsa-shadow);
    border-color: var(--bsa-primary);
}
.path-icon {
    width: 52px;
    height: 52px;
    background: var(--bsa-primary-light);
    color: var(--bsa-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ----- Why choose ----- */
.why-card {
    background: var(--bsa-white);
    border-radius: var(--bsa-radius);
    padding: 1.5rem;
    height: 100%;
    border-left: 4px solid var(--bsa-primary);
    box-shadow: 0 2px 12px rgba(15,23,42,0.04);
}
.why-card i { color: var(--bsa-primary); font-size: 1.35rem; margin-bottom: 0.75rem; display: block; }
.why-card h5 { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9rem; color: var(--bsa-muted); margin: 0; }

/* ----- Course cards ----- */
.course-card {
    background: var(--bsa-white);
    border-radius: var(--bsa-radius);
    overflow: hidden;
    border: 1px solid var(--bsa-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}
.course-card:hover {
    box-shadow: var(--bsa-shadow);
    transform: translateY(-3px);
}
.course-card-header {
    background: linear-gradient(135deg, var(--bsa-primary) 0%, var(--bsa-primary-dark) 100%);
    color: #fff;
    padding: 1.25rem 1.5rem;
}
.course-card-header h5 { margin: 0; font-weight: 700; font-size: 1.05rem; }
.course-card-thumb {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bsa-primary) 0%, var(--bsa-primary-dark) 100%);
}
.course-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.course-card-thumb-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}
.course-card-body { padding: 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.course-meta { font-size: 0.82rem; color: var(--bsa-muted); margin-bottom: 0.75rem; }
.course-meta span { display: inline-flex; align-items: center; gap: 0.25rem; margin-right: 0.75rem; }
.course-fee { font-weight: 700; color: var(--bsa-primary); font-size: 1.1rem; margin-bottom: 1rem; }
.course-card-actions { margin-top: auto; display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ----- News ----- */
.news-card {
    background: var(--bsa-white);
    border-radius: var(--bsa-radius);
    overflow: hidden;
    border: 1px solid var(--bsa-border);
    height: 100%;
}
.news-card .news-date {
    font-size: 0.75rem;
    color: var(--bsa-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.news-thumb {
    height: 160px;
    background: linear-gradient(135deg, var(--bsa-primary-light), #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--bsa-primary);
}

/* ----- CTA ----- */
.cta-section {
    background: linear-gradient(135deg, var(--bsa-primary) 0%, var(--bsa-primary-dark) 100%);
    color: #fff;
    padding: 4rem 0;
    border-radius: 0;
}
.cta-section h2 { font-weight: 800; margin-bottom: 0.75rem; }

/* ----- Page header (inner pages) ----- */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--bsa-secondary) 0%, #1e3a5f 60%, var(--bsa-primary-dark) 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    overflow: hidden;
}
.page-hero-cms {
    background-blend-mode: overlay;
    background-color: rgba(10, 22, 40, 0.55);
}
.page-hero-cms::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.75) 0%, rgba(7, 143, 114, 0.35) 100%);
    z-index: 1;
}
.page-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero-media video,
.page-hero-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    pointer-events: none;
}
.page-hero > .container {
    position: relative;
    z-index: 2;
}
.page-hero-brand-logo {
    display: inline-block;
    max-height: 72px;
    width: auto;
    max-width: min(220px, 70vw);
    margin-bottom: 1rem;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.4rem 0.65rem;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.page-hero h1 { font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.breadcrumb-bsa {
    --bs-breadcrumb-divider: '›';
    margin: 0;
    font-size: 0.85rem;
}
.breadcrumb-bsa a { color: rgba(255,255,255,0.75); }
.breadcrumb-bsa .active { color: #fff; }

/* ----- Founder cards ----- */
.founder-card {
    background: var(--bsa-white);
    border-radius: var(--bsa-radius);
    overflow: hidden;
    box-shadow: var(--bsa-shadow);
    text-align: center;
    height: 100%;
}
.founder-photo {
    height: 220px;
    background: linear-gradient(180deg, var(--bsa-primary-light) 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--bsa-primary);
}
.founder-card .card-body { padding: 1.5rem; }

/* ----- Timeline (history) ----- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--bsa-primary-light);
    border-radius: 3px;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.55rem;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    background: var(--bsa-primary);
    border-radius: 50%;
    border: 3px solid var(--bsa-white);
    box-shadow: 0 0 0 2px var(--bsa-primary);
}
.timeline-year { font-weight: 800; color: var(--bsa-primary); font-size: 0.9rem; }

/* ----- Forms ----- */
.form-card {
    background: var(--bsa-white);
    border-radius: var(--bsa-radius);
    padding: 2rem;
    box-shadow: var(--bsa-shadow);
    border: 1px solid var(--bsa-border);
}
.form-label { font-weight: 600; font-size: 0.9rem; }
.form-control, .form-select {
    border-radius: 8px;
    border-color: var(--bsa-border);
    padding: 0.6rem 0.85rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--bsa-primary);
    box-shadow: 0 0 0 0.2rem rgba(7, 143, 114, 0.15);
}
.apply-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}
.apply-success i { font-size: 4rem; color: var(--bsa-primary); }

/* ----- Contact ----- */
.contact-info-card {
    background: var(--bsa-white);
    border-radius: var(--bsa-radius);
    padding: 1.5rem;
    border: 1px solid var(--bsa-border);
    height: 100%;
}
.contact-info-card i {
    width: 44px;
    height: 44px;
    background: var(--bsa-primary-light);
    color: var(--bsa-primary);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}
.map-placeholder {
    background: #e2e8f0;
    border-radius: var(--bsa-radius);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bsa-muted);
    border: 2px dashed var(--bsa-border);
}

.contact-sidebar .contact-info-card {
    margin-bottom: 0;
}

.contact-quick-actions .btn-bsa-outline {
    border-color: var(--bsa-primary);
    color: var(--bsa-primary);
}
.contact-quick-actions .btn-bsa-outline:hover {
    background: var(--bsa-primary);
    color: #fff;
}

.contact-social .social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bsa-primary-light);
    color: var(--bsa-primary);
    margin-right: 0.5rem;
}
.contact-social .social-links a:hover {
    background: var(--bsa-primary);
    color: #fff;
}

.contact-map-wrap .contact-map {
    border-radius: var(--bsa-radius);
    overflow: hidden;
    box-shadow: var(--bsa-shadow);
    border: 1px solid var(--bsa-border);
}
.contact-map-wrap iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

/* ----- Student portal page ----- */
.portal-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bsa-white);
    border-radius: var(--bsa-radius);
    padding: 2.5rem;
    box-shadow: var(--bsa-shadow);
    text-align: center;
    border: 1px solid var(--bsa-border);
}
.portal-logo,
.login-logo {
    width: auto;
    height: auto;
    max-height: 120px;
    max-width: 240px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: transparent;
}
.portal-help {
    text-align: left;
    background: var(--bsa-bg);
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

/* ----- Footer ----- */
.site-footer {
    background: linear-gradient(180deg, #041633 0%, #0a1628 100%);
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin-top: auto;
}

.footer-cta {
    background: linear-gradient(135deg, var(--bsa-primary) 0%, #056b56 100%);
    padding: 2.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-cta-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.footer-cta-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}
.footer-cta-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.footer-cta-text {
    color: rgba(255,255,255,0.92);
    font-size: 0.9375rem;
    max-width: 36rem;
    line-height: 1.6;
}
.footer-cta-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.btn-footer-cta-primary {
    background: #fff;
    color: var(--bsa-primary-dark);
    border: 2px solid #fff;
    font-weight: 700;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-footer-cta-primary:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-1px);
}
.btn-footer-cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s, border-color 0.2s;
}
.btn-footer-cta-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

.footer-main {
    padding: 3rem 0 2rem;
}
.footer-columns {
    align-items: flex-start;
}
.footer-columns > [class*="col-"] {
    display: flex;
    flex-direction: column;
}
.footer-heading,
.site-footer h6.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 0;
}
.footer-brand-block {
    max-width: 100%;
}
.footer-brand-name {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}
.footer-about {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 10px;
    display: block;
}
.footer-links li:last-child {
    margin-bottom: 0;
}
.footer-links a {
    color: rgba(255,255,255,0.78);
    font-size: 0.875rem;
    display: block;
    padding: 0;
    line-height: 1.5;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--bsa-accent);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 10px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.5;
}
.footer-contact-list li:last-child {
    margin-bottom: 0;
}
.footer-contact-list li i {
    color: var(--bsa-accent);
    font-size: 0.95rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
}
.footer-contact-link {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
}
.footer-contact-link:hover {
    color: var(--bsa-accent);
}

.site-footer .social-links {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    margin: 0.25rem 0 0;
}
.site-footer .social-links a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #fff !important;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}
.site-footer .social-links a:hover {
    background: var(--bsa-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    background: rgba(0,0,0,0.15);
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-copyright {
    color: rgba(255,255,255,0.55);
    font-size: 0.8125rem;
}
.site-footer .footer-bottom-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    margin: 0;
}
.site-footer .footer-bottom-links a {
    color: rgba(255,255,255,0.62);
    font-size: 0.8125rem;
    padding: 0;
    display: inline-block;
    white-space: nowrap;
    line-height: 1.4;
    transition: color 0.2s;
}
.site-footer .footer-bottom-links a:hover {
    color: var(--bsa-accent);
}

/* ----- Course details ----- */
.detail-sidebar {
    background: var(--bsa-white);
    border-radius: var(--bsa-radius);
    padding: 1.5rem;
    border: 1px solid var(--bsa-border);
    position: sticky;
    top: 90px;
}
.detail-sidebar .fee { font-size: 1.5rem; font-weight: 800; color: var(--bsa-primary); }
.unit-list { list-style: none; padding: 0; margin: 0; }
.unit-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--bsa-border);
    font-size: 0.92rem;
}
.unit-list li:last-child { border-bottom: none; }

/* ----- CMS page body (document editor output) ----- */
.cms-page-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--bsa-secondary);
}
.cms-page-body > :first-child { margin-top: 0; }
.cms-page-body > :last-child { margin-bottom: 0; }
.cms-page-body h2, .cms-page-body h3, .cms-page-body h4 {
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.cms-page-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cms-page-body h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
.cms-page-body p { margin-bottom: 1rem; }
.cms-page-body img { max-width: 100%; height: auto; border-radius: var(--bsa-radius); }
.cms-page-body figure.image { margin: 1.5rem 0; }
.cms-page-body figure.image img { display: block; margin: 0 auto; }
.cms-page-body figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--bsa-muted);
    margin-top: 0.5rem;
}
.cms-page-body blockquote {
    font-size: 1.1rem;
    margin: 2rem 0;
}
.cms-page-body .table {
    margin: 1.5rem 0;
    overflow-x: auto;
}
.cms-page-body .table table {
    width: 100%;
    border-collapse: collapse;
}
.cms-page-body .table th,
.cms-page-body .table td {
    border: 1px solid var(--bsa-border);
    padding: 0.65rem 0.85rem;
}
.cms-page-body .table th {
    background: var(--bsa-bg);
    font-weight: 700;
}
.cms-page-body ul, .cms-page-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.35rem;
}
.cms-page-body hr {
    border: 0;
    border-top: 1px solid var(--bsa-border);
    margin: 2rem 0;
}

/* ----- Responsive ----- */
@media (min-width: 768px) {
    .footer-cta-inner {
        flex-direction: row;
        align-items: center;
    }
    .footer-cta-actions {
        flex-direction: row;
        width: auto;
    }
}

@media (min-width: 576px) {
    .footer-bottom-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .site-footer .footer-bottom-links {
        flex-direction: row;
        flex-wrap: nowrap;
    }
}

@media (min-width: 992px) {
    .footer-columns > [class*="col-lg-3"] {
        padding-right: 1.5rem;
    }
}

@media (max-width: 1199.98px) {
    .top-bar-contact-item[data-topbar-hours],
    .top-bar-sep-before-hours {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-cta-actions {
        width: 100%;
    }
    .footer-cta-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .hero-section { padding: 3.5rem 0 3rem; text-align: center; }
    .hero-lead { margin-left: auto; margin-right: auto; }
    .stats-section { margin-top: -2rem; }
    .hero-visual { margin-top: 2rem; }

    .site-navbar .navbar-brand {
        max-width: calc(100% - 3.5rem);
    }
    .brand-name { font-size: 0.9375rem; }
    .brand-tagline { font-size: 0.6875rem; }
    .site-logo, .navbar-logo { height: 56px; }

    .footer-brand-block {
        margin-bottom: 0.5rem;
    }
    .footer-columns > .col-6 {
        margin-bottom: 0.5rem;
    }
}
@media (max-width: 575.98px) {
    .section-padding { padding: 3rem 0; }
    .course-card-actions .btn { width: 100%; }
}

.bsa-req-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
}
.bsa-req-accordion .accordion-body {
    font-size: 0.9375rem;
}
#courseDetailTabs .nav-link {
    white-space: nowrap;
    font-size: 0.875rem;
}
#course-qual-filters .btn,
#course-category-filters .btn {
    margin-bottom: 0.25rem;
}
