/********** Template CSS **********/
:root {
    /*--primary: #00B074;*/
    --secondary: #2B9BFF;
    --light: #EFFDF5;
    --dark: #2B3940;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 55px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
    width: 224px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .container,
/*.page-header .container {*/
/*    position: relative;*/
/*    padding: 45px 0 45px 35px;*/
/*    border-left: 15px solid var(--primary);*/
/*}*/

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: var(--primary);
}


.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 199px;
        margin-left: 10px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0 !important;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(43, 57, 64, .5), rgba(43, 57, 64, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

@media (max-width: 768px) {
    .search-overlay {
        width: 100%; /* Make the search section narrower */
        padding: 15px; /* Reduce padding */
        top: 15%; /* Adjust vertical position */
    }

    .state-box {
        font-size: 12px; /* Smaller font size for smaller screens */
    }

    .input-group .form-control {
        font-size: 14px; /* Adjust input font size */
    }
}

@media (max-width: 576px) {
    .search-overlay {
        width: 100%; /* Further narrow the search section */
        top: 20%; /* Adjust position for very small screens */
    }

    .state-box {
        flex-wrap: wrap; /* Allow wrapping of content */
        padding: 8px; /* Reduce padding */
    }

    .input-group .form-control {
        font-size: 12px; /* Further reduce font size */
    }

    .input-group-text img, 
    .input-group button img {
        width: 30px; /* Reduce icon size */
    }
}


/*** About ***/
.about-bg {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 5px 5px;
}


/*** Category ***/
.cat-item {
    display: block;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border: 1px solid transparent;
    transition: .5s;
}

.cat-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}


/*** Job Listing ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.job-item {
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.job-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}



/*** Testimonial ***/ 
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: linear-gradient(135deg, #5c0e41, #7b225d) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #5c0e41; /* default dot color */
    border: none;
    border-radius: 50%;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: linear-gradient(135deg, #5c0e41, #7b225d); /* active dot color */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #5c0e41;
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 2px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}



   /*23-01-2025*/
/* Default Carousel Styles */

@media (max-width: 768px) {
    #categoryClinic-section h1 {
        font-size: 16px; /* Smaller heading */
    }

    #categoryClinic-section button {
        font-size: 12px; /* Adjust button font size */
    }

    #cat-list .col {
        text-align: center; /* Align content in smaller screens */
    }
    .clinic-item img {
        width: 80px;
        height: 80px;
        margin-bottom: 8px;
    }

    .clinic-item h6 {
        font-size: 10px;
    }

    .clinic-item p {
        font-size: 10px;
    }
}

/* Very small screens (max-width: 576px) */
@media (max-width: 576px) {
    #categoryClinic-section {
        margin: 0 10px; /* Smaller side margins */
    }

    #categoryClinic-section h1 {
        font-size: 14px;
    }

    #cat-list {
        row-gap: 1rem; /* Adjust gap between rows */
    }
    .clinic-item img {
        width: 70px;
        height: 70px;
    }

    .clinic-item h6,
    .clinic-item p {
        font-size: 9px;
    }
}
.clinic-list, .hospital-list, .medica-list {
    display: flex;
    flex-direction: row; /* Arrange items in a single column */
    gap: 10px; /* Sets consistent spacing between items */
    align-items: center; /* Center items horizontally */
}

/* Individual item styles */
.clinic-item, .hospital-item, .medica-item {
    width: 100%; /* Make each item span the full width */
    max-width: 150px; /* Optional: limit max width of each item */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
    text-align: center; /* Optional: center content inside the item */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .clinic-item, .hospital-item, .medica-item {
        max-width: 100%; /* Ensure items scale properly on smaller screens */
    }
}

@media (max-width: 576px) {
    .clinic-item, .hospital-item, .medica-item {
        max-width: 100%; /* Same for mobile */
    }
}


    
  .floating-modal {
    position: fixed;
    bottom: 20px; /* Adjust distance from the bottom */
    right: 20px; /* Adjust distance from the right */
    z-index: 9999; /* Ensure it stays on top */
    width: auto; /* Allow width to be flexible */
    max-width: 100%; /* Ensure it doesn't go out of screen */
    padding: 10px;
    
}

.modal-body {
    position: relative;
}

/* Default for large screens */
.responsive-btn {
    font-size: 12px; /* Adjust font size for larger screens */
    padding: 12px 20px; /* Add padding for larger screens 
     margin-left: 4px; /* Adjust as needed */
}

/* For mobile and smaller screens */
@media (max-width: 576px) {
    .floating-modal {
        bottom: 10px; /* Adjust distance from the bottom for mobile */
        right: 10px; /* Adjust distance from the right for mobile */
        background-color: transparent;
        border:none;
    }
    
    .responsive-btn {
        font-size: 12px; /* Adjust font size for mobile */
        padding: 10px 15px; /* Adjust padding for mobile */
    }
}

/* For medium screens (tablet or small devices) */
@media (max-width: 768px) {
    .floating-modal {
        bottom: 12px; /* Adjust bottom distance for tablets */
        right: 12px; /* Adjust right distance for tablets */
        background-color: transparent;
        border:none;
    }

    .responsive-btn {
        font-size: 14px; /* Adjust font size for tablets */
        padding: 10px 18px; /* Adjust padding for tablets */
    }
}


/*24/01/2025*/

html,
body {
    height: 100%; /* Full height of the viewport */
    margin: 0; /* Remove default margin */
}

.d-flex {
    display: flex;
   
}

.min-vh-100 {
    min-height: 100vh; /* Full viewport height */
}

.flex-fill {
    flex: 1; /* Fills the remaining space */
}

/* Footer Styling */
.footer {
    background-color: #343a40; /* Dark footer background */
    color: #ddd; /* Text color */
}

.footer .btn-link {
    text-decoration: none;
    color: #aaa;
}

.footer .btn-link:hover {
    color: #fff;
}

/* Media Queries */
@media (max-width: 768px) {
    .footer-section {
        flex: 1 1 50%; /* Adjust columns for smaller screens */
    }
    .copyright {
        text-align: center;
    }
    .footer-menu {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-section {
        flex: 1 1 100%; /* Stacks columns vertically */
        text-align: center;
    }
    .footer-section h6 {
        font-size: 16px; /* Adjust heading size */
    }
    .btn-link {
        font-size: 14px; /* Smaller font size for links */
    }
}


/* Responsive Search Section */
.search-overlay {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -10%);
    z-index: 10;
    width: 60%;
    border-radius: 10px;
    padding: 20px;
    margin-top: 50px;
   
}

/* Flexbox container for responsiveness */
#responsive-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Current State Box */
.state-box {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 10px;
    width: fit-content;
    flex-direction: row; /* Ensures row alignment */
}

.state-icon {
    font-size: 18px; /* Adjust icon size */
    margin-right: 8px; /* Adds spacing between icon and text */
}

.state-text {
    white-space: nowrap; /* Prevents text from breaking into new line */
    font-size: 16px;
}

/* Search Form */
#search-form {
    display: flex;
    width: 100%;
    margin-top: 55px; /* Default for larger screens */
}

@media (max-width: 768px) {
    #search-form {
        margin-top: 20px; /* Decrease margin for tablets and smaller devices */
    }
}

@media (max-width: 480px) {
    #search-form {
        margin-top: 0; /* Further decrease margin for mobile devices */
    }
}


.input-group {
    width: 100%;
    border: 1px solid #000;
    border-radius: 10px;
    overflow: hidden;
}

/* Input Field */
#search-input {
    border: none;
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
}

/* Buttons */
.voice-search,
button[type="submit"] {
    border: none;
    background-color: #fff;
    padding: 5px;
}

/* Suggestions List */
#suggestions-list {
    display: none;
    position: absolute;
    z-index: 9999;
    width: 45%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .search-overlay {
        width: 90%;
        padding: 15px;
    }

    .state-box {
        width: 100%;
        margin-bottom: 10px;
    }

    #responsive-container {
        flex-direction: column;
    }

    .input-group {
        flex-direction: row;
    }

    #search-input {
        font-size: 14px;
        padding: 8px;
    }

    button[type="submit"] img {
        width: 35px;
    }
}

@media (max-width: 480px) {
    .search-overlay {
        width: 95%;
    }

    #search-input {
        font-size: 14px;
        padding: 6px;
    }

    .voice-search img {
        width: 18px;
    }

    button[type="submit"] img {
        width: 30px;
    }
}


    /* Rating Stars */
    .rating {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
    .rating input {
        display: none;
    }
    .rating label {
        width: 25px;
        height: 25px;
        margin: 2px;
        background: gray;
        display: inline-block;
        clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
        cursor: pointer;
    }
    .rating input:checked ~ label {
        background: gold;
    }

    /* Popup Styling */
    .popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 20px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
        border-radius: 8px;
        width: 300px;
        z-index: 1000;
    }
    .popup-content {
        position: relative;
    }
    .popup .close {
        position: absolute;
        top: 5px;
        right: 5px;
        font-size: 20px;
        cursor: pointer;
    }
   .popup-content button {
    background-color: #28a745; /* Green */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.popup-content button:hover {
    background-color: #218838; /* Darker green on hover */
}

.reduced-gap {
        margin-bottom: 0.5rem !important;
        margin-top: 0.5rem !important;
    }
    
    .btn-gradient-green {
    background: linear-gradient(135deg, #28a745, #218838);
    color: #fff !important;
    border: none;
}
.btn-gradient-green:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
}

/* back button*/
@media (max-width: 768px) {
    .your-button-class {
        display: none;
    }
}

/*doctors*/
.doctor-card {
    background: linear-gradient(to bottom right, #f5f0e6, #d6e6d6); /* Beige white to soft green gradient */
    border-radius: 12px;
    border: 1px solid #c4d1c4; /* softer border */
    /* Corner-focused shadow: gray + green dark layered shadows */
    box-shadow:
        /* bottom right corner */
        4px 4px 8px rgba(64, 64, 64, 0.3),
        6px 6px 12px rgba(0, 80, 0, 0.25),
        /* bottom left corner */
        -4px 4px 8px rgba(64, 64, 64, 0.3),
        -6px 6px 12px rgba(0, 80, 0, 0.25),
        /* top right corner */
        4px -4px 8px rgba(64, 64, 64, 0.3),
        6px -6px 12px rgba(0, 80, 0, 0.25),
        /* top left corner */
        -4px -4px 8px rgba(64, 64, 64, 0.3),
        -6px -6px 12px rgba(0, 80, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease; /* faster transition */
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow:
        /* bottom right corner */
        6px 6px 16px rgba(40, 40, 40, 0.6),
        8px 8px 20px rgba(0, 100, 0, 0.5),
        /* bottom left corner */
        -6px 6px 16px rgba(40, 40, 40, 0.6),
        -8px 8px 20px rgba(0, 100, 0, 0.5),
        /* top right corner */
        6px -6px 16px rgba(40, 40, 40, 0.6),
        8px -8px 20px rgba(0, 100, 0, 0.5),
        /* top left corner */
        -6px -6px 16px rgba(40, 40, 40, 0.6),
        -8px -8px 20px rgba(0, 100, 0, 0.5);
}

.job-item.doctor-card {
    background: linear-gradient(to bottom right, #f5f0e6, #d6e6d6);
    border-radius: 12px;
    border: 1px solid #c4d1c4;
    box-shadow:
        4px 4px 8px rgba(64, 64, 64, 0.3),
        6px 6px 12px rgba(0, 80, 0, 0.25),
        -4px 4px 8px rgba(64, 64, 64, 0.3),
        -6px 6px 12px rgba(0, 80, 0, 0.25),
        4px -4px 8px rgba(64, 64, 64, 0.3),
        6px -6px 12px rgba(0, 80, 0, 0.25),
        -4px -4px 8px rgba(64, 64, 64, 0.3),
        -6px -6px 12px rgba(0, 80, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}


.doctor-card {
    padding: 0.75rem 1rem;
    max-height: 360px;
    overflow: hidden;
}

.doctor-card h4,
.doctor-card p {
    margin-bottom: 0.5rem;
}

.gradient-btn {
    background: linear-gradient(to right,#11998e, #38ef7d); /* Green to lime */
    border: none;
    color: #fff !important;
    transition: background 0.3s ease, transform 0.2s ease;
}

.gradient-btn:hover {
    background: linear-gradient(to right, #3b8d1e, #8ddc52); /* Darker hover effect */
    transform: translateY(-2px);
}



@media (max-width: 768px) {
    .reduced-gap {
        margin-bottom: 0.5rem !important;
        margin-top: 0.5rem !important;
    }
}


.fa-star {
    font-size: 13px;
    margin: 0 1px;
}
/**/
.card, .doctor-box, .parent-container-class { /* replace with actual parent class if needed */
    overflow: visible !important;
}
.btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

.btn-container a {
    flex: 1 1 auto; /* allow to grow/shrink */
}
@media (max-width: 576px) {
    .btn-container {
        flex-wrap: wrap;
    }

    .btn-container a img,
    .btn-container .btn {
        width: 100% !important;
        max-width: 100%;
        text-align: center;
    }
}


.btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

@media (max-width: 576px) {
    .btn-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*22-05-2025*/

.button-wrapper {
    width: 100%;
    
    
    margin-right: auto;
   
    flex-wrap: nowrap;
    overflow-x: auto; /* prevent breaking on small screens */
}

.btn-img {
    
   
    border-radius: 30px;
}

/* Optional: make responsive buttons adjust on very small screens */


@media (max-width: 400px) {
    .button-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }
}






