
:root {

    /* Colors */
    --primary:   #0d3b6e;
    --secondary: #1976d2;
    --accent:    #f4a300;
    --muted-bg:  #f5f7fa;
    --text-color:#1f2937;

    /* Typography */
    --font-sans: "Inter", "Source Sans 3", system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;

    --font-heading: "Merriweather", serif;

    --font-size-base: 16px;

    /* Font scale */
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 32px;
    --text-4xl: 40px;
    --text-5xl: 48px;

    /* Line heights */
    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.7;

}


html { font-size: var(--font-size-base); }

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-color);
    background: #fff;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5,h6{
    font-family:var(--font-heading);
    font-weight:700;
    line-height:1.2;
}
.gradient-default {
    background: linear-gradient(165deg,#0d3b6e,#00d4ff,#0d3b6e);
}

.timeline-icon{
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.profile-img{
    width:130px;
    height:130px;
}

@media (min-width:768px){
    .profile-img{
        width:160px;
        height:160px;
    }
}

.icon-circle{
    width:50px;
    height:50px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}
/* ── Navbar ───────────────────────────────────── */
.top-bar { background: #fff; border-bottom: 1px solid #dee2e6; font-size: .8rem; }
.lang-btn { border: none; background: none; padding: 2px 8px; font-weight: 600; color: #555; border-right: 1px solid #ccc; cursor: pointer; }
.lang-btn:last-child { border-right: none; }
.lang-btn.active { color: var(--primary); }

.main-nav { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.main-nav .navbar-brand img { width: 44px; height: 44px; object-fit: contain; }
.main-nav .nav-link { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #333; }
.main-nav .nav-link:hover { color: var(--secondary); }

/* ── Hero ─────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    min-height: 640px;
}
.hero .badge-pill {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(6px);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: .85rem;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; }

.countdown-card {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;
    padding: 18px 10px 12px;
    text-align: center;
    color: #fff;
}
.countdown-card .num { font-size: 2.6rem; font-family: 'Playfair Display', serif; line-height: 1; }
.countdown-card .lbl { font-size: .75rem; opacity: .8; margin-top: 4px; }

.hero-img-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.2);
}
.hero-img-wrap img { width: 100%; height: 460px; object-fit: cover; }

/* ── Section headers ──────────────────────────── */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, rgba(25,118,210,.12), rgba(13,59,110,.12));
    border-radius: 50px;
    padding: 5px 16px;
    font-size: .82rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── News / Publications cards ────────────────── */
.news-card, .pub-card { border-radius: 20px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.news-icon, .pub-icon {
    width: 44px; height: 44px; min-width: 44px;
    background: linear-gradient(135deg, rgba(25,118,210,.12), rgba(13,59,110,.12));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.tag-pill {
    background: linear-gradient(90deg, rgba(25,118,210,.1), rgba(13,59,110,.1));
    color: var(--primary);
    border-radius: 50px;
    padding: 2px 12px;
    font-size: .72rem;
    font-weight: 600;
}
.btn-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: box-shadow .2s;
}
.btn-gradient:hover { box-shadow: 0 6px 20px rgba(13,59,110,.35); color: #fff; }

/* ── Stats / Sectors ──────────────────────────── */
.sector-card {
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
    text-align: center;
    padding: 24px 12px;
}
.sector-card:hover { transform: translateY(-6px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.sector-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.4rem;
    color: #fff;
}
.stat-card {
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
    padding: 28px 16px;
    text-align: center;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.stat-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.3rem;
    color: #fff;
}
.stat-num { font-size: 2.2rem; font-family: 'Playfair Display', serif; }

/* ── CTA banner ───────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    color: #fff;
}
.custom-btn {
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: #f1f3f5;
    transform: translateY(-2px);
}
.custom-card {
    border-radius: 16px;
    transition: all 0.3s ease;
}

.custom-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-img-hover {
    transition: transform 0.4s ease;
}

.custom-card:hover .card-img-hover {
    transform: scale(1.1);
}

.custom-title {
    transition: color 0.3s ease;
}

.custom-card:hover .custom-title {
    color: #0d6efd;
}

.custom-btn {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    transform: translateY(-2px);
}
/* ── Partners ─────────────────────────────────── */
.partner-logo {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    transition: border-color .2s, box-shadow .2s;
    padding: 20px;
    text-align: center;
    background: #fff;
}
.partner-logo:hover { border-color: var(--secondary); box-shadow: 0 4px 16px rgba(25,118,210,.15); }
.partner-logo img { width: 64px; height: 64px; object-fit: contain; }

/* ── Cooperation proposal ─────────────────────── */
.proposal-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
}
.proposal-box ul li { font-size: .92rem; line-height: 1.6; }

/* ── Footer ───────────────────────────────────── */
footer { background: var(--primary); color: rgba(255,255,255,.85); }
footer a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
footer a:hover { color: #fff; }
footer h5 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.social-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background .2s;
    font-size: .95rem;
}
.social-btn:hover { background: rgba(255,255,255,.25); color: #fff; }

.footer-input {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px 0 0 10px;
    color: #fff;
}
.footer-input::placeholder { color: rgba(255,255,255,.45); }
.footer-input:focus { background: rgba(255,255,255,.15); border-color: var(--accent); box-shadow: none; color: #fff; }

.fab {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer; border: none;
}
.fab:hover { transform: scale(1.12); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

.bg-blue-cyan-gradient {
    background: linear-gradient(to bottom right, #3b82f6, #06b6d4);
}


.text-blue-cyan-gradient {
    /* 1. Gradient fonni beramiz */
    background: linear-gradient(to bottom right, #3b82f6, #06b6d4);

    /* 2. Fonni faqat matn shaklida qirqib olamiz */
    -webkit-background-clip: text;
    background-clip: text;

    /* 3. Matnning o'z rangini shaffof qilamiz (shunda orqadagi gradient ko'rinadi) */
    -webkit-text-fill-color: transparent;
}

/* Purple → Pink Gradient */
.purple-pink-gradient{
    background: linear-gradient(135deg,#a855f7,#ec4899);
}

/* Text Gradient */
.text-purple-pink-gradient{
    background: linear-gradient(135deg,#a855f7,#ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Box Style */
.icon-box-purple-pink{
    width:64px;
    height:64px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    box-shadow:0 .5rem 1rem rgba(0,0,0,.15);
    transition:.5s;
    background: linear-gradient(135deg,#a855f7,#ec4899);
}

.icon-box-purple-pink:hover{
    transform:scale(1.1) rotate(6deg);
}

/* Orange → Red Gradient */
.orange-red-gradient{
    background: linear-gradient(135deg,#f97316,#ef4444);
}

/* Text Gradient */
.text-orange-red-gradient{
    background: linear-gradient(135deg,#f97316,#ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Icon Box */
.icon-box-orange-red{
    width:64px;
    height:64px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    box-shadow:0 .5rem 1rem rgba(0,0,0,.15);
    transition:.5s;
    background: linear-gradient(135deg,#f97316,#ef4444);
}

/* Green → Teal Gradient */
.green-teal-gradient{
    background: linear-gradient(135deg,#22c55e,#14b8a6);
}

/* Text Gradient */
.text-green-teal-gradient{
    background: linear-gradient(135deg,#22c55e,#14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Icon Box */
.icon-box-green-teal{
    width:64px;
    height:64px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    box-shadow:0 .5rem 1rem rgba(0,0,0,.15);
    transition:.5s;
    background: linear-gradient(135deg,#22c55e,#14b8a6);
}

.icon-box-green-teal:hover{
    transform:scale(1.1) rotate(6deg);
}
.icon-box-orange-red:hover{
    transform:scale(1.1) rotate(6deg);
}
.custom-hover{
    transition: all .3s ease;
}

.custom-hover:hover{
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}
