:root {
    --bu-navy: #102a43;
    --bu-blue: #1769aa;
    --bu-gold: #c9972b;
    --bu-light: #f5f8fb;
    --bu-text: #243b53;
    --bu-muted: #627d98;
    --bu-border: #d9e2ec;
    --bu-white: #ffffff;
    --shadow: 0 14px 35px rgba(16, 42, 67, .10);
}

* { box-sizing: border-box; }

body {
    font-family: "Inter", sans-serif;
    color: var(--bu-text);
    background: #fff;
    line-height: 1.65;
}

a { color: var(--bu-blue); text-decoration: none; }
a:hover { color: #0e4f82; }

.topbar {
    background: var(--bu-navy);
    color: rgba(255,255,255,.86);
    font-size: .82rem;
    padding: .55rem 0;
}
.topbar a { color: rgba(255,255,255,.9); }

.main-nav {
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--bu-border);
    box-shadow: 0 2px 12px rgba(16,42,67,.05);
}
.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
}
.navbar-brand strong {
    display: block;
    color: var(--bu-navy);
    line-height: 1.1;
    font-size: 1.08rem;
}
.navbar-brand small {
    color: var(--bu-muted);
    font-size: .68rem;
}
.nav-link {
    color: var(--bu-text) !important;
    font-weight: 600;
    font-size: .91rem;
}
.nav-link:hover, .nav-link.active { color: var(--bu-blue) !important; }

.btn-primary {
    background: var(--bu-blue);
    border-color: var(--bu-blue);
}
.btn-primary:hover {
    background: var(--bu-navy);
    border-color: var(--bu-navy);
}
.btn-outline-primary { border-color: var(--bu-blue); color: var(--bu-blue); }
.btn-outline-primary:hover { background: var(--bu-blue); color: #fff; }

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bu-navy);
}
.hero-slide {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,24,40,.90), rgba(8,24,40,.55), rgba(8,24,40,.20));
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 120px 0;
    color: #fff;
}
.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .78rem;
    font-weight: 800;
    color: #f4d27a;
}
.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.7rem, 6vw, 4.9rem);
    line-height: 1.08;
    margin: .7rem 0 1rem;
}
.hero p { font-size: 1.08rem; color: rgba(255,255,255,.88); max-width: 650px; }

.section { padding: 85px 0; }
.section-light { background: var(--bu-light); }
.section-title {
    font-family: "Playfair Display", serif;
    color: var(--bu-navy);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}
.section-kicker {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .76rem;
    color: var(--bu-blue);
    font-weight: 800;
}
.section-intro { color: var(--bu-muted); max-width: 720px; }

.quick-actions {
    margin-top: -55px;
    position: relative;
    z-index: 5;
}
.quick-card {
    background: #fff;
    border: 1px solid var(--bu-border);
    border-radius: 14px;
    padding: 24px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: transform .2s ease;
}
.quick-card:hover { transform: translateY(-4px); }
.quick-icon {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: #e9f3fb;
    color: var(--bu-blue);
    font-size: 1.35rem;
}
.quick-card h5 { margin-top: 15px; color: var(--bu-navy); }

.feature-card, .programme-card, .news-card {
    border: 1px solid var(--bu-border);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 24px rgba(16,42,67,.06);
}
.feature-card .card-body, .programme-card .card-body, .news-card .card-body { padding: 25px; }

.programme-card { transition: transform .2s ease, box-shadow .2s ease; }
.programme-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.programme-badge {
    display: inline-block;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: #eaf4fb;
    color: var(--bu-blue);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.stat-band { background: var(--bu-navy); color: #fff; }
.stat-number { font-size: 2.2rem; font-weight: 800; }
.stat-label { color: rgba(255,255,255,.7); font-size: .9rem; }

.about-image {
    width: 100%;
    min-height: 430px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.icon-list { list-style: none; padding: 0; margin: 0; }
.icon-list li { display: flex; gap: 12px; margin: 14px 0; }
.icon-list i { color: var(--bu-gold); font-size: 1.15rem; }

.faq-wrap .accordion-item {
    border: 1px solid var(--bu-border);
    border-radius: 10px !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-wrap .accordion-button { font-weight: 700; color: var(--bu-navy); }
.faq-wrap .accordion-button:not(.collapsed) { background: #eef6fc; color: var(--bu-blue); box-shadow: none; }

.contact-box {
    background: var(--bu-navy);
    color: #fff;
    border-radius: 18px;
    padding: 35px;
    height: 100%;
}
.contact-box a { color: #fff; }

.map-frame {
    width: 100%;
    min-height: 430px;
    border: 0;
    border-radius: 18px;
}

.page-hero {
    background: linear-gradient(120deg, var(--bu-navy), #1c5d8f);
    color: #fff;
    padding: 90px 0;
}
.page-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
}
.breadcrumb a { color: #d8ecfa; }

.form-card {
    border: 1px solid var(--bu-border);
    border-radius: 18px;
    padding: 30px;
    background: #fff;
    box-shadow: var(--shadow);
}
.form-label { font-weight: 600; color: var(--bu-navy); }
.form-control, .form-select {
    border-color: #bcccdc;
    padding: .75rem .9rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--bu-blue);
    box-shadow: 0 0 0 .2rem rgba(23,105,170,.12);
}

.site-footer {
    background: #0b1f31;
    color: rgba(255,255,255,.76);
    padding: 65px 0 25px;
}
.site-footer h5, .site-footer h6 { color: #fff; }
.site-footer h6 { margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.78); display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-title { font-family: "Playfair Display", serif; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
    width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
}
.footer-map-link { font-weight: 700; }

.empty-state {
    padding: 50px 25px;
    border: 1px dashed var(--bu-border);
    border-radius: 15px;
    text-align: center;
    color: var(--bu-muted);
}

.application-choice {
    border: 1px solid var(--bu-border);
    border-radius: 18px;
    padding: 35px;
    height: 100%;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16,42,67,.07);
}
.application-choice .icon {
    font-size: 2.5rem;
    color: var(--bu-blue);
}

@media (max-width: 991px) {
    .hero, .hero-slide { min-height: 540px; }
    .quick-actions { margin-top: -25px; }
}
@media (max-width: 575px) {
    .section { padding: 60px 0; }
    .hero-content { padding: 90px 0; }
    .brand-logo { width: 46px; height: 46px; }
}

/* V3 homepage refinements */
.hero-home { min-height: 650px; }
.hero-home .hero-slide { min-height: 650px; }
.hero-home .hero-content { padding-top: 150px; padding-bottom: 150px; }
.hero-home .carousel-indicators { z-index: 4; }
.hero-home .carousel-control-prev, .hero-home .carousel-control-next { z-index: 4; }
.btn-warning { color: #182b3c; font-weight: 800; }
.academic-icon { width: 52px; height: 52px; border-radius: 14px; display:flex; align-items:center; justify-content:center; background:#eef6fc; color:var(--bu-blue); font-size:1.35rem; }
.short-course-band { background: #f8fbfd; }
.course-chip { background:#fff; border:1px solid var(--bu-border); border-radius:10px; padding:13px 15px; height:100%; font-weight:600; color:var(--bu-navy); box-shadow:0 5px 18px rgba(16,42,67,.04); }
.course-chip i { color:var(--bu-blue); margin-right:8px; }
.intake-card { background:#fff; border:1px solid var(--bu-border); border-radius:16px; padding:25px; height:100%; box-shadow:0 8px 24px rgba(16,42,67,.06); }
.intake-icon { color:var(--bu-gold); font-size:1.4rem; }
.news-list-item { background:#fff; border:1px solid var(--bu-border); border-radius:14px; padding:22px; margin-bottom:14px; }
.news-list-item h5 { color:var(--bu-navy); }
.campus-cta { background:linear-gradient(120deg, var(--bu-navy), #1c5d8f); padding:70px 0; }
@media (max-width: 991px) { .hero-home, .hero-home .hero-slide { min-height:560px; } .hero-home .hero-content { padding-top:105px; padding-bottom:105px; } }
