/* =========================================
   Vision Plus Education - Light Premium Theme
   Stripe-inspired design
   Palette: soft whites, warm grays, deep navy accents
   ========================================= */

:root {
    --primary: #1e3a5f;
    --primary-dark: #0f2440;
    --secondary: #1a3355;
    --accent: #2563eb;
    --light-blue: #3b82f6;
    --lighter-blue: #1d4ed8;
    --bg-dark: #f8f9fc;
    --bg-dark-2: #f1f3f8;
    --bg-dark-3: #e8ecf4;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f7fa;
    --bg-light: #f4f6fa;
    --bg-white: #ffffff;
    --text-white: #0f1729;
    --text-body: #3d4f6f;
    --text-muted: #6b7a94;
    --text-bright: #1a2744;
    --border-color: rgba(30,58,95,0.12);
    --border-light: rgba(30,58,95,0.06);
    --gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #1e3a5f 0%, #2a4a73 100%);
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    --gradient-light: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(59,130,246,0.05) 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 40px rgba(37,99,235,0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background: var(--bg-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; }

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark-2); }
::-webkit-scrollbar-thumb { background: #c0c9d6; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ========== Navbar ========== */
.navbar {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
    padding: 2px 0;
    z-index: 1050;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-dark) !important;
}

/* Brand stack - favicon icon + text below */
.brand-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.2;
}
.brand-icon {
    height: 36px;
    width: auto;
    object-fit: contain;
    margin-bottom: 2px;
}
.brand-icon-lg { height: 52px; margin-bottom: 4px; }
.brand-icon-auth { height: 56px; margin-bottom: 6px; }
.brand-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.2em;
}
.brand-sub {
    font-size: 0.52rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.04em;
}
.brand-slogan {
    font-size: 0.48rem;
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
    margin-top: 1px;
}
/* Bigger text in footer/auth */
.brand-stack-lg { align-items: flex-start; text-align: left; }
.brand-stack-lg .brand-name { font-size: 1rem; }
.brand-stack-lg .brand-sub { font-size: 0.65rem; }
.brand-stack-lg .brand-slogan { font-size: 0.6rem; }
.brand-stack-auth .brand-name { font-size: 1.1rem; color: #fff; }
.brand-stack-auth .brand-sub { font-size: 0.7rem; color: rgba(255,255,255,0.7); }
.navbar-toggler {
    border: 1px solid var(--border-color);
    color: var(--text-white);
    font-size: 1.3rem;
    padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: none; }
.nav-link {
    color: var(--text-body) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
    background: rgba(37,99,235,0.06);
}
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-nav-outline {
    color: var(--text-bright);
    border: 1.5px solid var(--border-color);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    background: transparent;
}
.btn-nav-outline:hover {
    background: rgba(37,99,235,0.06);
    color: var(--accent);
    border-color: var(--accent);
}
.btn-nav-primary {
    background: var(--gradient);
    color: #fff !important;
    padding: 8px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
}
.btn-nav-primary:hover {
    opacity: 0.9;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37,99,235,0.25);
}

/* ========== Flash Alert ========== */
.flash-alert {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1060;
    min-width: 400px;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-lg);
}

/* ========== Hero Section ========== */
.hero-section {
    padding: 90px 0 60px;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(37,99,235,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(37,99,235,0.03) 0%, transparent 50%);
    pointer-events: none;
}
/* Subtle grid lines like Stripe */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(37,99,235,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.min-vh-hero { min-height: 90vh; }
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,99,235,0.08);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(37,99,235,0.15);
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--text-white);
}
.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.75;
}

/* Hero Search */
.hero-search-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid var(--border-color);
    margin-bottom: 44px;
}
.search-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.search-field {
    position: relative;
    flex: 1;
}
.search-field i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 0.9rem;
    z-index: 2;
}
.search-field .form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px 14px 42px;
    font-size: 0.9rem;
    color: var(--text-bright);
    background-color: var(--bg-dark-2);
    cursor: pointer;
    appearance: auto;
}
.search-field .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
    background-color: #fff;
}
.btn-hero-search {
    background: var(--gradient);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-search:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}
.stat-item { text-align: center; }
.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
}
.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}
.hero-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 100%;
    padding: 20px;
}
.grid-img {
    border-radius: var(--radius-md);
    object-fit: cover;
    width: 100%;
    height: 100%;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}
.grid-img.img-1 { grid-column: 1 / 3; grid-row: 1; }
.grid-img.img-2 { grid-column: 1; grid-row: 2; }
.grid-img.img-3 { grid-column: 2; grid-row: 2; }

.hero-card {
    position: absolute;
    background: var(--bg-card);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-bright);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}
.hero-card i { color: var(--accent); font-size: 1.1rem; }
.hero-card.card-1 { top: 10px; left: 0; animation-delay: 0s; }
.hero-card.card-2 { top: 50%; right: 0; animation-delay: 2s; }
.hero-card.card-3 { bottom: 20px; left: 20px; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========== Sections ========== */
.section-padding { padding: 100px 0; }
.section-header { max-width: 600px; margin: 0 auto 20px; }
.section-badge {
    display: inline-block;
    background: rgba(37,99,235,0.12);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(37,99,235,0.2);
}
.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ========== Steps ========== */
.steps-section { background: var(--bg-dark-2); }
.step-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    height: 100%;
}
.step-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.step-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(37,99,235,0.06);
    line-height: 1;
}
.step-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.step-card h5 {
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-white);
}
.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ========== Featured Universities ========== */
.featured-section { background: var(--bg-dark); }
.uni-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.uni-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.uni-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.uni-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}
.uni-badge {
    background: rgba(37,99,235,0.15);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
}
.uni-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    min-height: 44px;
    color: var(--text-white);
}
.uni-location {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.uni-location i { color: var(--accent); margin-right: 4px; }
.uni-fee {
    color: var(--text-body);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.uni-fee strong { color: var(--lighter-blue); }
.btn-uni-view {
    display: block;
    text-align: center;
    background: rgba(37,99,235,0.1);
    color: var(--accent);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: auto;
    transition: all 0.3s;
    border: 1px solid rgba(37,99,235,0.2);
}
.btn-uni-view:hover {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}
.btn-uni-view i { margin-left: 6px; font-size: 0.8rem; }

/* ========== Why Section ========== */
.why-section { background: var(--bg-dark-2); }
.why-features { display: flex; flex-direction: column; gap: 16px; }
.why-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius-md);
    transition: all 0.3s;
    border: 1px solid transparent;
}
.why-feature-item:hover {
    background: var(--bg-card);
    border-color: var(--border-color);
}
.why-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.why-feature-item h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-white);
}
.why-feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ========== CTA Section ========== */
.cta-section { padding: 80px 0; background: var(--bg-dark); }
.cta-box {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 60px;
    color: #fff;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta-box h2 { color: #fff; font-size: 2rem; margin-bottom: 12px; position: relative; }
.cta-box p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin: 0; position: relative; }
.btn-cta {
    background: var(--gradient);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: all 0.3s;
    position: relative;
}
.btn-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}

/* ========== Buttons ========== */
.btn-primary-custom {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s;
}
.btn-primary-custom:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.btn-outline-custom {
    color: var(--accent);
    border: 1.5px solid var(--accent);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    background: transparent;
    transition: all 0.3s;
}
.btn-outline-custom:hover {
    background: var(--accent);
    color: #fff;
}

/* ========== Footer ========== */
.site-footer {
    background: #0f1f36;
    color: rgba(255,255,255,0.6);
    padding: 60px 0 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
    margin-bottom: 20px;
}
.footer-brand h5 { color: #fff; margin: 0; font-size: 1.1rem; }
/* Override brand text colors for dark footer */
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: rgba(255,255,255,0.65); }
.site-footer .brand-slogan { color: #60a5fa; }
.site-footer .brand-icon { filter: brightness(1.3) saturate(0.8); }
.footer-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    border-color: var(--accent);
}
.footer-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}
.footer-links a:hover { color: #60a5fa; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
}
.footer-contact i { color: #60a5fa; margin-top: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; }

/* ========== Auth Pages ========== */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    background: var(--bg-dark);
}
.auth-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    border: 1px solid var(--border-color);
}
.auth-header {
    background: var(--gradient-dark);
    padding: 40px 32px;
    text-align: center;
    color: #fff;
    border-bottom: 1px solid var(--border-color);
}
/* auth logo handled by .brand-stack-auth */
.auth-header h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.auth-header p { color: rgba(255,255,255,0.7); margin: 0; font-size: 0.95rem; }
.auth-body { padding: 32px; }
.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-bright);
    margin-bottom: 6px;
}
.form-control, .form-select {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: var(--bg-dark-2);
    color: var(--text-bright);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
    background: #fff;
    color: var(--text-white);
}
.form-select option { background: #fff; color: var(--text-bright); }
.btn-auth {
    width: 100%;
    background: var(--gradient);
    color: #fff;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: all 0.3s;
}
.btn-auth:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.auth-links a { color: var(--accent); font-weight: 600; }
.auth-links a:hover { color: var(--lighter-blue); }

/* Form check */
.form-check-label { color: var(--text-body); }
.form-check-input { background-color: #fff; border-color: var(--border-color); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.text-muted { color: var(--text-muted) !important; }
small.text-muted { color: var(--text-muted) !important; }

/* ========== Dashboard ========== */
.dashboard-section {
    padding: 100px 0 60px;
    background: var(--bg-dark);
    min-height: 100vh;
}
.dashboard-sidebar {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}
.sidebar-user {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.sidebar-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 12px;
}
.sidebar-user h6 { margin-bottom: 4px; color: var(--text-white); }
.sidebar-user small { color: var(--text-muted); }
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { margin-bottom: 4px; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(37,99,235,0.1);
    color: var(--accent);
}
.sidebar-nav a i { width: 20px; text-align: center; }

.dashboard-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}
.dashboard-card h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-white);
}

/* Dashboard stats */
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}
.stat-card:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.stat-card-icon.blue { background: rgba(37,99,235,0.15); color: var(--accent); }
.stat-card-icon.green { background: rgba(16,185,129,0.15); color: #10b981; }
.stat-card-icon.orange { background: rgba(245,158,11,0.15); color: #f59e0b; }
.stat-card-icon.purple { background: rgba(139,92,246,0.15); color: #8b5cf6; }
.stat-card h3 { font-size: 1.8rem; margin-bottom: 4px; color: var(--text-white); }
.stat-card p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* ========== University Search ========== */
.search-section {
    padding: 120px 0 60px;
    background: var(--bg-dark);
    min-height: 100vh;
}
.search-filters {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}
.search-filters .row { align-items: end; }

.program-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 24px;
    transition: all 0.3s;
    margin-bottom: 20px;
}
.program-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}
.program-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}
.program-uni-name {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}
.program-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-white);
}
.program-degree-badge {
    background: rgba(37,99,235,0.15);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
    border: 1px solid rgba(37,99,235,0.2);
}
.program-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.program-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.program-detail i { color: var(--accent); }
.program-fee {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--lighter-blue);
}
.program-fee span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}
.program-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.btn-apply {
    background: var(--gradient);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s;
}
.btn-apply:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37,99,235,0.4);
}

/* ========== University Detail ========== */
.uni-detail-hero {
    background: var(--gradient-dark);
    padding: 140px 0 60px;
    color: #fff;
    border-bottom: 1px solid var(--border-color);
}
.uni-detail-hero h1 { color: #fff; font-size: 2.4rem; }
.uni-detail-hero p { color: rgba(255,255,255,0.7); }
.uni-detail-content { padding: 40px 0 60px; background: var(--bg-dark); }

/* ========== Page Hero ========== */
.page-hero {
    background: var(--gradient-dark);
    padding: 140px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.page-hero h1 { color: #fff; font-size: 2.6rem; margin-bottom: 12px; position: relative; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto; position: relative; }

/* ========== About Page ========== */
.about-section { padding: 80px 0; background: var(--bg-dark); }
.about-values { padding: 80px 0; background: var(--bg-dark-2); }
.value-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    height: 100%;
}
.value-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.value-card h5 { color: var(--text-white); }
.value-card p { color: var(--text-muted); }
.value-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}

/* ========== Contact Page ========== */
.contact-section { padding: 80px 0; background: var(--bg-dark); }
.contact-info-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 40px;
    color: #fff;
    height: 100%;
    border: 1px solid var(--border-color);
}
.contact-info-card h4 { color: #fff; margin-bottom: 24px; }
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #60a5fa;
}
.contact-form-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
.contact-form-card h4 { color: var(--text-white); }

/* ========== Partners Page ========== */
.partner-benefit {
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s;
}
.partner-benefit:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.partner-benefit i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}
.partner-benefit h6 { color: var(--text-white); margin-bottom: 8px; }
.partner-benefit p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }
.partner-form-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}
.text-muted-dark { color: var(--text-muted); }

/* ========== Application Form ========== */
.application-section {
    padding: 120px 0 60px;
    background: var(--bg-dark);
    min-height: 100vh;
}
.app-progress {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}
.app-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
}
.app-step:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.app-step:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.app-step.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.app-step.completed {
    background: rgba(16,185,129,0.1);
    color: #10b981;
    border-color: rgba(16,185,129,0.3);
}
.app-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}
.app-step.active .app-step-num { background: rgba(255,255,255,0.2); }
.app-step.completed .app-step-num { background: #10b981; color: #fff; }

/* ========== Document Upload ========== */
.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    background: var(--bg-dark-2);
}
.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--accent);
    background: rgba(37,99,235,0.05);
}
.upload-zone i { font-size: 2rem; color: var(--accent); margin-bottom: 12px; }
.upload-zone p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.doc-list { list-style: none; padding: 0; margin-top: 16px; }
.doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-dark-2);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    border: 1px solid var(--border-light);
}
.doc-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-bright);
}
.doc-item-info i { color: var(--accent); }
.doc-item .btn-remove {
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

/* ========== Application Status Badges ========== */
.badge-status {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.badge-pending { background: rgba(245,158,11,0.15); color: #f59e0b; }
.badge-under_review { background: rgba(37,99,235,0.15); color: var(--accent); }
.badge-accepted { background: rgba(16,185,129,0.15); color: #10b981; }
.badge-rejected { background: rgba(239,68,68,0.15); color: #ef4444; }
.badge-withdrawn { background: rgba(107,114,128,0.15); color: #6b7280; }

/* ========== Tables ========== */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
    color: var(--text-body);
}
.table-custom thead th {
    background: var(--bg-dark-2);
    border: none;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
}
.table-custom tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    vertical-align: middle;
    color: var(--text-body);
}
.table-custom tbody tr:hover { background: var(--bg-dark-3); }
.table { --bs-table-bg: transparent; --bs-table-color: var(--text-body); }

/* ========== How It Works Page ========== */
.timeline { position: relative; padding: 40px 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}
.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
    width: 45%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.timeline-content h4 { color: var(--text-white); }
.timeline-content p { color: var(--text-body); }
.timeline-content li { color: var(--text-muted); }
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 20px rgba(37,99,235,0.3);
}

/* ========== FAQ / Accordion ========== */
.accordion-item {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}
.accordion-button {
    background: var(--bg-card) !important;
    color: var(--text-white) !important;
    font-weight: 600;
    box-shadow: none !important;
}
.accordion-button::after { filter: none; }
.accordion-button:not(.collapsed)::after { filter: none; }
.accordion-body { color: var(--text-muted) !important; background: var(--bg-card); }

/* ========== Pagination ========== */
.pagination .page-link {
    color: var(--accent);
    border-color: var(--border-color);
    border-radius: var(--radius-sm) !important;
    margin: 0 4px;
    font-weight: 500;
    background: var(--bg-card);
}
.pagination .page-link:hover { background: var(--bg-card-hover); }
.pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ========== Alerts ========== */
.alert-danger { background: rgba(239,68,68,0.1); color: #f87171; border-color: rgba(239,68,68,0.2); }
.alert-success { background: rgba(16,185,129,0.1); color: #34d399; border-color: rgba(16,185,129,0.2); }
.alert-warning { background: rgba(245,158,11,0.1); color: #fbbf24; border-color: rgba(245,158,11,0.2); }
.btn-close { filter: none; }

/* ========== Misc ========== */
.fw-bold, strong { color: var(--text-white); }
.bg-light { background: var(--bg-dark-2) !important; }
.text-dark { color: var(--text-bright) !important; }
.badge.bg-light { background: var(--bg-dark-2) !important; border: 1px solid var(--border-color); }
.badge.bg-light.text-dark { color: var(--text-body) !important; }
.rounded-4 { border: 1px solid var(--border-color) !important; }

/* ========== Responsive ========== */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 2.4rem; }
    .hero-visual { display: none; }
    .search-row { flex-direction: column; }
    .hero-stats { justify-content: center; }
    .nav-actions { padding: 16px 0; }
    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; padding-left: 60px; }
    .timeline-content { width: 100%; }
    .timeline-dot { left: 20px; }
    .cta-box { padding: 40px 24px; text-align: center; }
    .cta-box .text-lg-end { text-align: center !important; margin-top: 20px; }
}
@media (max-width: 767px) {
    .hero-content h1 { font-size: 2rem; }
    .section-header h2 { font-size: 1.8rem; }
    .section-padding { padding: 60px 0; }
    .hero-section { padding: 110px 0 50px; }
    .hero-search-box { padding: 6px; }
    .btn-hero-search { width: 100%; justify-content: center; }
    .app-progress { flex-direction: column; }
    .app-step { border-radius: var(--radius-sm) !important; }
    .program-card-header { flex-direction: column; gap: 8px; }
    .program-actions { flex-direction: column; }
    .program-actions .btn { width: 100%; text-align: center; }
    .partner-form-card { padding: 24px; }
}
@media (max-width: 576px) {
    .hero-content h1 { font-size: 1.7rem; }
    .auth-body { padding: 24px; }
    .auth-header { padding: 28px 20px; }
}
