/* =========================================================
   ZUBILLANT
   Homepage + Common Layout Styles
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.container-main {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}


/* =========================================================
   HERO
========================================================= */

.hero-grid {
    background-image: linear-gradient( rgba(18, 59, 93, 0.035) 1px, transparent 1px), linear-gradient( 90deg, rgba(18, 59, 93, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
}


/* =========================================================
   DESKTOP NAVBAR DROPDOWNS
========================================================= */

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
    transform: rotate(180deg);
}


/* Dropdown Simple Links */

.dropdown-simple-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    color: #172A35;
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-simple-link:hover {
    background: #F0F8FB;
    color: #147AA5;
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-main-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 13px 4px;
    border-bottom: 1px solid #EDF3F5;
    color: #172A35;
    font-size: 14px;
    font-weight: 700;
}

.mobile-main-link:hover {
    color: #147AA5;
}


/* Mobile Dropdown */

.mobile-dropdown {
    border-bottom: 1px solid #EDF3F5;
}

.mobile-dropdown-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 4px;
    color: #172A35;
    font-size: 14px;
    font-weight: 700;
}

.mobile-dropdown-content {
    padding: 0 0 12px 12px;
}

.mobile-dropdown-content a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: #667780;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s ease;
}

.mobile-dropdown-content a:hover {
    background: #F0F8FB;
    color: #147AA5;
}

.mobile-dropdown-label {
    padding: 8px 12px 4px;
    color: #168FC1;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.mobile-chevron {
    transition: transform 0.2s ease;
}

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


/* =========================================================
   RESPONSIVENESS
========================================================= */

@media (max-width: 1279px) {
    .container-main {
        width: min(1120px, calc(100% - 40px));
    }
}

@media (max-width: 1023px) {
    .container-main {
        width: calc(100% - 40px);
    }
}

@media (max-width: 639px) {
    .container-main {
        width: calc(100% - 28px);
    }
}

@media (max-width: 374px) {
    .container-main {
        width: calc(100% - 24px);
    }
}