
:root {
    --uzb-accent: #1fb16a;
    --uzb-navy: #071226;
    --uzb-white: #ffffff;
    --uzb-dark: #0a1a3a;
    --transition: all 0.3s ease;
}

/* Reset and Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* HERO SECTION */
.uzb-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--uzb-white);
    background: linear-gradient(135deg, var(--uzb-navy) 0%, #0a1a3a 50%, #1c2b4a 100%);
    overflow: hidden;
}

/* Video background - Hidden on mobile */
.uzb-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
    display: block; /* Will be hidden by JS on mobile */
}

.uzb-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 9, 20, 0.85) 0%, rgba(3, 9, 20, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

/* MAIN CONTAINER - Mobile First */
.uzb-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.uzb-left {
    width: 100%;
    max-width: 600px;
    text-align: center;
    order: 1;
}

.uzb-headline {
    font-size: 2.5rem;
    line-height: 1.1;
    margin: 0 0 20px;
    padding-bottom: 5px;
    font-weight: 600;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.uzb-sub {
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 300;
}

.uzb-ctas {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
}

.uzb-right {
    width: 100%;
    max-width: 800px;
    order: 2;
    padding: 0;
}

.uzb-slider-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.uzb-swiper {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
    opacity: 0.7;
    transform: scale(0.95);
    transition: var(--transition);
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

/* CARD */
.uzb-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* COUNTER */
.uzb-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--uzb-white);
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.uzb-media-container {
    position: relative;
    width: 100%;
    height: 250px; /* Fixed height on mobile */
    overflow: hidden;
}

.uzb-media-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 20px;
}

.uzb-media-inner img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.uzb-media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(112, 112, 112, 0.95), transparent);
    pointer-events: none;
}

/* CAPTION */
.uzb-caption-container {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    display: flex;
    align-items: center;
}

.uzb-caption {
    color: var(--uzb-white);
    font-weight: 600;
    line-height: 1.5;
    font-size: 1rem;
    margin: 0;
}

.uzb-caption small {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--uzb-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ARROWS */
.uzb-arrow {
    display: none; /* Hidden on mobile by default */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.uzb-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.uzb-arrow svg {
    width: 24px;
    color: white;
    height: 24px;
    stroke: var(--uzb-white);
    stroke-width: 2;
}

.uzb-arrow--left {
    left: 0;
}

.uzb-arrow--right {
    right: 0;
}

/* PAGINATION */
.uzb-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0 10px;
}

.swiper-pagination-bullet {
    width: 40px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    cursor: pointer;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, var(--uzb-accent), #0b6b6b);
    transform: scaleX(1.1);
    box-shadow: 0 4px 12px rgba(31, 177, 106, 0.3);
}

/* ============ TABLET (768px and up) ============ */
@media (min-width: 768px) {
    .uzb-hero-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 60px;
        padding: 60px 40px;
    }

    .uzb-left {
        width: 45%;
        text-align: left;
        order: 0;
    }

    .uzb-headline {
        font-size: 3rem;
    }

    .uzb-sub {
        font-size: 1.3rem;
    }

    .uzb-ctas {
        flex-direction: row;
        gap: 20px;
        justify-content: flex-start;
    }

    .btn {
        width: auto;
        min-width: 180px;
    }

    .uzb-right {
        width: 55%;
        max-width: 600px;
        order: 0;
    }

    .uzb-slider-container {
        padding: 0 40px;
    }

    .uzb-arrow {
        display: flex;
    }

    .uzb-arrow--left {
        left: -30px;
    }

    .uzb-arrow--right {
        right: -30px;
    }

    .uzb-media-container {
        height: 300px;
    }

    .uzb-caption {
        font-size: 1.1rem;
    }
}

/* ============ DESKTOP (1024px and up) ============ */
@media (min-width: 1024px) {
    .uzb-hero-inner {
        gap: 80px;
        padding: 80px 60px;
    }

    .uzb-left {
        width: 50%;
    }

    .uzb-headline {
        font-size: 3rem;
    }

    .uzb-sub {
        font-size: 1.4rem;
        max-width: 500px;
    }

    .uzb-right {
        width: 50%;
        max-width: 700px;
    }

    .uzb-media-container {
        height: 350px;
    }

    .uzb-caption {
        font-size: 1.2rem;
    }

    .uzb-arrow {
        width: 60px;
        height: 60px;
    }

    .uzb-arrow svg {
        width: 28px;
        height: 28px;
    }

    .swiper-pagination-bullet {
        width: 50px;
        height: 8px;
    }
}

/* ============ LARGE DESKTOP (1400px and up) ============ */
@media (min-width: 1400px) {
    .uzb-media-container {
        height: 400px;
    }
}

/* ============ SMALL MOBILE FIXES (480px and below) ============ */
@media (max-width: 480px) {
    .uzb-hero-inner {
        padding: 30px 15px;
        gap: 30px;
    }
.uzb-right{
    display: none;
}
    .uzb-headline {
        font-size: 2rem;
    }

    .uzb-sub {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .uzb-ctas {
        margin-bottom: 20px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .uzb-media-container {
        height: 200px;
    }

    .uzb-caption-container {
        padding: 15px;
    }

    .uzb-caption {
        font-size: 0.95rem;
    }

    .uzb-caption small {
        font-size: 0.8rem;
    }

    .uzb-counter {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: 10px;
        right: 10px;
    }

    .swiper-pagination-bullet {
        width: 30px;
        height: 5px;
    }
}

/* ============ VERY SMALL MOBILE (360px and below) ============ */
@media (max-width: 360px) {
    .uzb-headline {
        font-size: 1.8rem;
    }

    .uzb-sub {
        font-size: 1rem;
    }

    .uzb-media-container {
        height: 180px;
    }

    .uzb-caption {
        font-size: 0.9rem;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .uzb-hero {
        min-height: auto;
        padding: 40px 0;
    }

    .uzb-hero-inner {
        flex-direction: row;
        gap: 30px;
        padding: 20px;
    }

    .uzb-left {
        width: 50%;
    }

    .uzb-right {
        width: 50%;
    }

    .uzb-media-container {
        height: 200px;
    }

    .uzb-headline {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .uzb-sub {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .uzb-ctas {
        flex-direction: column;
        gap: 10px;
    }

    /*.btn {*/
    /*    min-width: unset;*/
    /*    width: 100%;*/
    /*    padding: 10px 20px;*/
    /*    font-size: 0.9rem;*/
    /*}*/
}

/* ============ PRINT STYLES ============ */
@media print {
    .uzb-hero-video,
    .uzb-arrow,
    .uzb-pagination {
        display: none !important;
    }

    .uzb-hero {
        background: white !important;
        color: black !important;
        min-height: auto !important;
    }

    .uzb-hero::before {
        display: none !important;
    }

    .uzb-headline {
        background: none !important;
        -webkit-text-fill-color: black !important;
        color: black !important;
    }

    .uzb-sub {
        color: #333 !important;
    }
}
