.menu-fixed {
     /* position: fixed;
    background-color: #f2f9fe;
    width: 100%;
    left: 0;
    top: 5px;
    z-index: 9999;
    height: 120px; */
}

.exam-btn-anim {
    font-weight: 600;
    box-shadow: 0 0 0 18px transparent;
    -webkit-animation: inf-pulse 1s;
    -moz-animation: inf-pulse 1s;
    -o-animation: inf-pulse 1s;
    animation: inf-pulse 1s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@keyframes inf-pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 var(--main-color);
        -moz-box-shadow: 0 0 0 0 var(--main-color);
        -o-box-shadow: 0 0 0 0 var(--main-color);
        box-shadow: 0 0 0 0 var(--main-color);
    }
}

.header-slider {
    position: relative;
}

.bg-color {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.sidebar-btn {
    display: none;
}

.menu .navbar-collapse {
    flex-grow: inherit;
}

.menu .navbar-brand {
    width: 290px;
    padding: 0;
}

.menu .navbar-brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu .read-more,
.sidebar-nav .read-more {
    width: 155px;
    height: 55px;
    color: var(--white-color);
    background: linear-gradient(90deg, var(--orange-color) 50%, #347BB3 0) var(--_p, 100%)/200% no-repeat;
}

.menu .read-more:hover {
    color: var(--white-color);
}

.menu-contact-btn:hover {
    color: var(--black-color);
}

.nav-item .nav-link {
    font-size: 18px;
    font-weight: 500;
    color: var(--white-color);
    margin-right: 40px;
    padding: 0;
    white-space: nowrap;
}

.nav-item:hover .nav-link {
    color: #fff;
}

.navbar-nav .dropdown-toggle::after {
    color: var(--white-color);
    border-top: 0.4em solid;
    border-right: 0.4em solid transparent;
    border-left: 0.4em solid transparent;
    vertical-align: 0.155em;
}

.navbar-nav .dropdown-menu {
    background-color: rgba(255, 255, 255, .9);
    padding: 20px 15px;
    border-radius: 16px;
    border: none;
    z-index: 9 !important;
}

.navbar-nav .dropdown-menu .dropdown-item {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 400;
    color: #172A14;
}

.navbar-nav .dropdown-menu .dropdown-item:active,
.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #347BB321;
    border-radius: 16px;
    color: #347BB3;
}

@media only screen and (max-width: 1400px) {
    .nav-item .nav-link {
        margin-right: 30px;
    }
}

@media only screen and (max-width: 1200px) {
    .menu .navbar-brand {
        width: auto;
    }

    .nav-item .nav-link {
        font-size: 16px;
    }

    .menu .read-more {
        font-size: 12px;
        height: 40px;
    }
}

@media only screen and (max-width: 991px) {
    .menu .language {
        display: none;
    }

    .menu .read-more {
        display: none;
    }

    .menu-btn {
        display: none;
    }

    .menu .container-fluid {
        flex-wrap: nowrap;
    }

    .sidebar-nav {
        position: relative;
    }

    .sidebar-nav .close-btn {
        position: absolute;
        background-color: transparent;
        left: -15%;
        border: 2px solid #fff;
        border-radius: 5px;
    }

    .sidebar-nav .offcanvas-title {
        width: 134px;
        height: 26px;
    }

    .offcanvas-backdrop {
        background-color: var(--button-and-icon-bg-color);
    }

    .offcanvas-backdrop.show {
        opacity: 0.9;
    }

    .sidebar-nav .offcanvas {
        padding: 40px;
    }

    .sidebar-nav .offcanvas .offcanvas-body {
        overflow-y: visible;
    }

    .sidebar-btn {
        display: block;
        background-color: transparent;
    }

    .sidebar-nav .read-more {
        width: 100%;
        margin-top: 40px;
    }

    .sidebar-nav .nav-item {
        width: 100%;
    }

    .sidebar-nav .nav-link {
        background-color: #FBFCFC;
        height: 50px;
        margin-bottom: 10px;
        line-height: 50px;
        border-radius: 16px;
        padding: 0 20px;
        color: #172A14;
    }

    .sidebar-nav .nav-link:focus-visible {
        outline: 0;
        box-shadow: none;
    }

    .sidebar-nav .nav-item:hover .nav-link {
        color: var(--main-color);
    }

    .sidebar-nav .navbar-nav {
        margin-top: 50px;
    }

    .sidebar-nav .navbar-nav .dropdown-menu {
        position: inherit !important;
        transform: none !important;
    }

    .sidebar-nav .navbar-nav .dropdown-toggle::after {
        color: #000;
    }

    .search-mobile {
        position: relative;
    }

    .search-mobile input {
        background-color: #FBFCFC;
        border-radius: 10px;
    }

    .search-mobile img {
        position: absolute;
        top: 50%;
        right: 3%;
        transform: translateY(-50%);
        width: 22px;
        height: 22px;
        filter: brightness(0);
    }
}

@media only screen and (max-width: 768px) {
    .menu .navbar-brand {
        width: 220px;
    }
}

@media only screen and (max-width: 576px) {
    .sidebar-nav .close-btn {
        left: -40px;
    }

    .menu .container-fluid {
        padding: 0;
    }
}

@media only screen and (max-width: 450px) {
    .sidebar-nav .offcanvas {
        width: 300px;
    }

    .sidebar-nav .close-btn {
        left: -50px;
    }
}

@media only screen and (max-width: 360px) {
    .sidebar-nav .close-btn {
        left: -30px;
    }
}

/* trainings.css-dən menu ilə bağlı gələn responsive override-lar */
@media screen and (min-width: 991px) and (max-width: 2100px) {
    .nav-item .nav-link {
        font-size: 20px !important;
    }
}

@media screen and (min-width: 991px) and (max-width: 1920px) {
    .nav-item .nav-link {
        margin-right: 30px !important;
    }
}

@media screen and (min-width: 991px) and (max-width: 1840px) {
    .nav-item .nav-link {
        margin-right: 20px !important;
    }
}

@media screen and (min-width: 991px) and (max-width: 1800px) {
    .nav-item .nav-link {
        font-size: 18px !important;
    }

    .useful-link-item {
        height: 110px;
    }
}

@media screen and (min-width: 991px) and (max-width: 1640px) {
    .search-input {
        font-size: 14px;
        margin-right: 5px;
        width: 120px;
    }

    .search-item img {
        width: 30px;
        height: 30px;
        margin-right: 20px;
    }
}

@media screen and (min-width: 991px) and (max-width: 1550px) {
    .nav-item .nav-link {
        margin-right: 10px !important;
        font-size: 17px !important;
    }

    .search-input {
        font-size: 14px;
        width: 120px;
    }

    .search-item img {
        margin-right: 20px;
    }
}

@media screen and (min-width: 991px) and (max-width: 1420px) {
    .nav-item .nav-link {
        font-size: 16px !important;
    }

    .useful-link-item {
        height: 80px;
    }
}

@media screen and (min-width: 991px) and (max-width: 1380px) {
    .useful-link-item {
        width: 80%;
    }

    .menu .read-more,
    .sidebar-nav .read-more.exam-btn-anim {
        width: 100px;
    }

    .search-input {
        font-size: 12px;
        margin-right: 5px;
        width: 100px;
    }

    .search-item img {
        width: 25px;
        height: 25px;
        margin-right: 10px;
    }
}

@media screen and (min-width: 991px) and (max-width: 1300px) {
    .nav-item .nav-link {
        font-size: 14px !important;
    }

    .useful-link-item {
        height: 60px;
    }
}

@media screen and (min-width: 991px) and (max-width: 1199px) {
    .header-bottom-item-icon {
        margin-right: 10px;
    }

    .header-bottom-item:not(:last-child) {
        margin-right: 10px;
    }

    .nav-item .nav-link {
        font-size: 12px !important;
    }

    .useful-link-item {
        height: 60px;
    }

    .menu .read-more,
    .sidebar-nav .read-more.exam-btn-anim {
        height: 36px;
    }

    .search-input {
        height: 30px;
    }
}

@media screen and (min-width: 991px) and (max-width: 1099px) {
    header .carousel .menu {
        right: 0;
    }

    .nav-item .nav-link {
        font-size: 12px !important;
    }

    .menu .read-more,
    .sidebar-nav .read-more.exam-btn-anim {
        width: 70px;
    }

    .search-input {
        width: 90px;
        height: 30px;
    }

    .search-item img {
        width: 20px;
        height: 20px;
    }
}

@media screen and (min-width: 320px) and (max-width: 768px) {
    .useful-link-item {
        width: 80%;
        height: 40px;
    }
}
