@media (min-width: 1600px) {
    .expectations__display img {
        max-width: 728px;
        position: relative;
        margin-left: -150px;
        z-index: 0;
    }
}
@media (min-width: 1400px)  {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1200px;
    }
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 1.4rem .8rem;
    }
}
@media (max-width: 1340px) {
    .faqs-sidebar  {
        display: block;
        margin-right: 0;
        padding-left: 0;
    }
}
@media (min-width: 1240px) {
    .hero__wrapper .hero__lead {
        margin-top: -100px;
    }
}
@media (min-width: 1240px) {
    .hero__wrapper .hero__lead {
        margin-top: -100px;
    }
}
@media (max-width: 1220px) {
    .hero-right {

    }
    .other-services .card {
        min-height: 300px;
        padding: 10px 5px;
    }
    .other-services .card h6 {
        font-size: 1.2rem;
    }
    .hero__wrapper {
        display: flex;
        flex-direction: row;
    }
    .hero__wrapper .hero__display {
        min-width: 600px;
    }
    .hero__wrapper .hero__lead{
        margin-left: 0;
        min-width: 400px;
        padding: 100px 0;
        z-index: 1;
    }
    .trust-section-curve {
        margin-top: -200px;
    }
    .testi-nav {
        padding-left: 30px !important;
    }
    .testimonials-slides {
        margin-right: 0;
        padding-left: 0;
    }
    .about-hero__info {
        width: 60%;
        height: auto;
    }
}
@media (max-width: 992px) {
    h1 {
        font-weight: 600;
        font-size: 1.5rem;
        line-height: 2rem;
    }
    p, body {
        font-size: 0.875rem;
    }
    .hero__wrapper .hero__display {
        width: 100%;
        min-width: 70%;
        margin-top: 20px;
        order: 2;
        z-index: -1;
    }
    .hero__wrapper .hero__lead {
        min-width: 100%;
        margin-left: 0 !important;
        margin-top: 0px;
        order: 1;
        text-align: left;
    }
    .hero__wrapper .hero__lead .btn {
        width: 100%;
        font-size: 1rem;
        font-weight: 700;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .hero__wrapper {
        flex-direction: column;
    }
    .trust-section-curve {
        margin-top: -220px;
    }
    .testimonials-slides > div:last-child {
        display: none !important;
    }
    .newsletter .input-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .newsletter .input-wrapper > * {
        border-radius: 100px !important;
    }
    footer nav ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: left;
        padding-left: 20px;
    }
    .trust__description h5 {
        font-size: 1.125rem;
    }
    .expectations .col-lg-6:first-child {
        order: 2;
    }.expectations .col-lg-6:last-child {
        order: 1;
    }
    .expectations__display {
        padding-top: 50px;
        z-index: 0;
        overflow: hidden;
        width: 100%;
        margin-left: -15px;
    }
    .expectations__display img {
        max-width: 100%;
        position: relative;
        z-index: 0;
    }
    .trust-section-curve.bottom {
        display: none;
    }
    .expectations .push-up {
        margin-top: -70px;
    }
    section.trust {
        padding-bottom: 120px;
    }
    .expectation-extended .middle {
        order: 1;
        position: relative;
        z-index: 20;
        width: 100% !important;
        padding-top: 100px;
    }
    .expectation-extended .phone-img{
        display: none;
        position: relative;
        z-index: 20;
    }
    .expectation-extended .first {
        order: 2;
        width: 100% !important;
    }
    .expectation-extended .last {
        order: 3;
        width: 100% !important;
    }
    .expectation-extended-section-curve {
        z-index: 1;
        margin-top: -192px;
        position: relative;
    }
    .expectation-extended .push-up {
        margin-top: -449px;
    }
    .display-mobile {
        display: block !important;
    }
    .expectation-extended img.phone-img {
        margin: 0;
    }
    .expectations__info-list .list-item {
        font-size: 1.1rem !important;
        margin-bottom: 20px;
    }
    .expectations {
        padding-bottom: 0;
        min-height: auto !important;
    }
    .expectation-extended .text-lead {
        padding-top: 0px;
    }
    .expectation-extended .text-lead .text-end {
        text-align: left !important;
    }
    .block-mobile {
        width: 100%;
        display: block;
    }
    .testimonials {
        padding-top: 0;
    }
    .testimonials .section-title h2 {
        font-weight: 600;
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .hidden-mobile {
        display: none;
    }
    .expectation-extended {
        padding-bottom: 50px;
    }
    .testimonials-item {
        margin: 0;
        margin-top: 20px;
    }
    .faqs-sidebar {
        margin-top: 100px;
    }
    .newsletter-section-curve {
        margin: 0;
        margin-bottom: -20px;
    }
    .testi-nav {
        padding: 20px 0 !important;
        justify-content: space-between;
    }
    .newsletter {
        padding-top: 50px;
    }
    .hero-right {
        margin-top: 0;
    }
    .hero-right .hero__wrapper .hero__display {
        width: 100%;
        min-width: 100%;
        margin: 0;
        margin-top: 20px;
    }
    .hero-right .hero__wrapper .hero__lead {
        margin-top: 30px;
        padding-right: 0;
        width: 100%;
    }
    .hero-right .hero__wrapper .hero__lead .btn {
        text-align: left;
        margin-top: 0px !important;
        font-size: 1.125rem;
        font-weight: 700;
    }
    .programme-expect .imgs-wrapper img.arrow-art{
        display: none;
    }
    .programme-expect-curve.curve-wrapper {
        margin-top: -100px;
    }e
    .map .info {
        width: 90%;
        margin: 20px 0;
    }
    .team-item {
        padding: 20px;
        text-align: center;
    }
    .team-item .team-img {
        width: 165px;
    }
    .promise .hero-4 {
        margin-left: -130px;
    }
}
@media (max-width: 600px) {
    .promise-hero {
        padding-top: 0;
    }
    .promise .hero-4 {
        margin-left: 0;
    }
    .trust-section-curve {
        margin-top: -180px;
    }
    .about-hero-curve  {
        display: block;
        margin-top: -30px !important;
    }
    .team-item {
        margin: 0;
    }
    .hero__wrapper .hero__lead {
        padding-bottom: 20px;
    }
}
@media (max-width: 766px) {
    .contact-page {
        margin-top: -220px;
    }
    .about-hero-curve  {
        display: block;
        margin-top: -60px;
    }
    .about-hero-curve svg path {
        fill: var(--white-clr);
    }
    .about-hero {
        background-image: url('../images/about_hero_bg_mobile.svg');
        padding-top: 40px;
        padding-bottom: 200px;
        height: 675.78px;
        margin-top: -20px;
    }
    .about-hero__inner {
        background: none;
    }
    .about-hero__info {
        width: 100%;
        margin-top: -370px;
        padding: 40px;
    }
    .about-hero__hero {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin: 0;
    }
    .about-hero__hero img {
        margin: 0;
    }
    .promise > .container > .row .col-md-6:first-child {
        order: 2;
        display: flex;
        justify-content: center;
    }
    .promise > .container > .row .col-md-6:last-child {
        order: 1;
        margin-top: 40px;
    }
    .promise > .container > .row .col-md-6:first-child img{
        width: 344px;
        margin-top: 30px;
        z-index: -1;
    }
    .teams-curve {
        margin-top: -250px
    }
    .teams {
        padding-top: 30px;
        min-height: 300px;
        overflow-x: hidden;
        position: relative;
    }
    .swiper-teams {
        margin-top: 30px;
    }
    .team-item {
        margin-bottom: 100px;
    }
    .teams-wrapper {
        margin-top: -80px;
        z-index: 10;
        position: relative;
    }
    .teams-extended {
        margin-top: -80px;
        margin-bottom: 80px;
    }
    .swiper-teams {
        margin-left: -55px;
        overflow: visible;
        position: unset;
    }
    .swiper-teams::before {
        content: '';
        height: 50px;
        width: 30px;
        background: rgb(252,180,72);
        background: linear-gradient(266deg, rgba(252,180,72,0.01) 14%, rgba(252,180,72,1) 100%);
        position: absolute;
        left: 0;
        display: inline-block;
        z-index: 100;
        pointer-events: none;
    }
    .swiper-teams::after {
        content: '';
        height: 50px;
        width: 30px;
        background: rgb(252,180,72);
        background: linear-gradient(100deg, rgba(252,180,72,0.01) 14%, rgba(252,180,72,1) 100%);
        position: absolute;
        right: 0;
        display: inline-block;
        z-index: 100;
        margin-top: -40px;
        pointer-events: none;
    }
    .teams-wrapper {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .teams-wrapper .col {
        width: 100%;
        flex: 100%;
    }
    .team-item .social-links {
        margin-top: 20px;
    }
    .about-hero .btn {
        width: 100%;
    }
    .promise-item {
        margin-top: 80px;
    }
    .testi-nav a {
        width: auto !important;
        position: relative !important;
        margin-top: 20px !important;
        margin-right: 0px !important;
    }
    .testimonials-slides {
        margin: 0 !important;
        padding: 0 !important;
    }
    .testimonials-item {
        /* width: 100% !important; */
    }
    .expectation-extended .push-up {
        margin-top: -380px
    }
}
@media (max-width: 1250px) {
    .about-hero__hero {
        margin-top: 0;
    }
}

@media (max-width: 1000px) {
    .faqs-curve {
        display: none;
    }
}
@media (max-width: 500px) {
    .team-item {
        min-height: auto !important;
    }

    .newsletter {
        padding-top: 50px;
    }
    .expectation-extended .middle {
        padding-top: 0px;
    }
    .programme-expect-curve {
        margin-top: -260px;
    }
    .newsletter-section-curve svg {
        margin-bottom: -8px;
    }
    .form.card {
        padding: 16px;
    }
    .calendly-inline-widget {
        min-width: 100%;
        height: 870px;
    }
    .expectations__display {
        padding-top: 50px;
        z-index: 0;
        overflow: hidden;
        width: calc(100% + 30px);
        margin-left: -15px;
    }
    .expectations__display img {
        max-width: 120%;
        left: -10%;
        position: relative;
        z-index: 0;
    }
    .expectation-extended .push-up {
        margin-top: -220px
    }
}
@media (max-width: 414px) {
    .faqs {
        margin-top: 0;
        margin-bottom: 10px;
    }
    .accordion-button:not(.collapsed), .accordion-button {
        font-size: 1rem;
        padding: 24px 20px;
    }
    .faqs-sidebar {
        text-align: center;
        margin-top: 50px;
    }
    .faqs-sidebar h5{
        font-weight: 600;
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .faqs-sidebar .card {
        text-align: left;
    }
    .faqs-sidebar .card h5 {
        font-weight: 600;
        font-size: 1.125rem;
        line-height: 1.5rem;
    }
    .hero-right .hero__wrapper .hero__lead {
        padding-top: 50px;
    }
    .programme-expect-curve.curve-wrapper {
        margin-top: -100px;
    }
    .programme-expect-curve.curve-wrapper svg{
        transform: unset !important;
        width: 100%;
    }
    .programme-expect {
        padding: 10px 0;
    }
    .programme-expect h1 {
        font-weight: 600;
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .programme-expect p.Gilroy-font {
        font-weight: bold;
        font-size: 1.125rem;
        line-height: 1.5rem;
        margin-top: 20px;
    }
    .programme-expect-curve.curve-wrapper.bottom {
        margin-top: 0;
        transform: scaleY(.29);
        transform-origin: top;
    }
    .map .info {
        width: 100%;
        margin: 20px 0;
        margin-top: -40px;
        padding-top: 80px;
        z-index: -1 !important;
        position: relative;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 20px;
    }
    .map .info p {
        font-size: 0.75rem;
        font-weight: 500;
    }
    .other-services .push-up {
        margin-top: 0;
    }
    .other-services {
        margin-top: -150px;
        padding-top: 50px;
    }
    .other-services-curve {
        margin-top: -250px;
        z-index: -1;
        position: relative;
    }
    .expectations__info-list .list-item {
        font-size: .9rem !important;
    }
    .expectations__display {
        padding-top: 50px;
        z-index: 0;
        overflow: hidden;
        width: calc(100% + 30px);
        margin-left: -15px;
    }
    .expectations__display img {
        max-width: 120%;
        left: -10%;
        position: relative;
        z-index: 0;
    }
    .expectation-extended .push-up {
        margin-top: -200px
    }
    .gp_surgery_logo h6 {
        margin: 0;
        font-size: .9rem;
        font-weight: normal;
    }
    .gp_surgery_logo {
        overflow: hidden;
        min-height: 140px;
        padding: 18px 10px;
        padding-top: 25px;
    }
}
@media (max-width: 378px) {

}
@media (max-width: 330px) {
    .expectation-extended .push-up {
        margin-top: -170px;
    }
}
@media (min-width: 1240px) and (max-width: 1640px) {
    .about-hero > svg {
        display: block;
    }
}
@media (min-width: 1640px) {
    .about-hero__hero {
        margin-top: 0;
    }
}
@media (min-width: 984px) and (max-width: 1400px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: .95rem;
        padding: 1.7rem .7rem;
    }
    .navbar-nav .btn {
        font-size: .8rem;
        padding: 10px 15px;
    }
}
@media (min-width: 765px) and (max-width: 990px) {
    .about-hero > svg {
        /* display: block; */
    }
    .programme-expect-curve.curve-wrapper {
        margin-top: -300px;
    }
    .programme-expect {
        padding-bottom: 300px;
    }
}
