@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ================= TOP COLOR STRIP ================= */

.top-strip {
    width: 100%;
    height: 25px;
    display: flex;
    gap: 2px;
    overflow: hidden;
}

.top-strip span {
    height: 100%;
    display: block;
}

.strip-one {
    background: #193c68;
    flex: 1;
}

.strip-two {
    background: #0877bd;
    width: 11%;
}

.strip-three {
    background: #21a9df;
    width: 6%;
}

.strip-four {
    background: #8bd5e8;
    width: 2.7%;
}

/* ================= HEADER ================= */

.main-header {
    width: 100%;
    background: #fff;
    position: sticky;
    top: 0;
    padding-top: 50px;
    z-index: 999;
    transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.header-container {
    width: 68%;
    max-width: 1400px;
    min-height: 100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

/* ================= LOGO ================= */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 238px;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 238px;
    object-fit: contain;
}

/* Mobile */
@media (max-width: 480px) {
    .logo {
        width: 205px;
    }

    .logo img {
        max-width: 205px;
    }
}

/* ================= DESKTOP NAVIGATION ================= */

.navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 39px;
    list-style: none;
}

.nav-list li {
    position: relative;
}

.nav-list li>a {
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    color: #080808;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.nav-list li>a:hover {
    color: #0877bd;
}

/* ================= DROPDOWN ================= */

.arrow {
    width: 5px;
    height: 5px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(45deg);
    margin-top: -5px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    padding: 12px 0;
    margin-top: 20px;

    background: #fff;
    list-style: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-menu li a {
    font-family: "Poppins", sans-serif;
    display: block !important;
    padding: 10px 18px;
    font-size: 14px !important;
}

.has-dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover>a .arrow {
    transform: rotate(225deg);
    margin-top: 5px;
}


/* ================= DROPDOWN ================= */

.has-dropdown,
.has-subdropdown {
    position: relative;
}

.dropdown-menu,
.sub-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 220px;
    padding: 10px 0;

    background: #fff;
    list-style: none;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all 0.25s ease;
    z-index: 999;
}

.dropdown-menu {
    margin-top: 10px;
}

/* Dropdown links */

.dropdown-menu li,
.sub-dropdown-menu li {
    position: relative;
    width: 100%;
}

.dropdown-menu li>a,
.sub-dropdown-menu li>a {
    font-family: "Poppins", sans-serif;

    display: flex !important;
    align-items: center;
    justify-content: space-between;

    padding: 11px 18px;
    font-size: 14px !important;
    color: #222;
    text-decoration: none;
}

.dropdown-menu li>a:hover,
.sub-dropdown-menu li>a:hover {
    background: #f2f6fa;
    color: #0877bd;
}

/* First dropdown */

.has-dropdown:hover>.dropdown-menu,
.has-dropdown.open>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Second level dropdown */

.sub-dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 2px;
    transform: translateX(10px);
}

.has-subdropdown:hover>.sub-dropdown-menu,
.has-subdropdown.open>.sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Arrow direction */

.subdropdown-toggle .arrow {
    transform: rotate(-45deg);
    margin-right: 5px;
    margin-top: 0;
}

/* ================= MOBILE DROPDOWNS ================= */

@media (max-width: 991px) {

    .dropdown-menu,
    .sub-dropdown-menu {
        position: static;
        width: 100%;
        min-width: 100%;

        display: none;

        opacity: 1;
        visibility: visible;
        transform: none;

        box-shadow: none;
        margin: 0;
        padding: 0 0 5px 15px;

        background: #f7f9fb;
    }

    .has-dropdown.open>.dropdown-menu {
        display: block;
    }

    .has-subdropdown.open>.sub-dropdown-menu {
        display: block;
    }

    .dropdown-menu li>a,
    .sub-dropdown-menu li>a {
        padding: 11px 15px;
        font-size: 13px !important;
    }

    .subdropdown-toggle .arrow {
        transform: rotate(45deg);
        margin-top: -5px;
    }

    .has-subdropdown.open>.subdropdown-toggle .arrow {
        transform: rotate(225deg);
        margin-top: 5px;
    }

}


/* ================= MOBILE TOGGLE ================= */

.menu-toggle {
    display: none;
    width: 35px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.menu-toggle span {
    width: 27px;
    height: 2px;
    background: #193c68;
    transition: all 0.3s ease;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1200px) {

    .header-container {
        width: 90%;
    }

    .nav-list {
        gap: 22px;
    }

    .nav-list li>a {
        font-size: 14px;
    }
}

@media (max-width: 991px) {

    .header-container {
        width: 90%;
        min-height: 90px;
    }

    .menu-toggle {
        display: flex;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        background: #fff;
        padding: 0 5%;

        max-height: 0;
        overflow: hidden;
        visibility: hidden;

        transition: max-height 0.4s ease,
            padding 0.4s ease,
            visibility 0.4s ease;
    }

    .navigation.active {
        max-height: 80vh;
        overflow-y: auto;
        visibility: visible;
        padding-top: 15px;
        padding-bottom: 20px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #eeeeee;
    }

    .nav-list li>a {
        width: 100%;
        padding: 13px 5px;
        justify-content: space-between;
        font-size: 14px;
    }

    /* Mobile dropdown */

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0;
        padding: 0 0 10px 15px;
        min-width: 100%;
        background: #f8fafc;
    }

    .has-dropdown.open>.dropdown-menu {
        display: block;
    }

    .has-dropdown:hover>.dropdown-menu {
        transform: none;
    }

    .has-dropdown:hover>a .arrow {
        transform: rotate(45deg);
        margin-top: -5px;
    }

    .has-dropdown.open>a .arrow {
        transform: rotate(225deg);
        margin-top: 5px;
    }

    .dropdown-menu li {
        border: none;
    }

    .dropdown-menu li a {
        padding: 10px 15px;
        font-size: 13px !important;
    }

    /* Hamburger animation */

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 480px) {

    .top-strip {
        height: 16px;
    }

    .header-container {
        width: 90%;
        min-height: 80px;
    }

    .logo {
        width: 205px;
    }

    .logo-title {
        font-size: 21px;
    }

    .logo-subtitle {
        font-size: 10px;
        letter-spacing: 3.8px;
    }

    .logo-bars {
        width: 205px;
        height: 11px;
    }
}


@media (max-width: 1600px) {

    .header-container {
        width: 80%;
    }

}

@media (max-width: 1500px) {
    .header-container {
        width: 86%;
    }
}

@media (max-width: 1460px) {
    .header-container {
        width: 89%;
    }
}

@media (max-width: 1360px) {
    .header-container {
        width: 94%;
    }
}