/* ===== SLIDE KIRISH: INTEGRUM logotipi (eng bosh) ===== */
#slide-entry {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vh, 32px) clamp(14px, 2vw, 24px);
    box-sizing: border-box;
}

.entry-card {
    width: 100%;
    max-width: min(1100px, 96vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.entry-logo-panel {
    width: 100%;
    padding: clamp(28px, 5vh, 64px) clamp(20px, 4vw, 56px);
    border-radius: clamp(22px, 2.5vw, 40px);
    background: linear-gradient(148deg, #0c2744 0%, #185fa5 48%, #0b556e 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 28px 72px rgba(24, 95, 165, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    margin-bottom: clamp(18px, 2.8vh, 32px);
}

.entry-logo-img {
    display: block;
    width: min(92vw, 900px);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.entry-tagline {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgba(15, 45, 68, 0.92);
}

.entry-hint {
    margin: clamp(10px, 1.6vh, 16px) 0 0;
    font-size: clamp(0.82rem, 1.15vw, 0.95rem);
    font-weight: 600;
    color: rgba(15, 45, 68, 0.48);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.entry-hint i {
    color: #185fa5;
    opacity: 0.85;
}

@media (max-width: 520px) {
    .entry-logo-panel {
        padding: 22px 14px;
    }

    .entry-logo-img {
        width: 100%;
    }
}

/* ===== SLIDE INTRO: yagona monitoring viziyasi (2-slayd) ===== */
#slide-intro {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 2vh, 28px) clamp(10px, 1.5vw, 22px);
    box-sizing: border-box;
    overflow: auto;
}

#slide-intro .intro-hero-card {
    background: rgba(255, 255, 255, 0.16) !important;
    backdrop-filter: blur(20px) saturate(118%);
    -webkit-backdrop-filter: blur(20px) saturate(118%);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 22px 64px rgba(47, 130, 189, 0.14);
    border-radius: 32px;
    padding: clamp(28px, 3.5vh, 48px) clamp(28px, 4vw, 56px);
    max-width: min(1540px, 98vw);
    width: 100%;
    min-height: min(88vh, 940px);
    justify-content: flex-start !important;
}

#slide-intro .intro-hero-card::before {
    display: none;
}

#slide-intro .intro-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(0.72rem, 1vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
    margin-bottom: clamp(12px, 2vh, 18px);
}

#slide-intro .intro-kicker i {
    color: #0d9488;
    font-size: 1rem;
}

#slide-intro .intro-hero-card h2 {
    color: #000 !important;
    font-size: clamp(1.65rem, 3.2vw, 2.55rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: clamp(12px, 1.8vh, 18px);
}

#slide-intro .intro-lead {
    color: rgba(0, 0, 0, 0.78) !important;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.55;
    margin-bottom: clamp(22px, 3vh, 30px);
    max-width: none;
}

#slide-intro .intro-flow-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 22px);
    margin-bottom: clamp(28px, 4vh, 42px);
    padding: clamp(22px, 3vh, 34px) clamp(18px, 3vw, 36px);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

#slide-intro .intro-flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: clamp(100px, 14vw, 140px);
    padding: clamp(12px, 2vw, 18px) clamp(14px, 2vw, 20px);
    font-weight: 700;
    font-size: clamp(0.88rem, 1.2vw, 1.05rem);
    color: #0f172a;
}

#slide-intro .intro-flow-node i {
    font-size: clamp(2.25rem, 5vw, 3.35rem);
    color: #185fa5;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(24, 95, 165, 0.22));
}

#slide-intro .intro-flow-node span {
    text-align: center;
}

#slide-intro .intro-flow-arrow {
    color: rgba(24, 95, 165, 0.55);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    align-self: center;
}

#slide-intro .intro-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.2vw, 22px);
    margin-bottom: clamp(18px, 2.5vh, 26px);
}

#slide-intro .intro-feature {
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(15, 45, 68, 0.1);
    border-radius: 18px;
    padding: clamp(18px, 2.4vw, 22px);
    box-shadow: 0 4px 16px rgba(47, 130, 189, 0.06);
}

#slide-intro .intro-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(24, 95, 165, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #0f766e;
    font-size: 1.25rem;
}

#slide-intro .intro-feature h3 {
    font-size: clamp(0.95rem, 1.25vw, 1.08rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

#slide-intro .intro-feature p {
    font-size: clamp(0.82rem, 1.05vw, 0.92rem);
    line-height: 1.45;
    color: #334155;
    margin: 0;
}

#slide-intro .intro-footnote {
    font-size: clamp(0.82rem, 1vw, 0.92rem);
    color: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
    padding-top: 8px;
    border-top: 1px solid rgba(15, 45, 68, 0.08);
}

#slide-intro .intro-footnote i {
    color: #185fa5;
    margin-top: 2px;
}

@media (max-width: 840px) {
    #slide-intro .intro-feature-grid {
        grid-template-columns: 1fr;
    }

    #slide-intro .intro-flow-arrow {
        display: none;
    }

    #slide-intro .intro-flow-strip {
        justify-content: flex-start;
    }

    #slide-intro .intro-hero-card {
        min-height: auto;
    }

    #slide-intro .intro-flow-node i {
        font-size: clamp(1.85rem, 10vw, 2.5rem);
    }
}

/* ===== SLIDE 1: HORIZONTAL ORG CHART (chapdan o'nga) ===== */
#slide-1 {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(6px, 1vh, 14px) clamp(6px, 1vw, 12px);
    box-sizing: border-box;
    overflow: auto;
    gap: 0;
}

/* ── Asosiy gorizontal zanjir ────────────────────────────── */
.oc-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;   /* CEO vertikal markazda branches bilan */
    width: max-content;
    max-width: 100%;
    transform: scale(1.18);
    transform-origin: center center;
}

/* L1: Investor + CEO ustma-ust */
.oc-l1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.oc-l1-vline {
    width: 2px;
    height: 14px;
    background: #2a7bb5;
}

/* ── Gorizontal connector chiziq (o'q bilan) ─────────────── */
.oc-hconn {
    width: 34px;
    height: 3px;
    background: #2a7bb5;
    flex-shrink: 0;
    position: relative;
}

.oc-hconn::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid #2a7bb5;
}

.oc-hconn-sm {
    width: 16px;
}

.oc-hconn-sm::after {
    right: -5px;
    border-top-width: 4px;
    border-bottom-width: 4px;
    border-left-width: 5px;
}

/* ── Branches grid: 4 ustun (dir | o'rta | sariq | qora-kulrang), 3 qator ── */
.oc-branches {
    display: grid;
    grid-template-columns: max-content max-content max-content max-content;
    grid-template-rows: repeat(3, auto);
    row-gap: 9px;
    column-gap: 0;
}

/* Director katakchasi (1-ustun) */
.oc-dir-cell {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* O'rta daraja katakchasi (2-ustun: jigarrang kartochkalar) */
.oc-mid-cell {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.oc-mid-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Sariq xodimlar (3-ustun): bitta vertikal ustun (usta-usta) */
.oc-subs-cell {
    grid-column: 3;
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: stretch;
    justify-content: center;
    align-self: stretch;
    border-left: 3px solid #2a7bb5;
    padding-left: 14px;
    width: max-content;
}

/* Maydon + Tashqi (4-ustun): qora va kulrang — bitta vertikal ustun */
.oc-ext-cell {
    grid-column: 4;
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: stretch;
    justify-content: center;
    align-self: stretch;
    border-left: 3px solid #2a7bb5;
    padding-left: 14px;
    margin-left: 12px;
    width: max-content;
}

/* ── Fan connector: ┌ ├ └ shakli ────────────────────────── */
.oc-fan {
    width: 18px;
    align-self: stretch;   /* qatorning to'liq balandligini to'ldiradi */
    position: relative;
    flex-shrink: 0;
}

/* Gorizontal stub: direktyor markaziga yo'naladi */
.oc-fan::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 3px;
    background: #2a7bb5;
}

/* Birinchi qator:  ┌─  (markazdan pastga + keyingi qator boshlanishiga)  */
.oc-fan-first::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    bottom: -9px;   /* row-gap */
    width: 2px;
    background: #2a7bb5;
}

/* O'rta qator: ├─  (to'liq balandlik, ikki tomonga gap orqali uzluksiz) */
.oc-fan-mid::before {
    content: '';
    position: absolute;
    left: 0;
    top: -9px;
    bottom: -9px;
    width: 2px;
    background: #2a7bb5;
}

/* So'nggi qator: └─  (tepadan markazgacha) */
.oc-fan-last::before {
    content: '';
    position: absolute;
    left: 0;
    top: -9px;
    bottom: 50%;
    width: 2px;
    background: #2a7bb5;
}

/* Footer bo'limi olib tashlandi — xodimlar oc-subs-cell ichida */

/* ── Kartochkalar ─────────────────────────────────────────── */
.oc-b {
    border-radius: 9px;
    padding: 8px 12px 8px 10px;
    display: grid;
    grid-template-columns: 1.4rem 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
    text-align: left;
    width: 214px;
    flex-shrink: 0;
    box-shadow: 0 4px 13px rgba(0, 0, 0, 0.22);
}

.oc-b-sm {
    width: 136px;
    padding: 4px 7px 4px 6px;
    grid-template-columns: 0.95rem 1fr;
    column-gap: 5px;
}

.oc-b > i {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
    justify-self: center;
    font-size: 1.02rem;
    opacity: 0.95;
    line-height: 1;
}

.oc-b-sm > i {
    font-size: 0.68rem;
}

.oc-b > strong {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.18;
    display: block;
}

.oc-b-sm > strong {
    font-size: 0.62rem;
}

.oc-b > em {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.72rem;
    opacity: 0.88;
    font-style: normal;
    display: block;
    line-height: 1.1;
}

.oc-b-sm > em {
    font-size: 0.5rem;
}

/* ── Ranglar ─────────────────────────────────────────────── */
.bx-purple { background: #7c3aed; color: #fff; }
.bx-blue   { background: #1e40af; color: #fff; }
.bx-teal   { background: #0d9488; color: #fff; }
.bx-brown  { background: #92400e; color: #fff; }
.bx-amber  { background: #b45309; color: #fff; }
.bx-dark   { background: #374151; color: #e9f0f5; }

.bx-dsh {
    background: rgba(13, 148, 136, 0.08) !important;
    border: 2px dashed #0d9488 !important;
    color: #065f4f !important;
    box-shadow: none !important;
}

.bx-ext {
    background: #57534e;
    color: #fafaf9;
    border: 1px dashed rgba(250, 250, 249, 0.35);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* ── Tor ekran moslashuvi ────────────────────────────────── */
@media (max-width: 900px) {
    .oc-wrap {
        transform: scale(0.74);
        transform-origin: center center;
    }
}

/* ===== SLIDE YAKUN: rahmat (oxirgi slayd) ===== */
#slide-thanks {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: clamp(14px, 2.5vh, 28px) clamp(14px, 2vw, 24px) !important;
    box-sizing: border-box;
}

#slide-thanks .thanks-card {
    position: relative;
    max-width: min(680px, 94vw);
    min-height: auto !important;
    padding: clamp(40px, 6vh, 64px) clamp(36px, 5vw, 52px);
    justify-content: center !important;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(22px) saturate(122%);
    -webkit-backdrop-filter: blur(22px) saturate(122%);
    border: 1px solid rgba(255, 255, 255, 0.48) !important;
    box-shadow:
        0 28px 72px rgba(24, 95, 165, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    overflow: visible !important;
}

#slide-thanks .thanks-card::before {
    display: none;
}

.thanks-bg-glow {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 30% 35%, rgba(13, 148, 136, 0.18) 0%, transparent 52%),
        radial-gradient(circle at 78% 62%, rgba(24, 95, 165, 0.2) 0%, transparent 48%);
    pointer-events: none;
    z-index: 0;
}

.thanks-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 1.6vh, 16px);
}

.thanks-icon-ring {
    width: clamp(72px, 12vw, 96px);
    height: clamp(72px, 12vw, 96px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(4px, 0.8vh, 10px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
    border: 2px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 12px 32px rgba(24, 95, 165, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.thanks-icon-ring i {
    font-size: clamp(2rem, 4vw, 2.6rem);
    background: linear-gradient(135deg, #185fa5 0%, #0d9488 55%, #14b8a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(24, 95, 165, 0.25));
}

@media (prefers-reduced-motion: no-preference) {
    .thanks-icon-ring {
        animation: thanks-float 5s ease-in-out infinite;
    }
}

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

.thanks-brand {
    margin: 0;
    font-size: clamp(0.68rem, 0.95vw, 0.78rem);
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(15, 45, 68, 0.45);
}

.thanks-brand span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.12);
    border: 1px solid rgba(13, 148, 136, 0.28);
}

.thanks-headline {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.85rem, 4.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(125deg, #0f172a 0%, #185fa5 42%, #0d9488 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.thanks-sub {
    margin: 0;
    max-width: 42ch;
    font-size: clamp(0.95rem, 1.35vw, 1.08rem);
    line-height: 1.55;
    color: rgba(15, 45, 68, 0.78);
}

.thanks-accent-line {
    width: min(200px, 42%);
    height: 3px;
    margin: clamp(6px, 1vh, 12px) 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(24, 95, 165, 0.65), rgba(13, 148, 136, 0.75), transparent);
    opacity: 0.9;
}

.thanks-tagline {
    margin: 0;
    font-size: clamp(0.78rem, 1.05vw, 0.9rem);
    font-weight: 600;
    color: rgba(15, 45, 68, 0.52);
    letter-spacing: 0.02em;
}

@media (max-width: 520px) {
    #slide-thanks .thanks-card {
        padding: 32px 22px;
    }

    .thanks-headline {
        font-size: clamp(1.45rem, 7vw, 2rem);
    }
}
