    /* ── Sayt rang sxemasi (1-chi sahifa bilan bir xil) ── */
:root {
    --primary:   #1566B7;
    --primary-d: #0d47a1;
    --gold:      #FFD54F;
    --gold-d:    #FFC107;
    --text:      #2c3e50;
    --muted:     #5f738c;
    --light-bg:  #f8faff;
    --card-bg:   #fff;
    --border:    #e5efff;
    --dark-bg:   #0e1a2b;
}

body { font-family: 'Source Serif 4', Georgia, serif; }

/* ── PAGE HEADER (1-chi saytdagi page-header bilan bir xil) ── */
.page-header {
    background: linear-gradient(135deg, var(--primary-d) 0%, var(--primary) 100%);
    padding: 64px 0 48px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    left: -60px; bottom: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}
.page-header::after {
    content: '';
    position: absolute;
    right: -80px; top: -80px;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}
.page-header-inner {
    position: relative;
    z-index: 2;
}
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.15;
}
.page-header h1 em {
    font-style: italic;
    color: var(--gold);
}
.page-header .breadcrumb { background: none; padding: 0; margin: 12px 0 0; }
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    text-decoration: none;
    font-family: inherit;
}
.page-header .breadcrumb-item.active { color: rgba(255,255,255,0.95); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* Header stats */
.header-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.header-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.header-stat-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* ── SECTION TAG ── */
.section-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(21,102,183,0.08);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    font-family: sans-serif;
}

/* ── SECTION HEADER (1-chi sahifadagi kabi) ── */
.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}
.section-header-left { flex-shrink: 0; }
.section-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-d);
    margin: 0;
}
.section-header h3 span { color: var(--primary); }
.header-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 4px;
}
.header-underline {
    width: 48px;
    height: 4px;
    background: var(--gold);
    border-radius: 4px;
    margin-top: 6px;
}

/* ── INTRO ── */
.intro-section {
    background: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.intro-section::before {
    content: '1992';
    position: absolute;
    right: -10px; top: 50%;
    transform: translateY(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 220px;
    font-weight: 900;
    color: rgba(21,102,183,0.04);
    pointer-events: none;
    line-height: 1;
}
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.intro-text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 18px;
    font-weight: 300;
}
.intro-text p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    font-weight: 900;
    color: var(--primary);
    float: left;
    line-height: 0.85;
    margin: 8px 12px 0 0;
}
.year-card {
    background: var(--dark-bg);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(13,71,161,0.25);
}
.year-card::before {
    content: '';
    position: absolute;
    top: -70px; right: -70px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,213,79,0.1), transparent);
    pointer-events: none;
}
.year-big {
    font-family: 'Playfair Display', serif;
    font-size: 84px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}
.year-desc {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1.5px;
    margin-top: 8px;
    text-transform: uppercase;
    font-family: sans-serif;
}
.year-sep {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 24px auto;
}
.founded-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-bg);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 30px;
    margin-top: 20px;
    font-family: sans-serif;
}

/* ── TIMELINE ── */
.timeline-section {
    background: var(--light-bg);
    padding: 90px 0;
}
.timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary) 8%, var(--primary) 92%, transparent);
    transform: translateX(-50%);
}
.tl-item {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    align-items: start;
    margin-bottom: 52px;
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.tl-item.visible { opacity: 1; transform: translateY(0); }

/* Even — right side */
.tl-item:nth-child(even) .tl-content { grid-column: 3; grid-row: 1; }
.tl-item:nth-child(even) .tl-dot     { grid-column: 2; grid-row: 1; }
.tl-item:nth-child(even) .tl-empty   { grid-column: 1; grid-row: 1; }
/* Odd — left side */
.tl-item:nth-child(odd) .tl-content  { grid-column: 1; }
.tl-item:nth-child(odd) .tl-dot      { grid-column: 2; }
.tl-item:nth-child(odd) .tl-empty    { grid-column: 3; }

.tl-dot {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}
.tl-dot-circle {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--light-bg);
    box-shadow: 0 0 0 2px var(--primary);
    flex-shrink: 0;
}

.tl-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(21,102,183,0.07);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.tl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(21,102,183,0.14);
}
.tl-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 16px 16px 0 0;
}
/* Arrow — odd (left card) points right */
.tl-item:nth-child(odd) .tl-card::after {
    content: '';
    position: absolute;
    right: -9px; top: 20px;
    width: 0; height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 9px solid #fff;
}
/* Arrow — even (right card) points left */
.tl-item:nth-child(even) .tl-card::after {
    content: '';
    position: absolute;
    left: -9px; top: 20px;
    width: 0; height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-right: 9px solid #fff;
}

.tl-year {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-family: sans-serif;
    text-transform: uppercase;
}
.tl-title {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 10px;
    line-height: 1.3;
}
.tl-text {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--muted);
    font-weight: 300;
    margin: 0;
}

/* ── RECTORS ── */
.rectors-section {
    background: linear-gradient(135deg, var(--primary-d) 0%, var(--primary) 60%, #1976D2 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.rectors-section::before {
    content: '';
    position: absolute;
    top: -200px; left: -200px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.rectors-section::after {
    content: '';
    position: absolute;
    bottom: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}
.rectors-section .section-tag {
    background: rgba(255,213,79,0.15);
    color: var(--gold);
}
.rectors-section h3 { color: #fff !important; }
.rectors-section .header-line {
    background: linear-gradient(90deg, rgba(255,255,255,0.3), transparent);
}

.rector-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(28px);
}
.rector-card.visible { opacity: 1; transform: translateY(0); }
.rector-card:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-4px);
}
.rector-avatar {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08));
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
.rector-name {
    font-family: 'Playfair Display', serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.3;
}
.rector-years {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 6px;
    font-family: sans-serif;
}
.rector-post {
    font-size: 11.5px;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
    font-family: sans-serif;
}

/* ── ACHIEVEMENTS ── */
.achievements-section {
    background: #fff;
    padding: 90px 0;
}
.ach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ach-card {
    border-radius: 20px;
    padding: 32px 26px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.ach-card.visible { opacity: 1; transform: translateY(0); }
.ach-card-1 { background: linear-gradient(135deg, #e8f0fe, #d0e4f7); }
.ach-card-2 { background: linear-gradient(135deg, #fff8e1, #ffecb3); }
.ach-card-3 { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.ach-card-4 { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.ach-card-5 { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.ach-card-6 { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.ach-icon { font-size: 32px; display: block; margin-bottom: 14px; }
.ach-num {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 900;
    color: var(--dark-bg);
    line-height: 1;
    margin-bottom: 6px;
}
.ach-label {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    font-family: sans-serif;
}

/* ── FULL TEXT ── */
.fulltext-section {
    background: var(--light-bg);
    padding: 90px 0;
}
.fulltext-inner {
    max-width: 760px;
    margin: 0 auto;
}
.fulltext-inner p {
    font-size: 16px;
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 22px;
    font-weight: 300;
}
.fulltext-inner p strong { color: var(--dark-bg); font-weight: 600; }
.blockquote {
    border-left: 4px solid var(--gold);
    padding: 20px 28px;
    margin: 40px 0;
    background: rgba(255,213,79,0.07);
    border-radius: 0 12px 12px 0;
}
.blockquote p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 19px;
    color: var(--dark-bg);
    margin: 0;
    line-height: 1.6;
}

/* ── DARK MODE ── */
body.dark .intro-section,
body.dark .achievements-section { background: var(--dm-bg); }
body.dark .tl-card { background: var(--dm-card); border-color: var(--dm-border); }
body.dark .tl-item:nth-child(odd) .tl-card::after { border-left-color: var(--dm-card); }
body.dark .tl-item:nth-child(even) .tl-card::after { border-right-color: var(--dm-card); }
body.dark .tl-title { color: #e8eeff; }
body.dark .tl-text { color: var(--dm-muted); }
body.dark .timeline-section { background: var(--dm-bg); }
body.dark .tl-dot-circle { border-color: var(--dm-bg); }
body.dark .fulltext-section { background: var(--dm-bg); }
body.dark .fulltext-inner p { color: #b0bed4; }
body.dark .blockquote { background: rgba(255,213,79,0.05); }
body.dark .blockquote p { color: #e8eeff; }
body.dark .intro-text p { color: #b0bed4; }
body.dark .section-header h3 { color: #90caf9 !important; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .timeline::before { left: 26px; }
    .tl-item {
        grid-template-columns: 52px 1fr !important;
        grid-template-rows: auto;
    }
    .tl-item:nth-child(odd) .tl-content,
    .tl-item:nth-child(even) .tl-content { grid-column: 2 !important; grid-row: 1; }
    .tl-item:nth-child(odd) .tl-dot,
    .tl-item:nth-child(even) .tl-dot { grid-column: 1 !important; grid-row: 1; }
    .tl-empty { display: none !important; }
    .tl-item:nth-child(odd) .tl-card::after,
    .tl-item:nth-child(even) .tl-card::after { display: none; }
    .ach-grid { grid-template-columns: 1fr 1fr; }
    .header-stats { gap: 28px; }
}
@media (max-width: 480px) {
    .ach-grid { grid-template-columns: 1fr; }
}