.title_blok {
    line-height: 1.4;
    font-size: 30px;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 2;
}

h1,
h2 {
    text-transform: uppercase;
}

footer {
    a {
        color: white;

        &:hover {
            color: gold !important;
        }
    }
}

form {
    input {
        padding-block: .75rem !important;
    }
}

ul.listcount li {
    flex-direction: row;
    justify-content: left;
}

ul.listcount li::before {
    content: " ";
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 10px;
}

ul.listcount li::before {
    display: none;
}

.accordion-button:focus {
    /* color: #0156b5;
    background-color: #e6effa; */
    box-shadow: none !important;
}

.ailan-home {
    /* padding-top: 100px !important; */
    /* height: 100%; */
    min-height: 100%;
}

.ailan-home .swiper-wrapper {
    height: calc(70vh - 100px) !important;
}

.ailan-home_stats {
    min-height: calc(30vh - 100px) !important;
}

main {
    width: 100%;
    overflow-x: hidden;
}

.ailan-home_stats_main {
    width: 70% !important;
}

.sc_button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ailan-services_item {
    width: 100%;
    height: 256px;
    /* aspect-ratio: 1 / 1; */
    border-radius: 1rem;
    overflow: hidden;
}

.aspect-square {
    aspect-ratio: 1 / 1;
    height: auto;
}

@media all and (max-width: 768px) {

    .ailan-home_stats_main {
        padding-bottom: 2rem;
    }

    .container {
        width: 100%;
    }

    .ailan-form img {
        display: none;
    }

    .ailan-home_content {
        h1 {
            font-size: 1.5rem;
            font-weight: 500;
            padding-inline: 1rem;
        }
    }

    .ailan-about_img-stat {
        position: absolute;
        background: var(--bg3);
        color: var(--text1);
        bottom: 40;
        padding: .5rem 1rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .75rem;
        background-color: goldenrod;
        color: black !important;
        border-bottom-right-radius: 1rem;

        >div {
            font-weight: 700 !important;
        }
    }

    .ailan-about_img-stat * {
        font-weight: 100;
        font-size: 1rem !important;
    }

    .ailan-about img {
        padding-left: 0;
        padding-bottom: 0;
        border-radius: 1rem;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    .ailan-about_stat {
        padding: 0 !important;
        height: auto !important;
    }

    header {
        height: 65px !important;
        padding: 0 !important;

        ul {
            width: 100% !important;

            a.nav-link {
                text-transform: uppercase !important;
                font-size: 1.5rem !important;
                font-weight: 100 !important;
            }
        }
    }

    .offcanvas-body {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-direction: column;
        background-color: #2d2d2d;
    }

    .offcanvas {
        height: 100vh !important;
    }

    header {
        width: 100vw !important;
    }

    .other_items {
        flex-grow: unset !important;
        width: 100%;
        justify-content: space-between !important;

        a {
            margin: 0 !important;
        }
    }
}

.offcanvas {
    z-index: 99999 !important;
}

.offcanvas-header {
    background-color: #1d1d1d !important;
    height: 65px !important;

    .btn-close {
        width: 50px;
        height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
}

header {
    background-color: #0B2E47 !important;
    -webkit-backdrop-filter: saturate(200%) blur(1rem);
    backdrop-filter: saturate(200%) blur(1rem);
    padding: 0 !important;
    height: 72px !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);

    ul li a {
        text-decoration: none !important;
        color: white;
        padding: 1rem !important;

        &:hover {
            color: goldenrod !important;
        }
    }
}

header+main:has(.ailan-home) {
    margin-top: -72px !important;
}

.other_items {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

header a {
    text-decoration: none !important;
}

body {
    padding-right: 0 !important;
}


.overflow-container {
    border-radius: 1rem !important;
    overflow: hidden !important;
}

.ailan-services_item {
    border-radius: 1rem;
    border-image: fill 0 linear-gradient(180deg, #00000033 50%, #000 90%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    cursor: pointer;

    &:hover {
        border-image: fill 0 linear-gradient(180deg, #0B2E4766 60%, #0B2E47 90%);
    }
}


.ailan-services_item p {
    position: absolute;
    bottom: 0;
    margin: 0;
    padding: 1.5rem 2rem;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    font-size: 1rem;
    transition: all .35s ease-in-out !important;
    text-align: start;
}

@media all and (max-width: 768px) {
    .ailan-services_item p {
        padding: 1rem !important;
    }
}

.ailan-services_item:hover p {
    color: white !important;
    height: 100%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transition: all .35s ease-in-out !important;
}

/* .agen-chat {
    display: none !important;
}

.agen-tel {
    display: none !important;
} */

section#contacts {
    *:not(strong, b, h1, h2, h3, h4, h5, h6) {
        font-weight: 400 !important;
    }

    a:not(:has(i)):not(.btn) {
        color: var(--bs-link-color) !important;

        &:hover {
            color: var(--bs-link-hover-color) !important;
            text-decoration: underline !important;
        }
    }
}

:root {
    --scrollbar-color-thumb: #0B2E47;
    --scrollbar-color-track: #fff;
    --scrollbar-width: thin;
    --scrollbar-width-legacy: 0.5rem;
}

body::-webkit-scrollbar {
    width: 0.5rem;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-color-thumb);
    border-radius: 0;
}

body::-webkit-scrollbar-track {
    background-color: var(--scrollbar-color-track);
    border-radius: 0;
}

@supports not selector(::-webkit-scrollbar) {
    html {
        scrollbar-width: thin;
        scrollbar-color: var(--scrollbar-color-thumb) var(--scrollbar-color-track);
    }
}

.form-bg {
    background-image: url(https://support-agency.kz/assets/bg-form1.webp);
    background-size: cover;
    background-attachment: fixed;
    border-image: fill 0 linear-gradient(180deg, #0B2E4766 0%, #0B2E47 100%);
}

.form2-bg {
    background-image: url(https://support-agency.kz/assets/f2.webp);
    background-size: cover;
    background-attachment: fixed;
    border-image: fill 0 linear-gradient(-90deg, #0B2E4766 0%, #0B2E47 100%);
}

.modal-backdrop {
    /* --bs-backdrop-zindex: 1050; */
    /* --bs-backdrop-bg: #000; */
    --bs-backdrop-opacity: 1;
    -webkit-backdrop-filter: saturate(100%) blur(1rem);
    backdrop-filter: saturate(100%) blur(1rem);
    background: linear-gradient(180deg, #daa52066 0%, #0B2E47bb 100%) !important;
}

.ailan-feedback .swiper-wrapper {
    height: 100%;
}

.ailan-feedback_nav {
    display: inline-flex;
    gap: 1rem;
}

.ailan-feedback_nav>i {
    padding: 1rem;
    margin-inline: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all .35s ease-in-out !important;

    &:hover {
        font-size: 0.8rem;
        color: gold;
        border-color: gold;
    }
}

.col-md-9:has(.swiper-slide.card) {
    border-radius: 1rem !important;
    overflow: hidden;
}

.swiper-slide.card {
    border-radius: 1rem !important;
}

.ailan-about {
    margin-bottom: 0 !important;
}

.light_gradient_bg {
    background: linear-gradient(to bottom, #ffffff 0%, #E0E8FF 100%) !important;
}

svg text {
    font-size: 3rem !important;
}

.ailan-feedback .ailan-title1 {
    margin-top: 0;
}

footer a:has(svg):hover {
    color: white !important;
}

footer {
    /* background-color: #071e2f !important; */
    background-image: linear-gradient(45deg, #071e2f 0%, #0B2E47 100%) !important;
}


article {
    padding-inline: var(--padding, 1rem);

    *:not(h1, h2, h3, h4, h5, h6) {
        font-size: var(--font-size, 1rem);
        line-height: 1.5;
        font-weight: normal;
        font-size: 1.25rem;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin-block: 2rem !important;
    }

    p {
        margin: 1rem 0;
    }

    img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 4;
        -o-object-fit: cover;
        object-fit: cover;
        border-radius: var(--border-radius, 1rem);
    }

    @media all and (max-width: 768px) {
        img {
            aspect-ratio: 16 / 9 !important;
        }
    }
}

body:has(article) h1 {
    font-size: 1.75rem !important;
}

.video_frame {
    aspect-ratio: 16 / 9;
    width: 100% !important;
    height: auto !important;
    transition: all .35s ease-in-out !important;

    &:hover {
        box-shadow: 0 .5rem 1rem rgba(33, 66, 99, 0.33) !important;
    }
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
}

.desktop-only {
    display: block !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    html, body {
        overflow-x: hidden;
        width: 100vw;
    }
}
.ailan-about a {
    text-decoration: underline;
}
.sts-img {
    width: 100% !important;
    text-align: center !important;
    height: auto !important;
}
@media (max-width: 720px) {
    .sts-img {
        width: 100% !important;
        text-align: center !important;
        height: auto !important;
    }
}