.container {
    max-width: 100%;
}

.service-home {
    text-align: center;
    background-color: white;
    padding: 20px;
    color: white;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

}

.m-t-30 {
    margin-top: 30px !important;
}

.service-card {
    flex: 1 1 calc(20% - 20px);
    max-width: calc(20% - 20px);
    background: #1F205A;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: scale(1.05);
}

.service-card img {
    width: 100%;
    height: 332px;
    object-fit: cover;
}

.service-card h3 {
    padding: 10px;
    color: white;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Nunito Sans' !important;
}

.service-home h2 {
    color: #1F205A;
    text-align: left;
    font-family: 'Tenor Sans';
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .about-content-wrapper {
        flex-direction: column;
    }
    .about-image {
        max-width: 100%;
        height: 300px;
    }
    .about-text {
        padding-left: 0;
        margin-top: 20px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .about-image {
        height: 250px;
    }
    .about-text p {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .service-card {
        flex: 1 1 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .video-container {
        width: 100%;
        max-width: 100%;
        height: 500px; /* Fixed height for mobile */
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .container {
        padding: 0px;
        width: 400px;
    }

    .banner.banner-home .banner-video-play {
        /*height: 580px; */
    }

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Stretch and crop if needed */
    }

    .service-card {
        flex: 1 1 calc(50% - 20px) !important;
        max-width: calc(50% - 20px);
    }

    .accordion-item.active .accordion-header {
        line-height: 1.5;
    }
    .content-section {
        width: 50% !important;
    }

}



@media (max-width: 480px) {
    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .banner-content {
        padding: 20px !important;
    }

    h1 {
        font-size: 28px !important;
        line-height: 1.5 !important;
    }

    p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    a {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}

.testimonial-container {
    width: 80%;
    margin: auto;
    text-align: center;
}

.testimonial-slider-wrapper {
    overflow: hidden;
    padding-bottom: 10px;
}

.testimonial-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-card {
    flex: 0 0 calc(33.33% - 20px);
    background: #F1F7EE;
    border: 1px solid #1F205A;
    padding: 10px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 180px;
}

.testimonial-card img {
    width: 156px;
    height: 182px;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content h3 {
    font-size: 20px;
    font-weight: 400px !important;
    color: #000000;
    font-family: 'Tenor Sans' !important;
}

.testimonial-content p {
    font-size: 12px;
    color: #000000;
    font-family: 'Nunito Sans' !important;
}

/* Navigation buttons below */
.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-nav button, .testimonial-nav-1 button {
    background: teal;
    color: white;
    border: none;
    cursor: pointer;
    padding: 12px 18px;
    font-size: 20px;
    border-radius: 50%;
    margin: 0 10px;
    transition: background 0.3s ease;
}

.testimonial-nav button:hover, .testimonial-nav-1 button:hover {
    background: darkcyan;
}


body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    text-align: center;
}
.header {
    font-size: 24px;
    font-weight: bold;
    color: #1F205A;
    margin-bottom: 20px;
}
.slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}
.slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}
.card {
    flex: 0 0 calc(50% - 20px);
    display: flex;
    background-color: #1F205A;
    color: white;
    overflow: hidden;
    width: 608px;
    margin-right: 10px;
}
.image-section {
    flex: 1;
    background: linear-gradient(135deg, #1F205A, #00978D);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 292px;
}


.image-section img {
    width: 292px;
    height: 300px;

}
.content-section {
    flex: 1;
    padding: 20px;
    text-align: left;
    width: 316px;
}
.name {
    color: #00978D;
    font-size: 24px;
    font-weight: 400px !important;
    font-family: 'Tenor Sans' !important;
    margin-bottom: 25px;
}
.text {
    font-size: 12px;
    font-family: 'Nunito Sans' !important;
    font-weight: 400;
    word-wrap: break-word;
    white-space: normal;
}
.nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.nav-buttons button {
    background-color: #00978D;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    margin: 5px;
    transition: background 0.3s ease;
}
.nav-buttons button:hover {
    background-color: #00796B;
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    color: #1F205A;
    text-align: left;
    font-family: 'Tenor Sans';
    margin-bottom: 25px;
}

.text-content p, .text-content-1 p {
    font-size: 20px;
    color: #000000;
    font-family: 'Nunito Sans';
    margin-bottom: 20px;
    text-align: justify;
}

.accordion {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid #fff;
}

.accordion-header {
    font-size: 44px;
    color: #989898;
    font-family: 'Tenor Sans' !important;
    cursor: pointer;
    line-height: 1.7;
    transition: all 0.3s ease;
    text-align: left;
    margin-top: 30px;
}

.accordion-item.active .accordion-header {
    color: #00978D;
    font-size: 44px;
    text-align: left;
    font-family: 'Tenor Sans' !important;
}

.accordion-content {
    display: none;
    font-size: 18px;
    color: #333;
    padding-top: 10px;
    padding-bottom: 10px;
}

.accordion-item.active .accordion-content {
    display: block;
}

.btn-book {
    background-color: #00978D;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 59px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 10px;
    float: left !important;
    font-family: 'Nunito Sans';
}

.image-content {
    flex: 1;
}

.image-content img, .image-content-1 img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    

    .service-card img {
        width: 100%;
        height: 181px;
        object-fit: cover;
    }

    .testimonial-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }

    .accordion-header {

        margin-top: 25px;
        padding: 0px;
    }

    .text-content {
        text-align: center;
    }

    .accordion-header {
        font-size: 22px;
    }
    footer .flex .col2, footer .flex .col3, footer .flex .col4 {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

.ff-btn {
    padding: 10px 30px !important;
    background: #00978D !important;
    border-radius: 50pc;
    color: white;
    font-family: 'Nunito Sans';
    float: left;
}
.ff-btn-2 {
    padding: 10px 30px !important;
    background: #ffffff !important;
    border-radius: 50pc;
    color: black;
    font-family: 'Nunito Sans';
}
.banner-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.banner-content h1 {
    font-family: 'Tenor Sans' !important;
    font-size: 56px;
    font-weight: 400;
    color: white;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.banner-content div.separator {
    width: 143px;
    height: 2px;
    background-color: white;
    margin: 15px auto;
}

.banner-content p {
    font-family: 'Nunito Sans' !important;
    font-size: 24px;
    color: white;
    margin-top: 15px;
}

.banner-content .cta-button {
    display: inline-block;
    background: WHITE;
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 15px;
    cursor: pointer;
}

.banner-content .cta-button a {
    font-family: 'Nunito Sans' !important;
    font-size: 24px;
    color: black;
    text-decoration: none;
    display: inline-block;
}

.about-content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: auto;
}

.about-image {
    flex: 3;
    max-width: 50%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    flex: 3;
    padding-left: 50px;
    text-align: left;
}

.about-text p {
    font-family: 'Nunito Sans' !important;
    font-size: 20px;
    color: #000000;
    line-height: 1.8;
    margin-top: 0;
    text-align: justify;
}

.about-text .book-btn {
    margin-top: 20px;
    display: inline-block;
    padding: 12px 24px;
    background-color: #00978D;
    color: white;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 20px;
    text-decoration: none;
    border-radius: 25px;
}
.testimonial-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
}



/* Optional: Add padding to make it look good on mobile */
@media (max-width: 768px) {
    .testimonial-container {
        padding: 10px;
    }
    .card {
        flex: 0 0 100%;
        scroll-snap-align: center;
        box-sizing: border-box;
    }

}


.slider-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.slider {
    display: flex;
    gap: 10px;
}



/* Optional - Hide scrollbar for cleaner look on mobile */
.slider-wrapper::-webkit-scrollbar {
    display: none;
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-content-wrapper {
        flex-direction: column;
    }
    .about-image {
        max-width: 100%;
        height: 300px;
    }
    .about-text {
        padding-left: 0;
        margin-top: 20px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .about-image {
        height: 250px;
    }
    .about-text p {
        font-size: 16px;
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 480px) {

    /* Adjust Image Section */
    .image-section {
        width: 100%; /* Image takes full width on mobile */
        height: auto; /* Adjust the height automatically */
        padding: 10px;
        max-width: 320px; /* Limit max width to prevent it from stretching too much */
    }

    /* Adjust Content Section */
    .content-section {
        width: 90%; /* Content takes 90% of the width */
        margin-top: 20px; /* Space between the image and content */
        height: auto; /* Allow the content section to adjust height */
    }

    /* Adjust Name Section */
    .name {
        font-size: 20px; /* Adjust font size for mobile */
        margin-bottom: 15px;
    }

    /* Adjust Text Section */
    .text {
        font-size: 14px; /* Adjust font size for mobile */
    }

    .accordion-content p {
        font-size: 16px;
    }

}

.therapy-container {
    display: flex;
    gap: 20px;
    align-items: center;
    background: white;
}
.text-div, .image-div {
    flex: 1;
}
.text-div {
    padding: 20px;
    font-size: 16px;
}
.image-div img {
    width: 100%;
    height: auto;
}

.therapy-header {
    background-color: white;
    color: white;
    padding: 20px;
}

.therapy-header h2 {
    color: rgb(31, 32, 90);
    text-align: left;
    font-family: "Tenor Sans";
}

.therapy-header p {
    font-size: 16px;
    color: #000000;
    font-family: 'Nunito Sans';
    text-align: justify;
}

.accordion-content p {
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
    .therapy-container {
        flex-direction: column-reverse;
    }

    .accordion-item.active .accordion-header {
        font-size: 20px;
    }

    .btn-book {
        width: 100%;
        float: none;
        
    }

    .therapy-header h2 {
        font-size: 28px;
    }

    .ff-btn {
        width: 100%;
    }

    .testimonial-slider {
        gap: 0px;
    }
}

.footer-logo {
    padding:20px !important;
}

.footer-logo p  {
    margin-bottom: 20px;
    text-align: left;
    color: white;
}


.footer-logo a  {
    float: left;
}

.social-icons {
    display: flex;
    margin-top: 20px;
    margin-left: 20px;
    gap: 20px;
}
.icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.icon img {
    height: 24px;
}

.icon:hover {
    background-color: #ddd; /* Hover effect */
}
/* Footer Section */
.footer-logo img {
    width: 150px;
}

.footer-logo p {
    font-size: 16px;
    margin-top: 10px;
    color: #ccc;
}

.form-control {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    color: #fff;
    border-radius: 0;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus {
    box-shadow: none;
    border-bottom-color: #00a99d;
}

.submit-btn {
    background-color: #fff;
    color: #00a99d;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #00a99d;
    color: #fff;
}
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.col-md-6 {
    width: calc(50% - 10px);
}

footer h2 {
    color: #fff;
    text-align: left;
}

/* Responsive Order Fix */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        gap: 0px !important;
    }

    .col-md-6 {
        width: 100%;
    }

    .footer-logo {
        order: 1;
        text-align: center;
    }

    .contact-section {
        padding: 20px;
    }

    .form-control {
        margin-top:0px;
    }
}