body {
    font-family: 'Karla', sans-serif;
}

.section-heading {
    font-size: 48px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

.section-para {
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
}
.section-para ul{
    margin: 0;
}
/* --- Header Section Styling --- */
.header-section {
    color: #fff;
    text-align: left;
    position: relative;
}

.header-content {
    position: absolute;
    position: absolute;
    bottom: 41%;
    left: 0;
    right: 0;
}

.header-content h1 {
    font-size: 64px;
    color: #fff;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    text-align: left;
}

.team-banner-img {
    width: 100%;
    height: auto;
}

.m-banner {
    display: none;
}

/* Custom Styles to match the image's appearance */
.patient-tab-section {
    padding: 4rem 0;
}

.patient-tab-section .custom-nav-tabs .nav-link {
    border: 1px solid #dee2e6;
    /* Base border */
    border-bottom: none;
    /* Hide bottom border for default Bootstrap look */
    background-color: #f8f9fa;
    /* Light background for non-active tabs */
    color: #000;
    margin-right: 5px;
    /* Spacing between tabs */
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 0.25rem 0.25rem 0 0;
    /* Standard Bootstrap rounding */
}

.patient-tab-section .custom-nav-tabs .nav-link.active {
    background-color: #1C355E !important;
    /* White background for active tab */
    border-color: #1C355E !important;
    /* Dark border color for active tab */
    color: #fff !important;
    /* White text for active tab */
    font-family: 'Cormorant Garamond', serif;
}

.patient-tab-section .custom-nav-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.patient-tab-section .nav-tabs {
    border: none !important;
}

.patient-tab-section .nav-tabs .nav-link {
    border: none;
    border-radius: 10px !important;
    background: transparent !important;
    color: #000;
    font-size: 28px;
    font-family: 'Cormorant Garamond', serif;
    width: 100%;
    border: 1px solid #238DC1;
    margin-bottom: 5px;

}
.patient-tab-section .nav-tabs .nav-link:hover{
    background-color: #1C355E !important;
    color: #fff !important;
}

.patient-tab-section .nav-tabs .nav-item {
    width: calc((100% - 3rem) / 4);
    background-color: transparent;
    border-radius: 10px;
}

.patient-tab-section .accordion-button:focus {
    box-shadow: none !important;
}

.patient-tab-section .accordion-body ul li {
    font-size: 16px;
    color: #000;
    padding-bottom: 20px;
    font-family: 'Karla', sans-serif;
}

.patient-tab-section .insurance-inner-para h3 {
    color: #238DC1;
    font-size: 20px;
    font-family: 'Karla', sans-serif;
}

.patient-tab-section .custom-accordion .accordion-item {
    border: none;
    margin-bottom: 20px;
    background-color: transparent;
}

.patient-tab-section .custom-accordion .accordion-header button {
    background-color: #EDF9FF;
    border-radius: 0 !important;
    color: #1C355E;
    font-weight: 500;
    font-size: 32px;
    text-align: left;
    padding: 20px 30px;
    font-family: 'Cormorant Garamond', serif;
    border-left: 3px solid #1C355E;
}

.patient-tab-section .custom-accordion .accordion-header button.collapsed{
    border-left: 3px solid #ccc;
}

.patient-tab-section .custom-accordion .accordion-button:not(.collapsed) {
    color: #002D58;
    background-color: #EDF9FF;
    box-shadow: none;
}

.patient-tab-section .custom-accordion .accordion-body {
    background-color: #EDF9FF;
    padding: 0 20px 20px;
    border: none;
    border-left: 3px solid #1C355E;
}

.patient-tab-section .international-header {
    margin-top: 50px;
    margin-bottom: 0px;
    color: #1C355E;
}
.patient-tab-section .accordion-header{
    padding-bottom: 0px;
}
.patient-tab-section .testimonials-slider-card img{
    width: auto !important;
    margin: 0 auto 2rem;
}
.patient-tab-section .intro-text {
    color: #000;
    width: 70%;
    margin: 0 auto 3rem auto;
}
#medical-insurance .d-flex,#pre-surgery .d-flex{
    width: 50% !important;
}


.patient-tab-section .testimonials-slider-card {
    background-color: #EDF9FF;
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
}

.patient-tab-section .testimonials-slider-card h2 {
    font-size: 20px;
    color: #000;
    font-weight: 600;
    font-family: 'Karla', sans-serif;
    padding-bottom: 30px;
}

.patient-tab-section .testimonials-slider-card p {
    font-size: 16px;
    color: #363636;
}

.patient-tab-section .testimonials-slider-card h1 img {
    width: 100%;
    height: auto;
    max-width: 40px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.patient-tab-section .owl-carousel .owl-item{
    display: flex;
}
.patient-tab-section .owl-carousel .owl-stage{
    display: flex;
}

.patient-tab-section .testimonial-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 30%;
    left: -8%;
    font-size: 40px !important;
    color: #363636;
}

.patient-tab-section .testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 30%;
    right: -8%;
    font-size: 40px !important;
    color: #363636;
}

.patient-tab-section.testimonial-carousel.owl-carousel .owl-dots.disabled,
.patient-tab-section .owl-carousel .owl-nav.disabled {
    display: block !important;
}

/* Long Distance Consultation and Button */
.patient-tab-section .long-distance {
    padding-top: 50px;
    text-align: center;
    width: 35%;
    margin: 0 auto;
}

.inner-support-box h3 {
    font-size: 32px;
    color: #1C355E;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1rem;
}

.inner-support-box p {
    font-size: 16px;
    color: #000;
    font-family: 'Karla', sans-serif;
}

.patient-tab-section  .btn-virtual {
       background-color: #1C355E;
    color: #fff;
    border: none;
    padding: 14px 30px;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Karla', sans-serif;
    display: inline-block;
}
.patient-tab-section #testimonials .read-more-testimonial p {
    text-align: center;
}
.patient-tab-section #testimonials .btn-virtual{
    margin-top: 2rem;
    margin-bottom: 0;
    display: inline-block;
}
.patient-tab-section .notice-wrapper {
    margin-top: 2rem;
}

.patient-tab-section .notice-wrapper h3 {
    color: #000;
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Karla', sans-serif;
}

.inner-support-box ol li {
    font-size: 16px;
    color: #000;
    font-family: 'Karla', sans-serif;
}

.inner-support-box ol {
    padding-left: 1rem;
        margin: 0;
}
.patient-tab-section .custom-nav-tabs {
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: none;
    gap: 10px;
    display: flex;
    margin: 0;
}
.inner-support-box .section-para ul li{
    margin-bottom: 10px;
}

.patient-tab-section .custom-nav-tabs .nav-link {
    padding: 10px 18px;
    border-radius: 50px;
    background: #f7f7f7;
    margin-right: 10px;
    transition: 0.3s;

}

.patient-tab-section .custom-nav-tabs .nav-link.active {
    background: #000;
    color: #fff;
}

.patient-tab-section .inner-support-box {
    padding: 20px;
    border-radius: 12px;
}

.patient-tab-section .testimonial-box {
    text-align: center;
}

.patient-tab-section .owl-carousel{
    width: 80%;
    margin: 0 auto;
}

.inner-support-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.inner-support-item {
    flex: 1 1 30%;   /* 3 items per row */
    display: flex;
}

.inner-support-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: #EDF9FF;
}
.notice-wrapper{
    max-width: 55%;
    margin: 0 auto;
}
.notice-wrapper ol{
    margin-left: 1rem;
}
@media screen and (min-width: 992px) and (max-width: 1024px) { 
    .patient-tab-section .nav-tabs .nav-link{
        font-size: 22px;
    }
    .notice-wrapper {
        max-width: 75%;
        margin: 0 auto;
    }
    .patient-tab-section .long-distance {
        padding-top: 50px;
        text-align: center;
        width: 50%;
        margin: 0 auto;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) { 
  .d-banner{
    display: block !important;
  }
  .m-banner{
    display: none !important;
  }
  .notice-wrapper {
    max-width: 80%;
    margin: 0 auto;
}
.patient-tab-section .custom-nav-tabs .nav-link{
    font-size: 20px;
}
}
@media (max-width: 1024px) {
    .inner-support-item {
        flex: 1 1 45%;
    }
}

@media (max-width: 600px) {
    .inner-support-item {
        flex: 1 1 100%;
    }
    .notice-wrapper {
    max-width: 100%;
    margin: 0 auto;
}
.patient-tab-section .notice-wrapper h3{
    text-align: center;
}
}

@media (max-width: 991px) {
    .patient-tab-section .nav-tabs .nav-item {
        width:48%;
        margin-bottom: 0.5rem;
    }
    .patient-tab-section .custom-nav-tabs .nav-link {
        padding: 10px 5px;
        margin-right: 0px;
        margin-bottom: 5px;
        font-size: 16px;
    }
    .patient-tab-section {
        padding: 2rem 0;
    }
    .notice-wrapper ol{
        margin-left: 1rem;
    }

    .m-banner{
        display: block;
    }
    .section-heading{
        font-size: 34px !important;
    }

    .d-banner{
        display: none;
    }

    .patient-tab-section .long-distance {
        width: 100%;
    }

    .patient-tab-section .m-banner {
        display: block;
    }

    .patient-tab-section .d-banner {
        display: none;
    }

    .patient-tab-section .header-content {
        left: 4%;
        bottom: 8%;
    }

    .patient-tab-section .intro-text {
        width: 100%;
    }
    #medical-insurance .d-flex,#pre-surgery .d-flex{
        width: 100% !important;
    }
     .header-content h1{
        font-size: 40px;
        text-align: left;
    }
    .header-content{
        bottom: 5%;
        text-align: left;
    }

}



/* Adjust Accordion grid for responsiveness (3 columns on large screens) */
@media (min-width: 991px) {
    .patient-tab-section .accordion-row .col-lg-4 {
        /* Make the accordion panels have roughly equal height */
        min-height: 400px;
        /* This is an estimation, complex equal-height often requires JS/Flex */
    }


   
}
@media screen and (max-width: 1280px) and (min-width:1200px){
    .notice-wrapper {
        max-width: 65%;
        margin: 0 auto;
    }
}