/* ===================================================================
   CAREER MAKER INDIA — BITSAT PAGE
   Same dark-navy + gold "prestige" treatment as JEE Advanced, mapped
   onto this page's bit- prefixed class names.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-deep:  #0F1B33;
    --navy:       #1F3567;
    --navy-soft:  #2C4585;
    --gold:       #C79A3C;
    --azure:      #1D5FA8;
    --azure-deep: #14406F;
    --paper:      #F4F5F8;
    --paper-alt:  #FFFFFF;
    --ink:        #16233F;
    --slate:      #57647D;
    --line:       #DEE2EA;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', sans-serif;

    --section-py: 84px;
    --section-py-sm: 52px;
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--navy-deep);
    letter-spacing: -0.01em;
}

/* =====================================================
   NAVBAR (only used if this snippet's own nav markup is
   present elsewhere on the page — harmless otherwise)
===================================================== */

.bit-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: var(--paper-alt);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.bit-menu a {
    margin: 0 10px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
}

.bit-logo span {
    color: var(--gold);
}

/* =====================================================
   BUTTON
===================================================== */

.bit-btn {
    background: linear-gradient(120deg, var(--azure), var(--azure-deep));
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(29,95,168,0.28);
}

/* =====================================================
   HERO — dark navy, gold accents (JEE Advanced treatment)
===================================================== */

.bit-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 122px 60px 76px;
    background: linear-gradient(160deg, #0F1B33 0%, #1B2C52 55%, #21365F 100%);
    overflow: hidden;
}

.bit-hero::before {
    content: "";
    position: absolute;
    top: -140px;
    left: -120px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(199,154,60,0.16), transparent 70%);
}

.bit-left {
    position: relative;
    z-index: 1;
    max-width: 540px;
}

.bit-left h4 {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    background: rgba(199,154,60,0.14);
    border: 1px solid rgba(199,154,60,0.3);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
    opacity: 0;
    animation: rise 0.7s ease forwards;
}

.bit-left h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 14px;
    opacity: 0;
    animation: rise 0.8s ease forwards 0.12s;
}

.bit-left p {
    font-size: 16.5px;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    max-width: 460px;
    margin: 0 0 6px;
    opacity: 0;
    animation: rise 0.8s ease forwards 0.24s;
}

.bit-tags {
    margin-top: 18px;
    opacity: 0;
    animation: rise 0.8s ease forwards 0.36s;
}

.bit-tags span {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    padding: 8px 15px;
    margin-right: 10px;
    margin-top: 10px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
}

.bit-right {
    flex: 1;
    max-width: 480px;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: rise-scale 0.9s ease forwards 0.3s;
}

.bit-right img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes rise-scale {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* =====================================================
   STATS — white card overlapping the dark hero, gold numbers
===================================================== */

.bit-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: -56px 60px 0;
    position: relative;
    z-index: 2;
    background: var(--paper-alt);
    border-radius: 20px;
    box-shadow: 0 25px 55px rgba(15,27,51,0.2);
    border: 1px solid var(--line);
    padding: 30px 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: rise 0.8s ease forwards 0.5s;
}

.bit-card {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 0 16px;
    background: none;
    box-shadow: none;
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--gold);
    border-right: 1px solid var(--line);
}

.bit-card:last-child {
    border-right: none;
}

.bit-card span {
    display: block;
    margin-top: 6px;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--slate);
}

/* =====================================================
   FILTER
===================================================== */

.bit-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 56px 60px 20px;
    justify-content: center;
    max-width: 1040px;
    margin: 0 auto;
}

.bit-filter select {
    flex: 1;
    min-width: 180px;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--paper-alt);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink);
}

.bit-filter select:focus {
    outline: none;
    border-color: var(--navy-soft);
    box-shadow: 0 0 0 3px rgba(44,69,133,0.12);
}

/* =====================================================
   GRID / INFO BOXES
===================================================== */

.bit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: var(--section-py) 60px;
    max-width: 1240px;
    margin: 0 auto;
}

.bit-grid + .bit-grid {
    padding-top: 0;
}

.bit-box {
    background: var(--paper-alt);
    padding: 28px 26px;
    border-radius: 14px;
    border: 1px solid var(--line);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bit-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(15,27,51,0.1);
    border-color: transparent;
}

.bit-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.bit-box p {
    font-size: 14px;
    color: var(--slate);
    line-height: 1.65;
}

.bit-box ul {
    list-style: none;
}

.bit-box li {
    font-size: 14px;
    color: var(--slate);
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
}

.bit-box li:last-child {
    border-bottom: none;
}

/* =====================================================
   CTA — navy-gold banner (JEE Advanced treatment)
===================================================== */

.bit-cta {
    background: linear-gradient(120deg, var(--navy-deep), var(--navy));
    color: #fff;
    text-align: center;
    padding: 44px 40px;
    margin: 20px 60px 60px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15,27,51,0.25);
}

.bit-cta::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(199,154,60,0.28), transparent 70%);
}

.bit-cta h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.bit-cta .bit-btn {
    background: var(--gold);
    color: var(--navy-deep);
    position: relative;
}

.bit-cta .bit-btn:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 992px) {
    .bit-hero { padding: 108px 32px 60px; }
    .bit-filter { padding: 50px 32px 20px; }
    .bit-grid { padding: var(--section-py-sm) 32px; }
    .bit-stats { margin: -46px 32px 0; }
    .bit-cta { margin: 20px 32px 40px; }
}

@media (max-width: 768px) {
    .bit-hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 24px 50px;
    }

    .bit-left h1 { font-size: 38px; }

    .bit-right { max-width: 100%; }
    .bit-right img { height: 240px; }

    .bit-stats {
        flex-direction: column;
        margin: 24px 24px 0;
    }

    .bit-card {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 16px 0;
    }

    .bit-card:last-child { border-bottom: none; }

    .bit-filter { padding: 30px 20px; }

    .bit-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .bit-cta {
        margin: 20px 20px 40px;
        padding: 34px 24px;
    }
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
    outline: 2px solid var(--azure);
    outline-offset: 2px;
}