@media (max-width: 1340px) {
    .sub-wrapper {
        gap: 5rem;
    }
}

@media (max-width: 1280px) {
    .sub-wrapper {
        gap: 4rem;
    }

    .reviews-slide {
        padding: 0;
    }
}

@media (max-width: 1200px) {
    .sub-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .main-content {
        max-width: none;
    }

    .side-wrapper {
        width: 90%;
        min-width: 0px;
    }
}

@media (max-width: 980px) {
    .hero-cta {
        width: 95%;
        gap: 2rem;
    }

    .hero-header h1 {
        font-size: 45px;
    }
}
@media (max-width: 940px) {
    .map-wrapper {
        flex-direction: column;
        height: auto;
    }
    .map-half {
        width: 100%;
    }
    .map-half:nth-child(1) {
        height: 300px;
        border-top-right-radius: 5px;
        border-bottom-left-radius: 0px;
    }   
}
@media (max-width: 1024px) {
    .hero-img-wrapper .hero-img {
        object-position: 0px -25px;
    }

    .contact-boxes {
        flex-direction: column;
    }

    .contact-box {
        width: 100%;
        border-right: none;
        padding-bottom: 1rem;
        border-bottom: 1.7px solid #c0c7d6;
    }

    .content-image {
        width: 100%;
    }
}

@media (max-width: 880px) {
    .hero-img-wrapper {
        height: 500px;
    }
}

@media (max-width: 830px) {
    .boxes {
        flex-direction: column;
    }

    .box {
        width: 100%;
    }
}

@media (max-width: 780px) {
    .toc {
        width: auto;
    }

    .toc-items {
        min-width: 300px;
        left: -135px;
    }

    .bio-card {
        flex-direction: column;
        gap: 1rem;
    }

    .bio-card-img {
        position: static;
        min-width: 200px;
        min-height: 200px;
        width: 200px;
        height: 200px;
    }

    .bio-card-content {
        text-align: center;
    }

    .cta-button {
        width: 100%;
    }

    .bio-card-content {
        width: 90%;
    }
}

@media (max-width: 700px) {
    .area-cta-large h2 {
        font-size: 30px;
    }
}

@media (max-width: 680px) {
    .video-overlay {
        padding-right: 40px;
    }

    .video-info {
        left: 20px;
        max-width: 450px;
    }

    .video-text {
        display: none;
    }

    .video-info h2 {
        font-size: 25px;
    }
}

@media (max-width: 660px) {
    .hero-img-wrapper .hero-img {
        object-position: center 30px;
    }

    .hero-cta-options {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-option,
    .cta-link {
        width: 100%;
        display: block;
    }

    .cta-link {
        text-align: center;
    }

    .cta-or {
        display: none;
    }

    .cta-img {
        width: 100px;
        margin-right: 10px;
    }

    .hero-info {
        flex-direction: column;
        align-items: baseline;
        gap: 1rem;
    }

    .toc-items {
        left: 0px;
    }

    .hero-info-content {
        bottom: -20px;
    }

    .extra-areas-row {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    #side-cta-btn {
        width: 100%;
    }
    .bio-card {
        padding: 2rem 1rem;
    }
    .content-image {
        height: 270px;
    }

    .client-review-wrapper {
        min-height: 246px;
        max-height: 246px;
    }

    .boxes-header h2,
    .video-info h2 {
        text-align: left !important;
    }
    .map-half:nth-child(1) {
        height: 200px;
    }
    .img-wrapper {
        height: 300px;
    }
    .map-half button {
        width: 100%;
    }
    .map-half:nth-child(2) {
        padding: 2rem 1rem;
    }
    .box-cta {
        width: 100%;
    }
    .hero-header h1 {
        font-size: 35px;
    }
    .hero-sub-text {
        font-size: 17px;
    }
    .hero-img-wrapper .hero-img {
        object-position: center 130px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .contact-box-header h3 {
        font-size: 20px;
    }

    .cta-img {
        order: 1;
        width: 70px;
        margin: 0;
    }

    .hero-cta-side {
        order: 2;
    }

    .toc-items {
        width: 100%;
        min-width: auto;
    }

    .hero-cta {
        gap: 1rem;
    }
    .breadcrumbs {
        
        gap: 7px;
    }
    .breadcrumbs * {
        font-size: 11px !important;
    }
    .breadcrumbs img {
        width: 3px;
    }

    .toc {
        width: 100%;
    }

    #toc-header {
        justify-content: left;
    }

    .content h2 {
        font-size: 30px;
        text-align: center;
    }

    .boxes-header h2 {
        font-size: 20px;
    }

    .bio-card-content h3 {
        font-size: 25px;
    }

    .bio-card-img {
        position: static;
        min-width: 150px;
        min-height: 150px;
        width: 150px;
        height: 150px;
    }

    .bio-card-content {
        width: 100%;
     
    }
    .reviews-slide {
        flex-direction: column;
    }
    .review-box {
        width: 100%;
    }

    .faq-title {
        font-size: 17px !important;
    }

    .video-info h2 {
        font-size: 25px;
    }

    .video-info {
        top: -10px;
    }

    .play-time {
        font-size: 12px;
    }

    .play-time img {
        width: 15px !important;
    }

    #area-video {
        max-height: 660px;
        height: 360px;
    }

    .video-wrapper {
        height: 360px;
    }
    .complete-wrapper {
        padding: 0;
    }
}

@media (max-width: 425px) {
    .video-info h2 {
        font-size: 20px;
    }

}
@media (max-width: 370px) {
    .map-half-sub-text {
        font-size: 15px;
    }
    .video-info h2 {
        font-size: 20px;
    }
    .reviews-btns {
        flex-direction: column;
    }
    .review-box {
        padding: 1rem;
    }
    .hero-header h1 {
        font-size: 30px;
    }
    .hero-cta-btn {
        font-size: 14px;
    }
}