/* =====================================================
   EDUVOYAGE — Study Abroad Portal
   Version : 1.0.0
   Font    : Plus Jakarta Sans
   Primary : #0d6efd (Blue)
   ===================================================== */


/* ─── CSS Custom Properties ─── */

:root {
    --primary: #003d6c;
    --primary-dark: #0a58ca;
    --primary-darker: #084298;
    --primary-light: #6ea8fe;
    --primary-lighter: #cfe2ff;
    --primary-bg: #e7f1ff;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --accent-light: #fef3c7;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #06b6d4;
    --text-dark: #1e293b;
    --text-body: #000000;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-dark-2: #1e293b;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
    --shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -2px rgba(0, 0, 0, .05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .05);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
    --transition-fast: all .15s ease;
}


/* ─── Reset & Base ─── */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: var(--primary);
    color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}


/* Scrollbar */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}


/* ═══════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════ */

.top-bar {
    background: #003d6c;
    padding: 7px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.top-bar-link {
    color: #ffffff;
    transition: var(--transition-fast);
}

.top-bar-link:hover {
    color: var(--primary-light);
}

.top-bar-text {
    color: #ffffff;
    font-size: 12px;
}

.top-bar-social {
    color: #ffffff;
    font-size: 14px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.top-bar-social:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}


/* ═══════════════════════════════════════════
   MAIN NAVBAR
   ═══════════════════════════════════════════ */

.main-navbar {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 1030;
    background: var(--bg-white) !important;
}

.main-navbar.navbar-scrolled {
    padding: 8px 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
}


/* Brand / Logo */

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.brand-icon-sm {
    width: 34px;
    height: 34px;
    font-size: 18px;
    border-radius: 8px;
}

.brand-icon-footer {
    width: 38px;
    height: 38px;
    font-size: 20px;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    display: block;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 10.5px;
    color: #09090a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: block;
}


/* Nav Links */

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 14px;
    color: #000000;
    padding: 8px 13px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
}


/* Dropdowns */

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    margin-top: 10px !important;
    animation: dropFadeIn .2s ease;
}

@keyframes dropFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    transition: var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    color: var(--primary);
}

.dropdown-header-custom {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #003d6c;
    margin-bottom: 4px;
}

.dropdown-divider {
    border-color: var(--border-light);
}


/* Mega Dropdown */

.dropdown-mega .dropdown-menu-mega {
    width: 740px;
    border-radius: var(--radius-lg);
}

.mega-sidebar {
    border-left: 1px solid var(--border);
    padding-left: 20px;
}

.mega-cta {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.mega-cta h6 {
    font-size: 14px;
    margin-bottom: 4px;
}

.country-flag-sm {
    font-size: 18px;
}


/* Right Actions */

.navbar-actions {
    gap: 4px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--text-dark);
    font-size: 19px;
    background: transparent;
    border: none;
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
}

.btn-icon:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.avatar-xs {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.badge-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid #fff;
}

.btn-apply-now {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .3px;
    padding: 9px 22px;
    box-shadow: 0 2px 8px rgba(13, 110, 253, .25);
}

.btn-apply-now:hover {
    box-shadow: 0 4px 16px rgba(13, 110, 253, .35);
    transform: translateY(-1px);
}


/* ═══════════════════════════════════════════
   MOBILE OFF-CANVAS MENU
   ═══════════════════════════════════════════ */

#mobileMenu {
    width: 320px;
}

#mobileMenu .offcanvas-header {
    padding: 16px 20px;
}

.mobile-nav {
    padding: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.mobile-nav-link.active {
    color: var(--primary);
    background: var(--primary-bg);
}

.mobile-nav-link i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: var(--primary);
}

.collapse-arrow {
    font-size: 12px;
    transition: var(--transition);
}

.mobile-nav-link[aria-expanded="true"] .collapse-arrow {
    transform: rotate(180deg);
}

.mobile-sub-nav {
    padding: 4px 0 8px 54px;
    background: var(--bg-light);
}

.mobile-sub-nav a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--radius-sm);
}

.mobile-sub-nav a:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.mobile-nav-cta {
    padding: 20px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

.mobile-nav-contact {
    padding: 16px 20px;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.mobile-nav-contact a {
    display: block;
    padding: 6px 0;
    color: var(--text-body);
    font-size: 14px;
}


/* ═══════════════════════════════════════════
   SEARCH OVERLAY
   ═══════════════════════════════════════════ */

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .96);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.search-overlay-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

.search-close-btn {
    position: absolute;
    top: 24px;
    right: 30px;
    background: rgba(255, 255, 255, .08);
    border: none;
    color: #fff;
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-close-btn:hover {
    background: rgba(255, 255, 255, .15);
}

.search-form-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 6px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
}

.search-form-wrapper .search-icon {
    font-size: 20px;
    color: #003d6c;
    margin-right: 14px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 0;
    font-size: 18px;
    font-family: var(--font);
    font-weight: 500;
    background: transparent;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-kbd {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    color: #003d6c;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-family: monospace;
}


/* Search Results */

.search-results {
    margin-top: 16px;
    max-height: 50vh;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, .05);
    border-radius: var(--radius);
    margin-bottom: 4px;
    color: #fff;
    transition: var(--transition-fast);
}

.search-result-item:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.search-result-item i {
    font-size: 18px;
    color: var(--primary-light);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.result-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
}

.result-type {
    font-size: 12px;
    color: #09090a;
    text-transform: capitalize;
}

.search-no-results {
    text-align: center;
    color: #09090a;
    padding: 30px;
    font-size: 15px;
}


/* Search Tags */

.search-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .7);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin: 4px;
    transition: var(--transition-fast);
}

.search-tag:hover {
    background: var(--primary);
    color: #fff;
}


/* Search Categories */

.search-category {
    margin-bottom: 8px;
}

.search-category-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .45);
}

.search-count {
    background: rgba(255, 255, 255, .08);
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.search-result-item.active {
    background: rgba(255, 255, 255, .12);
}

.search-result-item .result-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-item .search-thumb {
    border: 1px solid rgba(255, 255, 255, .1);
}

.search-footer {
    border-top: 1px solid rgba(255, 255, 255, .06);
    margin-top: 4px;
}

.search-loading {
    color: rgba(255, 255, 255, .6);
}


/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */

.hero-section {
    position: relative;
    min-height: 88vh;
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(13, 110, 253, .15), transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(110, 168, 254, .1), transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, .15), transparent), radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, .1), transparent), radial-gradient(2px 2px at 90px 40px, rgba(255, 255, 255, .12), transparent), radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, .08), transparent);
    background-size: 200px 100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 60px;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
    color: #000000;
}

.hero-title span {
    background: #003d6c;
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    max-width: 640px;
    margin: 0 auto 30px;
    opacity: .85;
    line-height: 1.8;
    color: #000000;
}

.hero-stat {
    text-align: center;
    color: #000000;
}

.stat-number {
    display: block;
    font-size: 38px;
    font-weight: 800;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    opacity: .7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons .btn {
    padding: 12px 32px;
    font-weight: 700;
    font-size: 15px;
}


/* ═══════════════════════════════════════════
   SEARCH BAR (overlapping hero)
   ═══════════════════════════════════════════ */

.search-section {
    margin-top: -94px;
    position: relative;
    z-index: 10;
    padding-bottom: 30px;
}

.search-card {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 28px 32px;
    border: 1px solid rgba(255, 255, 255, .8);
}

.search-card .form-select,
.search-card .form-control {
    border-radius: var(--radius);
    border-color: var(--border);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    height: auto;
}

.search-card .form-select:focus,
.search-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .12);
}

.search-card .form-label {
    font-size: 12px;
    color: #003d6c;
    margin-bottom: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}


/* ═══════════════════════════════════════════
   SECTION STYLES (reusable)
   ═══════════════════════════════════════════ */

.section-padding {
    padding: 80px 0;
}

.section-header {
    max-width: 620px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    background: #003d6c;
    color: #ffffff;
    padding: 5px 18px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: #000000;
    line-height: 1.7;
}

.bg-light {
    background: var(--bg-light) !important;
}


/* ═══════════════════════════════════════════
   CARD STYLES
   ═══════════════════════════════════════════ */


/* Destination Cards */

.destination-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
}

.destination-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.destination-img {
    position: relative;
    /* height: 200px; */
    overflow: hidden;
    background: var(--bg-gray);
}

.destination-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.destination-card:hover .destination-img img {
    transform: scale(1.06);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .7));
}

.uni-count {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.destination-flag {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3));
}

.destination-body {
    padding: 20px;
}

.destination-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.destination-text {
    font-size: 14px;
    color: #131314;
    margin-bottom: 12px;
    line-height: 1.6;
}

.destination-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.destination-link i {
    transition: var(--transition);
}

.destination-link:hover i {
    transform: translateX(4px);
}


/* Course Cards */

.course-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.course-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.course-card:hover .course-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
}


/* University Cards */

.university-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}

.university-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.university-card .card-body {
    padding: 20px;
}

.ranking-badge {
    background: var(--accent-light);
    color: #92400e;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}

.type-badge {
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.type-badge.public {
    background: #dcfce7;
    color: #166534;
}

.type-badge.private {
    background: #fef3c7;
    color: #92400e;
}


/* Blog Cards */

.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 20px;
}

.blog-card .card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.blog-card .card-title a {
    color: #000000;
}

.blog-card .card-title a:hover {
    color: var(--primary);
}

.blog-card .category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
}


/* Testimonial Cards */

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
}

.testimonial-card .student-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-bg);
}

.testimonial-card .review-text {
    font-style: italic;
    color: #000000;
    line-height: 1.8;
    position: relative;
    padding-left: 24px;
}

.testimonial-card .review-text::before {
    content: "\201C";
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 44px;
    color: #003d6c;
    font-family: Georgia, serif;
    line-height: 1;
}


/* ═══════════════════════════════════════════
   WHY CHOOSE US / FEATURES
   ═══════════════════════════════════════════ */

.feature-box {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}


/* Admission Steps Timeline */

.steps-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    /* max-width: 960px; */
    margin: 0 auto;
}

.steps-timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: var(--border);
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 14px rgba(13, 110, 253, .3);
}

.step-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.step-desc {
    font-size: 12px;
    color: #131314;
    margin-top: 4px;
}


/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */

.cta-section {
    background: #003d6c;
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, .06), transparent 70%);
    border-radius: 50%;
}

.cta-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
}

.cta-subtitle {
    font-size: 18px;
    opacity: .85;
    margin-top: 12px;
}


/* ═══════════════════════════════════════════
   PAGE BANNER
   ═══════════════════════════════════════════ */

.page-banner {
    background: linear-gradient(135deg, #003d6c, #0990a1);
    padding: 60px 0 50px;
    color: #fff;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.page-banner .breadcrumb {
    margin-bottom: 0;
}

.page-banner .breadcrumb-item a {
    color: rgb(255 255 255 / 75%);
}

.page-banner .breadcrumb-item a:hover {
    color: #fff;
}

.page-banner .breadcrumb-item.active {
    color: #fff;
}

.page-banner .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .4);
}


/* ═══════════════════════════════════════════
   SECTION TABS (sticky)
   ═══════════════════════════════════════════ */

.section-tabs {
    position: sticky;
    top: 64px;
    z-index: 100;
    background: #fff;
    border-bottom: 2px solid var(--border);
    display: flex;
    gap: 0;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0;
    box-shadow: var(--shadow-sm);
    scrollbar-width: none;
}

.section-tabs::-webkit-scrollbar {
    display: none;
}

.section-tabs a {
    display: inline-block;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
}

.section-tabs a:hover,
.section-tabs a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
}


/* ═══════════════════════════════════════════
   SIDEBAR FILTERS
   ═══════════════════════════════════════════ */

.filter-card {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    border: 1px solid var(--border);
    position: sticky;
    top: 80px;
}

.filter-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.filter-group .form-check {
    padding: 5px 0 5px 28px;
}

.filter-group .form-check-label {
    font-size: 14px;
    color: var(--text-body);
    cursor: pointer;
}

.filter-group .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}


/* ═══════════════════════════════════════════
   COUNTRY LISTING CARDS
   ═══════════════════════════════════════════ */

.country-list-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.country-list-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}


/* Banner area */

.clc-banner {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.clc-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.clc-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 60%);
}

.clc-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3));
    z-index: 2;
}

.clc-uni-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}


/* Body */

.clc-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.clc-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.clc-name a {
    color: var(--text-dark);
}

.clc-name a:hover {
    color: var(--primary);
}

.clc-overview {
    font-size: 13px;
    color: #09090a;
    line-height: 1.6;
    margin-bottom: 12px;
}


/* Popular course tags */

.clc-courses {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.clc-courses-label {
    font-size: 12px;
    font-weight: 700;
    color: #09090a;
}

.clc-course-tag {
    font-size: 11px;
    font-weight: 600;
    background: var(--primary-bg);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}


/* Info row */

.clc-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.clc-info-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.clc-info-item i {
    font-size: 14px;
}


/* Explore button */

.clc-explore-btn {
    font-weight: 600;
    font-size: 13px;
}

.clc-explore-btn i {
    transition: transform .2s ease;
}

.clc-explore-btn:hover i {
    transform: translateX(4px);
}


/* Results header */

.results-header {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.results-count {
    font-size: 14px;
    color: #000000;
}

.results-count strong {
    color: var(--text-dark);
    font-weight: 700;
}

.sort-select {
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius);
}


/* Results loading */

.results-loading {
    min-height: 200px;
}


/* Ranking / Type badges on university cards */

.ranking-badge {
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.type-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.type-badge.public {
    background: #d1e7dd;
    color: #0f5132;
}

.type-badge.private {
    background: #cfe2ff;
    color: #084298;
}

.type-badge.government {
    background: #fff3cd;
    color: #664d03;
}


/* Category badge on blog cards */

.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}


/* ═══════════════════════════════════════════
   COUNTRY DETAIL PAGE
   ═══════════════════════════════════════════ */


/* Hero */

.country-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

.country-hero-bg {
    position: absolute;
    inset: 0;
}

.country-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.country-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .2) 60%, transparent 100%);
}

.country-hero-flag {
    font-size: 52px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3));
    line-height: 1;
}

.country-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
}

.country-hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, .7);
    font-weight: 500;
}

.breadcrumb-light .breadcrumb-item a {
    color: rgba(255, 255, 255, .6);
}

.breadcrumb-light .breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-light .breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-light .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .4);
}

.hero-cta-btn {
    color: var(--primary) !important;
    font-weight: 700;
}


/* Content sections */

.content-section {
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border-light);
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.content-heading {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
}

.content-heading i {
    font-size: 20px;
}

.content-text {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-body);
}

.content-text p {
    margin-bottom: 14px;
}


/* Key facts grid */

.key-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.key-fact {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: var(--transition-fast);
}

.key-fact:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.key-fact i {
    font-size: 20px;
}

.kf-label {
    font-size: 11px;
    font-weight: 600;
    color: #003d6c;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.key-fact strong {
    font-size: 14px;
    color: var(--text-dark);
}


/* University mini card */

.uni-mini-card {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 14px 16px;
    transition: var(--transition-fast);
}

.uni-mini-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.uni-mini-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uni-mini-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.uni-mini-logo i {
    font-size: 20px;
    color: var(--primary);
}

.uni-mini-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.uni-mini-name a {
    color: var(--text-dark);
}

.uni-mini-name a:hover {
    color: var(--primary);
}


/* Course mini card */

.course-mini-card {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 14px;
    transition: var(--transition-fast);
}

.course-mini-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.cmc-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #003d6c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.cmc-name {
    font-size: 14px;
    font-weight: 700;
}

.cmc-name a {
    color: var(--text-dark);
}

.cmc-name a:hover {
    color: var(--primary);
}

.cmc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: #000000;
    font-weight: 500;
}


/* Scholarship mini card */

.scholarship-mini-card {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px;
    transition: var(--transition-fast);
}

.scholarship-mini-card:hover {
    border-color: var(--warning);
    box-shadow: var(--shadow-sm);
}

.scholarship-mini-card h6 a {
    color: var(--text-dark);
}

.scholarship-mini-card h6 a:hover {
    color: var(--primary);
}


/* Fee comparison table */

.fee-table {
    font-size: 13px;
}

.fee-table th {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #000000;
}

.fee-table td {
    padding: 10px 12px;
}


/* Sidebar */

.detail-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-form-card,
.sidebar-facts-card,
.sidebar-related-card {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.sfc-header {
    background: var(--primary);
    color: #fff;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
}

.sidebar-form-card form {
    padding: 20px;
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
}

.sidebar-facts-card .sfc-header {
    background: #003d6c;
}


/* Quick facts list */

.quick-facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-facts-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}

.quick-facts-list li:last-child {
    border-bottom: none;
}

.quick-facts-list li span {
    color: #131314;
    font-weight: 500;
}

.quick-facts-list li strong {
    color: var(--text-dark);
    font-size: 13px;
}


/* Related countries links */

.sidebar-related-card .sfc-header {
    background: #003d6c;
}

.related-links {
    padding: 0;
}

.related-country-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.related-country-link:last-child {
    border-bottom: none;
}

.related-country-link:hover {
    background: var(--primary-bg);
    color: var(--primary);
    padding-left: 24px;
}

.related-country-link i {
    font-size: 12px;
    color: #09090a;
}


/* Accordion customization */

.accordion-item {
    border: 1px solid #e7e7e7;
    margin-bottom: 8px;
    border-radius: var(--radius) !important;
    overflow: hidden;
}

.accordion-button {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 18px;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    color: var(--primary);
    box-shadow: none;
}

.accordion-body {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-body);
}


/* ═══════════════════════════════════════════
   COURSE LISTING CARDS
   ═══════════════════════════════════════════ */

.course-list-card {
    background: #f9f9f9;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-list-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.clsc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.clsc-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    background: var(--primary-bg);
    color: var(--primary);
}

.clsc-icon-medical {
    background: #fce4ec;
    color: #c62828;
}

.clsc-icon-engineering {
    background: #e3f2fd;
    color: #1565c0;
}

.clsc-icon-business {
    background: #e8f5e9;
    color: #2e7d32;
}

.clsc-icon-law {
    background: #fff8e1;
    color: #f57f17;
}

.clsc-icon-arts {
    background: #e0f7fa;
    color: #00838f;
}

.clsc-icon-science {
    background: #f3e5f5;
    color: #7b1fa2;
}

.clsc-icon-it {
    background: #eceff1;
    color: #37474f;
}

.clsc-icon-other {
    background: var(--bg-light);
    color: #0d0e0e;
}

.clsc-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.clsc-name a {
    color: var(--text-dark);
}

.clsc-name a:hover {
    color: var(--primary);
}

.clsc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #0d0e0e;
    font-weight: 500;
    margin-bottom: 14px;
}

.clsc-stats {
    display: flex;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    margin-bottom: 12px;
}

.clsc-stat {
    text-align: center;
}

.clsc-stat strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.clsc-stat span {
    font-size: 11px;
    color: #0d0e0e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.clsc-desc {
    font-size: 13px;
    color: #0d0e0e;
    line-height: 1.6;
    margin-bottom: 10px;
}

.clsc-btn i {
    transition: transform .2s ease;
}

.clsc-btn:hover i {
    transform: translateX(4px);
}


/* Course hero (detail page) */

.course-hero {
    background: linear-gradient(135deg, #003d6c, #0990a1);
    padding: 50px 0 40px;
    color: #fff;
    position: relative;
}

.course-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.course-hero-title {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
}


/* Country chip card (course detail) */

.country-chip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px 12px;
    text-align: center;
    transition: var(--transition-fast);
    color: var(--text-dark);
}

.country-chip-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    color: var(--primary);
    transform: translateY(-2px);
}

.ccc-flag {
    font-size: 32px;
    margin-bottom: 6px;
}

.country-chip-card strong {
    font-size: 14px;
    font-weight: 700;
}

.country-chip-card small {
    font-size: 11px;
    color: #09090a;
}


/* University course table */

.uni-course-table {
    font-size: 13px;
}

.uni-course-table th {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #09090a;
    white-space: nowrap;
}

.uni-course-table td {
    padding: 12px;
    vertical-align: middle;
}


/* Fee highlights */

.fee-highlight {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fh-label {
    font-size: 12px;
    font-weight: 600;
    color: #131314;
    text-transform: uppercase;
}

.fh-value {
    font-size: 20px;
    font-weight: 800;
}


/* ═══════════════════════════════════════════
   UNIVERSITY LISTING CARDS
   ═══════════════════════════════════════════ */

.uni-list-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.uni-list-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.uni-list-card.uni-featured {
    border-left: 3px solid var(--primary);
}


/* Top: Logo + Info + Wishlist */

.ulc-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.ulc-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
    background: var(--bg-light);
}

.ulc-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ulc-logo-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}

.ulc-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.3;
}

.ulc-name a {
    color: var(--text-dark);
}

.ulc-name a:hover {
    color: var(--primary);
}

.ulc-country {
    font-size: 13px;
    color: #09090a;
    font-weight: 500;
}

.ulc-country a {
    color: #09090a;
}

.ulc-country a:hover {
    color: var(--primary);
}


/* Badges */

.ulc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}


/* Details */

.ulc-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
    border-top: 1px solid #d9d9d9;
    margin-bottom: 0px;
    flex-grow: 1;
}

.ulc-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
}

.ulc-detail-item i {
    font-size: 14px;
    width: 18px;
    text-align: center;
}


/* Actions */

.ulc-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #d9d9d9;
}

.ulc-view-btn i {
    transition: transform .2s ease;
}

.ulc-view-btn:hover i {
    transform: translateX(4px);
}


/* Grid/List toggle */

.view-toggle .btn {
    padding: 4px 10px;
}

.view-toggle .btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}


/* List view: cards become horizontal */

.uni-grid.list-view .uni-card-col {
    flex: 0 0 100%;
    max-width: 100%;
}

.uni-grid.list-view .uni-list-card {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding: 16px 20px;
}

.uni-grid.list-view .ulc-top {
    flex: 0 0 280px;
    margin-bottom: 0;
    margin-right: 16px;
}

.uni-grid.list-view .ulc-badges {
    flex: 1;
    align-self: center;
    margin-bottom: 0;
}

.uni-grid.list-view .ulc-details {
    flex-direction: row;
    gap: 16px;
    border-top: none;
    padding: 8px 0 0;
    margin-bottom: 0;
    flex: 0 0 100%;
}

.uni-grid.list-view .ulc-actions {
    flex: 0 0 100%;
    border-top: 1px solid var(--border-light);
    margin-top: 10px;
    padding-top: 10px;
}


/* ═══════════════════════════════════════════
   UNIVERSITY DETAIL PAGE
   ═══════════════════════════════════════════ */


/* Hero */

.uni-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

.uni-hero-bg {
    position: absolute;
    inset: 0;
}

.uni-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.uni-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .25) 60%, transparent 100%);
}

.uni-hero-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 3px solid rgba(255, 255, 255, .3);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}

.uni-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.uni-hero-logo-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 32px;
    background: var(--bg-light);
}

.uni-hero-title {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
}

.uni-hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, .7);
    font-weight: 500;
}


/* Gallery */

.uni-gallery .gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.uni-gallery .gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .3s ease;
}

.uni-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
    color: #fff;
    font-size: 24px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}


/* Accreditation badges */

.accreditation-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
}

.accreditation-badge i {
    font-size: 18px;
}


/* Facility grid */

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.facility-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.facility-item i {
    font-size: 16px;
    color: var(--primary);
}


/* Review card */

.review-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition-fast);
    height: 100%;
}

.review-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.review-text {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7;
    font-style: italic;
}


/* Share buttons */

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: .85;
    color: #fff;
}

.share-whatsapp {
    background: #25d366;
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #000;
}

.share-telegram {
    background: #0088cc;
}

.share-copy {
    background: #09090a;
}


/* Similar uni logo */

.sim-uni-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sim-uni-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* ═══════════════════════════════════════════
   EXAM CARDS & DETAIL
   ═══════════════════════════════════════════ */

.exam-card {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.exam-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.exam-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #003d6c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
}

.exam-card:hover .exam-card-icon {
    background: var(--primary);
    color: #fff;
}

.exam-card-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.exam-card-full {
    font-size: 12px;
    color: #131314;
    font-weight: 500;
    margin-bottom: 10px;
}

.exam-card-desc {
    font-size: 13px;
    color: #131314;
    line-height: 1.6;
    margin-bottom: 16px;
}

.exam-hero {
    background: linear-gradient(135deg, #003d6c, #0990a1);
    padding: 50px 0 40px;
    color: #fff;
    position: relative;
}

.exam-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, .2);
}

.exam-hero-title {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
}

.exam-hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, .65);
}


/* ═══════════════════════════════════════════
   SCHOLARSHIP CARDS & DETAIL
   ═══════════════════════════════════════════ */

.sch-list-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sch-list-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.sch-list-card.sch-featured {
    border-left: 3px solid #003d6c;
}

.sch-card-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sch-card-name a {
    color: var(--text-dark);
}

.sch-card-name a:hover {
    color: var(--primary);
}

.sch-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #09090a;
    font-weight: 500;
    margin-bottom: 10px;
}

.sch-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sch-amount-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #d1e7dd;
    color: #0f5132;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sch-card-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.sch-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
}

.sch-detail-item i {
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.sch-card-eligibility {
    font-size: 13px;
    color: #131314;
    line-height: 1.6;
    margin-bottom: 12px;
}

.sch-view-btn i {
    transition: transform .2s ease;
}

.sch-view-btn:hover i {
    transform: translateX(4px);
}

.sch-hero {
    background: linear-gradient(135deg, #1a237e 0%, #f9a825 100%);
    padding: 50px 0 40px;
    color: #fff;
    position: relative;
}

.sch-hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}


/* ═══════════════════════════════════════════
   BLOG — LISTING, CARDS, DETAIL, SIDEBAR
   ═══════════════════════════════════════════ */


/* Category Tabs */

.blog-category-tabs {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 70px;
    z-index: 50;
}

.blog-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-body);
    background: var(--bg-light);
    border: 1px solid var(--border);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.blog-cat-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.blog-cat-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.blog-cat-tab .cat-count {
    background: rgba(0, 0, 0, .1);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
}

.blog-cat-tab.active .cat-count {
    background: rgba(255, 255, 255, .25);
}


/* Featured Post Card */

.blog-featured-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.blog-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

.bfc-image {
    position: relative;
    height: 100%;
    min-height: 260px;
    overflow: hidden;
}

.bfc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bfc-img-ph {
    width: 100%;
    height: 100%;
    min-height: 260px;
    background: linear-gradient(135deg, #e8eef7, #d0ddef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
}

.bfc-featured-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.bfc-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.bfc-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
}

.bfc-title a {
    color: var(--text-dark);
}

.bfc-title a:hover {
    color: var(--primary);
}

.bfc-excerpt {
    font-size: 14px;
    color: #09090a;
    line-height: 1.65;
}


/* Blog Cards */

.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-ph {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e8eef7, #d0ddef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
    text-decoration: none;
}

.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 600;
}

.blog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #09090a;
    font-weight: 500;
    margin-bottom: 10px;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.blog-card-title a {
    color: var(--text-dark);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 13px;
    color: #09090a;
    line-height: 1.65;
    margin-bottom: 14px;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.blog-author {
    font-size: 12px;
    color: #09090a;
    font-weight: 600;
}

.blog-read-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.blog-read-more:hover {
    color: var(--primary-dark);
}

.blog-read-more i {
    transition: transform .2s ease;
}

.blog-read-more:hover i {
    transform: translateX(4px);
}


/* Blog Sidebar */

.blog-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.sidebar-widget-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-cat-list li {
    border-bottom: 1px solid var(--bg-light);
}

.sidebar-cat-list li:last-child {
    border-bottom: 0;
}

.sidebar-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-cat-list a:hover,
.sidebar-cat-list a.active {
    color: var(--primary);
    font-weight: 600;
}

.sidebar-recent-post {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.sidebar-recent-post:last-child {
    margin-bottom: 0;
}

.srp-thumb {
    width: 60px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.srp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.srp-thumb-ph {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #09090a;
}

.srp-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.srp-title:hover {
    color: var(--primary);
}


/* Blog Detail */

.blog-breadcrumb-bar {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border-bottom: 1px solid var(--border);
}

.blog-detail-section {
    padding-top: 30px;
}

.blog-featured-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-featured-image img {
    border-radius: var(--radius-lg);
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    font-size: 13px;
    color: #003d6c;
    font-weight: 500;
}

.blog-detail-meta span {
    display: inline-flex;
    align-items: center;
}

.blog-detail-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-dark);
    margin: 16px 0 28px;
}


/* Blog Content Typography */

.blog-content {
    font-size: 16px;
    line-height: 1.85;
    color: #374151;
}

.blog-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 36px 0 16px;
    padding-top: 12px;
}

.blog-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 28px 0 12px;
}

.blog-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 24px 0 10px;
}

.blog-content p {
    margin-bottom: 18px;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--bg-light);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-body);
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.blog-content table th,
.blog-content table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    font-size: 14px;
}

.blog-content table th {
    background: var(--bg-light);
    font-weight: 700;
}

.blog-content a {
    color: var(--primary);
    text-decoration: underline;
}


/* Blog Tags */

.blog-tags {
    font-size: 13px;
}

.blog-tags .badge {
    font-weight: 500;
    padding: 4px 10px;
    font-size: 12px;
}


/* Share Buttons */

.blog-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #0f1419;
}

.share-whatsapp {
    background: #25d366;
}

.share-linkedin {
    background: #0077b5;
}

.share-copy {
    background: #6b7280;
}


/* Author Bio */

.blog-author-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.bac-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.bac-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.bac-role {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.bac-bio {
    font-size: 13px;
    color: #09090a;
    line-height: 1.6;
    margin: 0;
}


/* Related Posts */

.blog-related-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.blog-related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.brc-image {
    height: 140px;
    overflow: hidden;
}

.brc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.blog-related-card:hover .brc-image img {
    transform: scale(1.05);
}

.brc-img-ph {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #09090a;
}

.brc-body {
    padding: 14px;
}

.brc-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 6px 0 0;
}

.brc-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.brc-title a:hover {
    color: var(--primary);
}


/* Table of Contents */

.toc-nav {
    max-height: 340px;
    overflow-y: auto;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    border-bottom: 1px solid var(--bg-light);
}

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

.toc-item.toc-sub {
    padding-left: 14px;
}

.toc-link {
    display: block;
    padding: 7px 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    transition: var(--transition);
    border-left: 2px solid transparent;
}

.toc-link:hover,
.toc-link.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background: var(--primary-bg);
    padding-left: 10px;
}


/* ═══════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════ */

.about-hero {
    background: linear-gradient(135deg, #003d6c, #0990a1);
    padding: 60px 0 50px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-hero::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -60px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
}

.about-hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
}

.about-hero-sub {
    font-size: 17px;
    color: #ffffff;
    max-width: 520px;
    line-height: 1.7;
    margin-top: 12px;
}

.about-img-box {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-placeholder {
    width: 100%;
    height: 340px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: var(--primary);
}

.about-img-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    box-shadow: var(--shadow-lg);
}

.aif-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.aif-label {
    font-size: 12px;
    opacity: .8;
    font-weight: 600;
}

.about-check-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 6px 0;
}


/* Mission / Vision */

.mv-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.mv-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.mv-mission .mv-icon {
    background: #dbeafe;
    color: #2563eb;
}

.mv-vision .mv-icon {
    background: #d1fae5;
    color: #059669;
}

.mv-card h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.mv-card p {
    font-size: 14px;
    color: #09090a;
    line-height: 1.75;
    margin: 0;
}


/* Counter Stats */

.about-counter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: #fff;
}

.counter-item {
    padding: 10px;
}

.counter-number {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
}

.counter-suffix {
    font-size: 32px;
    font-weight: 700;
}

.counter-label {
    font-size: 14px;
    font-weight: 600;
    opacity: .8;
    margin-top: 8px;
}


/* Team */

.team-card {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), #0990a1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.team-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.team-desc {
    font-size: 13px;
    color: #09090a;
    line-height: 1.6;
    margin: 0;
}


/* Why Choose Us */

.why-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 14px;
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: #fff;
}

.why-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-desc {
    font-size: 13px;
    color: #09090a;
    line-height: 1.6;
    margin: 0;
}


/* ═══════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════ */

.contact-info-card {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cic-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 14px;
}

.cic-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cic-text {
    font-size: 13px;
    color: #09090a;
    margin-bottom: 8px;
}

.cic-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.cic-link:hover {
    text-decoration: underline;
}

.contact-form-card {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-map-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.contact-map-wrap {
    border-radius: 12px;
    overflow: hidden;
}

.contact-wa-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
}

.wa-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════
   APPLY WIZARD
   ═══════════════════════════════════════════ */

.apply-hero {
    background: linear-gradient(135deg, #003d6c, #0990a1);
    padding: 50px 0 40px;
    color: #fff;
}

.apply-hero-title {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
}

.apply-hero-sub {
    font-size: 16px;
    color: rgb(255 255 255);
    max-width: 500px;
    margin: 10px auto 0;
}

.wizard-card {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.wizard-progress {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.wizard-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #003d6c, #0990a1);
    border-radius: 3px;
    transition: width .4s ease;
}

.wizard-steps-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
}

.wizard-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.wizard-step-dot span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.wizard-step-dot small {
    font-size: 11px;
    color: #09090a;
    font-weight: 600;
}

.wizard-step-dot.active span {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .2);
}

.wizard-step-dot.active small {
    color: var(--primary);
}

.wizard-step-dot.completed span {
    background: var(--success);
    color: #fff;
}

.wizard-step-dot.completed small {
    color: var(--success);
}

.wizard-step {
    display: none;
    animation: fadeInUp .3s ease;
}

.wizard-step.active {
    display: block;
}

.wizard-step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-nav {
    display: flex;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.review-summary {
    font-size: 14px;
}

.review-summary td {
    padding: 8px 12px;
    vertical-align: top;
}

.review-summary tr:nth-child(even) {
    background: var(--bg-light);
}


/* ═══════════════════════════════════════════
   AUTH PAGES (LOGIN / REGISTER)
   ═══════════════════════════════════════════ */

.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 40px 0;
    background: var(--bg-light);
}

.auth-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 0 auto;
}

.page-register .auth-card {
    max-width: 600px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 16px;
}

.auth-logo i {
    font-size: 28px;
}

.auth-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.auth-subtitle {
    font-size: 14px;
    color: #000000;
    margin-bottom: 20px;
}

.auth-footer {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}


/* ═══════════════════════════════════════════
   STUDENT DASHBOARD
   ═══════════════════════════════════════════ */

.sd-section {
    padding: 24px 0 60px;
    background: var(--bg-light);
    min-height: 80vh;
}


/* Sidebar */

.sd-sidebar {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: sticky;
    top: 90px;
}

.sd-profile-card {
    padding: 28px 20px 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.sd-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    border: 3px solid rgba(255, 255, 255, .3);
}

.sd-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.sd-menu {
    padding: 8px 0;
}

.sd-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sd-menu-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.sd-menu-item.active {
    background: var(--primary-bg);
    color: var(--primary);
    font-weight: 600;
    border-left-color: var(--primary);
}

.sd-menu-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}


/* Tabs */

.sd-tab {
    display: none;
    animation: fadeInUp .3s ease;
}

.sd-tab.active {
    display: block;
}

.sd-tab-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}


/* Cards */

.sd-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
}

.sd-card-header {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}


/* Stat Cards */

.sd-stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    text-align: center;
}

.sd-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
}

.sd-stat-label {
    font-size: 12px;
    color: #09090a;
    font-weight: 600;
}


/* Wishlist Cards */

.sd-wish-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.sd-wish-card:hover {
    box-shadow: var(--shadow-lg);
}

.sd-wish-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #09090a;
    overflow: hidden;
}

.sd-wish-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sd-wish-info {
    flex: 1;
    min-width: 0;
}

.sd-wish-info h6 a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
}

.sd-wish-info h6 a:hover {
    color: var(--primary);
}


/* Notification Items */

.sd-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
    transition: var(--transition);
}

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

.sd-notif-item.unread {
    background: #eff6ff;
    margin: 0 -20px;
    padding: 12px 20px;
    border-radius: 4px;
}

.sd-notif-item i {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}


/* Mobile */

.sd-mobile-tabs {
    display: none;
}


/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */

.form-control,
.form-select {
    border-radius: var(--radius);
    border-color: var(--border);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .12);
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.btn {
    font-family: var(--font);
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 700;
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-secondary {
    color: var(--text-body);
    border-color: var(--border);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--bg-gray);
    color: var(--text-dark);
    border-color: var(--text-light);
}

.btn-outline-accent {
    color: var(--accent);
    border-color: var(--accent);
    background: transparent;
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: #fff;
}

.btn-outline-danger {
    color: var(--danger);
    border-color: var(--danger);
    background: transparent;
}

.btn-outline-danger:hover {
    background: var(--danger);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--text-dark);
    border-color: var(--border);
}

.btn-white:hover {
    background: var(--bg-gray);
    box-shadow: var(--shadow);
}


/* Button Sizes */

.btn-xs {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: var(--radius-sm);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-md {
    padding: 10px 22px;
    font-size: 14px;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-xl {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--radius-lg);
}

.btn-icon-only {
    padding: 8px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* ═══════════════════════════════════════════
   CUSTOM CHECKBOX & RADIO (Sidebar Filters)
   ═══════════════════════════════════════════ */

.filter-checkbox,
.filter-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-body);
    transition: var(--transition-fast);
}

.filter-checkbox:hover,
.filter-radio:hover {
    color: var(--text-dark);
}

.filter-checkbox input[type="checkbox"],
.filter-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid var(--border);
    background: #fff;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.filter-checkbox input[type="checkbox"] {
    border-radius: 4px;
}

.filter-radio input[type="radio"] {
    border-radius: 50%;
}

.filter-checkbox input:checked,
.filter-radio input:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.filter-checkbox input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-radio input:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.filter-checkbox input:focus,
.filter-radio input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .15);
}

.filter-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: #09090a;
    background: var(--bg-gray);
    padding: 1px 8px;
    border-radius: 10px;
}


/* Range Slider for Filters */

.filter-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    outline: none;
}

.filter-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(13, 110, 253, .3);
}

.filter-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}


/* ═══════════════════════════════════════════
   FORM VALIDATION STATES
   ═══════════════════════════════════════════ */

.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--success);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--danger);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke='%23fff' stroke-width='1.5' d='m4.5 7.5 3-3m0 3-3-3'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-control.is-valid:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .15);
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .15);
}

.valid-feedback {
    font-size: 12px;
    color: var(--success);
    margin-top: 4px;
    display: none;
}

.invalid-feedback {
    font-size: 12px;
    color: var(--danger);
    margin-top: 4px;
    display: none;
}

.was-validated .form-control:valid~.valid-feedback,
.was-validated .form-control:invalid~.invalid-feedback,
.form-control.is-valid~.valid-feedback,
.form-control.is-invalid~.invalid-feedback {
    display: block;
}


/* Input Group Enhancement */

.input-group-text {
    background: var(--bg-gray);
    border-color: var(--border);
    color: #09090a;
    font-size: 14px;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper .form-control {
    padding-left: 40px;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #09090a;
    font-size: 16px;
    z-index: 2;
}


/* Floating Labels */

.form-floating>.form-control {
    height: 52px;
    padding: 20px 16px 6px;
}

.form-floating>label {
    padding: 14px 16px;
    color: #09090a;
}


/* ═══════════════════════════════════════════
   TESTIMONIAL CAROUSEL STYLES
   ═══════════════════════════════════════════ */

.testimonial-carousel .swiper-slide {
    height: auto;
}

.testimonial-carousel .testimonial-card {
    height: 100%;
}

.testimonial-carousel .swiper-pagination {
    bottom: 0;
    position: relative;
    margin-top: 24px;
}

.testimonial-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border);
    opacity: 1;
    transition: var(--transition-fast);
}

.testimonial-carousel .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

.testimonial-carousel .swiper-button-prev,
.testimonial-carousel .swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-md);
    color: var(--text-dark);
}

.testimonial-carousel .swiper-button-prev::after,
.testimonial-carousel .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.testimonial-carousel .swiper-button-prev:hover,
.testimonial-carousel .swiper-button-next:hover {
    background: var(--primary);
    color: #fff;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 14px;
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
    font-style: italic;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary-lighter);
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-lighter);
}

.testimonial-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
}

.testimonial-meta {
    font-size: 12px;
    color: #09090a;
}


/* ═══════════════════════════════════════════
   STUDENT DASHBOARD (Expanded)
   ═══════════════════════════════════════════ */

.dashboard-layout {
    display: flex;
    gap: 24px;
    min-height: calc(100vh - 200px);
}

.dashboard-sidebar-panel {
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.dashboard-sidebar-panel .user-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    margin: 0 auto 12px;
}

.dashboard-sidebar-panel .user-name {
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}

.dashboard-sidebar-panel .user-email {
    font-size: 13px;
    color: #09090a;
    text-align: center;
    margin-bottom: 16px;
}

.dashboard-sidebar-panel .nav-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 0;
}

.dashboard-sidebar .nav-link .nav-icon {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.dashboard-sidebar .nav-link .nav-badge {
    margin-left: auto;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700;
}

.dashboard-content {
    flex: 1;
    min-width: 0;
}

.dash-welcome {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.dash-welcome::after {
    content: "";
    position: absolute;
    right: -20px;
    top: -20px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.dash-welcome h4 {
    font-weight: 800;
    margin-bottom: 4px;
}

.dash-welcome p {
    opacity: .85;
    font-size: 14px;
    margin-bottom: 0;
}

.dash-stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.dash-stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.dash-stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.dash-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.dash-stat-icon.blue {
    background: var(--primary-bg);
    color: var(--primary);
}

.dash-stat-icon.green {
    background: #d1e7dd;
    color: var(--success);
}

.dash-stat-icon.amber {
    background: #fff3cd;
    color: var(--warning);
}

.dash-stat-icon.red {
    background: #f8d7da;
    color: var(--danger);
}

.dash-stat-icon.purple {
    background: #e8daef;
    color: #7c3aed;
}

.dash-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.dash-stat-label {
    font-size: 13px;
    color: #09090a;
    margin-top: 2px;
}


/* Dashboard Tables */

.dash-table {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.dash-table .table {
    margin-bottom: 0;
}

.dash-table .table thead th {
    background: var(--bg-gray);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #09090a;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border);
}

.dash-table .table tbody td {
    padding: 14px 16px;
    font-size: 14px;
    vertical-align: middle;
}

.dash-table .table tbody tr:hover {
    background: var(--primary-bg);
}


/* Dashboard Activity Timeline */

.dash-timeline {
    position: relative;
    padding-left: 24px;
}

.dash-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--border);
}

.dash-timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.dash-timeline-item::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-lighter);
}

.dash-timeline-item.success::before {
    background: var(--success);
    box-shadow: 0 0 0 2px #d1e7dd;
}

.dash-timeline-item.warning::before {
    background: var(--warning);
    box-shadow: 0 0 0 2px #fff3cd;
}

.dash-timeline-item.danger::before {
    background: var(--danger);
    box-shadow: 0 0 0 2px #f8d7da;
}

.dash-timeline-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.dash-timeline-time {
    font-size: 12px;
    color: #09090a;
}

.dash-timeline-desc {
    font-size: 13px;
    color: var(--text-body);
    margin-top: 2px;
}


/* Document Upload Card */

.doc-upload-card {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.doc-upload-card:hover,
.doc-upload-card.dragover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.doc-upload-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.doc-upload-card p {
    font-size: 14px;
    color: #09090a;
    margin-bottom: 0;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 8px;
}

.doc-item-icon {
    font-size: 24px;
    color: var(--danger);
    flex-shrink: 0;
}

.doc-item-name {
    font-weight: 600;
    font-size: 14px;
}

.doc-item-meta {
    font-size: 12px;
    color: #09090a;
}

.doc-item-status {
    margin-left: auto;
}


/* Auth Card */

.auth-card {
    max-width: 480px;
    margin: 60px auto;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 40px;
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 20px;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer-cta-strip {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .12);
    color: #fff;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, .4);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, .12);
    border-color: var(--primary);
}

.site-footer {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    color: var(--text-light);
    padding: 60px 0 0;
}

.site-footer .brand-name {
    color: #fff;
    font-size: 20px;
}

.footer-desc {
    font-size: 14px;
    color: #000000;
    line-height: 1.8;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #003d6c;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 2px;
}

.footer-links a {
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: #003d6c;
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #000000;
    align-items: center;
}

.footer-contact i {
    color: #003d6c;
    font-size: 15px;
    margin-top: 0px;
    flex-shrink: 0;
}

.footer-contact a {
    color: #000000;
}

.footer-contact a:hover {
    color: #003d6c;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
    transition: var(--transition-fast);
    background: #003d6c;
}

.social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 40px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: #003d6c;
}

.footer-bottom p,
.footer-bottom a {
    color: #ffffff;
    font-size: 13px;
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

.footer-bottom-links .sep {
    color: rgb(255 255 255);
    margin: 0 8px;
}


/* ═══════════════════════════════════════════
   FLOATING BUTTONS
   ═══════════════════════════════════════════ */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 22px rgba(37, 211, 102, .5);
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background: #fff;
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}


/* Compare Bar */

.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .1);
    padding: 12px 0;
    z-index: 1010;
    display: none;
}


/* Dashboard Sidebar */

.dashboard-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-body);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius);
    margin-bottom: 4px;
    transition: var(--transition-fast);
}

.dashboard-sidebar .nav-link:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.dashboard-sidebar .nav-link.active {
    background: var(--primary);
    color: #fff;
}


/* Wishlist Button */

.wishlist-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #09090a;
    cursor: pointer;
    transition: var(--transition-fast);
}

.wishlist-btn:hover,
.wishlist-btn.active {
    color: var(--danger);
}


/* Star Rating */

.star-rating .bi-star-fill {
    color: var(--accent);
}

.star-rating .bi-star {
    color: var(--border);
}


/* ═══════════════════════════════════════════
   HOMEPAGE — Additional Styles
   ═══════════════════════════════════════════ */


/* Hero Badge */

.hero-badge {
    display: inline-block;
    background: #003d6c;
    backdrop-filter: blur(8px);
    border: 1px solid #003d6c;
    color: rgba(255, 255, 255, .9);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: .3px;
}


/* Hero Floating Shapes */

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: .06;
    z-index: 0;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    bottom: -50px;
    left: -80px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(-10px, 20px) rotate(-3deg);
    }
    75% {
        transform: translate(15px, 10px) rotate(4deg);
    }
}


/* Hero Stat Divider */

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, .15);
    align-self: center;
}


/* Search Button pulse */

.search-btn {
    position: relative;
    font-weight: 700;
    min-height: 50px;
}

.search-btn:hover {
    box-shadow: 0 4px 20px rgba(13, 110, 253, .35);
}


/* Search Chips */

.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    color: #000000;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: var(--transition-fast);
}

.chip:hover {
    background: var(--primary-bg);
    color: var(--primary);
    border-color: var(--primary-lighter);
}

.chip i {
    font-size: 14px;
}


/* Destination Meta (quick stats under text) */

.dest-meta-item {
    font-size: 12px;
    font-weight: 600;
    color: #131314;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dest-meta-item i {
    font-size: 13px;
}

.destination-meta {
    border-top: 1px solid #d5d5d5;
    padding-top: 12px;
}


/* Destination Placeholder (when no banner image) */

.destination-placeholder {
    position: relative;
    overflow: hidden;
}

.destination-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, .4));
}


/* Course Card extras */

.course-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.35;
}

.course-duration {
    font-size: 13px;
    color: #131314;
    margin-bottom: 10px;
    font-weight: 500;
}

.course-duration i {
    font-size: 12px;
}

.course-badges {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

.course-badges .badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
}

.course-uni-count {
    font-size: 13px;
    color: #131314;
    font-weight: 600;
    margin-bottom: 12px;
}

.course-uni-count i {
    font-size: 13px;
    margin-right: 3px;
}

.course-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.course-link i {
    transition: transform .2s ease;
}

.course-link:hover i {
    transform: translateX(4px);
}


/* ─── Section 5: University Card Extras ─── */

.uni-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
}

.uni-logo-wrap {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.uni-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.uni-logo-placeholder {
    width: 56px;
    height: 56px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.uni-card-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.uni-card-name a {
    color: var(--text-dark);
}

.uni-card-name a:hover {
    color: var(--primary);
}

.uni-country-tag {
    font-size: 12px;
    font-weight: 600;
    color: #003d6c;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.uni-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.uni-card-info .info-item {
    font-size: 13px;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.uni-card-info .info-item i {
    font-size: 14px;
    width: 18px;
    text-align: center;
}


/* ─── Section 6: Feature Variants & Trust Strip ─── */

.feature-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: #131314;
    line-height: 1.65;
    margin-bottom: 0;
}

.feature-icon-accent {
    background: var(--accent-light);
    color: var(--accent);
}

.feature-box:hover .feature-icon-accent {
    background: var(--accent);
    color: #fff;
}

.feature-icon-success {
    background: #d1e7dd;
    color: var(--success);
}

.feature-box:hover .feature-icon-success {
    background: var(--success);
    color: #fff;
}

.feature-icon-warning {
    background: #fff3cd;
    color: var(--warning);
}

.feature-box:hover .feature-icon-warning {
    background: var(--warning);
    color: #fff;
}

.trust-strip {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.trust-item i {
    font-size: 18px;
}


/* ─── Section 7: Step Icons + Vertical Timeline (mobile) ─── */

.step-icon {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 6px;
}


/* Vertical timeline for mobile */

.steps-vertical {
    position: relative;
    padding-left: 4px;
}

.step-v-item {
    display: flex;
    gap: 16px;
    padding-bottom: 28px;
    position: relative;
}

.step-v-item:last-child {
    padding-bottom: 0;
}

.step-v-item:last-child .step-v-line {
    display: none;
}

.step-v-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step-v-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(13, 110, 253, .25);
    z-index: 1;
}

.step-v-line {
    width: 2px;
    flex: 1;
    background: var(--border);
    margin-top: 6px;
    border-radius: 2px;
}

.step-v-content {
    padding-top: 6px;
}

.step-v-icon {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 4px;
}

.step-v-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.step-v-desc {
    font-size: 14px;
    color: #09090a;
    line-height: 1.6;
    margin-bottom: 0;
}


/* ─── Section 8: Testimonial Carousel ─── */

.testimonial-stars {
    font-size: 16px;
}

.testimonial-stars .bi-star-fill {
    color: var(--accent);
}

.testimonial-stars .bi-star {
    color: var(--border);
}

.student-name {
    font-size: 15px;
    color: var(--text-dark);
}

.student-photo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


/* Carousel arrows */

.testimonial-arrow {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-arrow-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 18px;
    transition: var(--transition-fast);
}

.carousel-arrow-icon:hover {
    background: var(--primary);
    color: #fff;
}

.carousel-control-prev {
    left: -22px;
}

.carousel-control-next {
    right: -22px;
}


/* Carousel indicators */

.testimonial-dots {
    position: relative;
    margin-top: 30px;
    bottom: auto;
}

.testimonial-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    opacity: 1;
    transition: var(--transition-fast);
}

.testimonial-dots button.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}


/* ─── Section 9: Blog Extras ─── */

.blog-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    font-weight: 600;
    color: #003d6c;
}

.blog-meta i {
    font-size: 12px;
}

.blog-excerpt {
    font-size: 14px;
    color: #000000;
    line-height: 1.65;
    margin-bottom: 8px;
}

.blog-read-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
}

.blog-read-more i {
    transition: transform .2s ease;
}

.blog-read-more:hover i {
    transform: translateX(4px);
}

.blog-img-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255, 255, 255, .5);
}


/* ─── Section 10: CTA Extras ─── */

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-bg-shapes::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 70%);
    border-radius: 50%;
    top: -120px;
    right: -80px;
}

.cta-bg-shapes::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, .05), transparent 70%);
    border-radius: 50%;
    bottom: -60px;
    left: -40px;
}

.cta-icon-wrap {
    width: 72px;
    height: 72px;
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #003d6c;
    border: 2px solid rgba(255, 255, 255, .2);
}

.cta-btn-light {
    color: var(--primary) !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

.cta-btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
}

.cta-footnote {
    font-size: 14px;
    color: rgba(255, 255, 255, 1.0);
}


/* Subtle bg-*-subtle fallback for older Bootstrap */

.bg-primary-subtle {
    background-color: #cfe2ff !important;
}

.bg-success-subtle {
    background-color: #d1e7dd !important;
}

.bg-danger-subtle {
    background-color: #f8d7da !important;
}

.bg-warning-subtle {
    background-color: #fff3cd !important;
}

.bg-info-subtle {
    background-color: #cff4fc !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}


/* ═══════════════════════════════════════════
   COUNTRY CARDS
   ═══════════════════════════════════════════ */

.country-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
    transition: var(--transition);
    cursor: pointer;
}

.country-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.country-card:hover img {
    transform: scale(1.08);
}

.country-card .country-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition);
}

.country-card:hover .country-overlay {
    background: linear-gradient(to top, rgba(13, 110, 253, .85) 0%, rgba(13, 110, 253, .15) 60%, transparent 100%);
}

.country-card .country-flag {
    width: 36px;
    height: 27px;
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 8px;
    border: 2px solid rgba(255, 255, 255, .3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.country-card .country-name {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.2;
}

.country-card .country-meta {
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    font-weight: 500;
}

.country-card .country-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition);
}

.country-card:hover .country-arrow {
    opacity: 1;
    transform: translateX(0);
}


/* Country card - small variant (grid) */

.country-card-sm {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.country-card-sm:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.country-card-sm .flag-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.country-card-sm .flag-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-card-sm .country-info h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.country-card-sm .country-info small {
    color: #09090a;
    font-size: 12px;
}


/* ═══════════════════════════════════════════
   FEATURE / INFO CARDS
   ═══════════════════════════════════════════ */

.feature-card {
    text-align: center;
    padding: 36px 28px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card .feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-3deg);
}

.feature-card .feature-icon.icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.feature-card .feature-icon.icon-green {
    background: #ecfdf5;
    color: #059669;
}

.feature-card .feature-icon.icon-purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.feature-card .feature-icon.icon-orange {
    background: #fff7ed;
    color: #ea580c;
}

.feature-card .feature-icon.icon-pink {
    background: #fdf2f8;
    color: #db2777;
}

.feature-card .feature-icon.icon-cyan {
    background: #ecfeff;
    color: #0891b2;
}

.feature-card h5 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 14px;
    color: #09090a;
    line-height: 1.65;
    margin-bottom: 0;
}


/* Feature card horizontal variant */

.feature-card-h {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature-card-h:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-bg);
}

.feature-card-h .feature-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.feature-card-h h5 {
    margin-bottom: 6px;
}


/* ═══════════════════════════════════════════
   DETAIL PAGE — STICKY TABS
   ═══════════════════════════════════════════ */

.detail-tabs-wrap {
    position: sticky;
    top: 72px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 32px;
    transition: box-shadow .2s ease;
}

.detail-tabs-wrap.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.detail-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.detail-tabs::-webkit-scrollbar {
    display: none;
}

.detail-tab {
    flex-shrink: 0;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #09090a;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: var(--transition-fast);
    cursor: pointer;
}

.detail-tab:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.detail-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 700;
}

.detail-tab i {
    margin-right: 6px;
    font-size: 15px;
}


/* Smooth scroll target offset */

.detail-section {
    scroll-margin-top: 140px;
}

.detail-section+.detail-section {
    margin-top: 36px;
}


/* Detail info grid */

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.detail-info-item {
    padding: 16px;
    background: var(--bg-gray);
    border-radius: var(--radius);
}

.detail-info-item .label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #09090a;
    margin-bottom: 4px;
}

.detail-info-item .value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}


/* ═══════════════════════════════════════════
   LOADING SPINNER / OVERLAY
   ═══════════════════════════════════════════ */

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.loading-overlay .loading-text {
    font-size: 14px;
    font-weight: 600;
    color: #09090a;
}

.spinner-ring {
    width: 44px;
    height: 44px;
    border: 4px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spinRing .8s linear infinite;
}

.spinner-dots {
    display: flex;
    gap: 6px;
}

.spinner-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    animation: bounceDot .6s ease-in-out infinite alternate;
}

.spinner-dots span:nth-child(2) {
    animation-delay: .2s;
}

.spinner-dots span:nth-child(3) {
    animation-delay: .4s;
}


/* Inline spinner for buttons */

.btn .spinner-border-sm {
    width: 16px;
    height: 16px;
    border-width: 2px;
    margin-right: 6px;
}


/* Skeleton loading */

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-text.w-75 {
    width: 75%;
}

.skeleton-text.w-50 {
    width: 50%;
}

.skeleton-title {
    height: 22px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-img {
    height: 180px;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}


/* ═══════════════════════════════════════════
   CUSTOM MODAL STYLES
   ═══════════════════════════════════════════ */

.modal-backdrop.show {
    backdrop-filter: blur(4px);
}

.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
    overflow: hidden;
}

.modal-header {
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border-light);
    padding: 18px 24px;
}

.modal-header .modal-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
}

.modal-header .btn-close {
    opacity: .5;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--border-light);
    padding: 16px 24px;
    background: var(--bg-gray);
}


/* Modal sizes */

.modal-lg .modal-content {
    border-radius: var(--radius-xl);
}

.modal-fullscreen .modal-content {
    border-radius: 0;
}


/* Apply / Enquiry modal */

.modal-apply .modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-bottom: none;
}

.modal-apply .modal-header .modal-title {
    color: #fff;
}

.modal-apply .modal-header .btn-close {
    filter: brightness(0) invert(1);
}


/* Image preview modal */

.modal-gallery .modal-content {
    background: transparent;
    box-shadow: none;
}

.modal-gallery .modal-body {
    padding: 0;
}

.modal-gallery img {
    width: 100%;
    border-radius: var(--radius-lg);
}


/* ═══════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════ */

.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.pagination-wrap .page-link {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-body);
    border: 1px solid var(--border-light);
    background: #fff;
    transition: var(--transition-fast);
    padding: 0 12px;
}

.pagination-wrap .page-link:hover {
    background: var(--primary-bg);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.pagination-wrap .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(13, 110, 253, .3);
}

.pagination-wrap .page-item.disabled .page-link {
    background: var(--bg-gray);
    color: var(--text-light);
    cursor: not-allowed;
    border-color: transparent;
}

.pagination-wrap .page-link i {
    font-size: 12px;
}

.pagination-info {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #09090a;
}


/* ═══════════════════════════════════════════
   TOAST NOTIFICATIONS (Enhanced)
   ═══════════════════════════════════════════ */

.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    border-left: 4px solid var(--primary);
    min-width: 320px;
    max-width: 420px;
    animation: slideInRight .3s ease;
    transition: var(--transition);
}

.toast-item.toast-success {
    border-left-color: #10b981;
}

.toast-item.toast-danger {
    border-left-color: #ef4444;
}

.toast-item.toast-warning {
    border-left-color: #f59e0b;
}

.toast-item.toast-info {
    border-left-color: #06b6d4;
}

.toast-item .toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: #ecfdf5;
    color: #10b981;
}

.toast-danger .toast-icon {
    background: #fef2f2;
    color: #ef4444;
}

.toast-warning .toast-icon {
    background: #fffbeb;
    color: #f59e0b;
}

.toast-info .toast-icon {
    background: #ecfeff;
    color: #06b6d4;
}

.toast-item .toast-body {
    flex: 1;
}

.toast-item .toast-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.toast-item .toast-msg {
    font-size: 13px;
    color: #09090a;
    line-height: 1.4;
}

.toast-item .toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 16px;
    padding: 4px;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.toast-item .toast-close:hover {
    color: var(--text-dark);
}

.toast-item.exiting {
    animation: slideOutRight .3s ease forwards;
}


/* ═══════════════════════════════════════════
   ENHANCED BADGES
   ═══════════════════════════════════════════ */


/* Status badges */

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: .02em;
}

.badge-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-active {
    background: #ecfdf5;
    color: #059669;
}

.badge-active::before {
    background: #10b981;
}

.badge-pending {
    background: #fffbeb;
    color: #d97706;
}

.badge-pending::before {
    background: #f59e0b;
}

.badge-inactive {
    background: #f1f5f9;
    color: #64748b;
}

.badge-inactive::before {
    background: #94a3b8;
}

.badge-rejected {
    background: #fef2f2;
    color: #dc2626;
}

.badge-rejected::before {
    background: #ef4444;
}


/* Stream badges */

.badge-stream {
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
}

.badge-medical {
    background: #fef2f2;
    color: #dc2626;
}

.badge-engineering {
    background: #eff6ff;
    color: #2563eb;
}

.badge-business {
    background: #f0fdf4;
    color: #16a34a;
}

.badge-law {
    background: #faf5ff;
    color: #7c3aed;
}

.badge-arts {
    background: #fdf4ff;
    color: #c026d3;
}

.badge-science {
    background: #ecfeff;
    color: #0891b2;
}

.badge-it {
    background: #f0fdfa;
    color: #0d9488;
}


/* Type badges */

.badge-type {
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
}

.badge-public {
    background: #eff6ff;
    color: #2563eb;
}

.badge-private {
    background: #faf5ff;
    color: #7c3aed;
}

.badge-deemed {
    background: #fff7ed;
    color: #ea580c;
}

.badge-merit {
    background: #eff6ff;
    color: #2563eb;
}

.badge-need {
    background: #ecfdf5;
    color: #059669;
}

.badge-government {
    background: #fffbeb;
    color: #d97706;
}


/* ═══════════════════════════════════════════
   ANIMATIONS & KEYFRAMES (Extended)
   ═══════════════════════════════════════════ */


/* Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeInUp {
    animation: fadeInUp .6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn .4s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spinRing {
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounceDot {
    to {
        transform: translateY(-8px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-slideUp {
    animation: slideUp .5s ease forwards;
}

.animate-slideDown {
    animation: slideDown .4s ease forwards;
}

.animate-scaleIn {
    animation: scaleIn .3s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease infinite;
}


/* Staggered children animation */

.stagger-children>* {
    opacity: 0;
    animation: fadeInUp .5s ease forwards;
}

.stagger-children>*:nth-child(1) {
    animation-delay: .05s;
}

.stagger-children>*:nth-child(2) {
    animation-delay: .10s;
}

.stagger-children>*:nth-child(3) {
    animation-delay: .15s;
}

.stagger-children>*:nth-child(4) {
    animation-delay: .20s;
}

.stagger-children>*:nth-child(5) {
    animation-delay: .25s;
}

.stagger-children>*:nth-child(6) {
    animation-delay: .30s;
}

.stagger-children>*:nth-child(7) {
    animation-delay: .35s;
}

.stagger-children>*:nth-child(8) {
    animation-delay: .40s;
}

.universities {
    background: #ffffff;
    color: #003d6c;
    border: 1px solid #003d6c;
}

.destination:hover {
    background: #ffffff;
    border: 1px solid #003d6c;
    color: #003d6c;
}

.form-check .form-check-input {
    margin-top: 7px !important;
    border: 1px solid #003d6c;
}

.logo_width {
    width: 200px;
}

.bg_light_theme {
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%);
}

.bg_theme {
    background: #003d6c;
}

.active>.page-link,
.page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color) !important;
    background-color: #003d6c !important;
    border-color: #003d6c !important;
}

.disabled>.page-link,
.page-link.disabled {
    color: rgb(0 61 108);
    pointer-events: none;
    background: linear-gradient(156deg, #F7F6F9 10.62%, #E9F5F5 90.16%) !important;
    border-color: var(--bs-pagination-disabled-border-color);
}

.page-link {
    color: #003d6c !important;
}