/* =========================================================
   HEADER / NAVBAR
========================================================= */

#masthead {
    position: relative;
    z-index: 1030;
}

.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    padding: 8px 0;
    min-height: 72px;
    z-index: 1030;
}

/* WordPress Admin Bar Fix */
.admin-bar .navbar.fixed-top {
    top: 32px;
}

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.navbar-brand img {
    display: block;
    width: auto;
    height: 54px;
    max-width: 220px;
    object-fit: contain;
}

/* Menu */
.navbar-nav {
    align-items: center;
}

.nav-link {
    font-weight: 500;
    margin: 0 6px;
    padding: 12px 10px !important;
    color: #334155 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* Dropdown */
.navbar .dropdown-menu {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
    padding: 8px 0;
}

.navbar .dropdown-item {
    padding: 9px 18px;
}

.navbar .dropdown-item:hover {
    background: #f5f9fd;
    color: var(--primary);
}

/* Book Appointment Button */
.appointment-btn {
    margin-left: 14px;
    white-space: nowrap;
    border-radius: 30px;
    padding: 11px 22px;
    font-weight: 600;
}

/* Mobile menu button */
.navbar-toggler {
    border: 1px solid #d8e0e8;
    padding: 7px 10px;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(27, 92, 158, 0.15);
}


/* =========================================================
   MOBILE HEADER
========================================================= */

@media (max-width: 991px) {

    .admin-bar .navbar.fixed-top {
        top: 46px;
    }

    .navbar {
        min-height: 68px;
        padding: 8px 0;
    }

    .navbar-brand img {
        height: 46px;
        max-width: 180px;
    }

    .navbar-collapse {
        margin-top: 10px;
        padding: 12px 0 8px;
        background: #ffffff;
        border-radius: 12px;
    }

    .navbar-nav {
        align-items: stretch;
    }

    .nav-link {
        margin: 0;
        padding: 11px 15px !important;
        display: block;
    }

    .appointment-btn {
        width: 100%;
        margin: 12px 0 0;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .navbar-brand img {
        height: 42px;
        max-width: 165px;
    }

    .navbar {
        min-height: 64px;
    }
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #0c1d2b !important;
    color: #b8c2cc;
    padding: 62px 0 18px;
    margin-top: 0;
}

.site-footer h5 {
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 20px;
}

.site-footer p,
.site-footer li {
    color: #b8c2cc !important;
    line-height: 1.8;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 9px;
}

.site-footer a {
    color: #c3ccd6 !important;
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer a:hover {
    color: #8CC63E !important;
}

.site-footer i {
    color: #8CC63E;
}

.site-footer .footer-logo {
    width: 90px;
    height: auto;
    max-height: 75px;
    object-fit: contain;
}

.footer-bottom {
    margin-top: 38px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom p {
    color: #9ca8b4 !important;
}

.footer-bottom a {
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .site-footer {
        padding-top: 50px;
    }

    .site-footer .col-lg-4,
    .site-footer .col-lg-2 {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .footer-bottom {
        text-align: center;
    }
}
