header {
    position: fixed;
    width: 100%;
    z-index: 20;
}

header nav {
    position: relative;
    z-index: 99;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6.45px);
    transition: all 0.5s ease;
    box-shadow: 0px 2px 4px 0px rgb(96 96 96 / 13%);
}

header nav.fixed-top {
    box-shadow: 0px 2px 4px 0px rgb(96 96 96 / 13%);
}

header nav .wrapper {
    position: relative;
    height: 83px;
    line-height: 83px;
}

.wrapper .logo img {
    width: 177px;
    transition: all 0.6s ease;
}

header nav.fixed-top .wrapper .logo img {
    width: 137px;
}

header nav.fixed-top .wrapper {
    height: 70px;
    line-height: 70px;
}

.wrapper .nav-links {
    display: inline-flex;
}

.nav-links li a {
    font-weight: 500;
    padding: 9px 15px;
    transition: all 0.3s ease;
    color: #535353;
}

.nav-links li {
    position: relative;
}

.nav-links li a:hover {
    color: #003C82;
}

.nav-links .mobile-item {
    display: none;
}

.nav-links .drop-menu {
    position: absolute;
    background: #003C82;
    width: 250px;
    line-height: 45px;
    /* top: 85px; */
    top: 100%;
    opacity: 0;
    visibility: hidden;
    font-weight: 500;
    box-shadow: 0 1px 4px rgb(0 0 0 / 13%);
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.nav-links .menu_1 {
    width: 314px;
}

.nav-links li:hover .drop-menu {
    transition: all 0.3s ease;
    /* top: 83px; */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.drop-menu .sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    background: #003C82;
    min-width: 363px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.drop-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* header nav.fixed-top .nav-links li:hover .drop-menu {
    top: 70px;
} */

.drop-menu li {
    transition: all 0.5s ease;
    color: white;
}

.drop-menu li:hover {
    background-color: #d3e3ff15;
}

.drop-menu li a {
    width: 100%;
    display: block;
    padding: 0 0 0 15px;
    border-radius: 0px;
    transition: all 0.5s ease;
    color: white;
}

.drop-menu li a:hover {
    padding-left: 18px;
    color: #01E8FF;
}

.wrapper .btn {
    color: #fff !important;
    font-size: 22px !important;
    cursor: pointer;
    display: none;
}

.wrapper .btn.close-btn {
    position: absolute;
    right: 6px;
    top: 10px;
    font-size: 22px !important;
}

nav input {
    display: none;
}

header .navigation {
    -webkit-transition: .5s;
    -moz-transition: position 10s;
    -ms-transition: position 10s;
    -o-transition: position 10s;
    transition: .5s
}

.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    animation: 1.5s forwards smoothScroll;
}

@keyframes smoothScroll {
    0% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(0);
    }
}

@media only screen and (max-width: 1400px) {
    .wrapper .logo img {
        width: 177px;
    }

    header nav .wrapper {
        height: 68px;
    }

    .nav-links li:hover .drop-menu {
        top: 76px;
    }

    header nav.fixed-top .nav-links li:hover .drop-menu {
        top: 70px;
    }

    .nav-links li a {
        font-size: 14px;
    }

    .topheaddetails {
        font-size: 12px;
    }
}

@media screen and (max-width: 1300px) {
    .wrapper .logo img {
        width: 140px;
    }

    header nav.fixed-top .wrapper .logo img {
        width: 114px;
    }
}

@media screen and (max-width: 1100px) {
    .topheaddetails {
        font-size: 11px;
    }

    .wrapper .logo img {
        width: 165px;
    }

    .nav-links .drop-menu {
        line-height: normal;
    }

    .drop-menu li a {
        padding: 0 0 0 15px;
        padding: 11px 12px;
    }

    .nav-links li a {
        padding: 9px 10px;
    }
}

@media screen and (max-width: 992px) {
    .wrapper .btn {
        display: block;
    }

    header nav .wrapper {
        height: 57px;
    }

    header nav.fixed-top .wrapper {
        height: 52px;
    }

    .wrapper .logo img {
        width: 115px;
    }

    header nav.fixed-top .wrapper .logo img {
        width: 98px;
    }

    .wrapper .nav-links {
        position: fixed;
        height: 100vh;
        width: 100%;
        /* max-width: 350px; */
        max-width: 375px;
        top: 0;
        left: -100%;
        background: #002653;
        display: block;
        padding: 50px 0;
        line-height: 45px;
        overflow-y: auto;
        transition: all 0.5s ease;
        z-index: 150;
    }

    #menu_overlay {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background-color: rgb(0 0 0 / 70%);
        z-index: 90;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    #menu_overlay.active {
        opacity: 1;
        visibility: visible;
    }

    #menu-btn:checked~.menu-overlay {
        opacity: 1;
        visibility: visible;
    }

    #menu-btn:checked~.nav-links {
        left: 0%;
    }

    #menu-btn:checked~.btn.menu-btn {
        display: block;
    }

    .btn:hover {
        border: 1px solid transparent !important;
        box-shadow: none;
    }

    #close-btn:checked~.btn.menu-btn {
        display: block;
    }

    .nav-links li {
        margin: 15px 10px;
    }

    .nav-links li a {
        padding: 0 20px;
        padding-left: 10px;
        display: block;
        font-size: 16px;
        color: white;
    }

    .nav-links li a:hover {
        color: white;
    }

    .nav-links .drop-menu {
        position: static;
        opacity: 1;
        /* top: 65px; */
        /* top: 65px; */
        visibility: visible;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
        background: #001836;
        line-height: 45px;
        transform: translateY(0);
    }

    /* #showDrop:checked~.drop-menu,
    #showDrop1:checked~.drop-menu,
    #showDrop2:checked~.drop-menu,
    #showDrop3:checked~.drop-menu,
    #showDrop4:checked~.drop-menu,
    #showDrop5:checked~.drop-menu {
        max-height: 100%;
    } */

    .nav-links .desktop-item {
        display: none;
    }

    .nav-links .mobile-item {
        display: block;
        color: #f2f2f2;
        font-size: 16px;
        font-weight: 500;
        padding-left: 10px;
        transition: all 0.3s ease;
    }

    .drop-menu li {
        margin: 0;
        padding: 0px 0px;
        /* padding-left: 10px; */
        padding-left: 3px;
    }

    .drop-menu li a {
        border-radius: 5px;
        font-size: 16px;
    }

    /*****dropdown menu animation */
    .nav-links .drop-menu {
        transition: max-height 0.5s ease, padding 0.3s ease;
        overflow: hidden;
        max-height: 0;
        padding: 0 0;
    }

    /* Open state when checkbox is checked */
    #showDrop:checked~.drop-menu,
    #showDrop1:checked~.drop-menu,
    #showDrop2:checked~.drop-menu,
    #showDrop3:checked~.drop-menu,
    #showDrop4:checked~.drop-menu,
    #showDrop5:checked~.drop-menu {
        max-height: 1000px;
        padding: 10px 0;
    }

    .top_header {
        display: none;
    }

    /* for locking body scroll when slidable menu is opened */
    .no-scroll {
        overflow: hidden;
        height: 100vh;
        position: fixed;
        width: 100%;
    }

    /*****dropdown menu animation */

    .drop-menu .sub-menu {
        position: static;
        max-height: 0;
        overflow: hidden;
        background: #001836;
        transition: max-height 0.5s ease, padding 0.3s ease;
        padding: 0;
    }

    #showSub1:checked~.sub-menu,
    #showSub2:checked~.sub-menu {
        max-height: 500px;
        /* adjust as needed */
        padding: 10px 0;
    }

    .drop-menu>li>.desksub {
        pointer-events: none;
    }

    .drop-menu .sub-menu li a {
        font-size: 15px;
    }
}