:root {
    --Base-100: #FFFFFF;
    --Base-200: #EDEEF0;
    --Base-300: #9098A0;
    --Base-400: #555E67;
    --Base-500: #31373D;
    --Base-600: #1D1E20;

    --Blue-100: #F5F8FE;
    --Blue-200: #D9E5FC;
    --Blue-300: #B3CCFA;
    --Blue-400: #79A5F6;
    --Blue-500: #538BF3;
    --Blue-600: #266DF0;

    --Dark-100: #F4F5F6;
    --Dark-200: #D3D5D9;
    --Dark-300: #B2B6BD;
    --Dark-400: #9CA1AA;
    --Dark-500: #4B4F58;
    --Dark-600: #232529;
}

@font-face {
    font-family: Gilroy;
    src: url(../font/gilroy/Gilroy-SemiBold.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: #fff;
    color: #31373D;
    font-weight: 300;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button:hover {
    cursor: pointer;
}

.buttonPrimary {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    padding: 11px 16px;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid var(--Base-400, #555E67);
    background: var(--Base-600, #1D1F20);
    color: var(--Base-100, #FFF);
    text-decoration: none;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.2px;
}

.buttonPrimary:disabled {
    border: 1px solid var(--Base-400, #555E67);
    opacity: 0.6;
    background: var(--Base-600, #1D1F20);
    cursor: not-allowed;
}

.buttonSecondary {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 16px;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid var(--Base-200, #EDEEF0);
    background: var(--Base-100, #FFF);
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.2px;
}

.buttonMedium {
    padding: 7px 16px;
}

/* Alternative Dropdown Menu Styles with Centered Full-Width Approach */

/* Position relative for the dropdown parent */
.headerNav ul li.dropdown {
    position: static; /* This is the key change - allows full-width dropdown */
}

/* Small arrow styling */
.dropdown-arrow {
    font-size: 10px;
    margin-left: 3px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Basic dropdown menu styling - Full width approach */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--Base-100, #FFF);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 12px 12px;
    padding: 24px 94px; /* Match your site's side padding */
    z-index: 100;
    margin-top: 0;
    border-top: 1px solid var(--Base-200, #EDEEF0);
}

/* Grid layout for the dropdown items */
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Show dropdown only on hover/focus for desktop */
.headerNav ul li.dropdown:hover .dropdown-menu,
.headerNav ul li.dropdown:focus-within .dropdown-menu {
    display: block;
}

.headerNav ul li.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown item styling */
.dropdown-item {
    background: var(--Dark-100, #F4F5F6);
    border-radius: 10px;
    transition: all 0.2s ease;
    height: 100%;
}

.dropdown-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.dropdown-item a {
    display: block;
    padding: 16px;
    color: var(--Base-600, #1D1F20);
    text-decoration: none;
    height: 100%;
}

.dropdown-item h4 {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    margin-bottom: 6px;
    color: var(--Base-600, #1D1F20);
}

.dropdown-item p {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1px;
    color: var(--Base-400, #555E67);
    margin: 0;
}

/* Mobile styling */
@media only screen and (max-width: 767px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        width: 100%;
        margin: 0;
        padding: 0 0 12px 0;
        display: none;
        border-radius: 0;
        border: none;
        background: transparent;
    }

    .dropdown-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .headerNav ul li.dropdown {
        width: 100%;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        margin: 0 16px;
    }

    .dropdown-item a {
        padding: 12px;
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
}

