.about-us {
    background: #f8f9fa !important;
}

.privacy-policy section.about-content-section {
    /* padding-top: 50px !important; */
    /* padding-bottom: 50px !important; */
}

input#what_type_of_surgery_or_service_are_you_interested_in {
    width: 22px !important;
    height: 22px !important;
}

/* .flex .info-tabs-details-item.info-open{
    display:flex!important;
    align-items: center!important;
} */
.description_bard h2 {
    font-size: 22px;
    line-height: 2.25rem;
    display: flex;
    letter-spacing: .1em;
    width: 100%;
    justify-content: center;
}

.description_bard p img {
    width: 50%;
    display: inline-flex;
    padding: 10px;
}

.contact-info-list p.pragraph {
    color: black !important;
}

.langselector button.bg-white .text-secondary {
    color: #fff
}

body.home .aboutsection .content {
    left: -8px !important
}

body.home .aboutsection .image {
    left: 10px !important
}

body.home .features-cta-btn {
    bottom: 7px !important;
    left: -17px !important;
    height: 55px !important;
    width: 55px !important
}

.features-section {
    padding-top: 94px !important;
    padding-bottom: 119px !important
}

@media screen and (min-width:1200px) {
    section.accreditations-section .initials-single-column-btn-box {
        position: relative;
        left: -11px !important;
        bottom: 23px !important
    }

    body.home section.dedicated-staff-section.our-team-main img.staff-member-img {
        width: 262px !important;
        height: 300px !important;
        left: -9px !important;
        position: relative
    }

    .testimonials-slide-item ul.stars-list {
        position: relative;
        left: -9px !important
    }

    .testimonials-slider-wrap.swiper.mySwiper .swiper-button-next.slides-navigation {
        right: 8px !important
    }

    .reviews-text p {
        position: relative;
        bottom: -15px !important
    }

    ul.header-top-contact-info {
        position: relative;
        left: 11px !important;
        top: 2px
    }

    body.about-us h2.heading {
        font-size: 2.8rem;
        line-height: 50px;
    }

    body.about-us section.banner-section .banner-content h1.heading-2 {
        position: relative;
        left: -3px !important;
        top: -13px !important
    }

    body.about-us section.staff-modal-info-sec.inner-content-section img.two-initals-column-brand-img {
        position: relative;
        left: -21px !important
    }

    body.about-us section.dedicated-staff-section.our-team-main .team-main-cont {
        margin-bottom: 38px !important
    }

    section.dedicated-staff-section.our-team-main .team-main-cont>div {
        gap: 1.1rem !important
    }

    section.location-map-section .location-wrapper {
        height: 518px
    }

    section.location-map-section .location-wrapper iframe.google-map-location {
        height: 518px !important
    }

    body.home .aboutsection>div {
        padding-bottom: 98px !important
    }

    body.home section.features-section .section-title-box {
        padding-bottom: 30px !important
    }

    body.home section.accreditations-section {
        padding-bottom: 237px !important
    }

    body.home section.dedicated-staff-section.our-team-main .section-title-box {
        padding-bottom: 45px !important
    }

    body.home section.dedicated-staff-section.our-team-main .team-main-cont {
        margin-bottom: 0 !important
    }

    .footer-main-content-wrap .footer-main-left .socials-widgets {
        position: relative;
        top: -18px;
        left: 0
    }

    .testimonials-text-cont.relative.reviews-text {
        top: -15px !important;
        padding-left: 50px !important;
        padding-right: 50px !important;
    }

    .surgary-page-two-column-grid>div {
        padding-top: 86px !important;
        padding-bottom: 33px !important
    }

    .surgary-page-two-column-grid>div>div {
        gap: 80px !important
    }

    section.single-surgery-inner-section.two-column-grid-section .two-column-grid .column-grid-right {
        width: 573px !important;
        position: relative;
        top: 12px !important;
        left: -36px !important
    }

    section.services-section.three-column-grid-section {
        padding-top: 98px !important
    }

    section.services-section.three-column-grid-section .section-title-box {
        padding-bottom: 24px !important
    }

    section.single-surgery-inner-section.two-column-grid-section .two-column-grid .column-grid-left {
        position: relative;
        top: 25px !important;
        width: 506px !important
    }

    section.faq-section.accordion-layout-section .accordion-layout-wrapper .section-title-box {
        padding-bottom: 51px !important
    }

    .action-sport-physio .accreditations-section,
    .inner-content-section {
        height: 993px;
    }
}

.thankyousection {
    padding-top: 80px !important;
    gap: 15px !important
}

@media only screen and (max-width: 600px) {

    .action-sport-physio .accreditations-section,
    .inner-content-section {
        height: auto !important;
        background-color-size: cover !important;
    }

    .appointment .appointment-section {
        padding-top: 90px !important;
    }

    .error_msg {
        position: absolute;
        left: 13% !important;
        top: 108% !important;
        color: white !important;
    }

    .success_msg {
        position: absolute;
        left: 3% !important;
        top: 105% !important;
        color: white;
    }

    .subnav-item-link {
        font-weight: 400 !important;
    }

    .home .slides-navigation {
        height: 30px !important;
        width: 30px !important;
    }

    .subnav-item-link {
        opacity: 0.9 !important;
        line-height: 18px !important;
    }

    .home .slides-navigation.swiper-button-next {
        right: 3% !important;
    }

    .home .swiper-button-prev.slides-navigation {
        left: 3% !important;
    }

    body.home .reviews-text p {
        margin-left: 45px !important;
        margin-right: 45px !important;
    }

    .location .info-details-item a {
        text-align: left !important;
    }

    .location p {
        text-align: left !important;
    }

    .faq-section .paragraph {
        text-align: left !important;
    }

    .mobo-nav-item-link-direct-link {
        justify-content: space-between !important;
        align-items: flex-start;
        text-align: center;
    }

    .mobo-nav-item-link-direct-link {
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.375rem;
        font-size: .875rem;
        font-weight: 700;
        line-height: 1;
        color: rgb(255 255 255 / var(--tw-text-opacity));
        --tw-text-opacity: .8 !important;
        display: inline-flex;
        width: 100% !important;
    }

    .mobo-nav-item-link-direct-link:hover {
        --tw-text-opacity: 1 !important;
    }

    .mobo-nav-item-link-direct-link {
        justify-content: space-between !important;
    }

    .publication-info-list p {
        text-align: left !important;
    }

}

.success_msg {
    position: absolute;
    left: 22%;
    top: 128%;
    color: white;
}

.error_msg {
    position: absolute;
    left: 22%;
    top: 128%;
    color: white;
}

.description_bard a {
    color: #75CCCF;
}

/* menu css start */

.nav-item-link {
    font-weight: 400 !important;
}

ul.nav-items li.nav-list-item ul.dropdown-menu li {
    width: 180px !important;
    padding: 10px 5px 10px 5px;
    border-bottom: 0px solid #d1d1d1 !important;
}

ul.nav-items li.nav-list-item ul.dropdown-menu li:hover {
    background: #E4F5F6 !important;
    border-radius: 10px !important;
}

ul.nav-items li.nav-list-item ul.dropdown-menu li:hover {
    background: #E4F5F6 !important;
    border-radius: 10px !important;
    padding: 10px 5px 10px 5px;
}

ul.nav-items li.nav-list-item ul.dropdown-menu {
    top: 100%;
    background: #fff;
    border-radius: 0 0 14px 14px !important;
    width: 200px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

ul.nav-items li.nav-list-item ul.dropdown-menu li a {
    background: 0 0;
    border-bottom: 0;
    text-align: center;
    padding: 7px 4px 7px 6px !important;
    background: 0 0 !important;
    color: #313131d1;
    text-align: center;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
}

a.nav-item-link:active {
    font-weight: 600 !important;
    color: white !important;
}

.mobo-nav-item-link:hover,
.subnav-item-link:hover,
.nav-item-link:hover,
.nav-item-link.active {
    --tw-text-opacity: 1 !important;
}

/* menu css end */

@media only screen and (min-width: 1281px) {
    .blogs-widgets {
        position: relative;
        right: 25%;
    }
}

.blogs .swiper-button-prev.slides-navigation,
.blog\/search .swiper-button-prev.slides-navigation {
    left: -2%;
}


.terms-of-use h2.initials-single-column,
.privacy-policy h2.initials-single-column,
.support-group h2.initials-single-column,
.airport-directions-from-toronto h2.initials-single-column,
.airport-directions-from-montreal h2.initials-single-column,
.airport-directions-from-ottawa h2.initials-single-column {
    margin-top: 90px;
}

.terms-of-use .accreditations-section,
.support-group .accreditations-section,
.airport-directions-from-toronto .accreditations-section,
.privacy-policy .accreditations-section,
.airport-directions-from-montreal .accreditations-section,
.airport-directions-from-ottawa .accreditations-section {
    height: 250px !important;
}

li.nav-list-item {
    position: relative;
}

ul.dropdown-menu {
    left: 0% !important;
}

.text-point-item .text-point-list .bullet-point {
    position: relative !important;
}

.single-surgery-inner-section p {
    text-align: left !important;
}

[x-cloak] {
    display: none !important;
}

.news-card-wrap-box .news-card-item .news-text-cont {
    width: 100% !important;
}

.news-card-wrap-box .news-card-item .news-text-cont p,
.single-news-card-item .news-text-cont p {
    max-width: 100% !important;
}

/* Locate Us */
.locate-us {
    margin-top: 95px;
}

/* Header Styles */
.locate-us__header {
    margin-bottom: 3rem;
}

.locate-us__title p {
    text-align: center;
}

.locate-us__description {
    text-align: center;
    margin: 0 30%;
}

/* Main Content Row */
.locate-us__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.locate-us__image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.locate-us__map-container {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.locate-us__map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Highlights Section */
.locate-us__highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    padding: 2rem 0;
}

.locate-us__highlight {
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.locate-us__highlight:hover {
    transform: none;
    box-shadow: none;
}

.locate-us__highlight-large {
    font-size: 2.8rem;
    text-align: left;
    color: #01264F;
    margin-bottom: 0.75rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.locate-us__highlight-small {
    font-size: 1.2rem;
    color: #01264F;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    margin: 0 auto;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .locate-us {
        padding: 2rem 0;
        margin-top: 0;
    }

    .locate-us__title {
        font-size: 2rem;
    }

    .locate-us__description {
        margin: 0;
    }

    .locate-us__main {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .locate-us__highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .locate-us__highlight-large {
        font-size: 2.5rem;
    }

    .locate-us__highlight-small {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .locate-us__highlights {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .locate-us__highlight-large {
        font-size: 2.25rem;
    }

    .locate-us__header {
        margin-bottom: 2rem;
    }

    .locate-us__title {
        font-size: 1.75rem;
    }

    .locate-us__description {
        font-size: 1rem;
    }
}

/* About Us Header */
.text-title-primary {
    color: #01264F;
}

.text-title-primary p {
    text-align: left !important;
}

.locate-us__header .text-title-primary p {
    text-align: center !important;
}

.text-description {
    color: #525252;
}

/* Team Grid (new) */
.staff-card-container {
    position: relative;
    display: block;
    width: 100%;
    height: 425px;
    background-size: contain;
    background-position: bottom;
    background-position-y: 90px;
    background-repeat: no-repeat;
    border-radius: 0.5rem;
}

.team-member-card {
    position: relative;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(to bottom, #75CCCF, transparent 60%) border-box;
    background-clip: padding-box, border-box;
}

.image-text-overlay {
    z-index: 10;
    margin: 17px 0 0 22px;
    pointer-events: none;
}

.overlay-title {
    color: black;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: inherit;
    margin: 0 0 4px 0;
}

.overlay-subtitle {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

/* Area Filter Pills - Connected block design */
.area-filter-container {
    justify-content: flex-start !important;
}

.area-filter-pill {
    background: #D9F1F2;
    border: 1px solid #c9e6e7;
    color: #01264F;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-right: none;
}

.area-filter-pill.first-pill {
    border-radius: 6px 0 0 6px;
}

.area-filter-pill:last-of-type {
    border-radius: 0 6px 6px 0;
    border-right: 1px solid #c9e6e7;
}

.area-filter-pill:only-child {
    border-radius: 6px;
    border-right: 1px solid #c9e6e7;
}

.area-filter-pill:hover,
.area-filter-pill.active {
    background: #75CCCF;
    color: #ffffff;
    border-color: #75CCCF;
    z-index: 1;
    position: relative;
}

/* Group Title Styling - Left aligned */
.team-groups-container {
    margin-top: 4rem;
}

.group-title {
    position: relative;
    display: inline-block;
    text-align: left !important;
}

.area-group {
    text-align: left !important;
}

/* Hide filtered groups */
.area-group.hidden {
    display: none !important;
}

/* Hide filtered items */
.team-member-card.hidden {
    display: none !important;
}

/* Filter transition */
.team-member-card {
    transition: opacity 0.3s ease;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .overlay-title {
        font-size: 1rem;
    }

    .overlay-subtitle {
        font-size: 0.75rem;
    }

    .area-filter-container {
        justify-content: flex-start !important;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .area-filter-pill {
        flex-shrink: 0;
    }

    .area-group p {
        text-align: left !important;
    }

    .group-title {
        font-size: 1.5rem;
        /* margin-bottom: 1.5rem; */
        text-align: left !important;
    }
}