/* ==========================================================================
   1. ROOT & RESET
   ========================================================================== */

:root {
    --navy: #001634;
    --gold: #D9A448;
    --blue: #004667;
    --gray: #D9D9D9;
    --white: #fff;
    --black: #000;
    --dark-card: #071B35;
    --line: rgba(255, 255, 255, .14);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;

    font-family: "Manrope", sans-serif;
    color: var(--navy);
    background: #f4f5f6;
}

#site-header,
#main-content,
#site-footer {
    width: 100%;
    max-width: 100%;
}

body.sidebar-open {
    overflow: hidden;
}

a {
    text-decoration: none;
}

section {
    padding: 78px 0;
}

.btn {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
    padding: 12px 20px;
    border-radius: 5px;
}

.btn i {
    margin-left: 8px;
}

.btn-gold {
    background: linear-gradient(135deg, #e4b553, var(--gold));
    color: #07152d;
    border: 1px solid var(--gold);
    box-shadow: 0 8px 20px rgba(217, 164, 72, .14);
}

.btn-gold:hover {
    background: transparent;
    color: var(--gold);
}


/* ==========================================================================
   2. NAVBAR & NAVIGATION
   ========================================================================== */

.navbar {
    height: 82px;
    padding: 0;
    background: rgba(0, 22, 52, .93);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transition: .3s;
}

.navbar.scrolled {
    height: 68px;
    background: rgba(0, 16, 39, .98);
}

.navbar-brand {
    flex-shrink: 0;
    width: 190px;
    margin: 0;
}

.navbar-brand img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.navbar-toggler {
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 1.25em;
    height: 1.25em;
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, .8) !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1px;
    padding: 31px 13px !important;
}

.nav-link.active,
.nav-link:hover {
    color: var(--gold) !important;
}

.nav-link.active:after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 23px;
    height: 2px;
    background: var(--gold);
}

.nav-item.dropdown {
    position: relative;
}

.nav-apply {
    white-space: nowrap;
    padding: 11px 20px !important;
}

/* Language Switcher */

.language-switcher {
    position: relative;
    margin-right: 12px;
}

.language-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.language-button:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(217, 164, 72, 0.08);
}

.language-button i {
    font-size: 17px;
}

.language-menu {
    min-width: 140px;
    right: 0;
    left: auto !important;
    padding: 7px;
    background: rgba(7, 27, 53, 0.98);
}

.language-menu .dropdown-item {
    width: 100%;
    border: none;
    text-align: left;
}

/* Dropdown Menu */

.dropdown-menu {
    display: block;
    min-width: 190px;
    padding: 8px;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    background: rgba(7, 27, 53, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 11px 13px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dropdown-item::before {
    content: "›";
    margin-right: 9px;
    color: var(--gold);
    font-size: 17px;
    transition: transform 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--gold);
    background: rgba(217, 164, 72, 0.1);
    transform: translateX(3px);
}

.dropdown-item:hover::before {
    transform: translateX(3px);
}

.dropdown-toggle::after {
    vertical-align: middle;
    transition: transform 0.25s ease;
}

.dropdown-toggle.show::after {
    transform: rotate(180deg);
}


/* ==========================================================================
   3. ACCOUNT SIDEBAR
   ========================================================================== */

.account-trigger {
    width: 42px;
    height: 42px;
    margin-left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .85);
    cursor: pointer;
    transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease;
}

.account-trigger:hover {
    color: var(--gold);
    border-color: rgba(217, 164, 72, .55);
    background: rgba(217, 164, 72, .08);
    transform: translateY(-2px);
}

.account-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 7, 18, .55);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 1090;
}

.account-overlay.active {
    opacity: 1;
    visibility: visible;
}

.account-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 390px;
    max-width: 92vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #071b35 0%, #041329 55%, #020c1c 100%);
    border-left: 1px solid rgba(255, 255, 255, .1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .3);
    transform: translateX(105%);
    transition: transform .45s cubic-bezier(.77, 0, .18, 1);
    z-index: 1100;
}

.account-sidebar.active {
    transform: translateX(0);
}

.account-sidebar-header {
    padding: 34px 28px 25px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sidebar-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.account-sidebar-header h3 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
}

.sidebar-close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .7);
    cursor: pointer;
    transition: .3s ease;
}

.sidebar-close:hover {
    color: var(--gold);
    border-color: rgba(217, 164, 72, .45);
    transform: rotate(90deg);
}

.account-sidebar-content {
    flex: 1;
    padding: 24px 20px;
    overflow-y: auto;
}

.sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 12px;
    margin-bottom: 7px;
    color: #fff;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.sidebar-link:hover {
    background: rgba(217, 164, 72, .07);
    border-color: rgba(217, 164, 72, .15);
    transform: translateX(-4px);
}

.sidebar-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(217, 164, 72, .09);
    color: var(--gold);
    font-size: 17px;
}

.sidebar-link span:nth-child(2) {
    flex: 1;
}

.sidebar-link strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 700;
}

.sidebar-link small {
    display: block;
    color: rgba(255, 255, 255, .42);
    font-size: 10px;
}

.sidebar-link>i {
    color: rgba(255, 255, 255, .25);
    font-size: 11px;
    transition: .3s ease;
}

.sidebar-link:hover>i {
    color: var(--gold);
    transform: translateX(3px);
}

.account-sidebar-footer {
    padding: 20px 28px 28px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.sidebar-logout {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
}

.sidebar-logout:hover {
    color: var(--gold);
    border-color: rgba(217, 164, 72, .3);
    background: rgba(217, 164, 72, .05);
}


/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    height: 90vh;
    max-height: 900px;
    min-height: 690px;
    padding: 82px 0 24px;
    background: url("../assets/images/building.png") center/cover no-repeat;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 17, 42, .98) 0%, rgba(0, 22, 52, .94) 31%, rgba(0, 22, 52, .67) 57%, rgba(0, 22, 52, .38) 100%);
}

.hero-container {
    min-height: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 0 44px;
}

.hero-container>.row:first-of-type {
    flex: 0 0 auto;
}

.hero-content {
    padding-top: 0;
}

.hero-content h1 {
    font-size: clamp(40px, 4.3vw, 62px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content p {
    max-width: 510px;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 24px;
}

.hero-actions {
    margin-top: 8px;
}

.btn-hero-outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(0, 22, 52, .15);
}

.btn-hero-outline:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* Quick Stats Card */

.quick-stats-card {
    width: 100%;
    max-width: 370px;
    margin-left: auto;
    padding: 28px 32px 18px;
    background: linear-gradient(145deg, rgba(10, 30, 56, .97), rgba(5, 23, 46, .95));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}

.quick-stats-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.quick-stats-title:before {
    content: "›";
    color: var(--gold);
    font-size: 20px;
    margin-right: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 12px 0;
}

.stat-item i {
    width: 28px;
    font-size: 25px;
    color: #dce4ee;
}

.stat-item strong {
    display: block;
    font-size: 20px;
    color: var(--gold);
    line-height: 1.2;
}

.stat-item small {
    display: block;
    color: rgba(255, 255, 255, .8);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    margin-top: 3px;
}

/* Hero Features */

.hero-features {
    margin-top: 36px;
    padding: 0 50px;
}

.feature-item {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
    padding: 0 18px;
    border-right: 1px solid rgba(255, 255, 255, .25);
}

.feature-item:first-child {
    padding-left: 0;
}

.feature-last {
    border-right: 0;
}

.feature-item>i {
    font-size: 33px;
    color: var(--gold);
}

.feature-item h2 {
    font-size: 15px;
}

.feature-item h6 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
    margin: 0 0 5px;
}

.feature-item p {
    font-size: 10px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .7);
    margin: 0;
}


/* ==========================================================================
   5. NUMBERS & STATS SECTION
   ========================================================================== */

.numbers-section {
    position: relative;
    padding: 42px 0;
    background: linear-gradient(90deg, #fff, #f5f6f8);
    overflow: hidden;
}

.numbers-section:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image: url("../assets/images/numbers-bg.png");
    background-position: center;
    background-size: cover;
}

.numbers-watermark {
    position: absolute;
    right: 5%;
    top: 50%;
    width: 140px;
    height: 170px;
    transform: translateY(-50%);
    background: url("../assets/images/logo-watermark.png") center/contain no-repeat;
    opacity: .06;
}

.numbers-heading h2,
.news-header h2,
.section-title-row h2 {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: .7px;
    margin-bottom: 8px;
}

.numbers-heading span,
.section-title-row span {
    font-size: 11px;
    color: #3f4b5d;
}

.numbers-heading span i,
.section-title-row span i {
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--gold);
    vertical-align: middle;
    margin-right: 9px;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 24px;
}

.number-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 5px 18px;
    border-right: 1px solid #d8dde3;
}

.number-card:first-child {
    padding-left: 0;
}

.number-card:last-child {
    border-right: 0;
}

.number-card>i {
    font-size: 40px;
    color: #17283c;
}

.number-card strong {
    font-size: 34px;
    line-height: 1;
    color: #17283c;
}

.number-card .gold-number {
    color: #b58a3e;
}

.number-card h6 {
    font-size: 20px;
    font-weight: 800;
    margin: 8px 0 3px;
}

.number-card h3 {
    font-size: 14px;
}

.number-card p {
    font-size: 10px;
    margin: 0;
    color: #3f4b5d;
}

.quote-box {
    min-height: 165px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(240, 242, 245, .9), rgba(255, 255, 255, .65));
    border-left: 1px solid rgba(0, 0, 0, .03);
}

.quote-icon {
    font-size: 28px;
    color: #b88d43;
}

.quote-box blockquote {
    font-size: 16px;
    line-height: 1.7;
    margin: 8px 0 24px;
    color: #243246;
}

.quote-box strong {
    font-size: 9px;
    letter-spacing: .5px;
}


/* ==========================================================================
   6. ACHIEVEMENTS SECTION
   ========================================================================== */

.achievements-section {
    padding: 34px 0 44px;
    background: linear-gradient(135deg, #001634, #031a34);
    color: #fff;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}

.section-title-row span {
    color: #c8d0da;
}

.btn-dark-outline {
    color: #d8e0e9;
    border: 1px solid rgba(255, 255, 255, .3);
    padding: 9px 16px;
}

.btn-dark-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.achievement-card {
    height: 100%;
    padding: 20px;
    background: linear-gradient(145deg, rgba(14, 38, 66, .96), rgba(8, 28, 52, .96));
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 7px;
}

.achievement-card h4 {
    font-size: 13px;
    text-align: center;
    font-weight: 800;
    letter-spacing: .4px;
    margin: 0;
}

.certificate-card>small {
    display: block;
    text-align: center;
    font-size: 8px;
    color: rgba(255, 255, 255, .65);
    margin: 7px 0 18px;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.certificate-grid>div {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .06);
}

.certificate-grid>div:last-child {
    border-right: 0;
}

.certificate-grid strong {
    display: block;
    font-size: 26px;
}

.certificate-grid span {
    display: block;
    font-size: 9px;
    font-weight: 800;
    margin-top: 9px;
}

.certificate-grid em {
    display: block;
    font-size: 6px;
    color: rgba(255, 255, 255, .55);
    font-style: normal;
    margin-top: 5px;
}

.level-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.level-boxes>div {
    padding: 10px 15px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .06);
}

.level-boxes span {
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, .3);
    padding: 2px 7px;
    border-radius: 3px;
}

.level-boxes strong {
    float: right;
    font-size: 23px;
    line-height: 1.2;
}

.international-card h4 {
    text-align: left;
    color: var(--gold);
}

.international-card h4 i {
    font-size: 10px;
    margin-right: 10px;
}

.international-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 13px;
}

.student-result {
    text-align: center;
}

.student-award-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--gold);
    background: rgba(217, 164, 72, 0.08);
    border: 2px solid rgba(217, 164, 72, 0.6);
    box-shadow: 0 0 0 7px rgba(217, 164, 72, 0.04);
}

.student-award-icon i {
    font-size: 38px;
}

.student-avatar {
    display: none;
}

.student-result strong,
.student-result span,
.student-result small {
    font-size: 9px;
}

.student-result strong {
    display: block;
    color: var(--gold);
}

.student-result span {
    display: block;
    color: var(--gold);
    margin-top: 8px;
}

.student-result small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .85);
}

.summary-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.summary-card>div {
    display: grid;
    grid-template-columns: 32px 50px 1fr;
    align-items: center;
    gap: 10px;
    padding: 19px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.summary-card>div:last-child {
    border-bottom: 0;
}

.summary-card i {
    font-size: 24px;
    color: var(--gold);
}

.summary-card strong {
    font-size: 27px;
    color: var(--gold);
}

.summary-card span {
    font-size: 9px;
    font-weight: 700;
    line-height: 1.6;
}

.summary-card .summary-text {
    grid-column: 2/4;
    font-size: 12px;
}


/* ==========================================================================
   7. NEWS & APPLICATION SECTION
   ========================================================================== */

.news-section {
    padding: 42px 0 44px;
    background: linear-gradient(90deg, #f7f7f7, #eceef1);
}

.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}

.btn-news-outline {
    border: 1px solid #9ba6b1;
    color: #28374a;
    padding: 9px 14px;
}

.btn-news-outline:hover {
    border-color: var(--gold);
    color: #8d6a2f;
}

.home-news-card {
    height: 100%;
    background: rgba(255, 255, 255, .75);
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .04);
}

.home-news-card img {
    width: 100%;
    height: 136px;
    object-fit: cover;
}

.home-news-card>.news-image-wrap {
    padding: 0;
}

.home-news-card>.news-image-wrap>img {
    display: block;
}

.home-news-card>.news-card-icon {
    display: grid;
    height: 136px;
    padding: 0;
    place-items: center;
    background: linear-gradient(135deg, #082442, #123a59);
    color: var(--gold);
    font-size: 34px;
}

.home-news-card>.news-card-icon span,
.home-news-card>.news-card-icon .placeholder-decoration {
    display: none;
}

.home-news-card>div {
    padding: 11px 14px 15px;
}

.home-news-card small,
.home-news-card a {
    font-size: 10px;
}

.home-news-card small {
    color: #84909d;
}

.home-news-card h3 {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.8;
    margin: 9px 0 20px;
    min-height: 53px;
}

.home-news-card a {
    font-weight: 800;
    color: #263447;
}


/* ==========================================================================
   8. FOOTER
   ========================================================================== */

footer {
    padding: 35px 0 16px;
    background: linear-gradient(135deg, #001634, #04182e);
    color: #fff;
}

.footer-main {
    padding-bottom: 20px;
}

.footer-brand {
    width: 245px;
    margin-bottom: 14px;
}

.footer-brand img {
    width: 100%;
    height: auto;
}

.footer-main p {
    font-size: 10px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .72);
    max-width: 260px;
}

.footer-main h6 {
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-main ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-main li {
    font-size: 9px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .72);
}

.footer-main li a {
    color: rgba(255, 255, 255, .78);
}

.footer-main li a:before {
    content: "›";
    margin-right: 8px;
}

.contact-list li {
    display: flex;
    gap: 9px;
    line-height: 1.7;
}

.contact-list li i {
    color: #c7d0db;
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.social-links a {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(217, 164, 72, .65);
    border-radius: 50%;
    color: var(--gold);
    font-size: 12px;
}

.map-box {
    height: 116px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    background: url("../assets/images/map-bg.png") center/cover, #09203b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #fff;
}

.map-box i {
    font-size: 31px;
    color: var(--gold);
}

.map-box span {
    font-size: 9px;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom small,
.footer-bottom a {
    font-size: 8px;
    color: rgba(255, 255, 255, .65);
}

.footer-bottom div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom span {
    width: 1px;
    height: 11px;
    background: rgba(255, 255, 255, .35);
}


/* ==========================================================================
   9. ANIMATIONS & UTILITIES
   ========================================================================== */

.scroll-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    background: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    z-index: 1050;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    background: #e4b553;
}

.scroll-to-top i {
    font-size: 19px;
}

.reveal {
    opacity: 0;
    transition: opacity .75s ease, transform .75s cubic-bezier(.2, .8, .2, 1);
}

.reveal-left {
    transform: translateX(-45px);
}

.reveal-right {
    transform: translateX(45px);
}

.reveal-up {
    transform: translateY(35px);
}

.reveal-down {
    transform: translateY(-35px);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.application-access-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    width: min(420px, calc(100% - 32px));
    padding: 18px 22px;
    border: 1px solid rgba(220, 53, 69, .35);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
    color: #8f1d2c;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% + 15px));
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
    pointer-events: none;
}

.application-access-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.application-access-toast i {
    display: block;
    margin-bottom: 8px;
    font-size: 25px;
}

.application-access-toast strong {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 800;
}

.application-access-toast span {
    display: block;
    font-size: 11px;
    line-height: 1.6;
    color: #6f4a50;
}


/* ==========================================================================
   10. MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1199px) {
    .navbar {
        height: auto;
        min-height: 72px;
        padding: 10px 0;
    }

    .navbar-brand {
        width: 170px;
    }

    .navbar-collapse {
        padding: 15px 0 5px;
    }

    .navbar-nav {
        align-items: stretch !important;
        padding: 10px 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 12px 0 !important;
        font-size: 10px;
    }

    .nav-item.dropdown {
        width: 100%;
    }

    .nav-apply {
        padding: 9px 14px !important;
    }

    .language-switcher {
        margin: 8px 0 12px;
    }

    .language-button {
        width: 100%;
        justify-content: flex-start;
        padding-left: 15px;
    }

    .language-button::after {
        content: " Tilni tanlash";
        margin-left: 10px;
        font-size: 11px;
        font-weight: 700;
    }

    .language-menu {
        position: static !important;
        width: 100%;
        margin-top: 6px;
    }

    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 5px 0 8px;
        padding: 6px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: rgba(7, 27, 53, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: none;
        pointer-events: auto;
    }

    .dropdown-menu.show {
        display: block;
        animation: mobileDropdownOpen 0.3s ease;
    }

    .dropdown-item {
        padding: 10px 15px;
        font-size: 11px;
    }

    @keyframes mobileDropdownOpen {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

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

    .hero-section {
        min-height: 650px;
    }

    .hero-content h1 {
        font-size: 45px;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .number-card:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 991px) {
    .navbar-brand {
        width: 175px;
    }

    .nav-link.active:after {
        display: none;
    }

    .nav-apply {
        display: inline-block;
        margin-bottom: 10px;
    }

    .hero-section {
        height: auto;
        max-height: none;
        min-height: 0;
        padding: 125px 0 35px;
    }

    .hero-container {
        min-height: 0;
        height: auto;
        padding: 35px 0 20px;
    }

    .quick-stats-card {
        margin: 35px 0 0;
        max-width: none;
    }

    .hero-features {
        margin-top: 28px;
        padding: 0;
    }

    .feature-item {
        min-height: 60px;
        padding: 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .16);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 13px;
    }

    .feature-item:first-child {
        padding-left: 14px;
    }

    .feature-item:last-child {
        border-bottom: 0;
    }

    .feature-item>div {
        min-width: 0;
    }

    .numbers-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .number-card {
        padding: 5px 12px;
    }

    .number-card>i {
        font-size: 30px;
    }

    .number-card strong {
        font-size: 26px;
    }

    .quote-box {
        margin-top: 10px;
    }

    .home-news-card img {
        height: 150px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-features {
        margin-top: 20px;
        padding: 0;
    }

    .feature-item {
        min-height: 0;
        padding: 13px 10px;
    }

    .feature-item:last-child {
        border-bottom: 0;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .number-card:nth-child(2) {
        border-right: 0;
    }

    .number-card:nth-child(1),
    .number-card:nth-child(2) {
        border-bottom: 1px solid #d8dde3;
        padding-bottom: 15px;
    }

    .number-card:nth-child(3) {
        padding-left: 0;
    }

    .number-card>i {
        font-size: 27px;
    }

    .numbers-heading h2,
    .news-header h2,
    .section-title-row h2 {
        font-size: 20px;
    }

    .section-title-row,
    .news-header {
        align-items: flex-start;
        gap: 12px;
        flex-direction: column;
    }

    .section-title-row .btn,
    .news-header .btn {
        align-self: flex-end;
    }

    .certificate-grid strong {
        font-size: 20px;
    }

    .certificate-grid span {
        font-size: 7px;
    }

    .international-grid {
        gap: 4px;
    }

    .student-award-icon {
        width: 72px;
        height: 72px;
    }

    .student-award-icon i {
        font-size: 30px;
    }

    .student-result strong,
    .student-result small {
        font-size: 7px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-brand {
        width: 220px;
    }

    .scroll-to-top {
        right: 18px;
        bottom: 18px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 575px) {
    .navbar-brand {
        width: 150px;
    }

    .navbar-toggler {
        padding: 7px 9px;
    }

    .account-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .account-sidebar-header {
        padding: 28px 22px 22px;
    }

    .account-sidebar-content {
        padding: 20px 15px;
    }

    .account-sidebar-footer {
        padding: 16px 22px 22px;
    }
}

@media (max-width: 767px) {

    body .reveal-left,
    body .reveal-right {
        transform: translateY(30px);
    }

    body .reveal.is-visible {
        transform: translate(0, 0) scale(1);
    }

}