/* ================================================
   EFLA THEME - MAIN CSS
   Additional styles beyond style.css base
   ================================================ */

/* ---- LOGO STYLES ---- */
.efla-logo-text .logo-ef {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--efla-blue);
    letter-spacing: -0.02em;
    font-family: var(--font-display);
}

[data-theme="dark"] .efla-logo-text .logo-ef {
    color: var(--efla-blue-light);
}

.efla-logo-text .logo-tagline {
    font-size: 0.75rem;
    color: var(--efla-text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.efla-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

/* ---- PRELOADER ---- */
#efla-preloader {
    position: fixed;
    inset: 0;
    background: var(--efla-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#efla-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--efla-blue);
    letter-spacing: -0.02em;
}

/* ---- NAVBAR ---- */
#efla-navbar .navbar-brand {
    text-decoration: none;
}

#efla-navbar .nav-link {
    color: rgba(238,233,222,.78);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.48rem 0.7rem;
    border-radius: 0;
    transition: var(--transition-fast);
    position: relative;
    letter-spacing: 0.01em;
}

#efla-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.7rem;
    right: 0.7rem;
    height: 1px;
    background: var(--efla-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease-out);
}

#efla-navbar .nav-link:hover::after,
#efla-navbar .nav-link.active::after {
    transform: scaleX(1);
}

#efla-navbar .nav-link:hover,
#efla-navbar .nav-link.active {
    color: var(--efla-gold-light);
    background: transparent;
}

#efla-navbar.scrolled .nav-link {
    color: var(--efla-text);
}

#efla-navbar.scrolled .nav-link:hover,
#efla-navbar.scrolled .nav-link.active {
    color: var(--efla-navy);
    background: transparent;
}

#efla-navbar .dropdown-menu {
    background: var(--efla-bg-alt);
    border: 1px solid var(--efla-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    min-width: 200px;
}

#efla-navbar .dropdown-item {
    color: var(--efla-text);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

#efla-navbar .dropdown-item:hover {
    background: rgba(30,64,175,.08);
    color: var(--efla-blue);
}

/* Offcanvas menu */
.offcanvas {
    background: var(--efla-bg);
    border-left: 1px solid var(--efla-border);
}

.offcanvas .nav-link {
    color: var(--efla-text);
    padding: 0.6rem 0;
    font-weight: 500;
    border-bottom: 1px solid var(--efla-border-light);
}

.offcanvas .nav-link:hover {
    color: var(--efla-blue);
}

.offcanvas .dropdown-menu {
    background: var(--efla-bg-alt);
    border: none;
    border-left: 3px solid var(--efla-blue-light);
    border-radius: 0;
    padding: 0.25rem 0 0.25rem 1rem;
    margin-left: 0.5rem;
}

.offcanvas .dropdown-item {
    color: var(--efla-text-muted);
    font-size: 0.875rem;
    padding: 0.4rem 0;
}

/* Mobile nav search button */
.nav-search-btn {
    color: rgba(255,255,255,.85);
    font-size: 1rem;
}

#efla-navbar.scrolled .nav-search-btn {
    color: var(--efla-text);
}

/* ---- HERO SECTION ---- */
.hero-badge .badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.2);
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    font-family: var(--font-display);
}

.text-gradient-animated {
    background: linear-gradient(90deg, var(--efla-amber) 0%, #F97316 50%, var(--efla-amber) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s linear infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    max-width: 550px;
}

.btn-lg-hero {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

.hero-trust .trust-item {
    display: flex;
    align-items: center;
}

/* Hero blobs */
.hero-blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: blob-float 8s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--efla-blue-light);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--efla-purple);
    bottom: -100px;
    left: 10%;
    animation-delay: 2s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--efla-amber);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes blob-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Hero visual (right side) */
.hero-visual {
    height: 500px;
}

.hero-float-card {
    position: absolute;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
    color: #fff;
    animation: float-card 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

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

.card-top-right { top: 20px; right: 0; }
.card-bottom-left { bottom: 60px; left: 0; }
.card-center { top: 45%; left: 30%; }

.float-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.float-num {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

.float-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Hero university logos */
.hero-logos-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-xl);
    padding: 1rem;
}

.logos-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.logos-grid {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hero-uni-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    object-fit: contain;
    background: rgba(255,255,255,.9);
    padding: 3px;
}

.hero-uni-logo-placeholder {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: 0.65rem;
    font-weight: 700;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.5);
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- PARTNER LOGO TEXT ---- */
.partner-logo-text {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--efla-text-muted);
    white-space: nowrap;
    opacity: 0.5;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.partner-logo-text:hover {
    opacity: 1;
}

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--efla-bg-alt);
    border: 1px solid var(--efla-border);
    color: var(--efla-blue);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
    background: var(--efla-blue);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

/* ---- SOCIAL LINKS ---- */
.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 1rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.social-link:hover {
    background: var(--efla-blue);
    border-color: var(--efla-blue);
    color: #fff;
    transform: translateY(-2px);
}

/* ---- FADE IN ANIMATION ---- */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fade-in-up 0.5s ease forwards;
    opacity: 0;
}

/* ---- PAGE HERO ---- */
.page-hero .page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
}

/* ---- UNIVERSITY SINGLE ---- */
.university-hero {
    position: relative;
    height: 380px;
    background: linear-gradient(135deg, var(--efla-blue-dark) 0%, var(--efla-purple) 100%);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.university-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

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

.university-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 2rem 0;
    width: 100%;
}

.university-logo-large {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-xl);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid rgba(255,255,255,.3);
    flex-shrink: 0;
}

.university-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.university-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* ---- APPLY FORM STYLES ---- */
.apply-page-hero {
    background: linear-gradient(135deg, var(--efla-blue-dark) 0%, var(--efla-purple) 100%);
    padding: 100px 0 50px;
    color: #fff;
}

.form-section {
    background: var(--efla-bg-alt);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--efla-border);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.upload-area {
    border: 2px dashed var(--efla-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--efla-blue);
    background: rgba(30,64,175,.05);
}

.upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

/* ---- ABOUT PAGE ---- */
.team-card {
    text-align: center;
    transition: var(--transition);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--efla-border);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    border-color: var(--efla-blue);
    transform: scale(1.05);
}

/* ---- WHY US PAGE ---- */
.why-us-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--efla-blue) 0%, var(--efla-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

/* ---- CONTACT PAGE ---- */
.map-placeholder {
    background: var(--efla-bg-alt);
    border: 1px solid var(--efla-border);
    border-radius: var(--radius-xl);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--efla-text-muted);
    font-size: 1.1rem;
    overflow: hidden;
    position: relative;
}

.map-placeholder iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-xl);
}

/* ---- STUDENT LOGIN PAGE ---- */
.login-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--efla-bg-alt);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--efla-border);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

/* ---- SIDEBAR ---- */
.efla-widget {
    background: var(--efla-bg-alt);
    border-radius: var(--radius-xl);
    border: 1px solid var(--efla-border);
    padding: 1.5rem;
}

.efla-widget .widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--efla-border);
    color: var(--efla-text);
}

/* ---- 404 PAGE ---- */
.page-404-content {
    max-width: 500px;
    margin: 0 auto;
}

/* ---- SEARCH FORM ---- */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form .efla-form-control {
    flex: 1;
}

/* ---- UTILITY HELPERS ---- */
.fw-black { font-weight: 900; }
.fw-600 { font-weight: 600; }

.text-blue { color: var(--efla-blue); }
.text-purple { color: var(--efla-purple); }
.text-amber { color: var(--efla-amber); }
.text-emerald { color: var(--efla-emerald); }

.bg-blue-soft { background: rgba(30,64,175,.08); }
.bg-purple-soft { background: rgba(124,58,237,.08); }
.bg-amber-soft { background: rgba(245,158,11,.08); }
.bg-emerald-soft { background: rgba(16,185,129,.08); }

/* ---- TABLE OF CONTENTS SECTION INDICATOR ---- */
.toc-nav {
    position: sticky;
    top: calc(var(--navbar-height) + 1rem);
    background: var(--efla-bg-alt);
    border-radius: var(--radius-xl);
    border: 1px solid var(--efla-border);
    padding: 1.25rem;
    max-height: calc(100vh - var(--navbar-height) - 4rem);
    overflow-y: auto;
}

.toc-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-md);
    color: var(--efla-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    transition: var(--transition-fast);
}

.toc-nav a:hover,
.toc-nav a.active {
    background: rgba(30,64,175,.08);
    color: var(--efla-blue);
}

/* ---- RESPONSIVE FIXES ---- */
@media (max-width: 991.98px) {
    .hero-visual { display: none; }
    .hero-title { font-size: clamp(2rem, 6vw, 3rem); }
}

@media (max-width: 767.98px) {
    .university-hero { height: 280px; }
    .form-section { padding: 1.25rem; }
    .stats-section .row { row-gap: 0; }
    .stat-item { padding: 0.75rem 0.5rem; }
}

/* ===== UNIVERSITY SYSTEM V2.3 ===== */
.efla-uni2-page,
.efla-program-single-page{padding:calc(var(--navbar-height,88px) + 24px) 0 72px;background:#f6f8fc}
.efla-uni2-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:.95rem;color:#6b7280;margin-bottom:20px}
.efla-uni2-breadcrumb a{color:#4f46e5;text-decoration:none}
.efla-uni2-hero{position:relative;border-radius:32px;overflow:hidden;background:#101828;color:#fff;box-shadow:0 30px 80px rgba(15,23,42,.16);margin-bottom:28px}
.efla-uni2-cover{position:absolute;inset:0;background:linear-gradient(135deg,#1d4ed8,#7c3aed);background-size:cover;background-position:center;transform:scale(1.04)}
.efla-uni2-overlay{position:absolute;inset:0;background:linear-gradient(115deg,rgba(2,6,23,.82),rgba(15,23,42,.56) 45%,rgba(76,29,149,.42))}
.efla-uni2-head,.efla-uni2-stats{position:relative;z-index:2}
.efla-uni2-head{display:grid;grid-template-columns:136px minmax(0,1fr) auto;gap:26px;align-items:center;padding:40px}
.efla-uni2-logo-link{display:flex;align-items:center;justify-content:center;width:136px;height:136px;border-radius:30px;background:rgba(255,255,255,.96);box-shadow:0 12px 30px rgba(15,23,42,.24);text-decoration:none}
.efla-uni2-logo{max-width:88px;max-height:88px;object-fit:contain}
.efla-uni2-logo-placeholder{width:88px;height:88px;border-radius:24px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1d4ed8,#7c3aed);color:#fff;font-weight:800;font-size:2rem}
.efla-uni2-titlebox h1{font-size:clamp(2rem,4.8vw,4rem);line-height:.98;margin:0 0 14px;font-weight:800;max-width:12ch}
.efla-uni2-lead{max-width:66ch;font-size:1.05rem;line-height:1.8;color:rgba(255,255,255,.9);margin:0}
.efla-uni2-eyebrow{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.efla-uni2-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.16);font-weight:700;font-size:.92rem;backdrop-filter:blur(8px)}
.efla-uni2-pill-soft{background:rgba(255,255,255,.1)}
.efla-uni2-actions{display:flex;flex-direction:column;gap:12px;min-width:220px}
.efla-uni2-actions .efla-btn{justify-content:center}
.efla-uni2-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;padding:0 40px 40px}
.efla-uni2-stat{padding:18px 20px;border-radius:22px;background:rgba(255,255,255,.12);backdrop-filter:blur(10px);min-height:98px}
.efla-uni2-stat span{display:block;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.72);margin-bottom:10px}
.efla-uni2-stat strong{display:block;font-size:1.2rem;line-height:1.35;color:#fff}
.efla-uni2-layout,.efla-program-single-shell{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.72fr);gap:28px;align-items:start}
.efla-uni2-section{margin-bottom:26px}
.efla-uni2-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.efla-uni2-section-head h2{margin:0;font-size:1.7rem;line-height:1.1;color:#0f172a;font-weight:800}
.efla-uni2-card,.efla-uni2-sidecard{background:#fff;border:1px solid rgba(99,102,241,.1);border-radius:28px;box-shadow:0 16px 40px rgba(15,23,42,.06)}
.efla-uni2-card{padding:24px}
.efla-uni2-prose p:last-child{margin-bottom:0}
.efla-uni2-chip-grid,.efla-uni2-overview-grid,.efla-uni2-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.efla-uni2-chip-card,.efla-uni2-overview-card{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid rgba(99,102,241,.12);border-radius:22px;padding:18px 20px;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.efla-uni2-chip-card i,.efla-uni2-overview-icon{flex:0 0 auto}
.efla-uni2-chip-card i{font-size:1.2rem;color:#4f46e5;margin-top:2px}
.efla-uni2-overview-icon{width:46px;height:46px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eef2ff,#ede9fe);color:#4f46e5;font-size:1.2rem}
.efla-uni2-overview-card h3{font-size:1.02rem;margin:0 0 8px;color:#111827;font-weight:800}
.efla-uni2-overview-card p,.efla-uni2-program-body p{margin:0;color:#475569;line-height:1.8}
.efla-uni2-factlist,.efla-uni2-sidefacts,.efla-uni2-source-list{display:flex;flex-direction:column;gap:0;background:#fff;border:1px solid rgba(99,102,241,.1);border-radius:24px;overflow:hidden}
.efla-uni2-factrow,.efla-uni2-sidefacts div,.efla-uni2-source-list div{display:flex;justify-content:space-between;gap:18px;padding:16px 20px;border-top:1px solid rgba(99,102,241,.08)}
.efla-uni2-factrow:first-child,.efla-uni2-sidefacts div:first-child,.efla-uni2-source-list div:first-child{border-top:none}
.efla-uni2-factrow span,.efla-uni2-sidefacts span,.efla-uni2-source-list span{color:#64748b;font-size:.93rem}
.efla-uni2-factrow strong,.efla-uni2-sidefacts strong,.efla-uni2-source-list strong{color:#0f172a;text-align:right}
.efla-uni2-docs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.efla-uni2-docs li{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;background:#f8fafc;border-radius:18px;color:#334155}
.efla-uni2-docs i{color:#4f46e5;font-size:1.15rem;margin-top:2px}
.efla-uni2-programs-shell{padding:10px}
.efla-uni2-program-item{border-bottom:1px solid rgba(99,102,241,.12)}
.efla-uni2-program-item:last-child{border-bottom:none}
.efla-uni2-program-item summary{list-style:none;cursor:pointer;padding:20px 18px;display:flex;flex-direction:column;gap:8px;font-weight:700;color:#0f172a}
.efla-uni2-program-item summary::-webkit-details-marker{display:none}
.efla-uni2-program-item[open] summary{background:#f8fafc}
.efla-uni2-program-title{font-size:1.06rem;line-height:1.5}
.efla-uni2-program-meta{font-size:.92rem;font-weight:600;color:#6366f1}
.efla-uni2-program-body{padding:0 18px 20px}
.efla-uni2-program-facts{display:flex;flex-wrap:wrap;gap:12px 18px;margin:14px 0;color:#475569}
.efla-uni2-program-actions{display:flex;flex-wrap:wrap;gap:12px}
.efla-uni2-counter,.efla-uni2-score{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-weight:800;box-shadow:0 12px 30px rgba(99,102,241,.2)}
.efla-uni2-counter{min-width:40px;height:40px;padding:0 14px}
.efla-uni2-score{min-width:92px;height:54px;font-size:1.35rem;margin-bottom:16px}
.efla-uni2-gallery-item{margin:0;border-radius:22px;overflow:hidden;min-height:190px;background:#e2e8f0}
.efla-uni2-gallery-item img{width:100%;height:100%;object-fit:cover;display:block}
.efla-uni2-faq-list{display:flex;flex-direction:column;gap:14px}
.efla-uni2-faq-item{border:1px solid rgba(99,102,241,.12);border-radius:18px;padding:0 18px;background:#fff}
.efla-uni2-faq-item summary{cursor:pointer;padding:18px 0;font-weight:800;color:#0f172a;list-style:none}
.efla-uni2-faq-item summary::-webkit-details-marker{display:none}
.efla-uni2-faq-item div{padding:0 0 18px;color:#475569;line-height:1.8}
.efla-uni2-sidebar,.efla-program-single-side{position:sticky;top:calc(var(--navbar-height,88px) + 18px)}
.efla-uni2-sidecard{padding:24px;margin-bottom:18px}
.efla-uni2-sidecard h3{margin:0 0 12px;font-size:1.28rem;font-weight:800;color:#111827}
.efla-uni2-sidecard p{color:#475569;line-height:1.8}
.efla-uni2-source-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.efla-uni2-source-actions a{display:inline-flex;padding:9px 14px;border-radius:999px;background:#eef2ff;color:#4338ca;text-decoration:none;font-weight:700}
.efla-btn-soft{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.26);backdrop-filter:blur(10px);cursor:pointer;appearance:none}
.efla-btn-soft:hover{color:#fff;background:rgba(255,255,255,.2)}
.efla-compare-trigger.is-selected{background:#fff;color:#111827;border-color:#fff}
.efla-compare-trigger.is-selected:hover{color:#111827}
.efla-uni2-compare-note{margin:12px 0 0;font-size:.92rem;line-height:1.7;color:rgba(255,255,255,.82)}
.efla-uni2-kpi-grid,.efla-uni2-source-grid,.efla-uni2-program-group-list,.efla-uni2-quality-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.efla-uni2-kpi-card,.efla-uni2-source-item,.efla-uni2-program-group,.efla-uni2-quality-item{padding:18px 20px;border-radius:22px;background:#f8fafc;border:1px solid rgba(99,102,241,.1)}
.efla-uni2-kpi-card span,.efla-uni2-source-item span,.efla-uni2-program-group span,.efla-uni2-quality-item span{display:block;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-bottom:10px}
.efla-uni2-kpi-card strong,.efla-uni2-source-item strong,.efla-uni2-program-group strong,.efla-uni2-quality-item strong{display:block;color:#0f172a;font-size:1.05rem;line-height:1.45}
.efla-uni2-source-item a{display:inline-flex;align-items:center;gap:8px;color:#4338ca;text-decoration:none;font-weight:700}
.efla-uni2-program-group strong{font-size:1.3rem}
.efla-uni2-quality-item ul{margin:0;padding-left:18px;color:#475569}
.efla-uni2-quality-item li + li{margin-top:6px}
.efla-uni2-related-list{display:flex;flex-direction:column;gap:12px}
.efla-uni2-related-item{display:flex;align-items:center;gap:14px;padding:12px;border-radius:18px;background:#f8fafc;text-decoration:none;color:#0f172a}
.efla-uni2-related-logo img,.efla-uni2-related-logo .efla-logo-placeholder{width:48px;height:48px;border-radius:14px;object-fit:contain;background:#fff}
.efla-program-single-page .efla-program-single-hero{padding:28px}
.efla-program-single-top{display:flex;gap:18px;align-items:flex-start;margin-bottom:20px}
.efla-program-single-logo-link{display:flex;align-items:center;justify-content:center;width:92px;height:92px;border-radius:24px;background:#fff;border:1px solid rgba(99,102,241,.12);text-decoration:none}
.efla-program-single-logo{max-width:58px;max-height:58px;object-fit:contain}
.efla-program-single-back{display:inline-block;margin-bottom:8px;color:#4f46e5;text-decoration:none;font-weight:700}
.efla-program-single-hero h1{margin:0;font-size:clamp(1.8rem,3.7vw,3rem);line-height:1.08;color:#0f172a;font-weight:800}
.efla-program-single-sub{margin:10px 0 0;color:#64748b}
.efla-program-single-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.efla-program-single-facts div{padding:16px 18px;border-radius:18px;background:#f8fafc}
.efla-program-single-facts span{display:block;color:#64748b;font-size:.9rem;margin-bottom:8px}
.efla-program-single-facts strong{color:#0f172a}
@media (max-width:1199px){.efla-uni2-head{grid-template-columns:116px minmax(0,1fr)}.efla-uni2-actions{grid-column:1/-1;flex-direction:row;min-width:0}}
@media (max-width:991px){.efla-uni2-layout,.efla-program-single-shell{grid-template-columns:1fr}.efla-uni2-sidebar,.efla-program-single-side{position:static}.efla-uni2-chip-grid,.efla-uni2-overview-grid,.efla-uni2-gallery,.efla-uni2-docs,.efla-program-single-facts,.efla-uni2-kpi-grid,.efla-uni2-source-grid,.efla-uni2-program-group-list,.efla-uni2-quality-grid{grid-template-columns:1fr}}
@media (max-width:767px){.efla-uni2-head{grid-template-columns:1fr;padding:28px}.efla-uni2-logo-link{width:110px;height:110px}.efla-uni2-titlebox h1{max-width:none}.efla-uni2-stats{padding:0 28px 28px}.efla-uni2-actions{flex-direction:column}.efla-uni2-program-actions{flex-direction:column}.efla-uni2-factrow,.efla-uni2-sidefacts div,.efla-uni2-source-list div{flex-direction:column;align-items:flex-start}.efla-program-single-top{flex-direction:column}.efla-program-single-logo-link{width:86px;height:86px}}


/* Multilingual font consistency: avoids broken Cyrillic/Kazakh serif fallback */
body, button, input, select, textarea, .navbar, .dropdown-menu, .card, .program-card, .country-card, .service-card {
    font-family: var(--font-sans) !important;
}
h1, h2, h3, h4, h5, h6, .section-title, .hero-title {
    font-family: var(--font-display) !important;
    letter-spacing: -0.018em;
}
:lang(ru) h1, :lang(ru) h2, :lang(ru) h3, :lang(kk) h1, :lang(kk) h2, :lang(kk) h3,
[data-lang="ru"] h1, [data-lang="ru"] h2, [data-lang="ru"] h3, [data-lang="kk"] h1, [data-lang="kk"] h2, [data-lang="kk"] h3 {
    letter-spacing: -0.01em;
}
