/* =========================================================
   FAMILY DENTAL CLINIC
   PREMIUM HEADER
========================================================= */


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background:
        rgba(255, 255, 255, 0.96);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid rgba(210, 229, 235, 0.75);

    transition:
        box-shadow 0.3s ease,
        background 0.3s ease;

}


.site-header.is-scrolled {

    background:
        rgba(255, 255, 255, 0.99);

    box-shadow:
        0 10px 35px rgba(13, 75, 100, 0.10);

}



/* =========================================================
   HEADER INNER
========================================================= */

.header-inner {

    min-height: 86px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 28px;

}



/* =========================================================
   BRAND
========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 255px;

    flex-shrink: 0;

}


.brand-logo-wrap {

    width: 56px;

    height: 56px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #f0fbff,
            #ecfffa
        );

    border:
        1px solid #dceff2;

    box-shadow:
        0 5px 16px rgba(8, 117, 185, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.brand:hover .brand-logo-wrap {

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 22px rgba(8, 117, 185, 0.14);

}


.brand-logo {

    width: 46px;

    height: 46px;

    object-fit: contain;

}



/* =========================================================
   BRAND TEXT
========================================================= */

.brand-text {

    display: flex;

    flex-direction: column;

    justify-content: center;

    line-height: 1.1;

}


.brand-text strong {

    color: #06458f;

    font-size: 1.08rem;

    font-weight: 800;

    letter-spacing: -0.025em;

    white-space: nowrap;

}


.brand-text small {

    margin-top: 6px;

    color: #008e9d;

    font-size: 0.64rem;

    font-weight: 700;

    letter-spacing: 0.025em;

    white-space: nowrap;

}



/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.desktop-nav {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 4px;

    font-size: 0.87rem;

    font-weight: 700;

}


.desktop-nav > a:not(.nav-cta) {

    position: relative;

    display: inline-flex;

    align-items: center;

    min-height: 42px;

    padding: 8px 11px;

    border-radius: 10px;

    color: #29495d;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background 0.2s ease;

}


.desktop-nav > a:not(.nav-cta):hover {

    color: #0875b9;

    background:
        #f0fafc;

}



/* =========================================================
   SERVICES DROPDOWN WRAPPER
========================================================= */

.nav-dropdown {

    position: relative;

}



/* =========================================================
   SERVICES BUTTON
========================================================= */

.nav-dropdown-toggle {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    min-height: 42px;

    padding: 8px 11px;

    border: 0;

    border-radius: 10px;

    background: transparent;

    color: #29495d;

    cursor: pointer;

    font-family: inherit;

    font-size: inherit;

    font-weight: inherit;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background 0.2s ease;

}


.nav-dropdown-toggle:hover {

    color: #0875b9;

    background:
        #f0fafc;

}


.nav-dropdown.open .nav-dropdown-toggle {

    color: #0875b9;

    background:
        #f0fafc;

}



/* =========================================================
   SERVICES ARROW
========================================================= */

.dropdown-arrow {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 18px;

    height: 18px;

    color: #0875b9;

    font-size: 12px;

    transition:
        transform 0.25s ease;

}


.nav-dropdown.open .dropdown-arrow {

    transform:
        rotate(180deg);

}



/* =========================================================
   DROPDOWN MENU
========================================================= */

.nav-dropdown-menu {

    position: absolute;

    top: calc(100% + 8px);

    left: 50%;

    z-index: 1100;

    width: 285px;

    padding: 10px;

    background: #ffffff;

    border:
        1px solid #e1edf0;

    border-radius: 17px;

    box-shadow:
        0 22px 55px rgba(10, 70, 100, 0.15);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateX(-50%)
        translateY(8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

}



/* =========================================================
   DROPDOWN OPEN
   ONLY .open CONTROLS VISIBILITY
========================================================= */

.nav-dropdown.open .nav-dropdown-menu {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateX(-50%)
        translateY(0);

}



/* =========================================================
   DROPDOWN HEADING
========================================================= */

.dropdown-heading {

    padding:
        8px 12px 10px;

    margin-bottom:
        3px;

}


.dropdown-heading span {

    display: block;

    color: #06458f;

    font-size:
        0.86rem;

    font-weight:
        800;

}


.dropdown-heading small {

    display: block;

    margin-top:
        2px;

    color:
        #78919c;

    font-size:
        0.69rem;

    font-weight:
        500;

}



/* =========================================================
   DROPDOWN LINKS
========================================================= */

.nav-dropdown-menu a {

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        9px 11px;

    border-radius:
        10px;

    color:
        #29495d;

    font-size:
        0.79rem;

    font-weight:
        650;

    transition:
        color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;

}


.nav-dropdown-menu a:hover {

    color:
        #0875b9;

    background:
        #f0fafc;

    transform:
        translateX(2px);

}



/* =========================================================
   DROPDOWN ICON
========================================================= */

.dropdown-icon {

    width:
        25px;

    height:
        25px;

    flex-shrink:
        0;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        8px;

    color:
        #0875b9;

    background:
        #eaf8fb;

    font-size:
        11px;

}



/* =========================================================
   DROPDOWN DIVIDER
========================================================= */

.dropdown-divider {

    height:
        1px;

    margin:
        7px 5px;

    background:
        #e7eff1;

}



/* =========================================================
   VIEW ALL SERVICES
========================================================= */

.nav-dropdown-menu .view-all-services {

    justify-content:
        space-between;

    margin-top:
        2px;

    color:
        #0875b9;

    background:
        linear-gradient(
            90deg,
            #eefaff,
            #effcf9
        );

}


.nav-dropdown-menu
.view-all-services strong {

    font-size:
        15px;

    transition:
        transform 0.2s ease;

}


.nav-dropdown-menu
.view-all-services:hover strong {

    transform:
        translateX(4px);

}



/* =========================================================
   APPOINTMENT BUTTON
========================================================= */

.nav-cta {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    min-height:
        44px;

    margin-left:
        7px;

    padding:
        10px 16px;

    color:
        #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #0875b9 0%,
            #08a7b2 100%
        );

    border-radius:
        12px;

    box-shadow:
        0 8px 20px
        rgba(8, 117, 185, 0.20);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;

}


.nav-cta:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 28px
        rgba(8, 117, 185, 0.28);

}


.nav-cta-icon {

    width:
        20px;

    height:
        20px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        rgba(255, 255, 255, 0.18);

    font-size:
        15px;

}



/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    display:
        none;

    width:
        44px;

    height:
        44px;

    padding:
        8px;

    border:
        1px solid #d9e9ed;

    border-radius:
        12px;

    background:
        #ffffff;

    cursor:
        pointer;

    box-shadow:
        0 5px 16px
        rgba(10, 70, 100, 0.06);

}


.menu-toggle span {

    display:
        block;

    width:
        100%;

    height:
        2px;

    margin:
        5px 0;

    border-radius:
        3px;

    background:
        #075a86;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1150px) {

    .header-inner {

        gap:
            12px;

    }


    .brand {

        min-width:
            220px;

    }


    .desktop-nav {

        gap:
            1px;

        font-size:
            0.79rem;

    }


    .desktop-nav > a:not(.nav-cta),
    .nav-dropdown-toggle {

        padding:
            8px 7px;

    }


    .nav-cta {

        padding:
            9px 12px;

        margin-left:
            3px;

    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .site-header {

        position:
            sticky;

        top:
            0;

    }


    .header-inner {

        min-height:
            70px;

        gap:
            10px;

    }


    .brand {

        min-width:
            0;

        flex:
            1;

        gap:
            9px;

    }


    .brand-logo-wrap {

        width:
            46px;

        height:
            46px;

        border-radius:
            13px;

    }


    .brand-logo {

        width:
            38px;

        height:
            38px;

    }


    .brand-text strong {

        font-size:
            0.91rem;

    }


    .brand-text small {

        font-size:
            0.54rem;

        margin-top:
            4px;

    }


    .desktop-nav {

        display:
            none;

    }


    .menu-toggle {

        display:
            block;

        flex-shrink:
            0;

    }

}/* =========================================================
