
/* =========================================
   THEME VARIABLES
========================================= */

:root {
    --primary-color: #25A7B5;
    --primary-hover: #168F9D;

    --heading-color: #1E2B3A;
    --text-color: #68788F;

    --background-color: #FFFFFF;
    --soft-background: #E8F3FF;
    --search-background: #F2F8FC;

    --border-color: #E8EDF2;

    --font-family: 'Jost', sans-serif;
}


/* =========================================
   GLOBAL HEADER
========================================= */

.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
    background: var(--background-color);
    font-family: var(--font-family);
}

.header-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}


/* =========================================
   TOP INFORMATION BAR
========================================= */

.header-topbar {
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.topbar-left a,
.topbar-address {
    color: var(--text-color);
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
}

.topbar-icon {
    color: var(--primary-color);
    margin-right: 6px;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-social a {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.topbar-social a:hover {
    color: #FFFFFF;
    background: var(--primary-color);
    border-color: var(--primary-color);
}


/* =========================================
   MAIN HEADER
========================================= */

.header-main {
    background: #FFFFFF;
}

.header-main-inner {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* =========================================
   LOGO
========================================= */

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-logo img {
    display: block;
    width: 175px;
    max-height: 70px;
    object-fit: contain;
}


/* =========================================
   NAVIGATION
========================================= */

.header-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a,
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 15px 0;
    border: none;
    background: transparent;

    color: var(--heading-color);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;

    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;

    transition: color 0.2s ease;
}

.nav-list > li > a:hover,
.nav-dropdown-toggle:hover {
    color: var(--primary-color);
}


/* =========================================
   DROPDOWN ARROW
========================================= */

.dropdown-arrow {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 9px;
    margin-top: -4px;
    vertical-align: middle;
    transition: transform 0.25s ease;
}

.has-dropdown:hover > .nav-dropdown-toggle .dropdown-arrow,
.has-dropdown:focus-within > .nav-dropdown-toggle .dropdown-arrow,
.has-dropdown.open > .nav-dropdown-toggle .dropdown-arrow {
    transform: rotate(225deg);
    margin-top: 4px;
}


/* =========================================
   UNAVAILABLE NAVIGATION LINKS
   Keep the same appearance as normal links
========================================= */

.nav-disabled {
    display: block;
    padding: 8px 12px;

    color: var(--text-color);
    opacity: 1;

    cursor: default;
    pointer-events: none;

    font-size: inherit;
}

/* =========================================
   CONTACT BUTTON
========================================= */

.header-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 48px;
    padding: 0 22px;

    border-radius: 30px;
    background: var(--primary-color);

    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;

    transition: background 0.2s ease, transform 0.2s ease;
}

.header-contact-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.header-contact-btn span {
    font-size: 18px;
}


/* =========================================
   DROPDOWN BASE
========================================= */

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;

    display: none;
    padding: 18px;

    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary-color);

    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 30px rgba(30, 43, 58, 0.10);

    z-index: 1001;
}

.has-dropdown:hover > .nav-dropdown,
.has-dropdown:focus-within > .nav-dropdown,
.has-dropdown.open > .nav-dropdown {
    display: grid;
}


/* =========================================
   STANDARD DROPDOWN
========================================= */

.standard-dropdown {
    min-width: 210px;
    grid-template-columns: 1fr;
    padding: 10px 0;
}

.nav-dropdown a {
    display: block;
    padding: 8px 12px;

    color: var(--text-color);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;

    transition: all 0.2s ease;
}

.nav-dropdown a:hover {
    color: var(--primary-color);
    background: var(--soft-background);
    padding-left: 17px;
}


/* =========================================
   DIVISIONS MEGA MENU
========================================= */

.divisions-dropdown {
    width: 650px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    align-items: start;
}

.division-menu-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.dropdown-column {
    min-width: 0;
}

.dropdown-column h4 {
    margin: 0 0 8px;
    padding: 7px 12px;

    color: var(--heading-color);
    font-size: 15px;
    font-weight: 600;
}

.franchise_bold{
    padding: 0 !important;
}

.divisions-dropdown .dropdown-column a,
.divisions-dropdown .dropdown-column .nav-disabled {
    display: block;
    padding: 8px 12px;
}

.divisions-dropdown .dropdown-column a:hover {
    color: var(--primary-color);
    background: var(--soft-background);
    padding-left: 17px;
}


/* =========================================
   PCD FRANCHISE MEGA MENU
========================================= */

.pcd-dropdown {
    width: 560px;
    left: auto;
    right: 0;

    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pcd-dropdown .dropdown-column {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.mobile-menu-toggle {
    display: none;
    width: 45px;
    height: 45px;
    padding: 10px;

    border: none;
    border-radius: 50%;
    background: var(--soft-background);

    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 5px auto;

    background: var(--heading-color);
    transition: 0.3s ease;
}


/* =========================================
   RESPONSIVE HEADER
========================================= */

@media (max-width: 1200px) {

    .header-main-inner {
        gap: 18px;
    }

    .header-navigation {
        gap: 15px;
    }

    .nav-list {
        gap: 15px;
    }

    .nav-list > li > a,
    .nav-dropdown-toggle {
        font-size: 13px;
    }

    .header-logo img {
        width: 145px;
    }

    .header-contact-btn {
        padding: 0 16px;
    }
}


/* =========================================
   TABLET AND MOBILE NAVIGATION
========================================= */

@media (max-width: 992px) {

    .topbar-inner {
        padding: 10px 0;
        align-items: flex-start;
    }

    .topbar-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .header-main-inner {
        min-height: 80px;
        flex-wrap: wrap;
    }

    .header-logo img {
        width: 155px;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .header-navigation {
        display: none;
        width: 100%;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 0 0 20px;
    }

    .header-navigation.active {
        display: flex;
    }

    .nav-list {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-list > li {
        width: 100%;
        border-top: 1px solid var(--border-color);
    }

    .nav-list > li > a,
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 13px 5px;
        font-size: 15px;
    }

    .nav-dropdown,
    .divisions-dropdown,
    .standard-dropdown,
    .pcd-dropdown {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;

        grid-template-columns: 1fr;
        gap: 5px;

        border: none;
        border-top: 1px solid var(--border-color);
        border-radius: 0;
        box-shadow: none;

        padding: 10px;
    }

    .has-dropdown.open > .nav-dropdown {
        display: grid;
    }

    .division-menu-column {
        gap: 8px;
    }

    .header-contact-btn {
        align-self: flex-start;
    }
}


/* =========================================
   SMALL MOBILE SCREENS
========================================= */

@media (max-width: 576px) {

    .header-topbar {
        display: none;
    }

    .header-container {
        width: 92%;
    }

    .topbar-inner {
        flex-direction: column;
        gap: 10px;
    }

    .topbar-address {
        line-height: 1.6;
    }

    .topbar-social {
        padding-bottom: 5px;
    }

    .header-main-inner {
        min-height: 75px;
    }

    .header-logo img {
        width: 140px;
    }

}
