/* NAVBAR */
@media (max-width: 991.98px) {
    /* BASE */
    #navbarSupportedContent {
        position: absolute;
        top: 65px;
        right: 0;
        background-color: var(--custom-darkblue);
        z-index: 15;
    }

    .navbar-nav {
        padding: 1em 1em 0;
    }

    .language-menu {
        padding: .5em 1em 1em;
        width: 100%;
        text-align: center;
    }
    /* END OF BASE */

    .header-anchor-bar {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .header-anchor-bar a {
        font-size: 16px !important;
        font-family: "OpenSans Regular", serif;
        padding: .5rem 1rem;
    }

    .language-select {
        display: flex;
        justify-content: center;
        padding: 1em 0;
    }

    .nav-link {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .language-select .dropdown-menu {
        right: 50%;
        transform: translateX(50%);
        margin-top: 0;
    }

    .footer-positions-btn {
        font-size: 17px;
    }

    .contacts-line .header-anchor-bar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}


@media (max-width: 575.98px) {
    /* BASE */
    .static-content ul {
        columns: 1;
    }
    /* END OF BASE */

    .general-padding {
        padding-top: 2em;
        padding-bottom: 2em;
    }

    .hero-text-block h1 {
        font-size: 20px;
    }

    .hero-text-block p {
        font-size: 14px;
    }

    .hero-text-inner {
        width: 100%;
    }

    .main-button, .secondary-button {
        padding: 0.4em 1.4em;
    }

    .main-hero,
    .main-hero img {
        height: 300px;
    }

    .service-block {
        width: 100%;
        max-width: 280px;
    }

    .why-us-container > img {
        width: 0;
    }

    .why-us-blocks-container .service-block {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    #splide .splide__slide {
        height: 350px;
    }

    #splide .prev, #splide .next {
        width: 30px;
    }

    #splide .splide__slide img {
        box-shadow: 0 0 3px 3px #00508F36;
    }

    .contact-card {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-card .name {
        font-size: 20px;
    }

    .contact-card .position {
        font-size: 16px;
    }

    .contact-card .contact-type {
        font-size: 17px;
    }

    .static-content h1 {
        font-size:2.5rem
    }
    .static-content h2 {
        font-size:2rem
    }
    .static-content h3 {
        font-size:1.75rem
    }
    .static-content h4 {
        font-size:1.5rem
    }
    .static-content h5 {
        font-size:1.25rem
    }
    .static-content h6 {
        font-size:1rem
    }

    .home-form-side {
        display: none;
    }

    .home-form-container {
        background: linear-gradient(90deg, rgba(45,45,45,1) 65%, rgba(32,32,32,1) 65%);
    }

    .subpage-header {
        height: 180px;
    }

    .subpage-header h1 {
        font-size: 24px;
    }

    .service-list-item {
        flex-direction: column;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-list-item img {
        width: 100%;
        height: 200px;
    }

    .certificate-item .certificate-name {
        font-size: 17px;
    }

    .home-services-container {
        padding-top: 3.5em;
        padding-bottom: 3.5em;
    }
}

/* SM */
@media (min-width: 576px) and (max-width: 767.98px) {
    .general-padding {
        padding-top: 3em;
        padding-bottom: 3em;
    }

    .hero-text-block h1 {
        font-size: 24px;
    }

    .hero-text-block p {
        font-size: 15px;
    }

    .service-block {
        width: calc(50% - 8px);
    }

    .why-us-container > img {
        width: 0;
    }

    #splide .splide__slide {
        height: 400px;
    }

    .home-form-side {
        display: none;
    }

    .home-form-container {
        background: linear-gradient(90deg, rgba(45,45,45,1) 65%, rgba(32,32,32,1) 65%);
    }

    .subpage-header {
        height: 220px;
    }

    .subpage-header h1 {
        font-size: 32px;
    }

    .service-list-item {
        flex-direction: column;
    }

    .service-list-item img {
        width: 100%;
        height: 250px;
    }

    .certificate-item .certificate-name {
        font-size: 20px;
    }

    .home-services-container {
        padding-top: 4em;
        padding-bottom: 4em;
    }
}

/* MD */
@media (min-width: 768px) and (max-width: 991.98px) {
    .general-padding {
        padding-top: 3em;
        padding-bottom: 3em;
    }

    .service-block {
        width: calc(33% - 9px);
    }

    #splide .splide__slide {
        height: 450px;
    }

    .subpage-header {
        height: 280px;
    }

    .subpage-header h1 {
        font-size: 37px;
    }

    .home-services-container {
        padding-top: 5em;
        padding-bottom: 5em;
    }
}

/* LG */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .subpage-header {
        height: 350px;
    }

    .subpage-header h1 {
        font-size: 42px;
    }

    .nav-link {
        padding-right: 0.2em !important;
        padding-left: 0.2em !important;
        margin-right: 0.2em !important;
        margin-left: 0.2em !important;
    }

    .home-services-container {
        padding-top: 9em;
        padding-bottom: 9em;
    }
}

/* XL */
@media (min-width: 1200px) {

}

@media (min-width: 1200px) and (max-width: 1399.98px) {

}

@media (min-width: 1400px) {

}
