:root {
    --color-background: rgba(255, 255, 255, 1);
    --color-secondary-background: rgba(39, 53, 175, 1);
    --color-text: rgba(0, 0, 0, 0.98);
    --color-secondary-text: rgba(112, 118, 128, 1);
    --color-mobile-menu: rgba(255, 255, 255, 1);
    --header-height-desktop: 80px;
    --header-height-mobile: 70px;
    --transition-default: 0.6s ease;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400;
    src: url(../../assets/fonts/Plus_Jakarta_Sans/PlusJakartaSans-Regular.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: italic;
    font-weight: 400;
    src: url(../../assets/fonts/Plus_Jakarta_Sans/PlusJakartaSans-Italic.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    src: url(../../assets/fonts/Plus_Jakarta_Sans/PlusJakartaSans-Bold.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Amiri';
    font-style: normal;
    font-weight: 400;
    src: url(../../assets/fonts/Amiri/Amiri-Regular.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Amiri';
    font-style: italic;
    font-weight: 400;
    src: url(../../assets/fonts/Amiri/Amiri-Italic.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url(../../assets/fonts/Montserrat/Montserrat-Regular.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: url(../../assets/fonts/Montserrat/Montserrat-Italic.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url(../../assets/fonts/Montserrat/Montserrat-Bold.ttf) format('truetype');
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header {
    background-color: var(--color-background);
    padding: 10px 60px;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.11);
    position: fixed;
    width: 100%;
    height: var(--header-height-desktop);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    overflow: visible;
}

.header-container {
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-title {
    color: rgba(5, 6, 21, 1);
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0%;
}

.nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary-background);
    transition: width var(--transition-default);
}

.nav-link:not(.dropdown-toggle):hover::after,
.nav-link:not(.dropdown-toggle).active::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    width: 12px;
    margin-top: 6px;
    transition: transform 0.3s ease;
}

/* .dropdown:hover .dropdown-arrow, */
.dropdown.active .dropdown-arrow {
    transform: rotate(-180deg);
}

.dropdown-menu {
    background-color: var(--color-background);
    color: var(--color-secondary-text);
    border-radius: 12px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 10px 0;
    z-index: 1001;
    box-shadow: -2px 2px 6px 0px rgba(216, 217, 218, 1);
    border: 0.2px solid rgba(177, 178, 181, 1)
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    text-decoration: none;
    color: var(--color-secondary-text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    padding: 8px 20px;
    display: block;
    white-space: nowrap;
}

.dropdown-item:hover {
    color: var(--color-text);
}

.dropdown-menu .dropdown-item.active {
    color: var(--color-text);
    font-weight: 600;
    color: rgba(81, 84, 88, 0.91);
    background-color: rgba(42, 42, 42, 0.096);
    border-radius: 10px;
    margin: 0 2px;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    position: absolute;
    border-radius: 20px;
    height: 3px;
    width: 70%;
    background: var(--color-text);
    transition: var(--transition-default);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

.blur-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgb(0 0 0 / .2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-default), visibility var(--transition-default);
}

.blur-background.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 786px) {
    .header {
        height: var(--header-height-mobile);
        padding: 8px 20px;
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.11);

    }

    .header.menu-open {
        background-color: var(--color-mobile-menu);
        z-index: 1001;
    }

    .logo img {
        width: 22px;
    }

    .logo-title {
        font-size: 18px;
        font-weight: 600;
    }

    .nav {
        width: 100%;
    }

    .hamburger {
        display: block;
        width: 20px;
    }

    .hamburger span {
        height: 2px;
        width: 20px;
    }

    .nav-links {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        gap: 1rem;
        flex-direction: column;
        align-items: start;
        padding: 5rem 0 2rem;
        transition: var(--transition-default);
        background: var(--color-mobile-menu);
        z-index: 1000;
    }

    .nav-links.active {
        top: var(--header-height-mobile);
        padding: 1rem;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding: 0;
        background: none;
        border: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu .dropdown-item.active {
        color: rgba(81, 84, 88, 0.91);
        background-color: transparent;
        border-radius: 0;
        margin: 0;
    }

    .dropdown-item {
        font-size: 16px;
        padding: 8px 0;
    }

    .nav-links .dropdown-menu {
        display: none !important;
    }

    .nav-links .dropdown.active .dropdown-menu {
        display: block !important;
    }
}