/* ── Design tokens ── */
:root {
    --sage: #3D6B4F;
    --sage-light: #5A8C6A;
    --leaf: #A8C5A0;
    --cream: #F8F5EF;
    --parchment: #EDE8DE;
    --charcoal: #1E2A22;
    --mist: #E4EDE7;
    --gold: #B8972A;
    --gold-lt: #D4AF37;
    --white: #FFFFFF;

    --display: 'Playfair Display', serif;
    --body: 'DM Sans', sans-serif;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Hero banner ── */
.bhms-hero {
    position: relative;
    padding: 60px 40px 40px;
    overflow: hidden;
    text-align: center;
}

.bhms-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(168, 197, 160, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(184, 151, 42, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* floating leaf shapes */
.hero-leaf {
    position: absolute;
    border-radius: 50% 0 50% 0;
    opacity: 0.07;
    animation: floatLeaf 10s ease-in-out infinite;
}

.hero-leaf:nth-child(1) {
    width: 180px;
    height: 180px;
    background: var(--leaf);
    top: -40px;
    left: -30px;
    animation-delay: 0s;
}

.hero-leaf:nth-child(2) {
    width: 120px;
    height: 120px;
    background: var(--gold);
    bottom: -20px;
    right: 60px;
    animation-delay: 3s;
    border-radius: 0 50% 0 50%;
}

.hero-leaf:nth-child(3) {
    width: 80px;
    height: 80px;
    background: var(--leaf);
    top: 30%;
    left: 10%;
    animation-delay: 6s;
}

@keyframes floatLeaf {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(8deg);
    }
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ffffff;
    background: #14467b;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50px;
    padding: 6px 18px;
    margin-bottom: 22px;
}

.hero-title {
    font-family: var(--display);
    font-size: 45px;
    font-weight: 700;
    color: #14467b;
    line-height: 1.12;
    max-width: 1200px;
    margin: 0 auto 16px;
}

.hero-title span {
    color: #14467b;
}

.hero-subtitle {
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 36px;
    font-weight: 500;
    line-height: 1.65;
}

.hero-badge-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #14467b;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 9px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
    transition: background 0.3s, transform 0.3s var(--ease-spring);
}

.hero-badge:hover {
    background: rgb(0 100 0);
    transform: translateY(-3px);
}

.hero-badge .icon {
    font-size: 1rem;
}

/* ── Section wrapper ── */
.admission-section {
    max-width: 1350px;
    margin: 0 auto;
    padding: 60px 24px 40px;
}

/* ── Section heading ── */
.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--charcoal);
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--sage), var(--gold));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ── Eligibility cards grid ── */
.elig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 80px;
}

.elig-card {
    background: var(--white);
    border-radius: 18px;
    padding: 36px 32px;
    border: 1.5px solid var(--parchment);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), border-color 0.3s;
    cursor: default;
}

.elig-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sage), var(--leaf));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.elig-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(61, 107, 79, 0.13), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: var(--leaf);
}

.elig-card:hover::before {
    transform: scaleX(1);
}

.elig-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--mist);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: background 0.3s, transform 0.3s var(--ease-spring);
}

.elig-card:hover .elig-icon-wrap {
    background: var(--sage);
    transform: scale(1.08) rotate(-4deg);
}

.elig-card h3 {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 14px;
}

.elig-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.elig-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #4a5a50;
    line-height: 1.5;
}

.elig-card ul li::before {
    content: '✦';
    color: var(--sage-light);
    font-size: 0.65rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ── NEET percentile table ── */
.neet-block {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 44px;
    border: 1.5px solid var(--parchment);
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.neet-block::after {
    content: 'NEET';
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-family: var(--display);
    font-size: 9rem;
    font-weight: 700;
    color: rgba(61, 107, 79, 0.04);
    pointer-events: none;
    line-height: 1;
    user-select: none;
}

.neet-block h2 {
    font-family: var(--display);
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.neet-block p {
    font-size: 0.88rem;
    color: #6b7f73;
    margin-bottom: 32px;
}

.percentile-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.percentile-table thead tr th {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage);
    font-weight: 600;
    padding: 0 16px 8px;
    text-align: left;
}

.percentile-table tbody tr {
    background: var(--cream);
    border-radius: 10px;
    transition: background 0.25s, transform 0.25s var(--ease-spring);
    cursor: default;
}

.percentile-table tbody tr:hover {
    background: var(--mist);
    transform: translateX(4px);
}

.percentile-table tbody td {
    padding: 14px 16px;
    font-size: 0.88rem;
    color: var(--charcoal);
    font-weight: 400;
}

.percentile-table tbody td:first-child {
    border-radius: 10px 0 0 10px;
    font-weight: 500;
}

.percentile-table tbody td:last-child {
    border-radius: 0 10px 10px 0;
}

.pct-pill {
    display: inline-block;
    background: linear-gradient(135deg, var(--sage), var(--sage-light));
    color: white;
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.pct-pill.gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-lt));
}

/* ── Steps timeline ── */
.steps-wrap {
    margin-bottom: 80px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    counter-reset: steps;
}

.step-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px;
    border: 1.5px solid var(--parchment);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
    counter-increment: steps;
    animation: fadeUp 0.5s var(--ease-out) both;
}

.step-card:nth-child(1) {
    animation-delay: 0.05s;
}

.step-card:nth-child(2) {
    animation-delay: 0.10s;
}

.step-card:nth-child(3) {
    animation-delay: 0.15s;
}

.step-card:nth-child(4) {
    animation-delay: 0.20s;
}

.step-card:nth-child(5) {
    animation-delay: 0.25s;
}

.step-card:nth-child(6) {
    animation-delay: 0.30s;
}

.step-card:nth-child(7) {
    animation-delay: 0.35s;
}

.step-card:nth-child(8) {
    animation-delay: 0.40s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card::before {
    content: counter(steps, decimal-leading-zero);
    font-family: var(--display);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(61, 107, 79, 0.06);
    position: absolute;
    top: 8px;
    right: 12px;
    line-height: 1;
    pointer-events: none;
    transition: color 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(61, 107, 79, 0.11);
    border-color: var(--leaf);
}

.step-card:hover::before {
    color: rgba(61, 107, 79, 0.12);
}

.step-icon {
    font-size: 1.4rem;
    margin-bottom: 12px;
    display: block;
}

.step-card p {
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.45;
}

/* ── Documents grid ── */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 80px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border-radius: 12px;
    padding: 16px 20px;
    border: 1.5px solid var(--parchment);
    transition: border-color 0.25s, transform 0.25s var(--ease-spring), background 0.25s;
    cursor: default;
}

.doc-item:hover {
    border-color: var(--sage-light);
    background: var(--mist);
    transform: translateX(5px);
}

.doc-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--mist);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.3s;
}

.doc-item:hover .doc-icon {
    background: var(--sage);
}

.doc-item span {
    font-size: 0.99rem;
    font-weight: 500;
    color: #3a4d40;
    line-height: 1.4;
}

/* ── Highlight banner ── */
.highlight-banner {
    background: linear-gradient(135deg, var(--sage) 0%, #2A4E39 100%);
    border-radius: 20px;
    padding: 48px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.highlight-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, 0.05);
    right: -80px;
    top: -80px;
    pointer-events: none;
}

.highlight-banner::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 30px solid rgba(255, 255, 255, 0.05);
    left: 60%;
    bottom: -60px;
    pointer-events: none;
}

.banner-text h3 {
    font-family: var(--display);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    line-height: 1.6;
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--charcoal);
    font-family: var(--body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s var(--ease-spring), box-shadow 0.25s;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.banner-cta:hover {
    background: var(--gold-lt);
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(184, 151, 42, 0.4);
}

.banner-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease-spring);
}

.banner-cta:hover svg {
    transform: translateX(4px);
}

/* ── Image panel ── */
.img-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 80px;
}

.img-panel .img-main {
    grid-row: 1 / 3;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.img-panel .img-sub {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.img-panel img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-out);
}

.img-panel .img-sub img {
    height: 250px;
}

.img-main:hover img,
.img-sub:hover img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 42, 34, 0.55) 0%, transparent 60%);
    pointer-events: none;
}

.img-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(30, 42, 34, 0.5);
    backdrop-filter: blur(6px);
    padding: 5px 12px;
    border-radius: 50px;
}

/* ── Note box ── */
.note-box {
    background: #FFF8E7;
    border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
    margin-bottom: 32px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.86rem;
    color: #5a4a1a;
    line-height: 1.6;
}

.note-box .note-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Responsive ── */
@media (max-width: 720px) {
    .bhms-hero {
        padding: 60px 20px 50px;
    }

    .neet-block {
        padding: 28px 22px;
    }

    .highlight-banner {
        padding: 32px 26px;
    }

    .img-panel {
        grid-template-columns: 1fr;
    }

    .img-panel .img-main {
        grid-row: auto;
        min-height: 200px;
    }

    .admission-section {
        padding: 48px 16px 60px;
    }

    .percentile-table {
        font-size: 0.8rem;
    }
}