:root {
    --brand: #0b3d91;
    --brand-dark: #082c69;
    --brand-soft: #eaf1fd;
    --accent: #f37021;
    --accent-dark: #d85d12;
    --accent-soft: #fff4ec;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e5e7eb;
    --surface: #f6f8fc;
    --radius: 14px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, .25);
    --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-color: #1f2937;
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: 11, 61, 145;
    --bs-link-hover-color: var(--brand-dark);
    --bs-border-radius: 10px;
    --bs-border-radius-lg: 14px;
}

body {
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .h1, .h2, .h3, .h4, .h5 {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -.01em;
}

.text-primary-brand { color: var(--brand) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted-2 { color: var(--muted) !important; }
.bg-surface { background: var(--surface); }

.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .5rem;
}

/* Buttons */
.btn { font-weight: 600; border-radius: 10px; }
.btn-primary-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
    --bs-btn-active-bg: var(--brand-dark);
    --bs-btn-active-color: #fff;
}
.btn-outline-primary-brand {
    --bs-btn-color: var(--brand);
    --bs-btn-border-color: #c9d6ee;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
    --bs-btn-active-bg: var(--brand-dark);
    --bs-btn-active-color: #fff;
}
.btn-light-brand {
    --bs-btn-color: var(--brand);
    --bs-btn-bg: var(--brand-soft);
    --bs-btn-border-color: var(--brand-soft);
    --bs-btn-hover-color: var(--brand-dark);
    --bs-btn-hover-bg: #dbe6fb;
    --bs-btn-hover-border-color: #dbe6fb;
}
.btn-accent {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--accent-dark);
    --bs-btn-hover-border-color: var(--accent-dark);
    --bs-btn-active-bg: var(--accent-dark);
    --bs-btn-active-color: #fff;
    box-shadow: 0 6px 16px -6px rgba(243, 112, 33, .6);
}

.form-control, .form-select { border-radius: 10px; border-color: #d7dde8; }
.form-control:focus, .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .2rem rgba(11, 61, 145, .15);
}
.form-label { font-weight: 600; font-size: .875rem; color: #334155; }

/* Navbar */
.site-nav {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-nav .nav-link { font-weight: 500; color: #334155; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand); }
.brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--ink);
    letter-spacing: -.02em;
}
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff;
    font-size: 1.1rem;
}

/* Hero */
.hero {
    position: relative;
    color: #fff;
    background:
        radial-gradient(1200px 400px at 85% -10%, rgba(255, 255, 255, .14), transparent 60%),
        radial-gradient(600px 300px at 0% 110%, rgba(243, 112, 33, .25), transparent 60%),
        linear-gradient(135deg, #082c69 0%, #0b3d91 45%, #1565c0 100%);
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent 80%);
    pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-weight: 800; letter-spacing: -.03em; }
.hero .lead { color: rgba(255, 255, 255, .85); }
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: .85rem;
    font-weight: 500;
}
.search-box {
    background: #fff;
    border-radius: var(--radius);
    padding: .75rem;
    box-shadow: var(--shadow-md);
}
.search-box .form-select { border: 0; background-color: var(--surface); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; }
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1.1; color: #fff; }
.hero-stat span { font-size: .85rem; color: rgba(255, 255, 255, .75); }
.hero-form {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 30px 60px -20px rgba(2, 6, 23, .45);
}

/* Page header (listing / college) */
.page-header {
    background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%);
    border-bottom: 1px solid var(--line);
}
.breadcrumb { --bs-breadcrumb-divider-color: #94a3b8; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* Category tiles */
.category-tile {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    height: 100%;
}
.category-tile:hover {
    border-color: #c9d6ee;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: inherit;
}
.category-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.25rem;
}
.category-tile:hover .category-icon { background: var(--brand); color: #fff; }

/* College initials badge */
.college-avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -.02em;
    text-align: center;
    line-height: 1;
}
.college-avatar.is-mid { font-size: .85rem; }
.college-avatar.is-long { font-size: .72rem; }
.college-avatar-lg { width: 76px; height: 76px; border-radius: 18px; font-size: 1.4rem; }
.college-avatar-lg.is-mid { font-size: 1.2rem; }
.college-avatar-lg.is-long { font-size: 1rem; }
.college-avatar img { width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: inherit; padding: 4px; }

/* College cards */
.college-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: box-shadow .15s ease, border-color .15s ease;
}
.college-card:hover { box-shadow: var(--shadow-md); border-color: #d6deec; }
.college-card .card-title a { color: var(--ink); text-decoration: none; }
.college-card .card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.college-card .card-title a:hover { color: var(--brand); }
.college-card .card-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); }
.chip {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    background: var(--surface);
    border: 1px solid var(--line);
    color: #334155;
}
.chip-accent { background: var(--accent-soft); border-color: #ffd9bf; color: #b4500f; }
.chip-brand { background: var(--brand-soft); border-color: #c9d6ee; color: var(--brand); }
.course-row { padding: .6rem 0; border-top: 1px dashed var(--line); font-size: .875rem; }
.course-row:first-child { border-top: 0; }
.fee { font-weight: 700; color: var(--ink); }

/* Listing filters */
@media (min-width: 992px) {
    .filters-sticky { position: sticky; top: 88px; }
}
.filter-card { border: 1px solid var(--line); border-radius: var(--radius); }
.active-filter {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .4rem .25rem .75rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
}
.active-filter:hover { background: #dbe6fb; color: var(--brand-dark); }
.active-filter .bi { font-size: 1rem; }

/* College page */
.fact-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .85rem 1rem;
    background: #fff;
    height: 100%;
}
.fact-card .label { font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.fact-card .value { font-weight: 700; color: var(--ink); }
.section-nav { position: sticky; top: 64px; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.section-nav .nav-link { color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; border-radius: 0; padding: .9rem .25rem; margin-right: 1.25rem; }
.section-nav .nav-link:hover { color: var(--brand); }
.content-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; scroll-margin-top: 130px; }
.course-table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; background: var(--surface); border-bottom: 0; }
.course-table td { font-size: .925rem; padding-top: .9rem; padding-bottom: .9rem; }
.enquiry-card { border: 0; border-radius: 18px; box-shadow: var(--shadow-md); }
.enquiry-card .card-header { background: var(--brand); color: #fff; border-radius: 18px 18px 0 0; padding: 1.1rem 1.5rem; }

/* How it works */
.step {
    position: relative;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    height: 100%;
}
.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 800;
    margin-bottom: .75rem;
}

/* Areas */
.area-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .7rem 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    background: #fff;
}
.area-link:hover { border-color: var(--brand); color: var(--brand); }
.area-link .count { font-size: .8rem; color: var(--muted); }

/* CTA band */
.cta-band {
    border-radius: 18px;
    padding: 2rem;
    color: #fff;
    background:
        radial-gradient(500px 200px at 100% 0%, rgba(243, 112, 33, .35), transparent 60%),
        linear-gradient(135deg, #082c69, #0b3d91);
}
.cta-band h2, .cta-band .h4, .cta-band .h5 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: .6rem; overflow: hidden; }
.faq .accordion-button { font-weight: 600; color: var(--ink); }
.faq .accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }

/* Footer */
.site-footer {
    background: #0b1222;
    color: #94a3b8;
    margin-top: 4rem;
}
.site-footer .brand { color: #fff; }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: .75rem; }
.footer-links li { margin-bottom: .4rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer hr { border-color: #1e293b; opacity: 1; }

/* WhatsApp + mobile CTA */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    z-index: 1030;
}
.whatsapp-float:hover { color: #fff; background: #1ebe5b; }

.mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(15, 23, 42, .08);
}
.mobile-cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .7rem;
    font-weight: 600;
    color: var(--brand);
    text-decoration: none;
    min-width: 56px;
}
.mobile-cta-item .bi { font-size: 1.2rem; }
.mobile-cta-main { flex: 1; padding: .65rem; }
@media (max-width: 991.98px) {
    body { padding-bottom: 72px; }
    .section { padding: 3rem 0; }
}

.min-w-0 { min-width: 0; }
/* Admission journal */
.blog-header { background: radial-gradient(ellipse at top right, #dbe8ff, transparent 65%), linear-gradient(120deg, #f0f5ff, #fffaf5); border-bottom: 1px solid var(--line); }
.blog-header h1 { max-width: 850px; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.045em; line-height: 1.15; }
.blog-intro { font-size: 1.15rem; color: var(--ink); margin-bottom: .5rem; }
.blog-header > .container > p:last-child { color: var(--muted); font-size: .9rem; }
.blog-list a, .blog-header a, .blog-prose a { text-decoration: none; }
.blog-list a:focus-visible, .blog-header a:focus-visible, .blog-prose a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
.blog-card { display: flex; flex-direction: column; padding: 1.65rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 20px rgba(15, 23, 42, .035); transition: transform .2s, box-shadow .2s, border-color .2s; }
.blog-card:hover { transform: translateY(-4px); border-color: #c5d6f0; box-shadow: var(--shadow-md); }
.blog-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; }
.blog-card-top > .bi { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: 1.15rem; }
.blog-category { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--accent-soft); color: #9b4310; padding: .4rem .65rem; border-radius: 6px; }
.blog-card h3 { line-height: 1.5; letter-spacing: -.025em; margin-bottom: .8rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--brand); }
.bed-hub a, .bed-guide a { text-decoration: none; }
.bed-hub a:hover, .bed-guide a:hover { color: var(--accent-dark); }
.bed-hub a:focus-visible, .bed-guide a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.bed-steps { list-style: none; padding: 0; counter-reset: admission-step; }
.bed-steps li { counter-increment: admission-step; position: relative; padding: .25rem 0 1.5rem 3.5rem; }
.bed-steps li::before { content: counter(admission-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; color: var(--brand); background: var(--brand-soft); border-radius: 12px; font-weight: 800; }
.bed-sources { padding-left: 1.2rem; line-height: 2; }
.blog-excerpt { color: var(--muted); font-size: .9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.blog-read { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--brand); }
.blog-read:hover { color: var(--accent-dark); }
.blog-back { display: inline-block; color: var(--brand); font-size: .85rem; font-weight: 600; margin-bottom: .75rem; }
.blog-article-header h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.3; }
.blog-prose { padding: clamp(1.3rem, 4vw, 3rem); font-size: 1.025rem; line-height: 1.9; overflow-wrap: anywhere; }
.blog-prose h2 { font-size: 1.4rem; margin: 2rem 0 1rem; letter-spacing: -.025em; }
.blog-prose p { margin-bottom: 1.35rem; }
.blog-prose p:last-child { margin-bottom: 0; }
.blog-prose a { color: var(--brand); font-weight: 600; }
.blog-prose a:hover, .blog-back:hover { color: var(--accent-dark); }
@media (prefers-reduced-motion: reduce) { .blog-card { transition: none; } .blog-card:hover { transform: none; } }
.contact-item {
    display: flex;
    gap: .9rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    background: #fff;
}
a.contact-item:hover { border-color: var(--brand); color: inherit; }

.city-switch {
    font-weight: 700 !important;
    color: var(--ink) !important;
}
@media (min-width: 992px) {
    .city-switch { border-right: 1px solid var(--line); padding-right: 1rem !important; margin-right: .5rem; }
}
