.video__container {
    position: relative;
    width: 100%;
    height: 100vh; /* Ekranning to'liq balandligini olish uchun */
    overflow: hidden;
    display: flex;
    justify-content: center; /* Gorizontal markazlash */
    align-items: center; /* Vertikal markazlash */
    text-align: center;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #0F2B43 28%, transparent);
    z-index: 0;
}

.background__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Videoni konteynerni to'ldirish uchun */
    z-index: -1;
}

.content {
    margin-top: -80px;
    position: relative;
    z-index: 1;
    color: white; /* Matn rangi oq */
}

.main_title {
    font-size: 3em;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}

.sub_titles {
    font-size: 2.4em;
    font-weight: bold;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.sub_titles .dot {
    background: #FFD700;
    margin: 0 15px;
    height: 24px;
    width: 24px;
    border-radius: 50%;
}

.buttons {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.buttons .button {
    position: relative;
    padding: 10px 50px;
    border-radius: 20px;
    border: 3px solid rgb(61, 106, 255);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    background: transparent;
    color: #fff;
    overflow: hidden;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    line-height: 1.5;
    min-width: 216px;
}

.buttons .button:hover {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.buttons .button:hover::before {
    -webkit-animation: sh02 0.5s 0s linear;
    -moz-animation: sh02 0.5s 0s linear;
    animation: sh02 0.5s 0s linear;
}

.buttons .button::before {
    content: '';
    display: block;
    width: 0px;
    height: 86%;
    position: absolute;
    top: 7%;
    left: 0%;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 50px 30px #fff;
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    -o-transform: skewX(-20deg);
    transform: skewX(-20deg);
}

@keyframes sh02 {
    from {
        opacity: 0;
        left: 0%;
    }

    50% {
        opacity: 1;
    }

    to {
        opacity: 0;
        left: 100%;
    }
}

.buttons .button:active {
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: box-shadow 0.2s ease-in;
    -moz-transition: box-shadow 0.2s ease-in;
    transition: box-shadow 0.2s ease-in;
}

.apply {
    /* background-color: #FFD700; */
    border-color: #FFD700 !important;
    box-shadow: 
        0px 0px 15px rgba(255, 235, 59, 0.7), /* tashqi soya */
        inset 0px 0px 10px rgba(255, 235, 59, 0.6); /* ichki soya */
}

.apply:hover {
    background-color: #FFD700 !important;
    box-shadow: 0 0 30px 5px rgba(255,215,0, 0.815);
}

.cabinet {
    /* background-color: #FF4C61; */
    border-color: #FF4C61 !important;
    box-shadow: 
        0px 0px 15px rgba(255, 76, 97, 0.7), /* tashqi soya */
        inset 0px 0px 10px rgba(255, 76, 97, 0.6); /* ichki soya */
}

.cabinet:hover {
    background-color: #FF4C61 !important;
    box-shadow: 0 0 30px 5px rgba(255,76,97, 0.815);
}

@media only screen and (max-width: 460px) {
    .buttons {
        display: grid;
    }
    .main_title {
        font-size: 2.4em;
    }
    .gradient-overlay {
        background: linear-gradient(to top, #0F2B43 20%, transparent);
    }
}

@media only screen and (max-width: 800px) {
    .sub_titles {
        display: none;
    }
}

/*  */

.banner_cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    margin-top: 80px;
}

@media (max-width: 650px) {
    .banner_cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.banner_cards li {
    display: flex;
    align-items: flex-start;
    justify-content: start;
    flex-direction: column;
    background-color: transparent;
    padding: 40px;
}

.banner_cards li h2 {
    font-size: 50px;
    font-weight: 700;
    color: #ffffff;
    line-height: 135%;
    text-transform: uppercase;
}

.banner_cards li p {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    line-height: 145%;
    max-height: 46px;
    -webkit-line-clamp: 2;
    position: relative;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}