/* Tab section css*/
.tab-list {
    display: flex
;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    line-height: 18px;
}
.tab-content li {
    list-style: none;
    color: #000;
    font-weight: 700;
    padding: 8px 0;
    letter-spacing: 1px;
}
.tab-list img {
    width: 100%;
    max-width: 22px;
}
.tab-content ul {
    padding: 0;
    margin: 0;
    display: flex
;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}
.tab-content p {
    letter-spacing: 1px;
    font-weight: 400;
    color: #796868;
}
/* Tab Title Styles */
.tab-title ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-title li {
    position: relative;
    margin: 0 15px;
    text-align: center;
}
.tab-title a {
    text-decoration: none;
    font-size: 17px;
    color: #a2a3a3 !important;
    transition: color 0.3s;
    line-height: 1px;
    outline: none !important;
    font-weight: 300;
}
/* Active tab link */
.tab-title li.active a {
    color: var(--primary-color) !important; 
    font-size:18px;
   outline: none !important; 
}

/* Bottom line for each tab */
.tab-title li::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #a2a3a3; /* Default line color for inactive tabs */
    transition: background-color 0.3s ease;
}
.tab-title li.active::after {
    background-color: var(--primary-color);
    height: 7px;
}

.tab-sec {
    padding: 2em 0;
}
/* Ensure proper navigation placement */
.tab-content-wrapper {
 
    align-items: center;
    position: relative;
}

.tab-sec .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.tab-img-wrp img {
    width: 100%;
    max-width: 350px;
}

.tab-sec .owl-left {
    left: 0px; /* Adjust spacing from content */
}

.tab-sec .owl-right {
    right: 0px; /* Adjust spacing from content */
}

.tab-sec .owl-prev, .owl-next {
    background: #a2a3a3;
    color: #fff;
    font-size: 30px;
    width: 50px;
    height: 50px;
    display: flex
;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tab-sec .owl-prev:hover, .owl-next:hover {
    background: #444;
}

.tab-content-box {
    position: relative;
}

.owl-nav {
    position: absolute;
    top: 50%;
}

.owl-prev:hover, .owl-next:hover {
    background: #444;
}

/* Tab Title Styles */
.tab-title ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-title li {
    position: relative;
    margin: 0 5px;
    width: 100%;
    text-align: center;
}


.tab-title li.active a {
    color: var(--primary-color) !important; /* Active tab color */
}

/* Bottom line for each tab */
.tab-title li::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #cbcccb; /* Default line color for inactive tabs */
}

/* Active tab bottom line */
.tab-title li.active::after {
    background-color: var(--primary-color); /* Change the bottom line color for active tab */
}

/* Tab Content Styling */
.tab-content-box {
    padding: 4em 0;
    position: relative;
    overflow: hidden;
}

.tab-content {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.5s ease;
}

.tab-content.active {
    display: block;
    position: relative;
}
/* About Css Start */
.about-sec {
    background: url(https://themefantasy.com/physioedgetwo/wp-content/themes/physio/assets/images/Middle%20banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    padding: 4em 0;
}
.about-title {
    color: #fff;
}
.about-title h2 {
    color: #fff;
    font-size: 30px;
    margin-bottom: 0;
}
.about-title span {
    font-size: 15px;
    font-weight: 300;
}
.about-sec ul {
    padding: 0;
    margin: 0;
}
.about-content ul {
    margin-top: 2em;
}
.about-sec li {
    list-style: none;
    color: #fff;
    font-size: 15px;
    font-weight: 300;
}
/*Method Sec Css Start*/
.method-sec {
    padding: 4em 0;
    background: var(--grey-color);
}
.method-sec h2 {
    font-size: 35px;
}
.method-sec h3 {
    display: flex
;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 300;
}
.method-sec h3::before, .method-sec h3::after {
    content: "";
    width: 120px;
    height: 1px;
    background: var(--secondary-color);
}

.method-sec h3::before {
    margin-right: 10px; /* Space between the line and the text */
}

.method-sec h3::after {
    margin-left: 10px; /* Space between the line and the text */
}
.method-box img {
    width: 100%;
    max-width: 45px;
}
.method-box h4 {
    font-size: 30px;
    font-weight: 600;
    margin: 5px 0 20px;
    color: var(--secondary-color);
}

.method-box {
    background: #fff;
    padding: 25px 20px;
    margin: 3em 0 0;
}

/* Testimonial Css start*/
.tesimonial-title-wrp { 
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    padding: 3em 0;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}
.tesimonial-title-wrp h2 {
    font-size: 35px;
}
.testimonial-title h3 {
    display: flex
;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--secondary-color);
    font-size: 20px;
    font-weight:300;
}
.testimonial-title h3::before, .testimonial-title h3::after {
    content: "";
    width: 85px;
    height: 1px;
    background: var(--secondary-color);
}
.tesimonial-box p {
    font-size: 15px;
    margin-bottom: 10px;
}

.testimonial-title h3::before {
    margin-right: 10px; /* Space between the line and the text */
}

.testimonial-title h3::after {
    margin-left: 10px; /* Space between the line and the text */
}
.testimonial-sec {
    background: var(--grey-color);
    margin: 30px 30px 10px;
}
.tesimonial-box {
    background: #fff;
    padding: 20px 20px;
    margin: 20px 0;
    height: 520px;
}
.profile-wrp {
    display: flex
;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
    gap: 20px;
}
.profile img {
    width: 100%;
    max-width: 100px;
}
.profile-content img {
    width: 100%;
    max-width: 100px;
}
.profile-content h4 {
    font-size: 18px;
    margin-bottom: 0;
}
.testimonial-title {
    position: relative;
    top: -10px;
}
/* Testimonial Css end*/
/*Contact Css Start*/
.contact-sec {
    padding: 4em 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}
.contact-title h2 {
    color: var(--grey-color);
    font-size: 35px;
}
.contact-title p {
    color: var(--grey-color);
    font-size: 16px;
    width: min(100%, 650px);
    margin: 25px auto;
}
.contact-wrp input {
    width: 100%;
    padding: 10px 20px !important;
    background: var(--grey-color);
    color: #000 !important;
    outline: none;
    border-radius: 0 !important;
    font-size: 15px;
}
.contact-wrp textarea {
    width: 100%;
    padding: 10px 20px !important;
    background: var(--grey-color);
    color: #000 !important;
    outline: none;
    border-radius: 0 !important;
    font-size: 15px;
    height: 90px;
    resize: none;
}
.contact-wrp {
    padding: 1em 3em;
}
.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: fit-content;
    text-align: center;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000a1 !important;
    background: #fff;
}
.form-btn p {
    margin-bottom: 0;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #fff;
    color: #fff;
    text-align: center;
}
.wpcf7-spinner {
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}
/* Media Query */
@media only screen and (max-width:991px) {
    .contact-wrp {
    padding: 1em 0 0;
}
.contact-title p {
    margin: 15px auto;
}
.tesimonial-box {
    height: auto;
}
}
@media only screen and (max-width:767px) {
    .method-box {
    margin: 1em 0 0;
}
.method-sec h2 {
    font-size: 25px;
}
.method-sec h3::before, .method-sec h3::after {
    content: "";
    width: 80px;
}
    .tab-title ul {
    display: block;
}
    .tab-title li {
        margin: 25px 15px;
        width: auto;
    }
.owl-nav {
    display: none;
}
.tab-content-box {
    padding: 2em 0;
}
.tab-sec {
    padding: 1em 0;
}
.tab-title a {
    font-size: 16px;
   
}
.about-sec {
    background-position: center;
    padding: 2em 0;
}
.method-sec {
    padding: 2em 0;
}
.method-box h4 {
    font-size: 22px;
    margin: 5px 0 10px;
}
.tesimonial-title-wrp h2 {
    font-size: 25px;
}
.testimonial-title h3 {
    font-size: 16px;
}
.testimonial-sec {
    margin: 30px 20px;
}
.about-title h2 {
    font-size: 25px;
}
}

