#swasthya-panchakarma-section-C {
    position: relative;
    background-image: url('images/plant-gf74e64662_1920.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
}

#swasthya-panchakarma-section-C::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.8;
}

#swasthya-panchakarma-section-C .text-block {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#swasthya-panchakarma-section-C .custom-button {
    position: relative;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

#swasthya-panchakarma-section-C .text-block h2,
#swasthya-panchakarma-section-C .text-block p {
    color: #ffffff;
}

#swasthya-panchakarma-section-C .text-block h2 {
    font-size: 40px;
    color: #ffffff;
    line-height: 50px;
    text-align: left;
}

#swasthya-panchakarma-section-C .text-block p {
    font-size: 14px;
    color: #ffffff;
    text-align: left;
}

#swasthya-panchakarma-section-C .btn-primary {
    margin-top: 15px;
    /* Add margin to separate button from text */
    background: #ff7f00;
    padding: 23px 50px;
    border: none;
}


/* Custom styles */
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    position: relative;
    /* Ensure positioning context for pseudo-elements */
}

.swiper-client-msg {
    padding: 20px;
    position: relative;
    /* Ensure positioning context for pseudo-elements */
}

.swiper-client-msg p {
    position: relative;
    /* Ensure positioning context for pseudo-elements */
    font-size: 18px;
    /* Default font size */
}

.swiper-client-data {
    padding: 20px;
}

.swiper-client-msg p {
    position: relative;
    /* Ensure positioning context for pseudo-elements */
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 10px;
}

/* Pseudo-elements */
/* .swiper-client-msg p::before,
    .swiper-client-msg p::after {
    position: absolute;  
    color: #fb7c04;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    }
    
    .swiper-client-msg p::before {
    content: "\f10d";
    top: 0.5rem;
    left: 2rem;
    font-size: 3rem;
    } */

/* .swiper-client-msg p::after {
    content: "\f10e";
    bottom: 0.5rem;
    right: 2rem;
    font-size: 3rem;
    } */
/* Responsive styles for screens up to 1024px */
@media only screen and (max-width: 1024px) {

    .swiper-client-msg p::before,
    .swiper-client-msg p::after {
        display: none;
        /* Hide the pseudo-elements for screens up to 1024px */
    }
}

/* Responsive styles */
@media only screen and (max-width: 768px) {

    .swiper-client-msg p::before,
    .swiper-client-msg p::after {
        display: none;
        /* Adjust font size for smaller screens */
    }
}

@media only screen and (max-width: 480px) {

    .swiper-client-msg p::before,
    .swiper-client-msg p::after {
        display: none;
        /* Further adjust font size for even smaller screens */
    }
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
    .swiper-client-msg p {
        font-size: 16px;
        /* Adjust font size for smaller screens */
    }
}

@media only screen and (max-width: 480px) {
    .swiper-client-msg p {
        font-size: 14px;
        /* Further adjust font size for even smaller screens */
    }
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media only screen and (max-width: 480px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (max-width: 768px) {
    #shimoga_location_main {
        height: 200px;
        /* Adjust height for mobile devices */
    }
}

@media (max-width: 1024px) {
    #main-footer .row>div[class*="col-"] {
        flex: 0 0 100%;
        /* Two columns on screens up to 1024px */
    }
}

@media (max-width: 768px) {
    #main-footer .row>div[class*="col-"] {
        flex: 0 0 100%;
        /* Full width for all columns on screens up to 768px */
        text-align: center;
        /* Center align text */
    }
}

/* Media Queries */

/* Tablet */
@media (max-width: 768px) {
    #shimoga_location_main {
        height: auto;
    }
}

/* Mobile */
@media (max-width: 576px) {
    #shimoga_location_main .col-md-6 {
        width: 100%;
        text-align: center;
    }
}

/* For Mobile */
@media (max-width: 576px) {
    #shimoga_location_main .text-block h2 {
        font-size: 24px;
        /* Adjust font size for mobile */
        line-height: 32px;
        /* Adjust line height for mobile */
        text-align: center;
        /* Align center for mobile */
    }
}

/* For Tablet */
@media (min-width: 577px) and (max-width: 768px) {
    #shimoga_location_main .text-block h2 {
        font-size: 32px;
        /* Adjust font size for tablet */
        line-height: 40px;
        /* Adjust line height for tablet */
        text-align: center;
        /* Align center for tablet */
    }
}

/* For Laptop */
@media (min-width: 769px) {
    #shimoga_location_main .text-block h2 {
        font-size: 40px;
        /* Adjust font size for laptop */
        line-height: 50px;
        /* Adjust line height for laptop */
        text-align: left;
        /* Align left for laptop */
    }
}

@media (min-width: 768px) {
    #sripaa_action {
        padding: 10px 0;
    }

}

@media (max-width: 576px) {
    #sripaa_action {
        padding: 10px 0;
    }

}

/* For Mobile */
@media (max-width: 576px) {
    #shimoga_location_main .custom-button {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        margin-top: 20px;
        /* Adjust margin for mobile */
        text-align: center;
    }
}

/* For Tablet */
@media (min-width: 577px) and (max-width: 768px) {
    #shimoga_location_main .custom-button {
        position: relative;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
}

/* For Laptop */
@media (min-width: 769px) {
    #shimoga_location_main .custom-button {
        position: relative;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
}


#book_shimoga_location_main .custom-button {
    text-align: center;
    /* Center align buttons for better responsiveness */
    margin-top: 15px;
    /* Adjusted margin for better spacing */
}

@media (max-width: 1024px) {
    #book_shimoga_location_main .col-md-6 {
        /* width: 100%;  */
        text-align: center;
        /* Center align text for better responsiveness */
    }

    #book_shimoga_location_main .col-xl-4 .col-lg-4 .col-md-4 {
        width: 50%;
        /* Make half width for better responsiveness */
        text-align: center;
        /* Center align buttons for better responsiveness */
    }
}

@media (max-width: 576px) {
    #book_shimoga_location_main .col-xl-4 .col-lg-4 .col-md-4 {
        width: 100%;
        /* Make full width for better responsiveness on small devices */
    }

    #book_shimoga_location_main .text-block h2,
    #book_shimoga_location_main h4 {
        text-align: center;
        /* Center align text for better responsiveness */

    }
}

/* <!-- Doctor says section starts  media queries css--> */
/* Media Queries */

@media (max-width: 1024px) {
    #main-doctor-says {
        height: 400px;
        /* Adjusted height for better responsiveness on tablets and laptops */
    }
}

@media (max-width: 768px) {
    #main-doctor-says .text-block {
        max-width: 90%;
        /* Adjusted max-width for better responsiveness on tablets */
    }
}

@media (max-width: 576px) {
    #main-doctor-says .text-block {
        max-width: 100%;
        /* Adjusted max-width for better responsiveness on mobile */
    }

    #main-doctor-says .open-quote {
        font-size: 60px;
        /* Adjusted font size for better visibility on mobile */
        line-height: 60px;
        /* Adjusted line height for better spacing on mobile */
    }

    #main-doctor-says p {
        font-size: 20px;
        /* Adjusted font size for better readability on mobile */
        line-height: 26px;
        /* Adjusted line height for better spacing on mobile */
        margin: 15px 0;
        /* Adjusted margin for better spacing on mobile */
    }

    #main-doctor-says span {
        font-size: 14px;
        /* Adjusted font size for better readability on mobile */
        line-height: 18px;
        /* Adjusted line height for better spacing on mobile */
        margin-bottom: 5px;
        /* Adjusted margin for better spacing on mobile */
    }

    #main-doctor-says .title {
        font-size: 12px;
        /* Adjusted font size for better readability on mobile */
        line-height: 18px;
        /* Adjusted line height for better spacing on mobile */
        margin-top: 5px;
        /* Adjusted margin for better spacing on mobile */
    }

    #shimoga_our_doctor_section h2 {
        font-size: 24px;
    }
}

@media (max-width: 1024px) {
    #main-doctor-says {
        background-size: cover;
        /* Adjust background size for better visibility on tablets and laptops */
    }
}

@media (max-width: 768px) {
    #main-doctor-says {
        background-size: cover;
        /* Reset background size for better visibility on tablets */
    }
}

@media (max-width: 576px) {
    #main-doctor-says {
        height: 200px;
    }
}

/* Responsive Styles */
@media only screen and (max-width: 2560px) {

    #inpatient-section-D .col-xl-4,
    .col-lg-4,
    .col-md-6 {
        margin-bottom: 10px;
    }
}

#our-gallery-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#our-gallery-section img:hover {
    transform: scale(1.05);
}

#shimoga_our_doctor_section .card-header {
    background-color: #ff7f00;
    color: #000000;
    font-size: 20px;
    font-weight: 600;

}

#shimoga_our_doctor_section .card-body span {
    display: block;
    font-weight: 500;
}

#shimoga_our_doctor_section .card-body a,
.card-footer a {
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

#shimoga_our_doctor_section .card-header i {
    font-size: 1.5em;
    color: #000000;
}

#shimoga_location_main .custom-button i {
    font-size: 30px;
}

#shimoga_location_main .custom-button i {
    font-size: 30px;
}

/* Media queries for responsiveness */
@media (max-width: 767px) {

    /* Mobile devices */
    .social-icons a {
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    /* Tablets and laptops/desktops up to 1024px */
    .social-icons a {
        font-size: 1.3rem;
    }
}

/* Default styles */
@media (min-width: 992px) and (max-width: 2560px) {

    /* Navbar items to wrap under "Treatment" dropdown */
    .navbar-nav {
        display: flex;
        flex-wrap: wrap;
    }

    /* Show "Online Consultation" button below the navbar on large screens */
    /* .navbar-collapse {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  } */

    /* Show "Online Consultation" button next to "Shard Virechana" */
    .nav-item:last-child .nav-link {
        margin-right: 10px;
    }


    .navbar-collapse .btn {
        margin-top: 10px;
    }
}