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

html{
    scroll-behavior:smooth;
}

:root{
    --bg:#050816;
    --bg2:#0d1327;
    --card:#101a34;
    --primary:#4f8cff;
    --secondary:#00d4ff;
    --text:#ffffff;
    --muted:#93a6c7;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --blue-glow: #00d4ff;
}

body{
    font-family:'Inter',sans-serif;
    color:var(--text);
    overflow-x:hidden;
    background: radial-gradient(circle at top right, #0a1f33, #040a18);
    margin: 0;
}

/* BACKGROUND */
body::before{
    content:'';
    position:fixed;
    width:700px;
    height:700px;
    background:#2563eb25;
    filter:blur(150px);
    top:-250px;
    left:-200px;
    z-index:-2;
}
body::after{
    content:'';
    position:fixed;
    width:600px;
    height:600px;
    background:#00d5ff20;
    filter:blur(160px);
    bottom:-250px;
    right:-200px;
    z-index:-2;
}

/* SCROLL */
::-webkit-scrollbar{
    width:10px;
}
::-webkit-scrollbar-thumb{
    background:linear-gradient(var(--primary),var(--secondary));
    border-radius:20px;
}


/* NAVBAR */
.navbar-wrapper {
    position: fixed; /* Sahifada qotib turishi uchun */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Barcha elementlardan ustun turishi uchun */
    padding: 20px 5%;
    box-sizing: border-box;
    transition: background 0.3s ease; /* Scroll qilganda yumshoq o'zgarish uchun */
}
/* Scroll qilinganda fonni yanada aniqroq qilish uchun (ixtiyoriy) */
.navbar-wrapper.scrolled {
    background: rgba(4, 10, 24, 0.8);
    backdrop-filter: blur(20px);
}
.navbar {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}
.logo {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    
    /* Matnni gradient qilish */
    background: linear-gradient(90deg, #ffffff 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Yengil yorug'lik effekti */
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    
    transition: 0.3s ease;
}
.logo:hover {
    text-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
}
/* Logo icon uchun (agar rasm yoki shakl ishlatsangiz) */
.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4f8cff, #00d4ff);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}
.menu {
    display: flex;
    gap: 30px;
    margin-left: auto; /* Bu menyuni maksimal darajada o'ngga suradi */
    margin-right: 20px; /* Logo bilan menyu orasidagi masofa */
}
.menu a {
    color: #aebad9;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.menu a.active, .menu a:hover {
    color: white;
    text-shadow: 0 0 15px var(--blue-glow);
}


/** MODERN HERO VISUAL **/
.hero-visual {
    margin-top: -100px; /* Navbarni o'rab olishi uchun */
    padding-top: 100px;
    position: relative;
    height: 720px;
    border-radius: 40px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #101a35 0%, #050816 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 1. Matnni katta va statik saqlash */
.hero-center-text {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    /* Markazga joylash uchun */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* Kichik yorliq (Tag) */
.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #00d4ff; /* Neon ko'k */
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}
/* Asosiy Sarlavha (Katta va Zamonaviy) */
.hero-center-text h2 {
    font-size: 85px;
    line-height: 1.1;
    font-weight: 900;
    margin: 0 auto;
    
    /* Fonga moslangan ranglar (oqdan och moviygacha) */
    background: linear-gradient(to bottom, #ffffff 40%, #cce7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* "taniqli olimlari" uchun maxsus ajratilgan gradient */
.text-gradient {
    /* Fonga moslangan "Electric Blue" va "Cyan" uyg'unligi */
    background: linear-gradient(to right, #00d4ff, #4f8cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Fonga moslashgan nozik soya (glow) - fondagi qora-ko'k rang bilan urishmaydi */
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    
    font-weight: 900;
    transition: 0.4s ease;
}

/* Hover effekti - yorug'likni yanada oshiradi */
.text-gradient:hover {
    text-shadow: 0 0 35px rgba(79, 140, 255, 0.6);
    filter: brightness(1.2);
}
/* Ilmiy chiziq (Divider) */
.hero-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #4f8cff, #00d4ff);
    margin-top: 35px;
    border-radius: 2px;
    opacity: 0.8;
}

/* FONDAGI MOLEKULYAR EFFEKTNI KUCHAYTIRISH */
.molecular-net {
    position: absolute;
    inset: 0;
    /* Nuqtalarni yanada aniqroq ko'rsatish uchun */
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(100, 200, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 70% 30%, rgba(100, 200, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 40% 80%, rgba(0, 212, 255, 0.3) 2px, transparent 2px);
    background-size: 300px 300px;
    
    /* Animatsiya tezligini oshiramiz */
    animation: moleculaFloat 12s linear infinite; 
    pointer-events: none;
}

/* Nuqtalar o'rtasidagi "bog'lanish" effekti */
.molecular-net::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(100, 200, 255, 0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(100, 200, 255, 0.1) 1px, transparent 1px);
    background-size: 150px 150px;
    /* Animatsiya yanada sezilishi uchun opacityni oshiramiz */
    animation: moleculaPulse 8s ease-in-out infinite;
}

@keyframes moleculaFloat {
    from { transform: translateY(0) translateX(0); }
    to { transform: translateY(-100px) translateX(50px); }
}

@keyframes moleculaPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.02); }
}
/* MOBIL QURILMALAR UCHUN (max-width: 768px) */
@media (max-width: 768px) {
    .hero-visual {
        height: 500px; /* Mobil uchun balandlikni kamaytiramiz */
        border-radius: 20px;
        margin-top: -50px;
    }

    .hero-center-text h2 {
        font-size: 42px; /* Sarlavhani kichraytiramiz */
        line-height: 1.2;
    }

    .hero-tag {
        font-size: 10px;
        letter-spacing: 2px;
        padding: 6px 15px;
    }

    .molecular-net {
        background-size: 150px 150px; /* Nuqtalar orasini zichlashtiramiz */
    }

    .hero-divider {
        margin-top: 20px;
        width: 40px;
    }
}

/* Juda kichik ekranlar uchun (max-width: 480px) */
@media (max-width: 480px) {
    .hero-center-text h2 {
        font-size: 32px; /* Yanada kichraytiramiz */
    }
    
    .hero-visual {
        height: 400px;
    }
}


/* SECTION */
section {
    padding: 160px 5% 110px 5%;
}
.container{
    max-width:1450px;
    margin:auto;
}
.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}
.section-head h1 {
    font-size: 40px;
    font-weight: 800; /* Juda og'ir emas, o'rtacha qalinlik */
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}
.section-description {
    font-size: 16px;
    color: #94a3b8; /* Ochroq kulrang, o'qishga juda qulay */
    line-height: 1.6;
    margin: 0;
    font-weight: 300; /* Yengil matn */
}
.section-head h2{
    font-size:58px;
    line-height:1.1;
}
.section-head p{
    color:var(--muted);
    line-height:1.9;
    max-width:720px;
}
/* ========================= */
/* RENAISSANCE SECTION - MODERN PREMIUM */
/* ========================= */
.renaissance-section {
    padding: 100px 5%;
    position: relative;
}
.renaissance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 70px;
}
/* Kartani flex qilib, ichidagi elementlarni tartibga solamiz */
.renaissance-card {
    position: relative;
    padding: 50px 40px;
    border-radius: 40px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* Flex qo'shamiz */
    display: flex;
    flex-direction: column;
    height: 100%; /* Karta to'liq balandlikda bo'lishi uchun */
}
.renaissance-card:hover {
    transform: translateY(-15px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
/* Number effekti */
.ren-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 100px;
    font-weight: 900;
    opacity: 0.04;
}
/* "Active" kartasi uchun yanada yorqinroq uslub */
.renaissance-card.active {
    background: linear-gradient(160deg, #2563eb, #00d4ff);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.3);
}

/* Future kartasi uchun "yangi davr" ko'rinishi */
.renaissance-card.future {
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), transparent);
}

/* Matn va elementlar */
.ren-year {
    font-size: 12px;
    letter-spacing: 2px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    margin-bottom: 25px;
    display: inline-block;
}
.renaissance-card h3 {
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.renaissance-card p {
    color: #aebad9;
    font-size: 16px;
    line-height: 1.8;
}
/* Teglar qismini kartaning eng pastiga suramiz */
.ren-tags {
    margin-top: auto; /* Bu qator teglar qismini har doim pastga itaradi */
    padding-top: 30px; /* Tepadan bo'shliq qo'shamiz */
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
/* Badge (teg) uslubini yanada chiroyli qilamiz */
.ren-tags span {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #cbd5e1;
    transition: 0.3s;
}
/* Active kartadagi teglar rangi */
.renaissance-card.active .ren-tags span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}
/* Media query (Mobil uchun optimallashtirish) */
@media(max-width: 900px) {
    .renaissance-grid {
        grid-template-columns: 1fr;
    }
}



/* CTA */
.cta{
    position:relative;
}
.cta-box{
    padding:70px;
    border-radius:40px;
    background:linear-gradient(135deg,#0d1a35,#10264f);
    border:1px solid rgba(255,255,255,0.06);
    text-align:center;
    overflow:hidden;
    position:relative;
}
.cta-box::before{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    background:#4f8cff15;
    border-radius:50%;
    top:-250px;
    right:-200px;
}
.cta-box h2{
    font-size:60px;
    margin-bottom:20px;
    position:relative;
}
.cta-box p{
    color:var(--muted);
    max-width:800px;
    margin:auto;
    line-height:1.9;
    margin-bottom:40px;
    position:relative;
}



/* FOOTER */
/* FOOTER - TO'LIQ VA BARQAROR STIL */
footer {
    width: 100%;
    padding: 80px 5% 40px;
    background: #050816; /* Hero rangi bilan bir xil */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* 3 ta ustun: Logo uchun kengroq, qolganlari teng */
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.footer-logo {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: white;
}

.footer-text {
    color: #94a3b8;
    line-height: 1.8;
    margin-top: 10px;
    max-width: 350px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
}

.footer-links a:hover {
    color: #00d4ff; /* Hoverda neon effekt */
}

.bottom {
    max-width: 1200px;
    margin: 70px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #475569;
    font-size: 14px;
}
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%; /* Dumaloq shakl */
    background: rgba(255, 255, 255, 0.05); /* Yengil fon */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
}
.social-icons a i {
    font-size: 18px; /* Ikonka kattaligi */
    color: #ffffff !important; /* Ikonka rangi oq bo'lishi shart */
}
/* Hover effekti - yorqin va neon */
.social-icons a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    border-color: #00d4ff;
    transform: translateY(-3px); /* Yengil ko'tarilish */
}


/* MOBIL UCHUN 100% TUZATISH */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Hammasi bitta ustunga o'tadi */
        gap: 40px;
        text-align: center;
    }
    .footer-text {
        margin: 10px auto 0;
    }
}

/* RESPONSIVE */
@media(max-width:1150px){
    .hero-container{
        grid-template-columns:1fr;
    }
    .hero-text h1{
        font-size:62px;
    }
    .footer-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:768px){
    .menu{
        display:none;
    }
    .hero{
        padding-top:140px;
    }
    .hero-text h1{
        font-size:42px;
    }
    .section-head h2{
        font-size:40px;
    }
    .cta-box{
        padding:50px 30px;
    }
    .cta-box h2{
        font-size:40px;
    }
    .footer-grid{
        grid-template-columns:1fr;
    }
}


/**ABOUT**/
.about-section {
    padding: 160px 5% 100px; 
    background: radial-gradient(circle at top right, #0f172a, #050816);
    color: white;
    scroll-margin-top: 100px; 
}
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.about-lead {
    text-align: center;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: 0.4s;
}
.about-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #00d4ff;
    transform: translateY(-15px);
}
.icon-box {
    font-size: 30px;
    color: #00d4ff;
    margin-bottom: 20px;
    padding: 15px;
    display: inline-block;
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.1);
}
.about-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}
.about-card p {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 0.95rem;
}
/* Mobil moslashuv */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
}


/* ========================================================= */
/* SCIENTISTS LIST SECTION - IXCHAM DIZAYN */
/* ========================================================= */
/* --- Olimlar bo'limi uslubi --- */
.scientists-section {
    background: #050816;
    color: #e2e8f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Sarlavha qismi */
.section-head {
    text-align: center;
    margin-bottom: 50px;
}
.section-head h3 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 12px;
}
.section-head p {
    color: #94a3b8;
    font-size: 16px;
}

/* Qidiruv qismi */
.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto 50px;
}
.search-box input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 15px;
}
.search-btn {
    padding: 0 25px;
    background: #00d4ff;
    color: #050816;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.search-btn:hover {
    background: #ffffff;
}

/* Kartalar Gridi */
.scientists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Har bir karta uslubi */
.scientist-card {
    padding: 25px;
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.scientist-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-5px);
}
/* Karta ichida chiroyli yorug'lik nuqtasi (glow) */
.scientist-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 16px;
    background: linear-gradient(45deg, #00d4ff, transparent);
    z-index: -1;
    opacity: 0;
    transition: 0.5s;
}
.scientist-card:hover::before {
    opacity: 0.3;
}
/* Avatar konteyneri */
.card-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00d4ff, #0055ff);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
}

/* Karta ichidagi matnlarni markazlashtirish */
.card-content {
    text-align: center;
}

/* Sarlavha: Eng yorqin va aniq */
.card-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #f8fafc; /* Sof oq o'rniga juda yengil "off-white" */
    margin-bottom: 8px;
    letter-spacing: 0.3px; /* Matnlar zichligini biroz kamaytirish o'qishni osonlashtiradi */
}
/* Post nomi: O'rta kontrast, ko'zni charchatmaydi */
.card-content .degree {
    font-size: 14px;
    color: #94a3b8; /* Ochroq kulrang */
    line-height: 1.5;
    margin-bottom: 20px;
    transition: 0.3s;
}
/* Karta ichidagi matn ranglari hover bo'lganda yanada ochilsin */
.scientist-card:hover .card-content h3 {
    color: #ffffff; /* Hoverda sarlavha yanada yorqinlashadi */
}

.scientist-card:hover .card-content .degree {
    color: #cbd5e1; /* Hoverda matn o'qilishi osonlashadi */
}

/* Tugma */
.view-btn {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff; /* Asosiy brend rangida */
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.view-btn:hover {
    background: #00d4ff;
    color: #000;
}

/* Pagination uslubi */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.pagination a {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s;
}
.pagination a.active {
    background: #00d4ff;
    color: #000;
    font-weight: bold;
}

/* olim haqida*/
.detail-section {
    background-color: #111827; 
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
}

.detail-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
/* Yuqori qism: Karta uslubidagi header */
.detail-header {
    display: flex;
    gap: 30px;
    align-items: center;
    background: #1f2937; /* Body bilan bir xil rangdagi quti */
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Soya qo'shish orqali uni ajratamiz */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
}

/* Rasm ramkasini karta ichida chiroyli joylash */
.detail-img {
    flex-shrink: 0; /* Rasm siqilib ketmasligi uchun */
}

.detail-img img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid #111827; /* Ichki qismga moslash */
    display: block;
}

/* Matn qismi */
.detail-content {
    flex-grow: 1;
}

.detail-header h1 {
    font-size: 2.2rem;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.badge {
    color: #00d4ff;
    font-weight: 500;
    background: rgba(0, 212, 255, 0.1);
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
    font-size: 0.95rem;
}

/* Mobil versiyada kartani saqlab qolamiz */
@media (max-width: 768px) {
    .detail-header {
        flex-direction: column;
        text-align: center;
    }
    .detail-img img {
        margin: 0 auto;
    }
}

/* Rasm ramkasi */
.detail-img img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #1f2937; /* Fondan biroz ochroq hoshiya */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* MATN QISMI (O'qish uchun eng optimal variant) */
.detail-body {
    background: #1f2937; /* Asosiy fondan biroz ochroq "quti" */
    padding: 50px;
    border-radius: 20px;
    line-height: 1.8;
    font-size: 1.15rem;
    color: #cbd5e1; /* Matnni biroz yumshatamiz */
}

/* Matn paragraflari */
.detail-body p {
    max-width: 700px;
    margin: 0 auto 25px auto;
    color: #cbd5e1;
    font-size: 1.15rem;
    line-height: 1.85;
    
    /* Matnni ikki tomonlama tekislash */
    text-align: justify;
    text-justify: inter-word; /* So'zlar orasidagi masofani to'g'rilaydi */
    
    /* So'zlarni bo'g'inlab ko'chirish (o'qishni silliqlashtiradi) */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* Sarlavhalar - Oq va aniq */
.detail-body h2 {
    max-width: 700px;
    margin: 40px auto 20px auto;
    color: #f8fafc; /* Sarlavha yorqinroq */
    font-size: 1.6rem;
    border-bottom: 2px solid #00d4ff; /* Pastki chiziq - estetik */
    padding-bottom: 10px;
}

/* Bosh harf effekti */
.detail-body p:first-of-type::first-letter {
    font-size: 3rem;
    color: #00d4ff;
    float: left;
    margin-right: 15px;
    line-height: 0.8;
}


/* PAGINATION CONTAINER */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    padding: 10px;
}

/* PAGINATION BUTTONS */
.pagination a {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.03); /* Shaffof fon */
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    text-decoration: none;
    border-radius: 12px; /* Yumaloq burchaklar */
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

/* HOVER EFFECT */
.pagination a:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ACTIVE PAGE EFFECT */
.pagination a.active {
    background: #00d4ff;
    color: #050816;
    border-color: #00d4ff;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* RESPONSIVE (Mobil qurilmalar uchun) */
@media (max-width: 600px) {
    .pagination a {
        min-width: 35px;
        height: 35px;
        font-size: 12px;
        padding: 0 10px;
    }
}


/* ========================================================= */
/* CONTACT SECTION */
/* ========================================================= */
.contact-section {
    padding: 160px 5% 100px; 
    background: radial-gradient(circle at top center, #1e293b, #050816);
    color: #ffffff;
}
.contact-lead{
    text-align: center;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 50px auto 0;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
}
.contact-social h4 {
    margin-bottom: 20px;
}
@media(max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}



/* ========================================================= */
/* Presentation SECTION */
/* ========================================================= */
/* Seksiyalararo bir xil padding (o'zingiz so'raganidek) */
.presentations-section {
    padding: 160px 5%;
    background: #050816;
}

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

.presentation-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    transition: 0.4s ease;
    backdrop-filter: blur(10px);
}

.presentation-card:hover {
    border-color: #00d4ff;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.card-content h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}

.card-content .date {
    color: #00d4ff;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
}

.card-content .description {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}


/* Burger tugmasi uslubi */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* Mobil versiya uchun o'zgarishlar */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .menu {
        position: fixed;
        top: 80px;
        left: -100%; /* Dastlab yashirin */
        width: 100%;
        height: auto;
        background: rgba(4, 10, 24, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        transition: 0.4s ease;
        border-radius: 0 0 30px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 9999;
    }

    .menu.open {
        left: 0 !important; 
        display: flex !important; /* Agar display: none bo'lsa, uni majburiy ochamiz */
    }

    .menu a {
        padding: 15px;
        font-size: 18px;
    }
}
