/* =========================================================
   RAHMANI ACADEMY - PUBLIC UI V2
   Reference-inspired proportions, original Rahmani branding
   ========================================================= */

:root {
    --ra-green: #138A57;
    --ra-green-hover: #0F7A4D;
    --ra-dark: #10231D;
    --ra-dark-green: #103F31;
    --ra-green-soft: #EEF6EE;
    --ra-cream: #FAF9E9;
    --ra-white: #FFFFFF;
    --ra-bg: #F7F8F8;
    --ra-border: #DDE3DF;
    --ra-muted: #68736D;
    --ra-muted-2: #89958F;
    --ra-gold: #C9A84C;

    --ra-radius: 12px;
    --ra-shadow-soft: 0 10px 28px rgba(16, 63, 49, .055);
    --ra-shadow-card: 0 16px 38px rgba(16, 63, 49, .075);

    --ra-container: 1640px;
    --ra-transition: .24s ease;
}

/* =========================================================
   RESET / GLOBAL
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
}

body.public-site {
    margin: 0;
    overflow-x: hidden;
    background: var(--ra-white);
    color: var(--ra-dark);
    font-family: "Manrope", "Hind Siliguri", system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.public-site img {
    display: block;
    max-width: 100%;
}

body.public-site a {
    color: #183709;
    text-decoration: none;
}

body.public-site button,
body.public-site input,
body.public-site select,
body.public-site textarea {
    font: inherit;
}

body.public-site h1,
body.public-site h2,
body.public-site h3,
body.public-site h4 {
    color: #173d30;
    font-weight: 800;
}

body.public-site p {
    color: var(--ra-muted);
}

::selection {
    background: rgba(19, 138, 87, .18);
    color: var(--ra-dark-green);
}

.skip-link {
    position: fixed;
    z-index: 99999;
    top: 12px;
    left: 12px;
    transform: translateY(-180%);
    padding: 10px 15px;
    border-radius: 8px;
    background: var(--ra-dark-green);
    color: #fff;
}

.skip-link:focus {
    transform: translateY(0);
}

.ra-container {
    width: min(calc(100% - 220px), var(--ra-container));
    margin-inline: auto;
}

.ra-section {
    padding: 78px 0 92px;
}

.ra-section-heading {
    max-width: 840px;
    margin: 0 auto 52px;
    text-align: center;
}

.ra-heading-left {
    max-width: none;
    margin-left: 0;
    text-align: left;
}

.ra-eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--ra-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ra-eyebrow::before {
    display: none;
}

.ra-section-heading h2 {
    margin: 0 0 12px;
    font-size: clamp(38px, 3vw, 50px);
    line-height: 1.15;
    letter-spacing: -.03em;
}

.ra-section-heading p {
    max-width: 760px;
    margin: 0;
    color: var(--ra-muted);
    font-size: 16px;
}

.ra-section-heading:not(.ra-heading-left) p {
    margin-inline: auto;
}

/* =========================================================
   BUTTONS
========================================================= */

.ra-btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 750;
    line-height: 1;
    transition:
        transform var(--ra-transition),
        background var(--ra-transition),
        border-color var(--ra-transition),
        color var(--ra-transition),
        box-shadow var(--ra-transition);
}

.ra-btn:hover {
    transform: translateY(-2px);
}

.ra-btn:focus-visible {
    outline: 3px solid rgba(19, 138, 87, .20);
    outline-offset: 3px;
}

.ra-btn-primary,
.ra-btn-outline {
    border-color: var(--ra-green);
    background: var(--ra-green);
    color: #fff;
}

.ra-btn-primary:hover,
.ra-btn-outline:hover {
    border-color: var(--ra-green-hover);
    background: var(--ra-green-hover);
    color: #fff;
    box-shadow: 0 10px 22px rgba(19, 138, 87, .15);
}

.ra-btn-secondary {
    border-color: #D7DDDA;
    background: #fff;
    color: var(--ra-dark);
}

.ra-btn-secondary:hover {
    border-color: #C5D0C9;
    background: #FAFBFA;
}

/* =========================================================
   HEADER / NAVBAR - REFINED
   Reference-matched compact proportions
========================================================= */

.public-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    width: 100%;
    border: 0;
    background:
        linear-gradient(
            105deg,
            #FBFAE9 0%,
            #F1F6E8 52%,
            #DDEDDC 100%
        );
    box-shadow: none;
}


/* Header-এর জন্য একটু wider breathing space */
.public-header .ra-container {
    width: min(calc(100% - 220px), 1660px);
    margin-inline: auto;
}


.public-navbar {
    display: flex;

    /* Reference-এর মতো compact height */
    min-height: 132px;

    align-items: center;

    /* Logo এবং first menu-এর distance */
    gap: 48px;
}


/* -------------------------
   LOGO
------------------------- */

.public-logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
}

.public-logo img {
    display: block;

    width: auto;

    /* আগেরটা অনেক বড় ছিল */
    max-width: 145px;
    height: 82px;

    object-fit: contain;
    object-position: left center;
}


/* -------------------------
   NAVIGATION AREA
------------------------- */

.public-navigation {
    display: flex;
    min-width: 0;
    flex: 1;

    align-items: center;

    /* Menu left side, Login far right */
    justify-content: space-between;

    gap: 32px;
}


/* -------------------------
   MAIN LINKS
------------------------- */

.public-nav-links {
    display: flex;
    align-items: center;

    /* Reference-এর মতো menu spacing */
    gap: 50px;
}

.public-nav-links a {
    position: relative;

    padding: 10px 0;

    color: #10231D;

    /* আগের 16px একটু বড় ছিল */
    font-size: 14px;

    font-weight: 600;
    line-height: 1.2;

    letter-spacing: -0.01em;

    white-space: nowrap;

    transition:
        color .22s ease;
}


/* Underline */

.public-nav-links a::after {
    position: absolute;

    right: 50%;
    bottom: 2px;
    left: 50%;

    height: 2px;

    border-radius: 20px;

    background: #138A57;

    content: "";

    transition:
        left .22s ease,
        right .22s ease;
}


.public-nav-links a:hover,
.public-nav-links a.active {
    color: #138A57;
}


.public-nav-links a:hover::after,
.public-nav-links a.active::after {
    right: 0;
    left: 0;
}


/* -------------------------
   LOGIN SIDE
------------------------- */

.public-nav-actions {
    display: flex;
    flex: 0 0 auto;

    align-items: center;

    margin-left: auto;
}


/* Reference-এর Login button-এর মতো */
.navbar-login-button {
    display: inline-flex;

    min-width: 80px;
    min-height: 46px;

    align-items: center;
    justify-content: center;

    padding: 8px 18px;

    border: 1px solid rgba(19, 138, 87, .08);
    border-radius: 9px;

    background: rgba(255, 255, 255, .72);
    color: #138A57;

    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    transition:
        background .22s ease,
        border-color .22s ease,
        color .22s ease,
        transform .22s ease;
}

.navbar-login-button:hover {
    transform: translateY(-1px);
    border-color: #138A57;
    background: #138A57;
    color: #FFFFFF;
}
.navbar-login-button:hover {
    transform: translateY(-1px);

    border-color: #138A57;

    background: #138A57;

    color: #FFFFFF;
}


/* -------------------------
   MOBILE MENU BUTTON
------------------------- */

.mobile-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    border: 1px solid #DDE3DF;

    border-radius: 9px;

    background:
        rgba(255, 255, 255, .76);

    cursor: pointer;
}


.mobile-menu-button span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    border-radius: 2px;

    background: #103F31;
}

/* =========================================================
   HERO - DYNAMIC NOTICE + GALLERY IMAGE SLIDER
   Premium cinematic layout; navbar and other sections untouched
========================================================= */

.ra-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 44px 0 56px;
    background:
        linear-gradient(
            90deg,
            #FBF9E9 0%,
            #F7F8EB 45%,
            #E4F1E3 100%
        );
}

/* Very soft background outlines */
.ra-hero::before,
.ra-hero::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(19, 138, 87, .055);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ra-hero::before {
    top: -430px;
    left: 38%;
    width: 820px;
    height: 820px;
}

.ra-hero::after {
    right: -300px;
    bottom: -430px;
    width: 720px;
    height: 720px;
}

.ra-hero .ra-container {
    width: min(calc(100% - 48px), 1580px);
}

/* [ Previous ] [ Main cinematic slider ] [ Next ] */
.ra-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(96px, 140px)
        minmax(0, 1220px)
        minmax(96px, 140px);
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.35vw, 38px);
}

/* =========================================================
   MAIN SLIDER
========================================================= */

.ra-hero-slider {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: clamp(540px, 40vw, 610px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 28px;
    background: #173B2F;
    box-shadow:
        0 34px 80px rgba(16, 63, 49, .16),
        0 10px 26px rgba(16, 63, 49, .08);
}

.ra-hero-slides,
.ra-hero-slide {
    position: absolute;
    inset: 0;
}

.ra-hero-slide {
    z-index: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.035);
    transition:
        opacity .9s cubic-bezier(.22, .61, .36, 1),
        visibility .9s linear,
        transform 1.45s cubic-bezier(.2, .75, .25, 1);
    pointer-events: none;
}

.ra-hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.ra-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
    transition: transform 6s ease-out;
}

.ra-hero-slide.is-active img {
    transform: scale(1.055);
}

/*
 * Layer 1: strong left-side readability.
 * Layer 2: gentle bottom shading for dots/counter.
 */
.ra-hero-overlay {
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 24, 18, .80) 0%,
            rgba(6, 30, 22, .67) 28%,
            rgba(8, 31, 24, .42) 55%,
            rgba(8, 30, 23, .17) 78%,
            rgba(8, 30, 23, .12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4, 22, 16, .30) 0%,
            rgba(4, 22, 16, 0) 40%
        );
    pointer-events: none;
}

.ra-hero-light {
    position: absolute;
    z-index: 2;
    top: -180px;
    right: -120px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: rgba(222, 242, 226, .18);
    filter: blur(80px);
    pointer-events: none;
}

/* =========================================================
   HERO CONTENT
========================================================= */

.ra-hero-content {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: clamp(36px, 5.2vw, 72px);
    width: min(690px, calc(100% - 110px));
    transform: translateY(-50%);
    text-align: left;
}

.ra-hero-badge {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    padding: 9px 17px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 999px;
    background: rgba(255, 255, 255, .90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #0F7A4D;
    box-shadow: 0 10px 28px rgba(4, 27, 19, .12);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .015em;
}

.ra-hero-badge-dot {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #138A57;
    box-shadow: 0 0 0 5px rgba(19, 138, 87, .10);
}

.ra-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(58px, 5.1vw, 78px);
    font-weight: 800;
    line-height: .99;
    letter-spacing: -.055em;
    text-shadow: 0 4px 24px rgba(4, 24, 17, .15);
}

.ra-hero-subtitle {
    max-width: 660px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(18px, 1.42vw, 22px);
    font-weight: 500;
    line-height: 1.62;
    text-shadow: 0 2px 14px rgba(4, 24, 17, .14);
}

.ra-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 13px;
    margin-top: 31px;
}

.ra-hero-actions .ra-btn {
    min-width: 184px;
    min-height: 54px;
    padding: 12px 21px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
}

.ra-hero-actions .ra-btn-primary {
    border-color: #138A57;
    background: #138A57;
    color: #FFFFFF;
    box-shadow: 0 14px 28px rgba(4, 30, 20, .24);
}

.ra-hero-actions .ra-btn-primary:hover {
    border-color: #0F7A4D;
    background: #0F7A4D;
    color: #FFFFFF;
    box-shadow: 0 18px 34px rgba(4, 30, 20, .29);
}

.ra-hero-button-arrow {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .24s ease;
}

.ra-hero-actions .ra-btn-primary:hover .ra-hero-button-arrow {
    transform: translateX(4px);
}

.ra-hero-actions .ra-btn-secondary {
    border-color: rgba(255, 255, 255, .58);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #103F31;
    box-shadow: 0 10px 24px rgba(4, 27, 19, .10);
}

.ra-hero-actions .ra-btn-secondary:hover {
    border-color: #FFFFFF;
    background: #FFFFFF;
    color: #0F7A4D;
}

/* =========================================================
   LARGE LEFT / RIGHT NAVIGATION
========================================================= */

.ra-hero-nav {
    position: relative;
    z-index: 6;
    display: grid;
    width: clamp(94px, 8.7vw, 138px);
    height: clamp(94px, 8.7vw, 138px);
    place-items: center;
    padding: 0;
    border: 1px solid rgba(19, 138, 87, .30);
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #138A57;
    cursor: pointer;
    transition:
        transform .28s ease,
        background .28s ease,
        border-color .28s ease,
        color .28s ease,
        box-shadow .28s ease;
}

.ra-hero-nav::before {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(19, 138, 87, .16);
    border-radius: inherit;
    content: "";
    transition: border-color .28s ease;
}

.ra-hero-nav-ring {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
}

.ra-hero-nav svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .26s ease;
}

.ra-hero-nav:hover {
    transform: scale(1.045);
    border-color: #138A57;
    background: #138A57;
    color: #FFFFFF;
    box-shadow: 0 18px 38px rgba(19, 138, 87, .22);
}

.ra-hero-nav:hover::before {
    border-color: rgba(255, 255, 255, .34);
}

.ra-hero-prev:hover svg {
    transform: translateX(-4px);
}

.ra-hero-next:hover svg {
    transform: translateX(4px);
}

.ra-hero-nav:focus-visible {
    outline: 4px solid rgba(19, 138, 87, .18);
    outline-offset: 5px;
}

/* =========================================================
   DOTS + COUNTER
========================================================= */

.ra-hero-dots {
    position: absolute;
    z-index: 5;
    bottom: 25px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

.ra-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .56);
    box-shadow: 0 0 0 1px rgba(5, 28, 20, .08);
    cursor: pointer;
    transition:
        width .28s ease,
        background .28s ease,
        transform .28s ease;
}

.ra-hero-dot:hover {
    transform: scale(1.18);
    background: rgba(255, 255, 255, .86);
}

.ra-hero-dot.is-active {
    width: 28px;
    background: #FFFFFF;
}

.ra-hero-dot:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .50);
    outline-offset: 4px;
}

.ra-hero-counter {
    position: absolute;
    z-index: 5;
    right: 29px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
}

.ra-hero-counter i {
    display: block;
    width: 34px;
    height: 1px;
    background: rgba(255, 255, 255, .45);
}

/* =========================================================
   HERO RESPONSIVE
========================================================= */

@media (max-width: 1280px) {
    .ra-hero {
        padding-top: 30px;
    }

    .ra-hero .ra-container {
        width: min(calc(100% - 34px), 1420px);
    }

    .ra-hero-inner {
        grid-template-columns:
            minmax(76px, 102px)
            minmax(0, 1fr)
            minmax(76px, 102px);
        gap: 18px;
    }

    .ra-hero-slider {
        height: clamp(520px, 48vw, 590px);
        border-radius: 24px;
    }

    .ra-hero-nav {
        width: clamp(78px, 7.5vw, 100px);
        height: clamp(78px, 7.5vw, 100px);
    }

    .ra-hero-nav::before {
        inset: 8px;
    }

    .ra-hero-content {
        left: clamp(31px, 4.7vw, 58px);
    }

    .ra-hero h1 {
        font-size: clamp(52px, 5.6vw, 70px);
    }
}

@media (max-width: 900px) {
    .ra-hero {
        padding: 24px 0 38px;
    }

    .ra-hero .ra-container {
        width: min(calc(100% - 28px), 820px);
    }

    .ra-hero-inner {
        display: block;
    }

    .ra-hero-slider {
        height: clamp(550px, 78vw, 640px);
        border-radius: 22px;
    }

    /*
     * Tablet/mobile arrows move inside the image edges,
     * replacing the old side decorative circles without
     * consuming horizontal layout space.
     */
    .ra-hero-nav {
        position: absolute;
        z-index: 8;
        top: 50%;
        width: 54px;
        height: 54px;
        transform: translateY(-50%);
        border-color: rgba(255, 255, 255, .54);
        background: rgba(255, 255, 255, .88);
        box-shadow: 0 8px 24px rgba(4, 28, 20, .13);
    }

    .ra-hero-prev {
        left: 14px;
    }

    .ra-hero-next {
        right: 14px;
    }

    .ra-hero-nav::before {
        inset: 6px;
        border-color: rgba(19, 138, 87, .13);
    }

    .ra-hero-nav svg {
        width: 24px;
        height: 24px;
    }

    .ra-hero-nav:hover {
        transform: translateY(-50%) scale(1.045);
    }

    .ra-hero-content {
        top: auto;
        right: 76px;
        bottom: 72px;
        left: 34px;
        width: auto;
        transform: none;
    }

    .ra-hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(4, 24, 17, .84) 0%,
                rgba(5, 27, 20, .64) 42%,
                rgba(6, 28, 21, .22) 78%,
                rgba(6, 28, 21, .10) 100%
            );
    }

    .ra-hero h1 {
        font-size: clamp(45px, 8vw, 62px);
    }

    .ra-hero-subtitle {
        max-width: 590px;
        font-size: clamp(17px, 2.4vw, 20px);
    }
}

@media (max-width: 600px) {
    .ra-hero {
        padding: 14px 0 26px;
    }

    .ra-hero .ra-container {
        width: calc(100% - 20px);
    }

    .ra-hero-slider {
        height: clamp(560px, 150vw, 640px);
        border-radius: 18px;
        box-shadow:
            0 22px 54px rgba(16, 63, 49, .14),
            0 8px 18px rgba(16, 63, 49, .07);
    }

    .ra-hero-content {
        right: 22px;
        bottom: 72px;
        left: 22px;
    }

    .ra-hero-badge {
        min-height: 37px;
        margin-bottom: 17px;
        padding: 8px 12px;
        font-size: 10px;
        letter-spacing: 0;
    }

    .ra-hero-badge-dot {
        width: 6px;
        height: 6px;
        flex-basis: 6px;
    }

    .ra-hero h1 {
        font-size: clamp(39px, 12.2vw, 49px);
        line-height: 1.02;
    }

    .ra-hero-subtitle {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.52;
    }

    .ra-hero-subtitle .desktop-only,
    .ra-hero .desktop-only {
        display: none;
    }

    .ra-hero-actions {
        gap: 9px;
        margin-top: 24px;
    }

    .ra-hero-actions .ra-btn {
        min-width: 0;
        min-height: 49px;
        padding: 11px 16px;
        border-radius: 11px;
        font-size: 12px;
    }

    .ra-hero-nav {
        width: 46px;
        height: 46px;
    }

    .ra-hero-prev {
        left: 10px;
    }

    .ra-hero-next {
        right: 10px;
    }

    .ra-hero-nav::before {
        inset: 5px;
    }

    .ra-hero-nav svg {
        width: 21px;
        height: 21px;
    }

    .ra-hero-dots {
        bottom: 24px;
        max-width: calc(100% - 115px);
    }

    .ra-hero-counter {
        right: 16px;
        bottom: 21px;
        gap: 6px;
        font-size: 9px;
    }

    .ra-hero-counter i {
        width: 20px;
    }
}

@media (max-width: 420px) {
    .ra-hero-slider {
        min-height: 575px;
        height: min(150vw, 620px);
    }

    .ra-hero-content {
        bottom: 68px;
    }

    .ra-hero-actions .ra-btn-primary {
        flex: 1 1 178px;
    }

    .ra-hero-actions .ra-btn-secondary {
        flex: 0 1 auto;
    }
}

/* Reduced motion: keep navigation functional, disable auto-motion feel */
@media (prefers-reduced-motion: reduce) {
    .ra-hero-slide,
    .ra-hero-slide img,
    .ra-hero-nav,
    .ra-hero-nav svg,
    .ra-hero-dot,
    .ra-hero-button-arrow {
        transition: none !important;
        animation: none !important;
    }

    .ra-hero-slide,
    .ra-hero-slide img,
    .ra-hero-slide.is-active,
    .ra-hero-slide.is-active img {
        transform: none !important;
    }
}

/* =========================================================
   APPLY FOR ADMISSION
   Two horizontal cards per row like the reference.
========================================================= */

#admission {
    background: #fff;
}

#admission .ra-section-heading {
    margin-bottom: 58px;
}

.admission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 36px;
}

.admission-card {
    display: grid;
    min-height: 315px;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: center;
    padding: 30px 26px;
    overflow: hidden;
    border: 1px solid #D5DBD8;
    border-radius: 10px;
    background: #F8F9FA;
    box-shadow: none;
    transition:
        transform var(--ra-transition),
        border-color var(--ra-transition),
        box-shadow var(--ra-transition);
}

.admission-card:hover {
    transform: translateY(-3px);
    border-color: rgba(19, 138, 87, .28);
    box-shadow: var(--ra-shadow-soft);
}

.admission-card-image {
    position: relative;
    display: flex;
    width: 100%;
    height: 145px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background:
        linear-gradient(135deg, #E7F2E8, #F5F8F4);
}

.admission-card-image img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    transition: transform var(--ra-transition);
}

.admission-card:hover .admission-card-image img {
    transform: scale(1.025);
}

.admission-card-image:has(img[src$="default-class.jpg"]) img {
    opacity: 0;
}

.admission-card-image:has(img[src$="default-class.jpg"])::after {
    display: grid;
    position: absolute;
    inset: 0;
    place-items: center;
    color: rgba(19, 138, 87, .55);
    content: "RAHMANI ACADEMY";
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
}

.admission-status {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--ra-green);
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(16, 63, 49, .06);
}

.admission-card-body {
    display: flex;
    min-width: 0;
    min-height: 255px;
    flex-direction: column;
    padding: 0 0 0 26px;
}

.admission-school {
    display: block;
    margin-bottom: 3px;
    color: var(--ra-muted);
    font-size: 13px;
    font-weight: 600;
}

.admission-card-top h3 {
    margin: 0;
    color: var(--ra-dark);
    font-family: "Hind Siliguri", "Manrope", sans-serif;
    font-size: clamp(25px, 1.55vw, 31px);
    font-weight: 700;
    line-height: 1.25;
}

.admission-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 0 0;
    color: var(--ra-muted);
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.admission-meta {
    display: grid;
    gap: 8px;
    margin-top: 15px;
}

.admission-meta-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}

.meta-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--ra-green);
    font-size: 15px;
}

.admission-meta-row small {
    display: inline;
    margin-right: 5px;
    color: var(--ra-muted-2);
    font-size: 10px;
}

.admission-meta-row strong {
    display: inline;
    color: #263A32;
    font-size: 12px;
    font-weight: 700;
}

.admission-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
}

.admission-actions .ra-btn {
    min-width: 148px;
    min-height: 48px;
    padding: 11px 20px;
    border-radius: 6px;
    font-size: 14px;
}

/* =========================================================
   HOW TO APPLY
========================================================= */

.ra-process-section {
    background: #fff;
}

.ra-process-section .ra-section-heading {
    margin-bottom: 34px;
}

.process-panel {
    display: grid;
    min-height: 585px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    padding: 72px 44px 56px;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #F0F6F2;
    box-shadow: none;
}

.process-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 0 70px;
    text-align: center;
}

.process-card + .process-card {
    border: 0;
}

.process-step {
    display: block;
    margin: 0 0 60px;
    padding: 0;
    background: transparent;
    color: var(--ra-dark);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.process-icon {
    display: grid;
    width: 96px;
    height: 96px;
    margin: 0 auto 34px;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.process-icon svg {
    width: 84px;
    height: 84px;
    fill: none;
    stroke: var(--ra-green);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
}

.process-card h3 {
    max-width: 360px;
    margin: 0 0 22px;
    color: var(--ra-dark);
    font-size: 19px;
    font-weight: 800;
}

.process-card p {
    max-width: 370px;
    margin: 0;
    color: #263A32;
    font-size: 15px;
    line-height: 1.7;
}

.process-status-link {
    margin-top: 28px;
    color: var(--ra-muted);
    text-align: center;
    font-size: 14px;
}

.process-status-link a {
    color: var(--ra-green);
    font-weight: 750;
}

/* =========================================================
   VIDEO / CAMPUS LIFE
========================================================= */

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 38px;
}

.video-card {
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: transform var(--ra-transition);
}

.video-card:hover {
    transform: translateY(-3px);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.48 / 1;
    border-radius: 13px;
    background: #E7EDE9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ra-transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.025);
}

.video-placeholder {
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, #E5EFE6, #F1F5ED);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 74px;
    height: 74px;
    transform: translate(-50%, -50%);
    place-items: center;
    border-radius: 50%;
    background: var(--ra-green);
    color: #fff;
    font-size: 23px;
    box-shadow: 0 10px 26px rgba(19, 138, 87, .22);
    transition:
        transform var(--ra-transition),
        background var(--ra-transition);
}

.video-placeholder .video-play {
    position: static;
    transform: none;
}

.video-card:hover .video-play {
    transform: translate(-50%, -50%) scale(1.06);
    background: var(--ra-green-hover);
}

.video-placeholder:hover .video-play {
    transform: scale(1.06);
}

.video-card-body {
    padding: 24px 0 0;
}

.video-card-body h3 {
    margin: 0;
    color: var(--ra-dark);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
}

.video-card-body p {
    margin: 10px 0 0;
    color: var(--ra-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    background: #F6F7F8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 34px;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.43 / 1;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #E8ECE9;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-overlay {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    min-height: 96px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    transform: translateY(8px);
    background:
        linear-gradient(
            180deg,
            rgba(7, 28, 20, 0),
            rgba(7, 28, 20, .78)
        );
    opacity: 0;
    color: #fff;
    transition:
        opacity var(--ra-transition),
        transform var(--ra-transition);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay strong {
    color: #fff;
    font-size: 15px;
}

.gallery-overlay span {
    margin-top: 3px;
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
}

/* =========================================================
   GENERIC PAGE HERO / BREADCRUMB
========================================================= */

.page-hero,
.admission-page-hero,
.class-details-hero {
    background:
        linear-gradient(
            105deg,
            #FBFAE9 0%,
            #F1F6E8 52%,
            #E4F0E2 100%
        );
}

.page-hero {
    padding: 76px 0;
}

.page-hero-small {
    padding: 60px 0;
}

.page-hero-content {
    max-width: 900px;
}

.page-hero h1 {
    margin: 7px 0 14px;
    color: var(--ra-dark);
    font-size: clamp(42px, 4vw, 64px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.page-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--ra-muted);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 23px;
    color: var(--ra-muted-2);
    font-size: 12px;
}

.breadcrumb a {
    color: var(--ra-green);
    font-weight: 700;
}

/* =========================================================
   APPLY FORM
========================================================= */

.admission-page-hero {
    padding: 78px 0;
}

.admission-page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    align-items: center;
    gap: 80px;
}

.admission-page-hero h1 {
    margin: 8px 0 16px;
    font-size: clamp(44px, 4vw, 66px);
    letter-spacing: -.04em;
}

.selected-class-card {
    padding: 32px;
    border: 1px solid rgba(19, 138, 87, .15);
    border-radius: 12px;
    background: rgba(255, 255, 255, .90);
    box-shadow: var(--ra-shadow-soft);
}

.selected-class-card > span {
    display: block;
    margin-bottom: 6px;
    color: var(--ra-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.selected-class-card h2 {
    margin: 0 0 21px;
    font-size: 27px;
}

.selected-class-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--ra-border);
}

.selected-class-meta small,
.selected-class-meta strong {
    display: block;
}

.selected-class-meta small {
    color: var(--ra-muted-2);
    font-size: 10px;
}

.selected-class-meta strong {
    margin-top: 3px;
    font-size: 13px;
}

.selected-class-deadline {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--ra-green-soft);
    color: var(--ra-muted);
    font-size: 11px;
}

.text-green {
    color: var(--ra-green) !important;
}

.admission-form-section {
    background: #FAFBFA;
}

.admission-form {
    max-width: 1320px;
    margin-inline: auto;
}

.form-section-card {
    margin-bottom: 24px;
    padding: 40px;
    border: 1px solid var(--ra-border);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(16, 63, 49, .025);
}

.form-section-header {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 31px;
}

.form-section-number {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 11px;
    background: var(--ra-green-soft);
    color: var(--ra-green);
    font-size: 12px;
    font-weight: 800;
}

.form-section-header h2 {
    margin: 0 0 4px;
    font-size: 21px;
}

.form-section-header p {
    margin: 0;
    font-size: 13px;
}

.admission-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 25px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #293B33;
    font-size: 13px;
    font-weight: 700;
}

.form-group label span {
    color: #BD4148;
}

.form-group input:not([type="checkbox"]):not([type="file"]),
.form-group select,
.form-group textarea,
.status-search-card input {
    width: 100%;
    border: 1px solid #D6DED9;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: var(--ra-dark);
    font-size: 14px;
    transition:
        border-color var(--ra-transition),
        box-shadow var(--ra-transition);
}

.form-group input:not([type="checkbox"]):not([type="file"]),
.form-group select {
    min-height: 50px;
    padding: 10px 14px;
}

.form-group textarea {
    min-height: 110px;
    padding: 13px 14px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.status-search-card input:focus {
    border-color: var(--ra-green);
    box-shadow: 0 0 0 3px rgba(19, 138, 87, .09);
}

.form-group input[readonly] {
    background: #F5F7F5;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.upload-card {
    display: flex;
    min-height: 160px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px dashed #BDCDC3;
    border-radius: 11px;
    background: #FAFCFA;
    cursor: pointer;
    text-align: center;
    transition: var(--ra-transition);
}

.upload-card:hover {
    border-color: var(--ra-green);
    background: #F4FAF5;
}

.upload-icon {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 9px;
    place-items: center;
    border-radius: 50%;
    background: var(--ra-green-soft);
    color: var(--ra-green);
    font-size: 20px;
}

.upload-card strong {
    font-size: 13px;
}

.upload-card small {
    margin: 3px 0 10px;
    color: var(--ra-muted-2);
    font-size: 10px;
}

.application-submit-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 24px 26px;
    border: 1px solid var(--ra-border);
    border-radius: 12px;
    background: #fff;
}

.application-agreement label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #34473E;
    font-size: 13px;
}

.application-agreement input {
    margin-top: 4px;
    accent-color: var(--ra-green);
}

.application-submit-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 11px;
}

/* =========================================================
   CLASS DETAILS
========================================================= */

.class-details-hero {
    padding: 78px 0;
}

.class-details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 540px);
    align-items: center;
    gap: 75px;
}

.class-details-content h1 {
    margin: 13px 0 18px;
    font-size: clamp(46px, 4vw, 68px);
    letter-spacing: -.04em;
}

.class-status-pill {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--ra-green);
    font-size: 11px;
    font-weight: 800;
}

.class-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.class-details-image {
    overflow: hidden;
    aspect-ratio: 1.3 / 1;
    border-radius: 13px;
    background: #E7EFE8;
}

.class-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.class-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    align-content: center;
    background: linear-gradient(135deg, #EDF5EE, #DFEEE1);
    color: var(--ra-green);
}

.class-image-placeholder span {
    font-size: 60px;
    font-weight: 800;
}

.class-image-placeholder strong {
    margin-top: -10px;
    color: var(--ra-dark-green);
}

.class-information-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 55px;
}

.class-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.class-feature {
    padding: 24px;
    border: 1px solid var(--ra-border);
    border-radius: 11px;
    background: #fff;
}

.class-feature > span {
    color: var(--ra-green);
    font-size: 12px;
    font-weight: 800;
}

.class-feature h3 {
    margin: 8px 0 7px;
    font-size: 17px;
}

.class-feature p {
    margin: 0;
    font-size: 13px;
}

.class-admission-summary {
    position: sticky;
    top: 130px;
    padding: 28px;
    border: 1px solid var(--ra-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--ra-shadow-soft);
}

.class-admission-summary h3 {
    margin: 0 0 19px;
    font-size: 20px;
}

.class-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    border-top: 1px solid #EAEFEB;
    font-size: 12px;
}

.class-summary-row span {
    color: var(--ra-muted);
}

.class-summary-row strong {
    text-align: right;
}

.class-summary-button {
    width: 100%;
    margin-top: 17px;
}

.class-process-section {
    padding: 72px 0;
    background: #F1F7F2;
}

.mini-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.mini-process-grid > div {
    padding: 25px;
    border-radius: 11px;
    background: #fff;
}

.mini-process-grid span {
    color: var(--ra-green);
    font-size: 12px;
    font-weight: 800;
}

.mini-process-grid h3 {
    margin: 7px 0;
    font-size: 18px;
}

.mini-process-grid p {
    margin: 0;
    font-size: 13px;
}

/* =========================================================
   APPLICATION STATUS
========================================================= */

.application-status-section {
    background: #FAFBFA;
}

.status-page-layout {
    display: grid;
    max-width: 1120px;
    grid-template-columns: 1.35fr .65fr;
    gap: 25px;
    margin-inline: auto;
}

.status-search-card,
.status-help-card {
    padding: 35px;
    border: 1px solid var(--ra-border);
    border-radius: 12px;
    background: #fff;
}

.status-search-card h2 {
    margin: 3px 0 7px;
    font-size: 27px;
}

.status-search-card form {
    display: grid;
    gap: 17px;
    margin-top: 24px;
}

.status-search-card input {
    min-height: 50px;
    padding: 11px 14px;
}

.status-search-btn {
    width: 100%;
}

.status-help-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--ra-green-soft);
    color: var(--ra-green);
    font-weight: 800;
}

.status-help-card h3 {
    margin: 0 0 9px;
    font-size: 19px;
}

.status-help-card a {
    color: var(--ra-green);
    font-size: 12px;
    font-weight: 750;
}

.application-result-card {
    max-width: 1120px;
    margin: 28px auto 0;
    padding: 34px;
    border: 1px solid var(--ra-border);
    border-radius: 13px;
    background: #fff;
}

.application-result-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.result-label {
    color: var(--ra-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.application-result-header h2 {
    margin: 4px 0 0;
    font-size: 26px;
}

.application-status-badge {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ra-green-soft);
    color: var(--ra-green);
    font-size: 11px;
    font-weight: 800;
}

.application-result-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 25px;
    overflow: hidden;
    border: 1px solid var(--ra-border);
    border-radius: 9px;
    background: var(--ra-border);
}

.application-result-info > div {
    padding: 17px;
    background: #fff;
}

.application-result-info span,
.application-result-info strong {
    display: block;
}

.application-result-info span {
    color: var(--ra-muted-2);
    font-size: 10px;
}

.application-result-info strong {
    margin-top: 3px;
    font-size: 13px;
}

.application-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 34px;
}

.timeline-step {
    position: relative;
    text-align: center;
}

.timeline-step::before {
    position: absolute;
    z-index: 0;
    top: 18px;
    right: 50%;
    left: -50%;
    height: 2px;
    background: var(--ra-border);
    content: "";
}

.timeline-step:first-child::before {
    display: none;
}

.timeline-step.is-complete::before {
    background: var(--ra-green);
}

.timeline-marker {
    position: relative;
    z-index: 1;
    display: grid;
    width: 36px;
    height: 36px;
    margin: 0 auto 10px;
    place-items: center;
    border: 2px solid var(--ra-border);
    border-radius: 50%;
    background: #fff;
    color: var(--ra-muted);
    font-size: 11px;
    font-weight: 800;
}

.timeline-step.is-complete .timeline-marker {
    border-color: var(--ra-green);
    background: var(--ra-green);
    color: #fff;
}

.timeline-content span {
    display: block;
    color: var(--ra-muted-2);
    font-size: 9px;
}

.timeline-content strong {
    font-size: 11px;
}

/* =========================================================
   NOTICES
========================================================= */

.notice-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.notice-page-header h2 {
    margin: 3px 0 0;
    font-size: 34px;
}

.notice-count {
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--ra-green-soft);
    color: var(--ra-green);
    font-size: 11px;
    font-weight: 800;
}

.notice-list {
    display: grid;
    gap: 17px;
}

.notice-card {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--ra-border);
    border-radius: 11px;
    background: #fff;
    transition: var(--ra-transition);
}

.notice-card:hover {
    border-color: rgba(19, 138, 87, .28);
    box-shadow: 0 5px 18px rgba(16, 63, 49, .035);
}

.notice-date-box {
    display: flex;
    min-height: 104px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--ra-green-soft);
    color: var(--ra-dark-green);
}

.notice-date-box strong {
    font-size: 30px;
    line-height: 1;
}

.notice-date-box span,
.notice-date-box small {
    font-size: 10px;
}

.notice-card-meta,
.notice-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--ra-muted-2);
    font-size: 10px;
}

.notice-card-content h3 {
    margin: 5px 0 8px;
    font-size: 20px;
}

.notice-card-content p {
    margin: 0;
    font-size: 13px;
}

.notice-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 11px;
    margin-top: 14px;
}

.notice-read-more {
    color: var(--ra-green);
    font-size: 12px;
    font-weight: 800;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
}

.pagination a {
    display: grid;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    padding: 8px 12px;
    border: 1px solid var(--ra-border);
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.pagination a:hover,
.pagination a.active {
    border-color: var(--ra-green);
    background: var(--ra-green);
    color: #fff;
}

.notice-details-card {
    max-width: 1000px;
    margin-inline: auto;
    padding: 42px;
    border: 1px solid var(--ra-border);
    border-radius: 13px;
    background: #fff;
}

.notice-details-badge {
    display: inline-flex;
    margin-bottom: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--ra-green-soft);
    color: var(--ra-green);
    font-size: 10px;
    font-weight: 800;
}

.notice-details-header h2 {
    margin: 0 0 12px;
    font-size: 31px;
}

.notice-details-divider {
    height: 1px;
    margin: 25px 0;
    background: var(--ra-border);
}

.notice-details-content {
    color: #2B3E35;
    font-size: 15px;
    line-height: 1.85;
}

.notice-download-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    border-radius: 9px;
    background: #F1F7F2;
}

.back-row {
    max-width: 1000px;
    margin: 20px auto 0;
}

/* =========================================================
   ABOUT / CONTACT GENERAL SUPPORT
========================================================= */

.about-grid,
.about-intro-grid,
.mission-vision-grid,
.contact-layout,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.about-card,
.mission-card,
.vision-card,
.value-card,
.contact-info-card,
.contact-form-card,
.info-card {
    padding: 29px;
    border: 1px solid var(--ra-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(16, 63, 49, .025);
}

/* =========================================================
   SUCCESS PAGE
========================================================= */

.application-success-wrap {
    max-width: 860px;
    margin-inline: auto;
}

.application-success-card {
    padding: 42px;
    border: 1px solid var(--ra-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--ra-shadow-soft);
}

.application-success-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 19px;
    place-items: center;
    border-radius: 50%;
    background: var(--ra-green-soft);
    color: var(--ra-green);
    font-size: 32px;
    font-weight: 800;
}

.application-success-heading {
    text-align: center;
}

.application-success-heading h1 {
    margin: 4px 0 10px;
    font-size: 35px;
}

.application-number-box {
    margin: 30px 0;
    padding: 25px;
    border-radius: 11px;
    background: #F1F7F2;
    text-align: center;
}

.application-number-box span,
.application-number-box strong,
.application-number-box small {
    display: block;
}

.application-number-box strong {
    margin: 4px 0;
    color: var(--ra-dark-green);
    font-size: 28px;
}

.application-success-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.application-success-info > div {
    padding: 15px;
    border: 1px solid #E9EEEB;
    border-radius: 9px;
}

.application-success-info span,
.application-success-info strong {
    display: block;
}

.application-success-info span {
    color: var(--ra-muted-2);
    font-size: 10px;
}

.application-success-info strong {
    margin-top: 3px;
    font-size: 13px;
}

.application-success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
    margin-top: 28px;
}

/* =========================================================
   EMPTY STATE
========================================================= */

.ra-empty-state {
    padding: 56px 30px;
    border: 1px dashed #CAD6CF;
    border-radius: 12px;
    background: #FBFDFB;
    text-align: center;
}

.ra-empty-icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin: 0 auto 15px;
    place-items: center;
    border-radius: 50%;
    background: var(--ra-green-soft);
    color: var(--ra-green);
    font-size: 22px;
}

.ra-empty-state h1,
.ra-empty-state h2,
.ra-empty-state h3 {
    margin: 0 0 8px;
}

.ra-empty-state p {
    max-width: 580px;
    margin: 0 auto 20px;
}

/* =========================================================
   MEDIA MODAL
========================================================= */

.media-modal {
    position: fixed;
    z-index: 5000;
    inset: 0;
    display: none;
    place-items: center;
    padding: 28px;
    background: rgba(5, 20, 15, .86);
}

.media-modal[aria-hidden="false"],
.media-modal.is-open {
    display: grid;
}

.media-modal-dialog {
    width: min(100%, 1080px);
    overflow: hidden;
    border-radius: 14px;
    background: #07100C;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.media-modal-dialog iframe,
.media-modal-dialog video,
.gallery-modal-dialog img {
    display: block;
    width: 100%;
    max-height: 84vh;
}

.media-modal-close {
    position: fixed;
    z-index: 2;
    top: 22px;
    right: 22px;
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    background: rgba(255, 255, 255, .11);
    color: #fff;
    cursor: pointer;
    font-size: 25px;
}

/* =========================================================
   FOOTER
========================================================= */

body.public-site footer,
.public-footer,
.site-footer,
.ra-footer {
    background: #153F34;
    color: rgba(255, 255, 255, .76);
}

body.public-site footer .ra-container,
.public-footer .ra-container,
.site-footer .ra-container,
.ra-footer .ra-container {
    padding-top: 58px;
    padding-bottom: 26px;
}

.footer-grid,
.public-footer-grid,
.footer-main,
.footer-content {
    display: grid;
    grid-template-columns: 1.35fr .95fr .85fr;
    gap: 70px;
    padding-bottom: 40px;
}

.footer-logo,
.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 17px;
}

.footer-logo img,
.footer-brand img,
.footer-brand-logo img {
    width: auto;
    max-width: 125px;
    height: 82px;
    object-fit: contain;
}

body.public-site footer h2,
body.public-site footer h3 {
    color: #fff;
}

body.public-site footer p {
    color: rgba(255, 255, 255, .70);
}

body.public-site footer a {
    color: rgba(255, 255, 255, .76);
}

body.public-site footer a:hover {
    color: #fff;
}

.footer-bottom,
.footer-copyright,
body.public-site footer .copyright {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .67);
    text-align: center;
    font-size: 12px;
}

/* =========================================================
   PRINT
========================================================= */

@media print {
    .public-header,
    .public-footer,
    .site-footer,
    .ra-footer,
    .print-toolbar,
    .skip-link {
        display: none !important;
    }

    * {
        box-shadow: none !important;
    }
}

/* =========================================================
   HERO READABILITY + COMPACT LEFT-CORNER REFINEMENT
   Keeps the existing slider/backend logic untouched.
========================================================= */

/* Stronger cinematic overlay so text stays readable on any photo */
.ra-hero .ra-hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(4, 24, 18, .92) 0%,
            rgba(5, 28, 21, .84) 24%,
            rgba(6, 30, 23, .66) 43%,
            rgba(7, 31, 24, .34) 66%,
            rgba(7, 30, 23, .14) 100%
        ),
        linear-gradient(
            0deg,
            rgba(3, 20, 15, .40) 0%,
            rgba(3, 20, 15, .08) 42%,
            rgba(3, 20, 15, .10) 100%
        );
}

/* Move the hero copy closer to the left corner and make it more compact */
.ra-hero .ra-hero-content {
    top: 50%;
    left: clamp(22px, 3vw, 42px);
    width: min(585px, calc(100% - 78px));
    transform: translateY(-50%);
    text-align: left;
}

/*
 * Higher-specificity selectors are intentional.
 * They override the global public-site h1/p colors.
 */
body.public-site .ra-hero h1 {
    max-width: 585px;
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(48px, 4.15vw, 64px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.047em;
    text-wrap: balance;
    text-shadow:
        0 2px 3px rgba(0, 0, 0, .28),
        0 10px 30px rgba(0, 0, 0, .34);
}

body.public-site .ra-hero .ra-hero-subtitle {
    max-width: 535px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .96);
    font-size: clamp(16px, 1.18vw, 19px);
    font-weight: 550;
    line-height: 1.58;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, .34),
        0 8px 20px rgba(0, 0, 0, .22);
}

/* Smaller premium badge */
.ra-hero .ra-hero-badge {
    min-height: 40px;
    margin-bottom: 20px;
    padding: 8px 15px;
    border-color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .94);
    color: #087548;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, .14),
        inset 0 1px 0 rgba(255, 255, 255, .72);
    font-size: 11.5px;
    font-weight: 800;
}

/* More compact and balanced CTA buttons */
.ra-hero .ra-hero-actions {
    gap: 11px;
    margin-top: 26px;
}

.ra-hero .ra-hero-actions .ra-btn {
    min-width: 170px;
    min-height: 51px;
    padding: 11px 19px;
    border-radius: 12px;
    font-size: 13px;
}

.ra-hero .ra-hero-actions .ra-btn-primary {
    box-shadow:
        0 12px 28px rgba(3, 26, 17, .30),
        inset 0 1px 0 rgba(255, 255, 255, .12);
}

.ra-hero .ra-hero-actions .ra-btn-secondary {
    border-color: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .94);
    color: #0B4A35;
}

/* Natural image crop */
.ra-hero .ra-hero-slide img {
    object-position: center center;
}

/* Laptop */
@media (max-width: 1280px) {
    .ra-hero .ra-hero-content {
        left: clamp(20px, 2.7vw, 34px);
        width: min(540px, calc(100% - 66px));
    }

    body.public-site .ra-hero h1 {
        max-width: 540px;
        font-size: clamp(44px, 4.9vw, 58px);
    }

    body.public-site .ra-hero .ra-hero-subtitle {
        max-width: 500px;
        font-size: clamp(15px, 1.5vw, 18px);
    }
}

/* Tablet */
@media (max-width: 900px) {
    .ra-hero .ra-hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(4, 24, 17, .94) 0%,
                rgba(5, 27, 20, .80) 34%,
                rgba(6, 28, 21, .45) 64%,
                rgba(6, 28, 21, .14) 100%
            );
    }

    .ra-hero .ra-hero-content {
        top: auto;
        right: 72px;
        bottom: 68px;
        left: 28px;
        width: auto;
        transform: none;
    }

    body.public-site .ra-hero h1 {
        max-width: 520px;
        font-size: clamp(40px, 7.3vw, 54px);
    }

    body.public-site .ra-hero .ra-hero-subtitle {
        max-width: 500px;
        margin-top: 14px;
        color: rgba(255, 255, 255, .96);
        font-size: clamp(15px, 2.4vw, 18px);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .ra-hero .ra-hero-content {
        right: 20px;
        bottom: 66px;
        left: 20px;
    }

    .ra-hero .ra-hero-badge {
        min-height: 35px;
        margin-bottom: 15px;
        padding: 7px 11px;
        font-size: 9.5px;
    }

    body.public-site .ra-hero h1 {
        max-width: 100%;
        font-size: clamp(36px, 11vw, 45px);
        line-height: 1.03;
    }

    body.public-site .ra-hero .ra-hero-subtitle {
        max-width: 100%;
        margin-top: 13px;
        font-size: 15px;
        line-height: 1.48;
    }

    .ra-hero .ra-hero-actions {
        gap: 8px;
        margin-top: 20px;
    }

    .ra-hero .ra-hero-actions .ra-btn {
        min-height: 47px;
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 11.5px;
    }
}

/* =========================================================
   HERO FINAL OVERRIDE - REMOVE TOP GAP + SMALLER SLIDER
   Paste/load LAST so it wins over older hero rules.
========================================================= */

@media (min-width: 901px) {
    .ra-hero {
        min-height: 0 !important;
        padding: 10px 0 22px !important;
    }

    .ra-hero .ra-container {
        width: min(calc(100% - 42px), 1400px) !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .ra-hero-inner {
        min-height: 0 !important;
        height: auto !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        align-items: center !important;
    }

    .ra-hero-slider {
        height: 445px !important;
        min-height: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        border-radius: 22px !important;
    }

    .ra-hero-content {
        top: 28px !important;
        right: auto !important;
        bottom: auto !important;
        left: 32px !important;
        width: min(500px, calc(100% - 64px)) !important;
        transform: none !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .ra-hero-badge {
        min-height: 34px !important;
        margin: 0 0 13px !important;
        padding: 7px 12px !important;
        font-size: 10px !important;
    }

    body.public-site .ra-hero h1 {
        max-width: 500px !important;
        margin: 0 !important;
        color: #fff !important;
        font-size: clamp(40px, 3vw, 52px) !important;
        line-height: 1.02 !important;
    }

    body.public-site .ra-hero .ra-hero-subtitle {
        max-width: 470px !important;
        margin: 12px 0 0 !important;
        color: rgba(255,255,255,.98) !important;
        font-size: clamp(13px, .95vw, 16px) !important;
        line-height: 1.5 !important;
    }

    .ra-hero-actions {
        margin-top: 17px !important;
        gap: 9px !important;
    }

    .ra-hero-actions .ra-btn {
        min-width: 150px !important;
        min-height: 43px !important;
        padding: 9px 15px !important;
        border-radius: 10px !important;
        font-size: 11.5px !important;
    }

    .ra-hero-nav {
        width: 72px !important;
        height: 72px !important;
    }

    .ra-hero-nav::before {
        inset: 6px !important;
    }

    .ra-hero-nav svg {
        width: 24px !important;
        height: 24px !important;
    }

    .ra-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3,21,15,.94) 0%,
                rgba(4,24,18,.88) 24%,
                rgba(5,27,20,.70) 43%,
                rgba(7,31,24,.36) 66%,
                rgba(8,30,23,.13) 100%
            ),
            linear-gradient(
                180deg,
                rgba(3,21,15,.20) 0%,
                rgba(3,21,15,.05) 55%,
                rgba(3,21,15,.28) 100%
            ) !important;
    }
}

/* Typical laptop height: keep everything visible at 100% zoom */
@media (min-width: 901px) and (max-height: 850px) {
    .ra-hero {
        padding-top: 24px !important;
        padding-bottom: 45px !important;
    }

    .ra-hero-slider {
        height: 410px !important;
    }

    .ra-hero-content {
        top: 24px !important;
        left: 28px !important;
    }

    body.public-site .ra-hero h1 {
        font-size: clamp(38px, 2.8vw, 48px) !important;
    }

    body.public-site .ra-hero .ra-hero-subtitle {
        font-size: clamp(12px, .9vw, 15px) !important;
    }
}

/* Tablet/mobile keep controls inside the image */
@media (max-width: 900px) {
    .ra-hero {
        min-height: 0 !important;
        padding: 10px 0 18px !important;
    }

    .ra-hero-inner {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ra-hero-slider {
        margin: 0 !important;
    }

    .ra-hero-content {
        top: 22px !important;
        right: 18px !important;
        bottom: auto !important;
        left: 18px !important;
        transform: none !important;
    }
}

/* =========================================================
   FINAL PUBLIC UI RESPONSIVE + ADMISSION + VIDEO MODAL FIX
   Keeps backend/PHP logic unchanged.
========================================================= */

/* ---------------------------------------------------------
   GLOBAL RESPONSIVE FOUNDATION
--------------------------------------------------------- */

body.public-site {
    overflow-x: hidden;
}

body.public-site img,
body.public-site video,
body.public-site iframe {
    max-width: 100%;
}

.ra-container {
    width: min(calc(100% - 64px), var(--ra-container));
}

/* ---------------------------------------------------------
   ONLINE ADMISSION — RESTORE ORIGINAL DESKTOP DESIGN
--------------------------------------------------------- */

#admission {
    background: #FFFFFF;
}

#admission .ra-section-heading {
    margin-bottom: 58px;
}

#admission .ra-section-heading.ra-heading-left {
    max-width: none;
    margin-left: 0;
    text-align: left;
}

.admission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 36px;
}

.admission-card {
    display: grid;
    min-width: 0;
    min-height: 315px;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: center;
    padding: 30px 26px;
    overflow: hidden;
    border: 1px solid #D5DBD8;
    border-radius: 10px;
    background: #F8F9FA;
    box-shadow: none;
}

.admission-card-image {
    position: relative;
    width: 100%;
    height: 145px;
    overflow: hidden;
    border-radius: 6px;
    background: linear-gradient(135deg, #E7F2E8, #F5F8F4);
}

.admission-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admission-card-body {
    display: flex;
    min-width: 0;
    min-height: 255px;
    flex-direction: column;
    padding: 0 0 0 26px;
}

.admission-actions {
    margin-top: auto;
}

/* ---------------------------------------------------------
   CAMPUS LEARNING / VIDEO CARDS
   Use a standard 16:9 visual frame.
--------------------------------------------------------- */

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.video-card {
    min-width: 0;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    background: #E7EDE9;
    box-shadow: 0 10px 28px rgba(16, 63, 49, .06);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------------------------------------------------------
   STANDARD VIDEO MODAL / PLAYER
   16:9 desktop/tablet/mobile without stretched iframe/video.
--------------------------------------------------------- */

.media-modal {
    padding: clamp(12px, 3vw, 32px);
    background: rgba(4, 18, 13, .90);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#videoModal .media-modal-dialog {
    width: min(94vw, 1000px);
    max-width: 1000px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: #050B08;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .46);
}

#videoModalContent {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

#videoModalContent > iframe,
#videoModalContent > video,
#videoModalContent iframe,
#videoModalContent video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    border: 0;
    background: #000;
}

#videoModalContent video {
    object-fit: contain;
}

#galleryModal .media-modal-dialog {
    width: min(94vw, 1100px);
    max-width: 1100px;
    background: transparent;
    box-shadow: none;
}

#galleryModal .gallery-modal-dialog img {
    width: 100%;
    max-height: 84vh;
    object-fit: contain;
    border-radius: 14px;
}

.media-modal-close {
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    width: 44px;
    height: 44px;
    background: rgba(10, 28, 21, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ---------------------------------------------------------
   RESPONSIVE — LARGE TABLET / SMALL LAPTOP
--------------------------------------------------------- */

@media (max-width: 1180px) {

    .ra-container,
    .public-header .ra-container {
        width: min(calc(100% - 48px), 1060px);
    }

    .ra-section {
        padding: 66px 0 76px;
    }

    .public-navbar {
        min-height: 96px;
        gap: 28px;
    }

    .public-logo img {
        max-width: 132px;
        height: 70px;
    }

    .public-nav-links {
        gap: 28px;
    }

    .admission-grid {
        gap: 24px;
    }

    .admission-card {
        grid-template-columns: 205px minmax(0, 1fr);
        padding: 24px 22px;
    }

    .admission-card-body {
        padding-left: 22px;
    }

    .process-panel {
        min-height: 0;
        padding: 56px 24px 46px;
    }

    .process-card {
        padding: 0 30px;
    }

    .process-step {
        margin-bottom: 38px;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .admission-page-hero-grid,
    .class-details-grid,
    .contact-grid {
        gap: 42px;
    }
}

/* ---------------------------------------------------------
   RESPONSIVE NAVIGATION + TABLET
--------------------------------------------------------- */

@media (max-width: 900px) {

    html {
        scroll-padding-top: 82px;
    }

    .ra-container,
    .public-header .ra-container {
        width: calc(100% - 36px);
    }

    .ra-section {
        padding: 58px 0 66px;
    }

    .ra-section-heading {
        margin-bottom: 38px;
    }

    .ra-section-heading h2 {
        font-size: clamp(31px, 6vw, 42px);
    }

    .ra-section-heading p {
        font-size: 15px;
    }

    /* Header / mobile navigation */
    .public-header {
        position: sticky;
        top: 0;
    }

    .public-navbar {
        position: relative;
        min-height: 82px;
        gap: 18px;
    }

    .public-logo img {
        max-width: 125px;
        height: 62px;
    }

    .mobile-menu-button {
        display: block;
        margin-left: auto;
        flex: 0 0 44px;
    }

    .public-navigation {
        position: absolute;
        z-index: 1200;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        display: none;
        min-width: 0;
        padding: 18px;
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        border: 1px solid rgba(16, 63, 49, .10);
        border-radius: 14px;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 20px 50px rgba(16, 63, 49, .14);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .public-navigation.is-open {
        display: flex;
    }

    .public-nav-links {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .public-nav-links a {
        width: 100%;
        padding: 12px 8px;
        border-bottom: 1px solid #EDF1EE;
        font-size: 14px;
    }

    .public-nav-links a::after {
        display: none;
    }

    .public-nav-actions {
        width: 100%;
        margin: 8px 0 0;
    }

    .navbar-login-button {
        width: 100%;
    }

    /* Admission */
    #admission .ra-section-heading {
        margin-bottom: 38px;
    }

    .admission-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .admission-card {
        min-height: 0;
        grid-template-columns: 210px minmax(0, 1fr);
        padding: 22px;
    }

    .admission-card-image {
        height: 150px;
    }

    .admission-card-body {
        min-height: 230px;
        padding-left: 22px;
    }

    /* How to apply */
    .process-panel {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 16px 26px;
        border-radius: 14px;
    }

    .process-card {
        padding: 34px 12px;
    }

    .process-card + .process-card {
        border-top: 1px solid rgba(16, 63, 49, .10);
    }

    .process-step {
        margin-bottom: 22px;
    }

    .process-icon {
        width: 78px;
        height: 78px;
        margin-bottom: 24px;
    }

    .process-icon svg {
        width: 68px;
        height: 68px;
    }

    /* Media */
    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    /* Forms / detail pages */
    .admission-page-hero-grid,
    .class-details-grid,
    .status-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .admission-form-grid,
    .selected-class-meta,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .upload-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .application-submit-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .application-submit-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .application-submit-actions .ra-btn {
        flex: 1 1 180px;
    }

    /* Footer */
    .footer-grid,
    .public-footer-grid,
    .footer-main,
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    /* Modal */
    #videoModal .media-modal-dialog {
        width: min(94vw, 820px);
        border-radius: 13px;
    }
}

/* ---------------------------------------------------------
   RESPONSIVE — MOBILE
--------------------------------------------------------- */

@media (max-width: 600px) {

    html {
        scroll-padding-top: 74px;
    }

    .ra-container,
    .public-header .ra-container {
        width: calc(100% - 24px);
    }

    .ra-section {
        padding: 46px 0 54px;
    }

    .ra-section-heading {
        margin-bottom: 30px;
    }

    .ra-heading-left {
        text-align: left;
    }

    .ra-eyebrow {
        font-size: 10px;
    }

    .ra-section-heading h2 {
        margin-bottom: 9px;
        font-size: clamp(28px, 9vw, 36px);
    }

    .ra-section-heading p {
        font-size: 14px;
        line-height: 1.65;
    }

    /* Header */
    .public-navbar {
        min-height: 72px;
    }

    .public-logo img {
        max-width: 108px;
        height: 54px;
    }

    .public-navigation {
        top: calc(100% + 6px);
        padding: 14px;
        border-radius: 12px;
    }

    /* Buttons */
    .ra-btn {
        min-height: 46px;
        padding: 10px 16px;
        font-size: 13px;
    }

    /* Admission — clean stacked card, preserving old visual language */
    #admission .ra-section-heading {
        margin-bottom: 28px;
    }

    .admission-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .admission-card {
        display: block;
        min-height: 0;
        padding: 14px;
        border-radius: 12px;
    }

    .admission-card-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 9px;
    }

    .admission-card-body {
        min-height: 0;
        padding: 18px 4px 4px;
    }

    .admission-card-top h3 {
        font-size: clamp(23px, 7vw, 28px);
    }

    .admission-description {
        font-size: 13px;
    }

    .admission-meta {
        gap: 10px;
        margin-top: 14px;
    }

    .admission-meta-row {
        grid-template-columns: 26px minmax(0, 1fr);
    }

    .admission-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        padding-top: 18px;
    }

    .admission-actions .ra-btn {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 12px;
    }

    /* Process */
    .process-panel {
        padding: 8px 18px;
    }

    .process-card {
        padding: 30px 4px;
    }

    .process-card h3 {
        font-size: 18px;
    }

    .process-card p {
        font-size: 14px;
    }

    .process-status-link {
        font-size: 13px;
        line-height: 1.6;
    }

    /* Video cards */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .video-thumbnail {
        aspect-ratio: 16 / 9;
        border-radius: 12px;
    }

    .video-play {
        width: 58px;
        height: 58px;
        font-size: 18px;
    }

    .video-card-body {
        padding-top: 14px;
    }

    .video-card-body h3 {
        font-size: 18px;
    }

    .video-card-body p {
        margin-top: 7px;
        font-size: 13px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-item {
        aspect-ratio: 16 / 10;
        border-radius: 10px;
    }

    .gallery-overlay {
        min-height: 78px;
        padding: 16px;
        opacity: 1;
        transform: none;
    }

    /* Forms */
    .form-section-card {
        padding: 22px 16px;
        border-radius: 11px;
    }

    .form-section-header {
        gap: 12px;
        margin-bottom: 22px;
    }

    .form-section-number {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .admission-form-grid,
    .upload-grid,
    .selected-class-meta,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .application-submit-panel {
        padding: 18px 16px;
    }

    .application-submit-actions {
        flex-direction: column;
    }

    .application-submit-actions .ra-btn {
        width: 100%;
    }

    /* Notices / status tables or wide content */
    .admin-table-wrapper,
    .notice-table-wrapper,
    .table-responsive {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Footer */
    .footer-grid,
    .public-footer-grid,
    .footer-main,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: auto;
    }

    body.public-site footer .ra-container,
    .public-footer .ra-container,
    .site-footer .ra-container,
    .ra-footer .ra-container {
        padding-top: 44px;
        padding-bottom: 22px;
    }

    /* Video modal */
    .media-modal {
        padding:
            max(10px, env(safe-area-inset-top))
            10px
            max(10px, env(safe-area-inset-bottom));
    }

    #videoModal .media-modal-dialog {
        width: 100%;
        max-width: none;
        border-radius: 11px;
    }

    #videoModalContent {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .media-modal-close {
        top: max(10px, env(safe-area-inset-top));
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
}

/* ---------------------------------------------------------
   VERY SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 390px) {

    .ra-container,
    .public-header .ra-container {
        width: calc(100% - 18px);
    }

    .admission-actions {
        grid-template-columns: 1fr;
    }

    .ra-section-heading h2 {
        font-size: 28px;
    }

    .video-play {
        width: 52px;
        height: 52px;
    }
}

/* ---------------------------------------------------------
   LANDSCAPE PHONE / SHORT VIEWPORT MODAL
--------------------------------------------------------- */

@media (max-height: 560px) and (orientation: landscape) {

    .media-modal {
        padding: 8px 54px;
    }

    #videoModal .media-modal-dialog {
        width: min(86vw, 820px);
    }

    #videoModalContent {
        max-height: calc(100vh - 16px);
        aspect-ratio: 16 / 9;
    }

    .media-modal-close {
        top: 8px;
        right: 8px;
    }
}
