/* Global */

body {
    font-family: "avenir-lt-pro", sans-serif !important;

}

body.screen-lock {
    height: auto;
    margin: 0;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "raleway", sans-serif !important
}

.button {
    padding: 12px 24px;
    background: #3A95D1;
    color: white;
    border: 1px solid #3A95D1;
    transition: all .3s ease;
    display: inline-flex;
}

.button:hover {
    background-color: #fff;
    color: #3A95D1;
    transition: all .3s ease;
}

/* Homepage */

.homepage-main-section {
    position: relative;
    background-color: #e4eff2;
    padding: 8rem 0;
}

#homepage-background {
    background-image: url("/images/kortney-musselman-2jSQEuqLi4U-unsplash.jpg") !important;
    position: relative;
}

#homepage-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 0;
    background: linear-gradient(180deg, rgba(10, 0, 0, 0.7) 0%, rgba(5, 0, 0, 0) 100%);
}

#meet-the-team .grid-box {
    background-position: center top !important;
}

.team-section h2 {
    color: #3A95D1;
    text-align: center;
}

.overlay:hover {
    background: rgba(58, 149, 209, 0.5);
}

.overlay h4 {
    /* background-color: rgba(0, 0, 0, 0.5); */
    background-color: rgba(58, 149, 209, 0.75);
}

/* Profile Page */

.therapist {
    column-gap: 5rem;
    align-items: flex-start !important;
}

.therapist .image {
    width: 42.5%;
}

.therapist .info {
    width: 50%;
}

.therapist .image img {
    max-height: 635px;
    aspect-ratio: 9/16;
    width: 100%;
    object-fit: cover;
}

.overlay:hover h4 {
    transform: none !important;
}

.profile-pic.background {
    background-position: center top !important;
    height: 465px;
}

.bio-section {
    padding-top: 1.5rem;
}

blockquote {
    max-width: 900px;
    margin: 0 auto 2rem;
    font-style: oblique;
    border: none !important;
    display: block;
    padding: 2rem 0;
}

/* Header */

.nav li {
    margin: 0 !important;
}

.nav {
    display: flex;
    column-gap: 3.5rem;
    align-items: center;
}

.sub-menu {
    display: none;
    position: absolute;
    min-width: 205px;
    margin: 0;
    flex-direction: column;
    row-gap: 8px;
    background-color: #fff;
    padding: 1rem;
    list-style: none;
    left: -8px;
}

.sub-menu li a {
    font-size: 14px !important;
    color: #000 !important;
}

.sub-menu li a:hover {
    color: rgba(58, 149, 209, 1) !important;
}

.menu-item-has-children {
    position: relative;
}

.menu-item-has-children:hover .sub-menu {
    display: flex;
}

#navbar {
    float: none !important;
}

.nav li a {
    padding: 0 !important;
}

#navbar-toggle {
    cursor: pointer;
}

.nav-flex {
    column-gap: 2rem;
}

#header-logo-link {
    padding-left: 35px;
}

header {
    padding: 3rem 0;
}


/* Footer */

#footer-widget-2 a {
    border: none !important;
    display: block;
    padding-top: 15px;
}

#footer-widget-2 a:hover {
    text-decoration: none;
    border: none !important;
}

.heading-wrapper {
    margin: 0 auto !important;
    padding: 5rem 0 0;
}

.row-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.row-flex::before {
    display: none;
}

.row-flex::after {
    display: none;
}

ul#menu-header-menu {
    margin: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
}

.footer-links ul {
    display: flex;
    list-style: none;
    column-gap: 2.5rem;
    margin: 1rem 0;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links ul li a {
    color: #fff;
}

.footer-links ul li a:hover {
    color: #3A95D1;
    transition: all .3s ease;
}

#footer-logo {
    max-width: 500px !important;
}


@media (max-width: 1280px) {
    #navbar {
        display: none !important;
    }

    .sub-menu {
        display: flex;
        position: relative;
        padding: 0rem 1rem 1rem 1rem !important;
        background-color: transparent;
    }
    #navbar.show {
        display: block !important;
        position: fixed;
        left: 50%;
        transform: translate(-50%, 0px);
        background-color: rgba(0, 0, 0, 0.975);
        padding: 1.5rem;
        width: 100%;
        height: 100vh;
        top: 0;
        z-index: 1;
    }

    #navbar.show ul {
        flex-direction: column;
        row-gap: 1rem;
        align-items: flex-start;
        padding-top: 70px;
        padding-left: 37px;
        text-align: left;
    }


    #navbar-toggle {
        display: block;
        width: 40px;
        height: 45px;
        position: absolute;
        right: 20px;
        top: 0;
        transform: translateY(20px);
        z-index: 2;
    }

    #navbar-toggle span {
        display: block;
        background-color: #3A95D1;
        z-index: 900;
        position: absolute;
        width: 5px;
        height: 45px;
        border-radius: 5px;
        transition: all .3s ease;
        left: 50%;
        transform: translateX(-50%);
    }

    #navbar-toggle span:first-of-type {
        transform: translateX(-50%) rotate(90deg);
        transition: all .3s ease;
    }

    #navbar-toggle.open span {
        transform: rotate(45deg) !important;
        transition: all .3s ease;
    }

    #navbar-toggle.open span:first-of-type {
        transform: rotate(-45deg) !important;
        transition: all .3s ease;
    }

    .navbar_nav {
        display: flex;
        column-gap: 3.5rem;
    }

    .navbar_nav li {
        margin: 0 !important;
    }

    .navbar_nav li a {
        padding: 1rem 0 !important;
        display: block;
    }

      .sub-menu li a {
        color: #fff !important;
        padding: 0 !important;
    }


    #header-logo-link {
        position: relative;
        z-index: 3;
    }

    /* Profile Page */

    .profile-pic.background {
        aspect-ratio: 9/16;
        width: 100%;
        height: auto;
        max-height: 650px;
    }
}

@media (max-width: 767px) {

    .therapist {
        flex-direction: column;
    }

    .therapist .image,
    .therapist .info {
        width: 100%;
    }

    .therapist .image img {
        max-height: 550px;
    }

    #header-logo {
        right: 0;
        max-width: 300px;
        margin: 0;
    }

    #navbar-toggle {
        padding: 0;
        float: none;
    }

    #navbar.show {
        /* width: 90%; */
        /* margin: 0 auto;
        transform: translate(-50%, 25px); */
        margin: 0 !important;
    }

    /* Profile Page */

    .profile-pic.background {
        max-height: 520px;
    }

    #footer-logo {
        max-width: 90% !important;
    }
}

@media (max-width: 480px) {

    header {
        padding: 2.5rem 0;
    }

    .container {
        padding-inline: 20px;
    }

    #navbar.show ul {
        padding-top: 50px;
        padding-left: 10px;
        row-gap: .5rem;
    }

    #navbar-toggle {
        width: 30px;
        height: 30px;
        right: 15;
    }

    #navbar-toggle span {
        width: 3px;
        height: 30px;
    }

    #header-logo-link {
        padding-left: 8px;
    }

    /* Profile Page */

    .profile-pic.background {
        max-height: 430px;
    }
}