/* ==========================================================================
   KASB-HUNAR KOLLEJI - ASOSIY STILLAR TIZIMI
   Aesthetics: Modern Premium Glassmorphic / Dark & Light Mode
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Asosiy Ranglar Palitrasi */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: rgba(37, 99, 235, 0.12);
    --secondary: #0ea5e9;
    --accent: #6366f1;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Qorong'u rejim (Default Dark) */
    --bg-main: #0b0f19;
    --bg-surface: #111827;
    --bg-card: rgba(17, 24, 39, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --bg-glass: rgba(15, 23, 42, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(56, 189, 248, 0.4);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.35);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1240px;
}

[data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(37, 99, 235, 0.4);

    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #94a3b8;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
}

/* Reset va Bazaviy qoidalar */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

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

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   NAVBAR â€” MINIMALIST FUTURISTIC
   ========================================================================== */

/* Header Navbar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    border-bottom-color: transparent;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

/* Logo */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-emblem {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
    overflow: hidden;
    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.logo-emblem svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.logo-emblem:hover {
    transform: scale(1.08) rotate(3deg);
}

.logo-text-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, var(--text-main), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.logo-text-sub {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-dim);
    font-weight: 600;
}

/* Primary Nav Links (Desktop) */
.nav-primary {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 10px;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nav-link .nav-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    flex-shrink: 0;
}

.nav-link:hover {
    color: var(--text-main);
    background: var(--primary-light);
}

.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* 360 Tur accent link */
.nav-link--accent {
    color: var(--secondary) !important;
    font-weight: 600 !important;
}

.nav-link--accent:hover {
    background: rgba(14, 165, 233, 0.12) !important;
}

/* Nav Actions (right side) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* More Menu (Hamburger) */
.more-menu-wrapper {
    position: relative;
}

.btn-more {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-more svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

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

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

/* More Dropdown */
.more-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 290px;
    background: var(--bg-surface);
    backdrop-filter: blur(28px) saturate(1.8);
    -webkit-backdrop-filter: blur(28px) saturate(1.8);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
}

.more-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.more-dropdown-header {
    padding: 10px 14px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 6px;
}

.more-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text-main);
    transition: all 0.2s ease;
    text-decoration: none;
}

.more-link:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateX(3px);
}

.more-link-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.more-link:hover .more-link-icon-wrap {
    border-color: var(--primary);
    background: var(--primary-light);
}

.more-link-icon-wrap.accent-glow {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.3);
    color: var(--secondary);
}

.more-link:hover .more-link-icon-wrap.accent-glow {
    background: var(--secondary);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.5);
}

.more-link-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.more-link:hover .more-link-icon {
    color: var(--primary);
}

.more-link-icon-wrap.accent-glow .more-link-icon {
    color: var(--secondary);
}

.more-link:hover .more-link-icon-wrap.accent-glow .more-link-icon {
    color: #ffffff;
}

.more-link-text {
    flex: 1;
    min-width: 0;
}

.more-link-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.more-link-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
}

.more-badge-3d {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
}

.more-link-desc {
    display: block;
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 1.3;
    margin-top: 1px;
}

.more-link--featured {
    background: rgba(14, 165, 233, 0.05);
    border: 1px dashed rgba(14, 165, 233, 0.25);
    margin-bottom: 4px;
}

.more-link--featured:hover {
    background: rgba(14, 165, 233, 0.12);
    border-color: var(--secondary);
}

/* Theme Toggle Button */
.btn-icon-theme {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon-theme svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.btn-icon-theme:hover {
    border-color: var(--warning);
    color: var(--warning);
    background: rgba(245, 158, 11, 0.08);
    transform: rotate(15deg);
}

/* Admin Button */
.btn-admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: #ffffff;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.3);
    font-family: var(--font-body);
}

.btn-admin-pill svg,
.btn-admin-pill .admin-icon {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}

.btn-admin-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Mobile Nav Panel */
.mobile-nav-panel {
    display: none;
    flex-direction: column;
    padding: 8px 20px 16px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.mobile-nav-panel.open {
    display: flex;
    animation: mobileNavSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.mobile-nav-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    flex-shrink: 0;
}

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

.mobile-nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: 6px 14px;
}
/* ==========================================================================
   BUTTONS & COMMON COMPONENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-glow:hover::after {
    opacity: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.badge-primary {
    background: rgba(37, 99, 235, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 52px;
}

.section-header h2 {
    font-size: 2.3rem;
    margin: 12px 0 14px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   1. HERO SECTION — ASYMMETRIC SPLIT LAYOUT
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 72px 0 80px;
    overflow: hidden;
    background-color: var(--bg-main);
}

/* Juda nozik va nafis texnik grid foni */
.hero-pattern-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.07) 0%, transparent 60%);
    background-size: 28px 28px, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] .hero-pattern-bg {
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.04) 1px, transparent 0),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.16fr 0.84fr;
    gap: 52px;
    align-items: center;
}

/* 1.1 Chap tomon — Kontent */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #38bdf8;
    letter-spacing: 0.4px;
    margin-bottom: 20px;
}

[data-theme="light"] .hero-badge {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
    color: #0369a1;
}

.hero-badge .badge-icon {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
    color: inherit;
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 3.8vw, 3.35rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 18px;
}

.hero-title .title-highlight {
    color: #38bdf8;
    position: relative;
    display: inline-block;
}

[data-theme="light"] .hero-title .title-highlight {
    color: #0284c7;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 32px;
}

/* CTA tugmalar guruhi */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    background: #1d4ed8;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 18px rgba(29, 78, 216, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
}

.btn-hero-cta:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(29, 78, 216, 0.5);
}

.btn-hero-cta .btn-icon {
    width: 17px;
    height: 17px;
    stroke-width: 2.2;
    transition: transform 0.22s ease;
}

.btn-hero-cta:hover .btn-icon {
    transform: translateX(4px);
}

.btn-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

[data-theme="light"] .btn-secondary-link {
    background: rgba(15, 23, 42, 0.03);
}

.btn-secondary-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    transform: translateY(-1px);
}

.btn-secondary-link .link-icon {
    width: 17px;
    height: 17px;
    stroke-width: 2;
    color: var(--secondary);
}

/* Statistika paneli (Strip) */
.hero-stats-strip {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 18px 22px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .hero-stats-strip {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.stat-cell {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid var(--border-color);
}

.stat-cell:first-child {
    padding-left: 0;
}

.stat-cell:last-child {
    border-right: none;
    padding-right: 0;
}

.stat-number-wrap {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
}

.stat-counter {
    color: var(--text-main);
}

.stat-suffix {
    color: #38bdf8;
    font-size: 1.15rem;
    font-weight: 700;
    margin-left: 2px;
}

[data-theme="light"] .stat-suffix {
    color: #0284c7;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-dim);
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* 1.2 O'ng tomon — Vizual blok */
.hero-visual {
    position: relative;
    width: 100%;
}

.visual-frame {
    position: relative;
    border-radius: 22px;
}

.visual-media-box {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    aspect-ratio: 4 / 3;
    background: #080d1a;
}

[data-theme="light"] .visual-media-box {
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-frame:hover .visual-img {
    transform: scale(1.03);
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 13, 26, 0.02) 40%, rgba(8, 13, 26, 0.75) 100%);
    pointer-events: none;
}

[data-theme="light"] .visual-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 50%, rgba(15, 23, 42, 0.55) 100%);
}

/* Floating info card */
.visual-floating-info {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease;
}

.visual-frame:hover .visual-floating-info {
    transform: translateY(-2px);
}

.floating-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    flex-shrink: 0;
}

.floating-icon-box svg {
    width: 19px;
    height: 19px;
    stroke-width: 2;
}

.floating-text {
    flex: 1;
    min-width: 0;
}

.floating-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.floating-subtitle {
    font-size: 0.74rem;
    color: #94a3b8;
    line-height: 1.3;
    margin-top: 2px;
}

/* Status Pill */
.visual-status-pill {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(8, 13, 26, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #f1f5f9;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: heroStatusPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes heroStatusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

/* ==========================================================================
   COMMON SECTION HEADERS & CONTROLS
   ========================================================================== */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-tag.tag-accent {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
    color: var(--secondary);
}

.section-tag .tag-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.8vw, 2.35rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.section-subtext {
    max-width: 480px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Filter Tabs */
.filter-tabs-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.filter-tabs {
    display: inline-flex;
    gap: 8px;
    padding: 5px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

[data-theme="light"] .filter-tabs {
    background: rgba(255, 255, 255, 0.9);
}

.filter-pill {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.filter-pill:hover {
    color: var(--text-main);
}

.filter-pill.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

/* ==========================================================================
   2. BIZ HAQIMIZDA (ABOUT US)
   ========================================================================== */
.about-section {
    padding: 96px 0;
    position: relative;
    background: var(--bg-surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.about-images-group {
    position: relative;
}

.about-img-main-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
    aspect-ratio: 4 / 3;
    background: #080d1a;
}

.about-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-img-main:hover {
    transform: scale(1.02);
}

.about-img-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 10px 16px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.badge-accent-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #38bdf8;
}

.badge-accent-label {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 500;
}

.about-img-sub-wrap {
    position: absolute;
    bottom: -32px;
    right: -24px;
    width: 52%;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid var(--bg-surface);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16 / 11;
}

.about-img-floating {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 34px;
}

.feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.feature-icon-box svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.feature-item:hover .feature-icon-box {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.feature-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
    line-height: 1.3;
}

.feature-text p {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.about-cta-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   3. YO'NALISHLAR (MAJORS)
   ========================================================================== */
.majors-section {
    padding: 96px 0;
    position: relative;
}

.filter-tabs-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 36px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
}

.filter-tabs {
    display: inline-flex;
    gap: 8px;
    background: var(--bg-card);
    padding: 6px;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.filter-pill {
    padding: 8px 20px;
    border-radius: 9999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: var(--font-body);
}

.filter-pill:hover {
    color: var(--text-main);
    background: var(--bg-surface);
}

.filter-pill.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.majors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.major-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.major-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.major-card-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #080d1a;
}

.major-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.major-badge-duration {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    color: #38bdf8;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.major-badge-duration svg {
    width: 13px;
    height: 13px;
    stroke-width: 2;
}

.major-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.major-code {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.major-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.35;
}

.major-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.major-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.major-quota {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.major-quota svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
    color: var(--secondary);
}

.major-btn-details {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.major-btn-details svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.major-btn-details:hover {
    color: #38bdf8;
}

.major-btn-details:hover svg {
    transform: translateX(3px);
}

/* ==========================================================================
   4. 360° VIRTUAL TOUR SECTION
   ========================================================================== */
.tour-section {
    padding: 96px 0;
    background: var(--bg-surface);
    position: relative;
}

.tour-container-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.tour-header-controls {
    padding: 20px 24px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.tour-current-info {
    display: flex;
    flex-direction: column;
}

.tour-scene-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.scene-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}

.tour-current-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.tour-current-info p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.tour-scene-selector {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.scene-btn {
    padding: 7px 16px;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
}

.scene-btn:hover {
    border-color: var(--primary);
    color: var(--text-main);
}

.scene-btn.active {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.4);
}

.tour-viewer-wrapper {
    position: relative;
    width: 100%;
    height: 560px;
    background: #080d1a;
}

#panorama-viewer {
    width: 100%;
    height: 100%;
}

.tour-floating-toolbar {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.tour-tool-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tour-tool-btn svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
}

.tour-tool-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.tour-overlay-instructions {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.tour-overlay-instructions svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
    color: var(--secondary);
}

.tour-upload-box {
    margin-top: 24px;
    padding: 22px 24px;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.tour-upload-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tour-upload-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tour-upload-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.tour-upload-actions {
    display: flex;
    gap: 12px;
}

/* ==========================================================================
   O'QITUVCHILAR (TEACHERS)
   ========================================================================== */
.teachers-section {
    padding: 100px 0;
}

.teachers-filter-bar,
.faculty-control-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 40px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.department-tabs,
.faculty-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dept-tab-btn {
    padding: 8px 18px;
    border-radius: 9999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.dept-tab-btn:hover {
    color: var(--text-main);
    background: var(--bg-surface);
}

.dept-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.search-box,
.search-box-wrap {
    position: relative;
    min-width: 280px;
}

.search-box input,
.search-box-wrap input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-main);
    font-size: 0.88rem;
    outline: none;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.search-box input:focus,
.search-box-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-box i,
.search-box-wrap .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    width: 16px;
    height: 16px;
    stroke-width: 2;
    pointer-events: none;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.teacher-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.teacher-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg);
}

.teacher-img-wrap {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: #1e293b;
}

.teacher-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.teacher-card:hover .teacher-img-wrap img {
    transform: scale(1.05);
}

.teacher-badge-exp {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    color: #38bdf8;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.teacher-badge-exp svg {
    width: 13px;
    height: 13px;
    stroke-width: 2;
}

.teacher-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.teacher-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.teacher-position {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.teacher-subject-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.teacher-subject-tag svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
    color: var(--secondary);
    flex-shrink: 0;
}

.teacher-bio-short {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.teacher-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.teacher-contact-btn {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.teacher-contact-btn svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.teacher-contact-btn:hover {
    color: var(--primary);
}

.teacher-contact-btn:hover svg {
    transform: translateX(3px);
}

.teacher-card-footer a svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* ==========================================================================
   GALEREYA (GALLERY)
   ========================================================================== */
.gallery-section {
    padding: 100px 0;
    background: var(--bg-surface);
}

.gallery-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 260px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0.95;
    transition: var(--transition);
}

.gallery-card-overlay h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.gallery-card-overlay span {
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 500;
}

/* ==========================================================================
   YANGILIKLAR (NEWS)
   ========================================================================== */
.news-section {
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg);
}

.news-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.2s;
}

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

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.news-read-more:hover {
    gap: 10px;
}

/* ==========================================================================
   ALOQA VA QABUL (CONTACT & ADMISSION)
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background: var(--bg-surface);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    box-shadow: var(--shadow-sm);
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.channel-item,
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.channel-icon,
.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.channel-body h5,
.contact-item-text h4 {
    font-size: 0.96rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

.channel-body p,
.channel-body a,
.contact-item-text p,
.contact-item-text a {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s;
}

.channel-body a:hover,
.contact-item-text a:hover {
    color: var(--primary);
}

.map-wrap {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.map-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}

.map-header svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
    color: var(--secondary);
}

.map-container {
    height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

#contact-map {
    width: 100%;
    height: 100%;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.contact-form-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit-form {
    width: 100%;
    margin-top: 8px;
    padding: 14px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-submit-form svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
    transition: transform 0.2s;
}

.btn-submit-form:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #070a11;
    color: #94a3b8;
    padding: 70px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo-text-title {
    color: #ffffff;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #94a3b8;
    margin-top: 14px;
    max-width: 360px;
}

.footer-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: #94a3b8;
}

.footer-info-row svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
    color: var(--secondary);
    flex-shrink: 0;
}

.footer-admin-link {
    display: flex;
    align-items: center;
}

.btn-admin-subtle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #64748b;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-admin-subtle svg {
    width: 13px;
    height: 13px;
    stroke-width: 2;
}

.btn-admin-subtle:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
}

/* ==========================================================================
   MODAL DIALOGS (Teachers, Majors, News, Lightbox)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.modal-dialog {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.94);
    transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-dialog {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--danger);
    color: #ffffff;
    border-color: var(--danger);
}

.modal-content-body {
    padding: 32px;
}

/* Lightbox Modal */
.lightbox-dialog {
    max-width: 900px;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
}

.lightbox-dialog img {
    max-height: 80vh;
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.lightbox-caption {
    color: #ffffff;
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    animation: toastSlideIn 0.3s ease forwards;
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: var(--danger);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-primary {
        gap: 2px;
    }
    .nav-link span {
        display: none;
    }
    .nav-link {
        padding: 8px 10px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .hero-content {
        align-items: flex-start;
        text-align: left;
    }
    .hero-title {
        font-size: 2.7rem;
    }
    .hero-stats-strip {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 16px;
        padding: 18px 20px;
    }
    .stat-cell {
        border-right: none;
        padding: 6px 12px;
    }
    .stat-cell:nth-child(odd) {
        border-right: 1px solid var(--border-color);
        padding-left: 0;
    }
    .hero-visual {
        max-width: 620px;
        margin: 0 auto;
        width: 100%;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .admin-label {
        display: none;
    }
    .btn-admin-pill {
        width: 38px;
        height: 38px;
        padding: 0;
        border-radius: 10px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-primary {
        display: none;
    }
    .more-menu-wrapper {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero-section {
        padding: 48px 0 56px;
    }
    .hero-title {
        font-size: 2.15rem;
    }
    .hero-description {
        font-size: 0.96rem;
        margin-bottom: 24px;
    }
    .hero-cta-group {
        margin-bottom: 32px;
    }
    .tour-viewer-wrapper {
        height: 420px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .btn-hero-cta,
    .btn-secondary-link {
        width: 100%;
        justify-content: center;
    }
    .hero-stats-strip {
        grid-template-columns: 1fr 1fr;
        padding: 14px 12px;
    }
    .stat-number-wrap {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.68rem;
    }
    .visual-floating-info {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 10px 14px;
        gap: 10px;
    }
    .floating-icon-box {
        width: 32px;
        height: 32px;
    }
    .floating-title {
        font-size: 0.82rem;
    }
    .visual-status-pill {
        top: 12px;
        right: 12px;
        padding: 5px 10px;
        font-size: 0.68rem;
    }
}

/* ==========================================================================
   ADMIN LOGIN MODAL (FAQAT PAROL BILAN KIRISH)
   ========================================================================== */
.admin-auth-dialog {
    max-width: 420px;
    background: var(--bg-surface);
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.12);
    border-radius: 24px;
    text-align: center;
    overflow: hidden;
}

.admin-auth-header {
    margin-bottom: 24px;
    text-align: center;
}

.admin-auth-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 165, 233, 0.05));
    border: 1px solid rgba(56, 189, 248, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.18);
}

.admin-auth-icon-wrap svg {
    width: 30px;
    height: 30px;
}

.admin-auth-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.admin-auth-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.admin-auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.admin-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.admin-input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
    z-index: 2;
}

.admin-password-input {
    width: 100% !important;
    padding: 13px 44px 13px 42px !important;
    font-size: 1rem !important;
    letter-spacing: 2px !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    color: var(--text-main) !important;
    transition: all 0.25s ease !important;
}

.admin-password-input:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
    outline: none !important;
}

.admin-eye-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    border-radius: 6px;
    z-index: 2;
}

.admin-eye-btn:hover {
    color: var(--text-main);
}

.admin-eye-btn svg {
    width: 18px;
    height: 18px;
}

.admin-auth-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    display: none;
    align-items: center;
    gap: 8px;
}

.admin-auth-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.admin-auth-actions .btn {
    flex: 1;
    padding: 12px;
    font-weight: 600;
    justify-content: center;
}

@keyframes adminShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-9px); }
    40%, 80% { transform: translateX(9px); }
}

.modal-dialog.shake {
    animation: adminShake 0.4s ease;
}

