body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    /* background: url('images/upscalemedia-transformed (1).jpeg') no-repeat center center fixed; */
    background-size: cover;
    height: auto;
    color: white;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgb(0 57 91 / 28%); */
    z-index: 0;
}
body * {
    position: relative;
    z-index: 1;
}
.container {
    background: rgb(14 109 144);
    /* padding: 40px; */
    /* max-width: 800px; */
    /* margin: 100px auto; */
    /* border-radius: 10px; */
    /* text-align: center; */
} 

input, textarea, button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}
.container h1{
    font-size:30px;
}
button {
    background-color: orange;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../../images/upscalemedia-transformed (1).jpeg') no-repeat center center fixed;
    background-size: cover; /* fills the entire area */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.overlay { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 114 181 / 18%);  
    z-index: 1;
}
 
.hero-text {
    position: relative;
    z-index: 2;
    color: rgb(0 64 143);
    font-size: 40px;
    font-weight: bold;
    padding: 20px;
}
.hero-text h1{
    font-size:50px;
}

.hero-text-paragraph{
    font-size: 20px;
    width: 80%;
    font-weight: 100;
    margin-left: 10%;
    padding:20px;
}
/* .container {
    display: none; 
} */

header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

header .logo {
    color: white;
    font-size: 35px;
    font-weight: bold;
    text-transform: uppercase;
    
}
.logo{
    width:30%;
}
.logo img{
    width:30%;
}
header nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 20px;
    transition: color 0.3s;
}

header nav a:hover {
    color: #ffd700;
}


#about{
background: rgb(0 112 155 / 55%);
    padding: 40px;
    max-width: 90%;
    margin: 100px auto;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
}

.book_appointment_btn{
    width:25%;
    background-color: orange;
    color:white;
    margin-top:5%;
    border-radius: 30px;

}
.book_appointment_btn:hover{
    background-color: #34a74e;
}
.book_appointment_btn a{
    text-decoration: none;
    color: white;
}
 .book_appointment_btn:hover .span_btn_arrow {
background-color: #006400;
}

#appointmentForm select{
    width:100%;
    font-size:20px;
    padding:10px;
}
#requestForm select{
    width:100%;
    font-size:20px;
    padding:10px;
}

footer {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    /* text-align: center; */
    padding: 20px;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

footer a {
    color: #ffd700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

 
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px; height: 60px;
    animation: spin 1s linear infinite;
    margin: auto;
}


#thankYouPopup, #formLoader {
    display: none; /* hidden by default */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#thankYouPopup { background: rgba(0,0,0,0.6);}
#formLoader { background: rgba(255,255,255,0.7); z-index: 9998;}

@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

/* .main_div_button{
    display:flex;
} */

#aboutus{
    display:flex;
}
.abput_us_div_inner_left{
    width:45%;
}
.abput_us_div_inner_right{
    width:45%;
    margin-left:5%;
}

.abput_us_div_inner_right h1{
        font-size: 40px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-top: 20px;
    color: #0080b2;
    text-align: center;
    border: 1px solid #0080b2;
    border-radius: 25px;
    }

.abput_us_div_inner_right h2{
    padding: 10px;
    color:#003b5e;
}

.testimonial-slide {
    background: #1e2838;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    padding: 32px 20px;
    color: #fff;
    min-height: 180px;
}
.testimonial-author {
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.1em;
}
.add-testimonial-btn {
    display: inline-block;
    margin: 20px auto 0 auto;
    padding: 12px 28px;
    border: none;
    border-radius: 24px;
    background:orange;
    color: #fff;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s;
    width:40%;
}
.submit_btn_class_testimonal{
    margin-left:25%;
}
.add-testimonial-btn:hover { background: orange; }
#testimonialModal {
    display: none; 
    position: fixed; 
    z-index: 999; 
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5); 
    align-items: center; justify-content: center;
}
#testimonialModal .modal-content {
    background: #fff;
    padding: 50px 60px 60px 60px;
    border-radius: 12px;
    /* max-width: 600px;  */
    width: 50%;
    margin: 0 auto;
    color: #111;
    position: relative;
}
#testimonialModal .close {
    position: absolute;
    right: 18px; top: 10px; font-size: 50px; cursor: pointer; color: #444;
}

.swiper-slide{
    height:auto !important;
    background-color: white;
    color:black;
}
.swiper-pagination{
    position: static !important;
}
#testimonialModal h3{
    font-size: 25px;
    text-align: center;
    padding: 25px;
}

.home-contact-us {
    /* padding: 50px 0; */
    background: var(--primary-color);
}
.home-contact-us .home-contact-item {
    display: flex
;
    position: relative;
    padding: 10px 10px 10px 20px;
    border-right: 1px solid var(--divider-color);
}
.home-contact-item .icon-box {
    position: relative;
    width: 64px;
    height: 64px;
    background: var(--divider-color);
    display: flex
;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 20px;
    overflow: hidden;
}
.home-contact-item .icon-box img {
    max-width: 50px;
}
.home-contact-item .icon-box img {
    position: relative;
    z-index: 1;
}
.row, .column, .flex {
    display: flex
;
    flex-wrap: wrap;
}
.row {
    margin-right: -15px;
    margin-left: -15px;
}
.row>.col-md-4 {
        height: auto;
        width: 33.3333%;
        /* border-right: 1px solid lightgray; */
        padding: 10px;
    }
.container_physiotherapy_up {
    width: 50% !important;
}
.home-contact-content{
    line-height: 30px;
}

.solution-your-plan {
    padding: 50px 0;
    background: var(--secondary-color);
}
/* .therapy-process {
    padding: 100px 0 70px;
} */
.section-row {
    margin-bottom: 60px;
    text-align: center;
    color: rgb(14 109 144);
}
.col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
}
.section-title h2 {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 0;
}
section-title-services p{
    padding:10px !important;
}  
.therapy-process .row .col-md-6 {
        flex: 0 0 auto !important;
        width: 25% !important;
    }

.therapy-process-item {
    text-align: center;
    height: calc(100% - 30px);
    margin-bottom: 30px;
    padding:20px;
}
.therapy-process-item .icon-box {
    position: relative;
    height: 100px;
    width: 100px;
    border-radius: 100%;
    margin: 0 auto;
    margin-bottom: 30px;
}
.image-anime {
    position: relative;
    overflow: hidden;
}
.therapy-process-item .icon-box img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 100%;
}
.therapy-process-item .therapy-process-content h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4em;
    text-transform: capitalize;
    max-width: 220px;
    margin: 0 auto;
    margin-bottom: 20px;
    color:rgb(0 87 159) !important;
}
.therapy-process-item .therapy-process-content p {
    /* color: var(--primary-color); */
    opacity: 70%;
    margin: 0;
    color:rgb(0 87 159) !important;
    line-height: 25px;
    font-size: 19px;
}
.therapy-process-item .therapy-process-content p {
    color: var(--primary-color);
    opacity: 70%;
    margin: 0;
}
.container-section{
    color:black;
    /* padding: 50px; */
}
.therapy-process .col-lg-3:nth-child(even) .therapy-process-item .icon-box:before {
    position: absolute;
    display: block;
    content: '';
    background: url(../../images/icon-right-down-arrow.svg) no-repeat right center;
    top: 50%;
    right: 0;
    width: 135px;
    height: 23px;
    background-size: 100% auto;
    transform: translate(175px, -50%);
    z-index: 2;
}

.therapy-process .col-lg-3:nth-child(odd) .therapy-process-item .icon-box::before {
    position: absolute;
    display: block;
    content: '';
    background: url(../../images/icon-right-up-arrow.svg) no-repeat right center;
    top: 50%;
    right: 0;
    width: 135px;
    height: 23px;
    background-size: 100% auto;
    transform: translate(175px, -50%);
    z-index: 2;
}

.image-anime:after {
    content: "";
    position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255, 255, 255, .3);
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 1;
}


.our-team {
    padding: 50px 0 0px;
}
.section-title h2 {
    font-size: 54px;
    font-weight: 700;
}
.gallery-carousel {
    padding: 50px 0;
}
.gallery-carousel-box {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.gallery-scrolling-content {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-x 30s linear infinite;
}
.gallery-image {
    flex: 0 0 auto;
    width: 316px;
    text-align: center;
}
.gallery-image h3{
    text-align:center;
}
.image-anime img {
    width: 316px;
    height: 365px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.text-h6 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 16px;
    color: black;
}
.col-lg-9 {
        flex: 0 0 auto;
        width: 100%;
    }
.justify-center, .flex-center {
    justify-content: center;
}
.cb-div:nth-child(2n) {
    background-color: #c8ecf980;
}
/* Keyframes for scrolling */
@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* -50% since you duplicate all images */
}

/* Responsive: adjust images for mobile */

.desktop-slider { display: block; }
.mobile-slider { display: none; }
.swiper-horizontal {
    touch-action: pan-y;
}
.swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    overflow: clip;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
}
   .swiper-wrapper {
        transition-duration: 0ms;
    transform: translate3d(-3900px, 0px, 0px);
    transition-delay: 0ms;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex
;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
}


.swiper-slide { 
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: block;
}





body { background: #f5f6fa; margin: 0; font-family: Arial, sans-serif; }
    .our-team.cb-div { padding: 40px 0; }
    .section-title { margin-bottom: 28px;text-align: center;color: rgb(14 109 144); }
    .section-title-sec{width:80%;margin-left:10%;}
    .slider-container {
      overflow: hidden;
      width: 100%;
      margin: 0 auto;
      background: transparent;
    }
    .slider-track {
      display: flex;
      gap: 30px;
      width: max-content;
      animation: scroll 30s linear infinite;
      align-items: stretch;
    }
    @keyframes scroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .team-card {
      position: relative;
      width: 270px;
      min-width: 270px;
      border-radius: 18px;
      /* overflow: hidden; */
      background: #fff;
      box-shadow: 0 8px 32px rgba(0,0,0,0.10);
      margin-bottom: 20px;
      transition: transform 0.3s;
      cursor: pointer;
    }
    .team-card img {
      width: 100%;
      display: block;
      height: 270px;
      object-fit: cover;
      border-bottom: 2px solid #eee;
    }
    .team-info {
      padding: 12px;
      background: #f8f8f8;
      text-align: center;
    }
    .team-info h3 { margin: 0 0 4px 0; font-size: 19px; color: rgb(14 109 144); }
    .team-info p { margin: 0; font-size: 15px; color: #222; }
    .team-social {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 20px;
      background: rgba(44,62,80,0.91);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
      font-size: 26px;
    }
    .team-card:hover .team-social { opacity: 1; pointer-events: all; }
    .team-social a {
      color: #fff;
      margin: 0 10px;
      text-decoration: none;
      font-size: 26px;
      transition: color 0.2s;
    }
    .team-social a:hover { color: #ffc107; }
    /* Responsive Styles */
 
    
    /* Pause on hover */
    .slider-container:hover .slider-track { animation-play-state: paused; }

    .container-section{
        background: none !important;
    }


    .main-footer {
        padding: 0px 0 0;
        background: var(--primary-color);
    }
    .row>.col-md-3 {
        height: auto;
        width: 25%;
        /* padding:50px; */
    }
    .footer-logo {
        margin-bottom: 10px;padding: 5px;
    }
    .about-footer-content p {
        color: var(--white-color);
        margin: 0;
        padding-bottom: 50px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .footer-social-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-social-links{
    padding: 12px;
    font-size: 30px;
}
.footer-social-links ul li {
    display: inline-flex
;
    margin-right: 20px;
}
.about-service-list {
    margin-left: 55px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links{
    padding: 12px;
    font-size: 15px;
}
.footer-links ul li {
    display: inline-flex
;
    margin-right: 20px;
}



.testimonial-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    height: auto; /* adjust height as needed */
    background: transparent;
}

.testimonial-scroll-track {
    display: flex;
    width: max-content;
    animation: scrollTestimonials 40s linear infinite;
    padding:20px;
}

.testimonial-item {
    flex: 0 0 auto;
    width: 400px;
    padding: 20px;
    margin-right: 20px;
    background: #ffffff;
    color: black;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.testimonial-author {
    margin-top: 10px;
    font-weight: bold;
    /* text-align: right; */
    color: black;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


.about-working-hour h3, .about-service-list h3, .footer-contact h3 {
    color: var(--accent-color);
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 30px;
    line-height: normal;
}
.about-service-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.about-service-list ul li {
    text-transform: capitalize;
    margin-bottom: 20px;
}
.about-service-list ul li a {
    color: var(--white-color);
    transition: all 0.3s ease-in-out;
}
.footer-info-box .icon-box {
    position: absolute;
    top: -2px;
    left: 0;
}
.footer-copyright {
    border-top: 1px solid lightgray;
    padding: 40px 0;
    margin-top: 40px;
}
.router-link-active img{
        width:40%; 
    }

.align-items-center {
    align-items: center !important;
}
.text-center {
    text-align: center !important;padding: 10px;font-size:15px;
}
.row>.col-md-8 {
        height: auto;
        width: 66.6667%;
    }

.footer-copyright-text p {
    color: var(--white-color);
    margin: 0;
    
}
.row>.col-md-4 {
        height: auto;
        width: 33.3333%;
    }
.container-footer {
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 60px;
}

.footer-contact{
    margin-left:55px;
}
.footer-logo a{
    color:white !important;
}
.footer-info-box-content p{
    color:white !important;
}
.footer-social-links li a{
    color:white !important;
}
.footer-links a{
    color:white !important; 
}
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav {
        margin-top: 10px;
    }

    header nav a {
        display: block;
        margin: 5px 0;
    }
    .book_appointment_btn{
        width:50% !important;
    }
    .book_appointment_btn a {
    font-size: 40px !important;
    }
    #aboutus{
        display:inline-block !important;
    }

    .abput_us_div_inner_left{
        width:100%;
    }
    .abput_us_div_inner_right{
        width:100%;
    }
    header nav a {
        font-size:30px !important;
    }
}

@media screen and (max-width: 1024px) and (min-width: 360px) {
    

    .book_appointment_btn a {
    font-size: 40px !important;
    }
    .book_appointment_btn{
        width:50% !important;
    }
    #aboutus{
        display:inline-block !important;
    }

    .logo{
        width: 30%;
    }
    .nav_gheader{
        width:70%;
        text-align: right;
    }
    .hero-text-paragraph {
        font-size: 25px;
        }
    .logo img{
        width:55%;
    }
    .router-link-active img{
        width:35%; 
    }
    .abput_us_div_inner_left{
        width:100%;
    }
    .abput_us_div_inner_right{
        width:100%;
    }
    
    header nav a {
        font-size:30px !important;
    }

    .row, .column, .flex{
        display:block;
    }
    .row>.col-md-4{
        width:100%;
    }
    .container_physiotherapy_up {
        width: 100% !important;
    }
    .home-contact-item .icon-box{
        width:150px;
        height:150px;
        /* display:block; */
    }
    .home-contact-item .icon-box img{
        max-width:100px;
    }
    .home-contact-content{
        line-height: 45px;
        font-size:25px;
    }

    .therapy-process .col-lg-3:nth-child(even) .therapy-process-item .icon-box:before {
       
        display: none;
        
    }

    .therapy-process .col-lg-3:nth-child(odd) .therapy-process-item .icon-box::before {
         display: none;
    }

    .image-anime:after {
         display: none;
    }
    .therapy-process .row .col-md-6{
        width:60% !important;
        margin-left:20%;
    }
    .therapy-process-item .therapy-process-content p {
        font-size:28px;
        line-height: 40px;
    }
    .therapy-process-item .therapy-process-content h3{
        font-size:40px;
    }
    .call-buttons-container[data-v-a76e53d0]{
        gap: 40px !important;
    padding: 40px !important;
    }
    .call-btn-link[data-v-a76e53d0], .whatsapp-btn-link[data-v-a76e53d0] {
            width: 100px !important;
    height: 100px !important;
    }
    .q-icon{
        font-size:50px !important;
    }

    .gallery-image, .image-anime img { width: 200px; height: 240px; }
    .desktop-slider { display: none; }
    .mobile-slider { display: block; }
    .gallery-image, .image-anime img { width: 40vw !important; height: 400px !important; }
    .gallery-mobile-content { display: flex; transition: transform 0.4s cubic-bezier(.17,.67,.83,.67); }
    .gallery-carousel-box { position: relative; overflow: hidden;height:27vh; }
    .mobile-arrow {
        position: absolute; top: 40%; z-index: 2;
        background: rgba(0,0,0,0.5); color: #fff; border: none; font-size: 2rem; width: 40px; height: 40px; border-radius: 50%;
        cursor: pointer;
    }
    .mobile-arrow.prev { left: 10px; }
    .mobile-arrow.next { right: 10px; }


    .gallery-image h3{
        font-size:20px;

    }

    .section-title p{
        font-size:15px;
    }


    .slider-track { gap: 12px; }
      .team-card, .team-card img { width: 84vw; min-width: 84vw; height: 150px; }
      .team-info { padding: 6px; font-size: 14px; }
      .team-social { font-size: 25px; }


    .team-card { width: 100%;  height:auto; }
    .team-card img { width: 100%;  height:auto; }

    .team-info h3{
        font-size:30px;
    }
    .team-info p {
        font-size: 20px;
    }
    .row>.col-md-3 {
        width:70%;
    }
    .about-service-list {
        font-size:25px;
        margin-left: 0px !important;
        padding:20px;
    }

    .about-service-list h3 {
        font-size:35px;
    }
    .about-footer-content p{
        font-size:22px;
    }
    .footer-contact h3{
        font-size:35px;
    }   
    .footer-contact {
        margin-left: 15px;
        font-size: 25px;
    }
    .row>.col-md-8{
        width:100%;
    }
    .text-center {
        text-align: center !important;
        padding: 10px;
        font-size: 10px;
    }


    .footer-links{
        text-align: center;
        font-size: 20px;
    }

    .text-center p{
        font-size:15px;
    }

    #testimonialModal .modal-content {
        width:80% !important;
    }

}