@charset "UTF-8";

.testimonial-full .testofullsld {
    padding: 0;
}

.testimonial-full .testofullsld .manageiteminner .manageinside .item-content p {
    font-size: 1.8rem;
}

.feature-clinic-section .featureimagearea,
.feature-clinic-section .featureimagearea {
    flex-shrink: 0;
}

.founder-sections .container {
    max-width: 92rem;
}

.banner-section.home-banner {
    background: url(../images1/banner11.png) no-repeat top right/cover;
    ;
}

.banner-section.home-banner {
    padding: 0;
}

#thankYou.downloadstore h2 {
    margin-bottom: 0.4rem;
}

#thankYou.downloadstore img {
    margin-bottom: 3rem;
}

#thankYou.model-outer .model-inner .model-head-wrap {
    padding: 2.8rem 4rem 4rem;
}

.powering-section .section-content .btn {
    width: 24rem;
}

@media(min-width: 992px) {
    .feature-clinic-section .featurescontent {
        padding-left: 10rem;
        padding-right: 0;
    }

    .feature-clinic-section .flex-lg-row-reverse .featurescontent {
        padding-right: 10rem;
        padding-left: 0;
    }
}

@media(max-width: 991px) {
    .feature-clinic-section .featurescontent {
        padding-left: 0
    }

    .feature-clinic-section .flex-lg-row-reverse .featurescontent {
        padding-right: 0
    }

    .feature-row .col-lg-12 {
        flex-flow: column;
    }

    .banner-section.home-banner {
        background-image: url(../images/homemobi-banner.png);
        background-size: 280px;
        background-position: center bottom;
    }

    .banner-section.home-banner .banner-animation {
        display: none;
    }

    .banner-section.home-banner {
        padding-bottom: 27rem !important;
    }

    .banner-section.home-banner .home-baner-inner {
        border-bottom: 0;
    }

    .grouthgrapsection .center-title {
        max-width: 90%
    }

    .fixed_side_menu .mobmenuinner .logo {
        padding: 1rem 1.5rem;
        justify-content: left
    }
}

.doctor-search-page {
    padding-top: 100px;
    padding-bottom: 80px;
    background: #f7f9fc;
    min-height: 100vh;
}

.doctor-search-section {
    padding: 40px 0;
}

.doctor-search-heading {
    text-align: center;
    margin-bottom: 30px;
}

.doctor-search-heading h1 {
    font-size: 42px;
    font-weight: 700;
    color: #0f1425;
    margin-bottom: 10px;
}

.doctor-search-heading p {
    color: #666;
    font-size: 16px;
}

.doctor-search-form {
    max-width: 750px;
    margin: 0 auto 40px;
    display: flex;
    gap: 12px;
}

.doctor-search-form input {
    flex: 1;
    height: 52px;
    padding: 0 18px;
    border: 1px solid #d9dfe8;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.doctor-search-form input:focus {
    border-color: #0b5ca8;
}

.doctor-search-form button {
    height: 52px;
    padding: 0 28px;
    border: none;
    border-radius: 8px;
    background: #0b5ca8;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.doctor-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.doctor-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 20, 37, 0.08);
    transition: 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-card-image {
    height: 240px;
    background: #eef4fa;
}

.doctor-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    color: #0b5ca8;
}

.doctor-card-content {
    padding: 22px;
}

.doctor-card-content h2 {
    font-size: 21px;
    color: #0f1425;
    margin-bottom: 8px;
}

.doctor-card-content p {
    margin-bottom: 7px;
    color: #666;
}

.doctor-specialization {
    color: #0b5ca8 !important;
    font-weight: 600;
}

.view-doctor-btn {
    display: inline-flex;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 7px;
    background: #0b5ca8;
    color: #fff;
    text-decoration: none;
}

.view-doctor-btn:hover {
    color: #fff;
    text-decoration: none;
}

.no-doctors-found {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .doctor-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .doctor-search-form {
        flex-direction: column;
    }

    .doctor-results {
        grid-template-columns: 1fr;
    }

    .doctor-search-heading h1 {
        font-size: 32px;
    }
}

.doctor-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 20, 37, 0.65);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.doctor-modal.active {
    display: flex;
}

.doctor-modal-box {
    width: 100%;
    max-width: 900px;
    max-height: 88vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.doctor-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
}

.doctor-modal-header h2 {
    margin: 0 0 5px;
}

.doctor-modal-header p {
    margin: 0;
}

.doctor-modal-close {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #f1f3f5;
    font-size: 28px;
    cursor: pointer;
}


.doctor-search-area input,
.doctor-search-area select {
    width: 100%;
    height: 50px;
    border: 1px solid #d7dce3;
    border-radius: 10px;
    padding: 0 15px;
    font-family: inherit;
    font-size: 15px;
}

.doctor-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doctor-loading,
.doctor-no-result {
    padding: 30px;
    text-align: center;
}

body.doctor-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .doctor-modal {
        padding: 10px;
    }

    .doctor-modal-box {
        padding: 20px 15px;
        max-height: 92vh;
    }

    .doctor-search-area {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   FIND DOCTOR MODAL - PREMIUM LIST STYLE
===================================== */

.doctor-modal-box {
    width: min(760px, calc(100% - 30px));
    max-height: 82vh;
    padding: 26px;
    border-radius: 22px;
    overflow-y: auto;
}

.doctor-search-area {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 16px;
}

.doctor-search-area input,
.doctor-search-area select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #dce3ec;
    border-radius: 12px;
    background: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    outline: none;
}

.doctor-search-area input:focus,
.doctor-search-area select:focus {
    border-color: #025196;
    box-shadow: 0 0 0 3px rgba(2, 81, 150, 0.1);
}

/* Doctors result list */

.doctor-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 430px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Individual doctor card */

.doctor-results .doctor-card {
    display: flex;
    align-items: center;
    gap: 16px;

    width: 100%;
    padding: 14px;

    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-radius: 14px;

    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.doctor-results .doctor-card:hover {
    transform: translateY(-2px);
    border-color: rgba(2, 81, 150, 0.28);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.09);
}

/* Doctor photo */

.doctor-results .doctor-card-image {
    width: 92px;
    height: 92px;
    min-width: 92px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #eef5fb;
}

.doctor-results .doctor-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
}

/* Placeholder */

.doctor-results .doctor-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #025196, #1485c7);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

/* Doctor content */

.doctor-results .doctor-card-content {
    flex: 1;
    min-width: 0;
}

.doctor-results .doctor-card-content h3 {
    margin: 0 0 4px;
    color: #172033;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.doctor-results .doctor-card-content p {
    margin: 2px 0;
    color: #687386;
    font-size: 13px;
    line-height: 1.5;
}

.doctor-results .doctor-card-content .doctor-specialization {
    margin-bottom: 4px;
    color: #025196;
    font-size: 14px;
    font-weight: 600;
}

/* Profile button */

.doctor-results .view-doctor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 8px;
    padding: 7px 14px;

    border-radius: 8px;
    background: #025196;
    color: #ffffff;

    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.doctor-results .view-doctor-btn:hover {
    background: #013e73;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Loading and no-result message */

.doctor-loading {
    padding: 35px 15px;
    text-align: center;
    color: #687386;
    font-size: 14px;
}

/* Custom scrollbar */

.doctor-results::-webkit-scrollbar,
.doctor-modal-box::-webkit-scrollbar {
    width: 6px;
}

.doctor-results::-webkit-scrollbar-thumb,
.doctor-modal-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 20px;
}

.doctor-results::-webkit-scrollbar-track,
.doctor-modal-box::-webkit-scrollbar-track {
    background: transparent;
}

/* Mobile */

@media (max-width: 700px) {

    .doctor-modal-box {
        width: calc(100% - 20px);
        max-height: 88vh;
        padding: 20px 16px;
        border-radius: 18px;
    }

    .doctor-search-area {
        grid-template-columns: 1fr;
    }

    .doctor-search-area input,
    .doctor-search-area select {
        height: 48px;
    }

    .doctor-results {
        max-height: 480px;
    }

    .doctor-results .doctor-card {
        gap: 12px;
        padding: 12px;
    }

    .doctor-results .doctor-card-image {
        width: 76px;
        height: 76px;
        min-width: 76px;
        border-radius: 10px;
    }

    .doctor-results .doctor-card-content h3 {
        font-size: 16px;
    }

    .doctor-results .doctor-card-content p {
        font-size: 12px;
    }

    .doctor-results .view-doctor-btn {
        padding: 6px 11px;
        font-size: 11px;
    }
}

/* ======================================
   DOCTOR PROFILE PAGE
====================================== */

.doctor-profile-page {
    padding: 55px 0 80px;
    background: #f4f6f9;
    min-height: 100vh;
}

.doctor-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.doctor-profile-main {
    min-width: 0;
}

.doctor-profile-card,
.doctor-clinic-card,
.doctor-contact-card,
.appointment-card {
    background: #ffffff;
    border: 1px solid #e4e8ee;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.doctor-profile-card {
    padding: 28px;
}

.doctor-profile-top {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.doctor-profile-photo {
    width: 150px;
    height: 150px;
    min-width: 150px;
    overflow: hidden;
    border-radius: 14px;
    background: #edf4fa;
}

.doctor-profile-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.doctor-profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #025196, #0b82c7);
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
}

.doctor-profile-info h1 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
}

.doctor-profile-info p {
    margin: 3px 0;
}

.doctor-qualification {
    color: #4b5563;
    font-size: 15px;
}

.doctor-profile-specialization {
    color: #025196;
    font-size: 16px;
    font-weight: 600;
}

.doctor-experience {
    color: #485467;
    font-size: 14px;
}

.doctor-verified {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
}

.verified-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #22a447;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.doctor-about {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #edf0f4;
}

.doctor-about h2,
.doctor-clinic-card h2,
.doctor-contact-card h2,
.appointment-card h2 {
    margin: 0 0 14px;
    color: #172033;
    font-size: 21px;
    font-weight: 650;
}

.doctor-about p {
    margin: 0;
    color: #596579;
    font-size: 14px;
    line-height: 1.8;
}

.doctor-profile-tabs {
    display: flex;
    gap: 6px;
    margin: 18px 0;
    padding: 8px;
    border: 1px solid #e4e8ee;
    border-radius: 14px;
    background: #ffffff;
}

.doctor-profile-tabs a {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 10px;
    color: #536174;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.doctor-profile-tabs a:hover,
.doctor-profile-tabs a.active {
    background: #edf6fd;
    color: #025196;
}

.doctor-clinic-card,
.doctor-contact-card {
    padding: 26px;
    margin-top: 18px;
}

.clinic-information-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 32px;
}

.doctor-clinic-card h3,
.appointment-clinic-details h3,
.clinic-timing h3 {
    margin: 0 0 6px;
    color: #243147;
    font-size: 17px;
    font-weight: 600;
}

.clinic-location,
.appointment-clinic-details p {
    margin: 3px 0;
    color: #647185;
    font-size: 14px;
}

.clinic-description {
    max-width: 580px;
    margin-top: 14px;
    color: #647185;
    font-size: 14px;
    line-height: 1.7;
}

.clinic-timing {
    padding-left: 28px;
    border-left: 1px solid #e9edf2;
}

.clinic-timing p {
    margin: 4px 0;
    color: #637083;
    font-size: 14px;
}

.clinic-timing strong {
    color: #172033;
    font-size: 15px;
}

.timing-note {
    margin-top: 12px !important;
    font-size: 12px !important;
}

.doctor-contact-list {
    display: grid;
    gap: 12px;
}

.doctor-contact-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    border-radius: 11px;
    background: #f7f9fb;
}

.doctor-contact-item span {
    color: #6b778a;
    font-size: 14px;
}

.doctor-contact-item a {
    color: #025196;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.doctor-profile-sidebar {
    position: sticky;
    top: 110px;
}

.appointment-card {
    overflow: hidden;
}

.appointment-card>h2 {
    padding: 22px 22px 0;
}

.appointment-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding: 18px 22px;
    background: #dff5ff;
}

.appointment-card-heading>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.appointment-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0693d5;
    color: #ffffff;
    font-size: 20px;
}

.availability-label {
    color: #0a7e45;
    font-size: 12px;
    font-weight: 600;
}

.appointment-clinic-details {
    padding: 22px;
}

.appointment-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 22px 22px;
}

.appointment-call-btn,
.appointment-whatsapp-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.appointment-call-btn {
    background: #025196;
    color: #ffffff;
}

.appointment-call-btn:hover {
    background: #013e73;
    color: #ffffff;
}

.appointment-whatsapp-btn {
    border: 1px solid #23a455;
    color: #16843f;
    background: #ffffff;
}

.appointment-whatsapp-btn:hover {
    background: #effbf3;
    color: #16843f;
}

.back-doctor-search {
    display: block;
    margin-top: 14px;
    color: #025196;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 992px) {

    .doctor-profile-grid {
        grid-template-columns: 1fr;
    }

    .doctor-profile-sidebar {
        position: static;
    }

    .clinic-information-grid {
        grid-template-columns: 1fr;
    }

    .clinic-timing {
        padding-left: 0;
        padding-top: 20px;
        border-left: 0;
        border-top: 1px solid #e9edf2;
    }
}

@media (max-width: 600px) {

    .doctor-profile-page {
        padding: 30px 0 55px;
    }

    .doctor-profile-card,
    .doctor-clinic-card,
    .doctor-contact-card {
        padding: 20px;
    }

    .doctor-profile-top {
        flex-direction: column;
    }

    .doctor-profile-photo {
        width: 120px;
        height: 120px;
        min-width: 120px;
    }

    .doctor-profile-info h1 {
        font-size: 24px;
    }

    .doctor-profile-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .doctor-contact-item {
        flex-direction: column;
        gap: 4px;
    }

    .appointment-actions {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   DOCTOR SEARCH - COMPACT CARD RESULTS
===================================== */

.doctor-suggestions {
    width: 100%;
    max-height: 360px;
    margin-top: 12px;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;

    background: transparent;
    border: none;
    box-shadow: none;
}

.doctor-suggestions:not(.has-results) {
    display: none;
}

.doctor-suggestions.has-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Matching doctor card */

.doctor-suggestions .doctor-suggestion-item {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;

    width: 100% !important;
    min-height: 130px;
    padding: 16px !important;

    background: #ffffff !important;
    border: 1px solid #dfe6ee !important;
    border-radius: 15px !important;

    color: inherit !important;
    text-decoration: none !important;

    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.05);
    transition: 0.2s ease;
}

.doctor-suggestions .doctor-suggestion-item:hover {
    background: #f8fbfe !important;
    border-color: #9cc6e8 !important;
    transform: translateY(-1px);
    color: inherit !important;
}

/* Small square doctor photo */

.doctor-suggestions .doctor-suggestion-image {
    width: 105px !important;
    height: 105px !important;
    min-width: 105px !important;
    flex: 0 0 105px !important;

    overflow: hidden !important;
    border-radius: 12px !important;
    background: #edf4fa;
}

.doctor-suggestions .doctor-suggestion-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;

    display: block !important;
    object-fit: cover !important;
    object-position: top center !important;

    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Placeholder when image missing */

.doctor-suggestion-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #025196, #1597d4);
    color: white;

    font-size: 20px;
    font-weight: 700;
}

/* Doctor details */

.doctor-suggestions .doctor-suggestion-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.doctor-suggestions .doctor-suggestion-content h3 {
    margin: 0 0 5px !important;

    color: #111827 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.doctor-suggestions .doctor-suggestion-content p {
    margin: 0 0 5px !important;

    color: #025196 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.doctor-suggestions .doctor-suggestion-content span {
    display: block;
    margin-top: 3px;

    color: #687386 !important;
    font-size: 13px !important;
}

/* Arrow */

.doctor-suggestions .doctor-suggestion-arrow {
    margin-left: auto;
    padding-right: 8px;

    color: #025196;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}

/* Loading and no result */

.doctor-search-hint,
.doctor-loading {
    padding: 24px;
    text-align: center;
    color: #687386;
    font-size: 14px;
}

/* Scrollbar */

.doctor-suggestions::-webkit-scrollbar {
    width: 6px;
}

.doctor-suggestions::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 20px;
}

/* Mobile */

@media (max-width: 600px) {

    .doctor-suggestions .doctor-suggestion-item {
        min-height: 105px;
        gap: 13px !important;
        padding: 12px !important;
    }

    .doctor-suggestions .doctor-suggestion-image {
        width: 78px !important;
        height: 78px !important;
        min-width: 78px !important;
        flex-basis: 78px !important;
    }

    .doctor-suggestions .doctor-suggestion-content h3 {
        font-size: 16px !important;
    }

    .doctor-suggestions .doctor-suggestion-content p {
        font-size: 13px !important;
    }

    .doctor-suggestions .doctor-suggestion-content span {
        font-size: 12px !important;
    }

    .doctor-suggestions .doctor-suggestion-arrow {
        font-size: 24px;
        padding-right: 2px;
    }
}

.takmedi-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.takmedi-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.takmedi-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #025196;
    letter-spacing: 0.5px;
    line-height: 1;
}

@media (max-width: 767px) {
    .takmedi-brand {
        gap: 7px;
    }

    .takmedi-brand img {
        width: 44px;
        height: 44px;
    }

    .takmedi-logo-text {
        font-size: 19px;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-bottom: 24px;
    text-decoration: none;
}

.footer-brand img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.footer-logo-text {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.5px;
}

@media (max-width: 767px) {
    .footer-brand img {
        width: 52px;
        height: 52px;
    }

    .footer-logo-text {
        font-size: 21px;
    }
}

/* TAKMEDI Header Logo Fix */
.header-container .takmedi-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: auto;
    height: 72px;
    text-decoration: none;
}

.header-container .takmedi-brand img {
    width: 150px;
    height: 58px;
    max-width: none;
    object-fit: contain;
    object-position: left center;
    display: block;
}

/* Tablet */
@media (max-width: 991px) {
    .header-container .takmedi-brand {
        height: 64px;
    }

    .header-container .takmedi-brand img {
        width: 125px;
        height: 50px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .header-container .takmedi-brand {
        height: 58px;
    }

    .header-container .takmedi-brand img {
        width: 105px;
        height: 44px;
    }
}

/* =========================
   FOOTER LOGO FIX
========================= */

.footer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 25px;
}

.footer-brand img {
    width: 220px !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain;
    display: block;
}

/* Tablet */
@media (max-width:991px) {
    .footer-brand img {
        width: 180px !important;
    }
}

/* Mobile */
@media (max-width:767px) {
    .footer-brand img {
        width: 150px !important;
    }
}

/* =========================================
   PRACTICE GROWTH RESPONSIVE FIX
========================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Banner */

.grow-banner-section {
    min-height: 620px;
    display: flex;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.grow-banner-section .inner-banner-wrap {
    min-height: 520px;
    align-items: center;
}

.grow-banner-section .section-content {
    width: 100%;
    max-width: 650px;
}

.grow-banner-section .main-title {
    word-break: normal;
    overflow-wrap: break-word;
}

/* Accordion section */

.amazing-section .row {
    align-items: center;
}

.managesoft-content,
.manage-banner-img,
.featureimagearea,
.featurescontent {
    width: 100%;
}

.manage-banner-img img,
.featureimagearea img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Long accordion headings */

.accoridan-head h2 {
    min-width: 0;
}

.accoridan-head h2 span {
    overflow-wrap: break-word;
}

/* Mobile */

@media (max-width: 991px) {

    .grow-banner-section {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 70px;
        background-position: center;
    }

    .grow-banner-section .inner-banner-wrap {
        min-height: auto;
    }

    .grow-banner-section .section-content {
        max-width: 100%;
    }

    .grow-banner-section .main-title {
        font-size: 42px;
        line-height: 1.2;
    }

    .grow-banner-section .section-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .amazing-section .col-lg-6,
    .feature-row .col-lg-6,
    .powering-section .col-lg-7,
    .powering-section .col-lg-5 {
        width: 100%;
    }

    .manage-banner-img {
        margin-top: 35px;
        text-align: center;
    }

    .feature-row {
        row-gap: 30px;
    }

    .featureimagearea {
        text-align: center;
    }

    .journyrow {
        flex-direction: column;
    }
}

@media (max-width: 767px) {

    .commansection {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .grow-banner-section {
        padding-top: 110px;
        padding-bottom: 55px;
    }

    .grow-banner-section .main-title {
        font-size: 32px;
        line-height: 1.25;
    }

    .grow-banner-section .section-content p {
        font-size: 15px;
    }

    .center-title h2,
    .featurescontent h2,
    .section-content h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .center-title p,
    .featurescontent p {
        font-size: 15px;
        line-height: 1.7;
    }

    .accoridan-head {
        padding: 14px 12px;
    }

    .accoridan-head h2 {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-right: 5px;
        font-size: 16px;
        line-height: 1.4;
    }

    .accoridan-head .iconbox {
        flex-shrink: 0;
    }

    .accoridan-head .arrowicon {
        flex-shrink: 0;
        margin-left: auto;
    }

    .manage-banner-img {
        display: none;
    }

    .mobimgpart {
        display: block;
        width: 100%;
        margin: 15px auto;
    }

    .powring-content .col-6 {
        width: 100%;
    }

    .powring-outer {
        margin: 0;
        padding: 0;
    }

    .powringinner {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .grow-banner-section .main-title {
        font-size: 28px;
    }

    .center-title h2,
    .featurescontent h2,
    .section-content h2 {
        font-size: 24px;
    }

    .accoridan-head h2 {
        font-size: 14px;
    }
}

/* Practice Growth hero image only on large screens */
@media (max-width: 991px) {
    .grow-banner-section {
        background-image: none !important;
    }
}

.footer-contact-link {
    color: #fff;
    font-weight: 600;
    transition: .3s;
}

.footer-contact-link:hover {
    color: #ea5aa6;
}

/* ========================================
   FIND DOCTORS PAGE
======================================== */

.doctor-search-page {
    min-height: 100vh;
    background: #f7f9fc;
}

.doctor-search-section {
    padding: 70px 0;
}

.doctor-search-section .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.doctor-search-heading {
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
}

.doctor-search-heading h1 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.2;
    color: #142b4a;
}

.doctor-search-heading p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #66758a;
}

/* Search form */

.doctor-search-form {
    width: min(760px, 100%);
    margin: 0 auto 45px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(24, 55, 91, 0.08);
}

.doctor-search-form input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 18px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #172b46;
}

.doctor-search-form input::placeholder {
    color: #8996a8;
}

.doctor-search-form button {
    min-width: 130px;
    height: 52px;
    padding: 0 25px;
    border: 0;
    border-radius: 10px;
    background: #0c69b4;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

/* Results */

.doctor-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.doctor-card {
    min-width: 0;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 22px;
    background: #ffffff;
    border: 1px solid #e1e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(22, 48, 81, 0.07);
}

.doctor-card-image {
    width: 150px;
    min-width: 150px;
    height: 170px;
    overflow: hidden;
    border-radius: 14px;
    background: #edf3f8;
}

.doctor-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.doctor-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6f1fa;
    color: #0c69b4;
    font-size: 34px;
    font-weight: 800;
}

.doctor-card-content {
    flex: 1;
    min-width: 0;
}

.doctor-card-content h2 {
    margin: 0 0 7px;
    font-size: 23px;
    line-height: 1.3;
    color: #162c48;
    overflow-wrap: anywhere;
}

.doctor-card-content p {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

.doctor-card-content .doctor-specialization {
    color: #0c69b4;
    font-size: 15px;
    font-weight: 700;
}

.view-doctor-btn {
    margin-top: 14px;
    min-height: 44px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #0c69b4;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.no-doctors-found {
    grid-column: 1 / -1;
    padding: 45px 20px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e1e8f0;
    border-radius: 15px;
    color: #64748b;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 991px) {

    .doctor-search-section {
        padding: 55px 0;
    }

    .doctor-results {
        grid-template-columns: 1fr;
    }

    .doctor-card {
        width: 100%;
    }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .doctor-search-section {
        padding: 35px 0;
    }

    .doctor-search-section .container {
        width: min(100% - 24px, 1180px);
    }

    .doctor-search-heading {
        margin-bottom: 24px;
    }

    .doctor-search-heading h1 {
        font-size: 30px;
    }

    .doctor-search-heading p {
        font-size: 15px;
    }

    .doctor-search-form {
        margin-bottom: 30px;
        padding: 8px;
        flex-direction: column;
        align-items: stretch;
        border-radius: 12px;
    }

    .doctor-search-form input {
        width: 100%;
        height: 48px;
        padding: 0 12px;
        font-size: 15px;
    }

    .doctor-search-form button {
        width: 100%;
        min-width: 0;
        height: 48px;
    }

    .doctor-results {
        gap: 18px;
    }

    .doctor-card {
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        border-radius: 15px;
    }

    .doctor-card-image {
        width: 100%;
        min-width: 0;
        height: 260px;
    }

    .doctor-card-content {
        width: 100%;
    }

    .doctor-card-content h2 {
        font-size: 21px;
    }

    .view-doctor-btn {
        width: 100%;
    }
}

/* Small phones */

@media (max-width: 380px) {

    .doctor-card-image {
        height: 220px;
    }

    .doctor-search-heading h1 {
        font-size: 27px;
    }
}

/* ==================================================
   GET STARTED ENQUIRY MODAL
================================================== */

.enquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(8, 25, 52, 0.68);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.enquiry-modal.active {
    display: flex;
}

body.enquiry-modal-open {
    overflow: hidden;
}

.enquiry-modal-box {
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;

    background: #ffffff;
    border-radius: 22px;

    box-shadow:
        0 25px 70px rgba(10, 31, 68, 0.28);

    animation: enquiryModalOpen 0.25s ease;
}

@keyframes enquiryModalOpen {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ==================================================
   MODAL HEADER
================================================== */

.enquiry-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    padding: 28px 30px 22px;

    border-bottom: 1px solid #e7edf5;
}

.enquiry-modal-header h2 {
    margin: 0 0 7px;

    color: #0c2344;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.enquiry-modal-header p {
    margin: 0;

    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.enquiry-modal-close {
    width: 42px;
    height: 42px;
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f1f5f9;
    color: #334155;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.enquiry-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(5deg);
}


/* ==================================================
   FORM
================================================== */

.enquiry-form {
    padding: 26px 30px 30px;
}

.enquiry-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.enquiry-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.enquiry-form-full {
    grid-column: 1 / -1;
}

.enquiry-form-group label {
    color: #172033;
    font-size: 14px;
    font-weight: 600;
}

.enquiry-form-group label span {
    color: #e11d48;
}

.enquiry-form-group label small {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

.enquiry-form-group input,
.enquiry-form-group select,
.enquiry-form-group textarea {
    width: 100%;

    border: 1px solid #d8e1ec;
    border-radius: 12px;

    background: #f8fafc;
    color: #0f172a;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.enquiry-form-group input,
.enquiry-form-group select {
    height: 52px;
    padding: 0 15px;
}

.enquiry-form-group textarea {
    min-height: 120px;
    padding: 14px 15px;
    resize: vertical;
}

.enquiry-form-group input::placeholder,
.enquiry-form-group textarea::placeholder {
    color: #94a3b8;
}

.enquiry-form-group input:focus,
.enquiry-form-group select:focus,
.enquiry-form-group textarea:focus {
    border-color: #1769aa;
    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(23, 105, 170, 0.12);
}


/* ==================================================
   MESSAGE
================================================== */

.enquiry-form-message {
    display: none;

    margin-bottom: 20px;
    padding: 13px 15px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.enquiry-form-message.success {
    display: block;

    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.enquiry-form-message.error {
    display: block;

    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}


/* ==================================================
   SUBMIT BUTTON
================================================== */

.enquiry-submit-btn {
    width: 100%;

    margin-top: 24px;
    padding: 15px 22px;

    border: 0;
    border-radius: 12px;

    background: #eb4e9a;
    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 12px 28px rgba(235, 78, 154, 0.24);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.enquiry-submit-btn:hover {
    transform: translateY(-1px);

    box-shadow:
        0 16px 32px rgba(235, 78, 154, 0.3);
}

.enquiry-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}


/* ==================================================
   VALIDATION STATE
================================================== */

.enquiry-form-group input.input-error,
.enquiry-form-group select.input-error,
.enquiry-form-group textarea.input-error {
    border-color: #dc2626;

    box-shadow:
        0 0 0 3px rgba(220, 38, 38, 0.1);
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 767px) {

    .enquiry-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .enquiry-modal-box {
        width: 100%;
        max-height: calc(100vh - 24px);

        border-radius: 20px 20px 12px 12px;
    }

    .enquiry-modal-header {
        padding: 22px 20px 18px;
    }

    .enquiry-modal-header h2 {
        font-size: 23px;
    }

    .enquiry-modal-header p {
        font-size: 13px;
    }

    .enquiry-modal-close {
        width: 38px;
        height: 38px;
        font-size: 25px;
    }

    .enquiry-form {
        padding: 22px 20px 24px;
    }

    .enquiry-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .enquiry-form-full {
        grid-column: auto;
    }

    .enquiry-form-group input,
    .enquiry-form-group select {
        height: 50px;
    }

    .enquiry-form-group textarea {
        min-height: 105px;
    }
}

@media (max-width: 420px) {

    .enquiry-modal {
        padding: 0;
    }

    .enquiry-modal-box {
        max-height: 100vh;
        border-radius: 0;
    }

    .enquiry-modal-header {
        padding: 19px 16px 16px;
    }

    .enquiry-form {
        padding: 18px 16px 22px;
    }

    .enquiry-modal-header h2 {
        font-size: 21px;
    }

    .enquiry-submit-btn {
        margin-top: 20px;
        padding: 14px 18px;
    }
}

/* ==================================================
   FIND DOCTOR - LOCATION SECTION
================================================== */


.doctor-location-section>label {
    display: block;
    margin-bottom: 10px;

    color: #172033;
    font-size: 14px;
    font-weight: 700;
}

.doctor-location-input-wrap,
.doctor-search-input-wrap {
    position: relative;
}

.doctor-location-input-wrap i,
.doctor-search-input-wrap i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 2;

    color: #1976c9;
    font-size: 14px;

    transform: translateY(-50%);
    pointer-events: none;
}

.doctor-location-input-wrap input,
.doctor-search-input-wrap input {
    width: 100%;
    height: 50px;
    padding: 0 15px 0 42px;

    border: 1px solid #d8e1ec;
    border-radius: 11px;

    background: #ffffff;
    color: #172033;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.doctor-location-input-wrap input:focus,
.doctor-search-input-wrap input:focus {
    border-color: #1976c9;

    box-shadow:
        0 0 0 3px rgba(25, 118, 201, 0.12);
}

.doctor-location-input-wrap input::placeholder,
.doctor-search-input-wrap input::placeholder {
    color: #94a3b8;
}


/* ==================================================
   USE MY LOCATION BUTTON
================================================== */

.doctor-location-btn {
    min-height: 50px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 1px solid #bfdbfe;
    border-radius: 11px;

    background: #eff6ff;
    color: #1769aa;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.doctor-location-btn:hover {
    background: #dbeafe;
    transform: translateY(-1px);

    box-shadow:
        0 8px 18px rgba(23, 105, 170, 0.14);
}

.doctor-location-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* ==================================================
   LOCATION MESSAGE
================================================== */

.doctor-location-message {
    display: none;

    margin-top: 10px;
    padding: 10px 12px;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.doctor-location-message.success {
    display: block;

    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.doctor-location-message.error {
    display: block;

    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.doctor-location-message.loading {
    display: block;

    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}


/* ==================================================
   UPDATED SEARCH AREA
================================================== */

.doctor-search-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 12px;

    padding: 20px 26px;
}

.doctor-search-area select {
    width: 100%;
    height: 50px;
    padding: 0 14px;

    border: 1px solid #d8e1ec;
    border-radius: 11px;

    background: #ffffff;
    color: #172033;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.doctor-search-area select:focus {
    border-color: #1976c9;

    box-shadow:
        0 0 0 3px rgba(25, 118, 201, 0.12);
}


/* ==================================================
   RESULTS HEADING
================================================== */

.doctor-results-heading {
    padding: 12px 16px;
    margin-bottom: 10px;

    border: 1px solid #dbeafe;
    border-radius: 10px;

    background: #f8fbff;
    color: #475569;

    font-size: 13px;
}

.doctor-results-heading strong {
    color: #1769aa;
}


/* ==================================================
   DOCTOR CARD EXTRA CONTENT
================================================== */

.doctor-suggestion-content small {
    display: block;

    margin-top: 3px;

    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

.doctor-suggestion-content span {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin-top: 5px;

    color: #64748b;
    font-size: 12px;
}

.doctor-suggestion-content span i {
    color: #ef4444;
    font-size: 11px;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 767px) {

    .doctor-location-section {
        padding: 18px 18px 16px;
    }

    .doctor-location-row {
        grid-template-columns: 1fr;
    }

    .doctor-location-btn {
        width: 100%;
    }

    .doctor-search-area {
        grid-template-columns: 1fr;
        padding: 18px;
    }
}

@media (max-width: 420px) {

    .doctor-location-section {
        padding: 16px;
    }

    .doctor-search-area {
        padding: 16px;
    }

    .doctor-location-input-wrap input,
    .doctor-search-input-wrap input,
    .doctor-search-area select,
    .doctor-location-btn {
        height: 48px;
        min-height: 48px;
    }
}

/* ==================================================
   COMBINED DOCTOR SEARCH PANEL
================================================== */

.doctor-finder-search-panel {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(260px, 1.15fr) minmax(230px, 1fr) minmax(190px, 0.75fr);

    gap: 14px;
    align-items: end;

    padding: 22px 26px;

    border-bottom: 1px solid #e6edf5;
    background: #f8fbff;
}

.doctor-finder-field {
    min-width: 0;
}

.doctor-finder-field>label {
    display: block;

    margin-bottom: 8px;

    color: #172033;
    font-size: 13px;
    font-weight: 700;
}

.doctor-location-control {
    display: flex;
    gap: 9px;
}

.doctor-location-autocomplete {
    position: relative;
    flex: 1;
    min-width: 0;
}

.doctor-field-input {
    position: relative;
}

.doctor-field-input>i {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 2;

    color: #1976c9;
    font-size: 14px;

    transform: translateY(-50%);
    pointer-events: none;
}

.doctor-field-input input {
    width: 100%;
    height: 50px;

    padding:
        0 38px 0 40px;

    border: 1px solid #d6e0eb;
    border-radius: 10px;

    background: #ffffff;
    color: #172033;

    font-family: inherit;
    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.doctor-field-input input:focus {
    border-color: #1976c9;

    box-shadow:
        0 0 0 3px rgba(25, 118, 201, 0.11);
}

.doctor-field-input input::placeholder {
    color: #94a3b8;
}

.doctor-field-clear {
    position: absolute;
    top: 50%;
    right: 10px;

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: transparent;
    color: #94a3b8;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;
    transform: translateY(-50%);
}

.doctor-field-clear:hover {
    background: #edf2f7;
    color: #334155;
}


/* LOCATION BUTTON */

.doctor-location-btn {
    width: 50px;
    height: 50px;
    min-width: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #bfdbfe;
    border-radius: 10px;

    background: #eff6ff;
    color: #1769aa;

    cursor: pointer;
}

.doctor-location-btn span {
    display: none;
}

.doctor-location-btn:hover {
    background: #dbeafe;
}

.doctor-location-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* SPECIALIZATION */

.doctor-finder-field select {
    width: 100%;
    height: 50px;

    padding: 0 13px;

    border: 1px solid #d6e0eb;
    border-radius: 10px;

    background: #ffffff;
    color: #172033;

    font-family: inherit;
    font-size: 13px;

    outline: none;
}

.doctor-finder-field select:focus {
    border-color: #1976c9;

    box-shadow:
        0 0 0 3px rgba(25, 118, 201, 0.11);
}


/* LOCATION DROPDOWN */

.doctor-location-suggestions {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    z-index: 100;

    display: none;

    max-height: 270px;
    overflow-y: auto;

    border: 1px solid #dce5ef;
    border-radius: 11px;

    background: #ffffff;

    box-shadow:
        0 16px 38px rgba(15, 23, 42, 0.16);
}

.doctor-location-suggestions.active {
    display: block;
}

.doctor-location-suggestion-item {
    width: 100%;

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 11px 13px;

    border: 0;
    border-bottom: 1px solid #edf2f7;

    background: #ffffff;
    text-align: left;

    cursor: pointer;
}

.doctor-location-suggestion-item:last-child {
    border-bottom: 0;
}

.doctor-location-suggestion-item:hover {
    background: #f4f8fc;
}

.location-suggestion-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #eff6ff;
    color: #1976c9;
}

.location-suggestion-text {
    min-width: 0;
}

.location-suggestion-text strong {
    display: block;

    margin-bottom: 2px;

    color: #172033;
    font-size: 13px;
    font-weight: 700;
}

.location-suggestion-text small {
    display: block;

    overflow: hidden;

    color: #64748b;
    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-suggestion-status {
    padding: 14px;

    color: #64748b;
    font-size: 12px;
    text-align: center;
}


/* MESSAGE INSIDE SAME PANEL */

.doctor-location-message {
    display: none;

    margin-top: 7px;

    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.doctor-location-message.success {
    display: block;
    color: #15803d;
}

.doctor-location-message.error {
    display: block;
    color: #dc2626;
}

.doctor-location-message.loading {
    display: block;
    color: #1976c9;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .doctor-finder-search-panel {
        grid-template-columns: 1fr 1fr;
    }

    .doctor-specialization-field {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {

    .doctor-finder-search-panel {
        grid-template-columns: 1fr;

        padding: 18px;
    }

    .doctor-specialization-field {
        grid-column: auto;
    }
}

@media (max-width: 420px) {

    .doctor-finder-search-panel {
        padding: 16px;
    }
}

/* =========================================================
   EMERGENCY FINAL FIX - FIND DOCTOR MODAL
   KEEP THIS AT THE VERY END OF custom.css
========================================================= */

.doctor-modal {
    padding: 20px !important;
}

.doctor-modal-box {
    width: min(1080px, calc(100vw - 40px)) !important;
    max-width: 1080px !important;
    max-height: 88vh !important;

    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;

    border-radius: 24px !important;
    background: #ffffff !important;
}


/* HEADER */

.doctor-modal-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 20px !important;

    margin: 0 !important;
    padding: 28px 32px 22px !important;

    border-bottom: 1px solid #e7edf5 !important;
}

.doctor-modal-header h2 {
    margin: 0 0 6px !important;

    color: #111827 !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.doctor-modal-header p {
    margin: 0 !important;

    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.doctor-modal-close {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;

    background: #f1f5f9 !important;
    color: #111827 !important;

    font-size: 27px !important;
    line-height: 1 !important;
}


/* =========================================================
   SINGLE COMBINED SEARCH CONTAINER
========================================================= */

.doctor-finder-search-panel {
    position: relative !important;

    display: grid !important;
    grid-template-columns:
        minmax(280px, 1.2fr) minmax(260px, 1fr) minmax(220px, 0.8fr) !important;

    gap: 16px !important;
    align-items: end !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 24px 32px !important;

    border: 0 !important;
    border-bottom: 1px solid #e7edf5 !important;
    border-radius: 0 !important;

    background: #f8fbff !important;

    box-sizing: border-box !important;
}

.doctor-finder-field {
    width: 100% !important;
    min-width: 0 !important;
}

.doctor-finder-field>label {
    display: block !important;

    margin: 0 0 9px !important;

    color: #172033 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}


/* LOCATION ROW */

.doctor-location-control {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 52px !important;
    gap: 10px !important;

    width: 100% !important;
}

.doctor-location-autocomplete {
    position: relative !important;

    width: 100% !important;
    min-width: 0 !important;
}


/* INPUT WRAPPER */

.doctor-field-input {
    position: relative !important;

    width: 100% !important;
}

.doctor-field-input>i {
    position: absolute !important;
    top: 50% !important;
    left: 15px !important;
    z-index: 2 !important;

    color: #1769aa !important;
    font-size: 14px !important;

    transform: translateY(-50%) !important;
    pointer-events: none !important;
}

.doctor-field-input input {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;

    margin: 0 !important;
    padding: 0 42px 0 42px !important;

    border: 1px solid #d6e0eb !important;
    border-radius: 11px !important;

    background: #ffffff !important;
    color: #172033 !important;

    font-family: inherit !important;
    font-size: 14px !important;

    outline: none !important;
    box-sizing: border-box !important;
}

.doctor-field-input input:focus {
    border-color: #1976c9 !important;

    box-shadow:
        0 0 0 3px rgba(25, 118, 201, 0.12) !important;
}

.doctor-field-input input::placeholder {
    color: #94a3b8 !important;
}


/* CLEAR LOCATION BUTTON */

.doctor-field-clear {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    z-index: 3 !important;

    width: 28px !important;
    height: 28px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;

    background: transparent !important;
    color: #94a3b8 !important;

    font-size: 20px !important;
    line-height: 1 !important;

    cursor: pointer !important;
    transform: translateY(-50%) !important;
}

.doctor-field-clear:hover {
    background: #edf2f7 !important;
    color: #334155 !important;
}


/* USE CURRENT LOCATION BUTTON */

.doctor-location-btn {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #bfdbfe !important;
    border-radius: 11px !important;

    background: #eff6ff !important;
    color: #1769aa !important;

    cursor: pointer !important;

    box-shadow: none !important;
    transform: none !important;
}

.doctor-location-btn i {
    display: inline-block !important;
    margin: 0 !important;

    color: #1769aa !important;
    font-size: 17px !important;
}

.doctor-location-btn span {
    display: none !important;
}

.doctor-location-btn:hover {
    background: #dbeafe !important;
    transform: none !important;
}

.doctor-location-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}


/* SPECIALIZATION */

.doctor-finder-field select {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;

    margin: 0 !important;
    padding: 0 40px 0 15px !important;

    border: 1px solid #d6e0eb !important;
    border-radius: 11px !important;

    background-color: #ffffff !important;
    color: #172033 !important;

    font-family: inherit !important;
    font-size: 14px !important;

    outline: none !important;
    box-sizing: border-box !important;
}

.doctor-finder-field select:focus {
    border-color: #1976c9 !important;

    box-shadow:
        0 0 0 3px rgba(25, 118, 201, 0.12) !important;
}


/* =========================================================
   LOCATION AUTOCOMPLETE DROPDOWN
========================================================= */

.doctor-location-suggestions {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999999 !important;

    display: none !important;

    width: 100% !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;

    border: 1px solid #dce5ef !important;
    border-radius: 12px !important;

    background: #ffffff !important;

    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.18) !important;
}

.doctor-location-suggestions.active {
    display: block !important;
}

.doctor-location-suggestion-item {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;

    width: 100% !important;
    min-height: 58px !important;

    padding: 10px 13px !important;

    border: 0 !important;
    border-bottom: 1px solid #edf2f7 !important;

    background: #ffffff !important;
    color: #172033 !important;

    text-align: left !important;
    cursor: pointer !important;
}

.doctor-location-suggestion-item:last-child {
    border-bottom: 0 !important;
}

.doctor-location-suggestion-item:hover {
    background: #f4f8fc !important;
}

.location-suggestion-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 9px !important;

    background: #eff6ff !important;
    color: #1976c9 !important;
}

.location-suggestion-text {
    display: block !important;
    min-width: 0 !important;
}

.location-suggestion-text strong {
    display: block !important;

    margin: 0 0 2px !important;

    color: #172033 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.location-suggestion-text small {
    display: block !important;

    max-width: 100% !important;
    overflow: hidden !important;

    color: #64748b !important;
    font-size: 11px !important;

    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.location-suggestion-status {
    padding: 15px !important;

    color: #64748b !important;
    font-size: 12px !important;
    text-align: center !important;
}


/* LOCATION MESSAGE */

.doctor-location-message {
    display: none !important;

    margin: 8px 0 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;

    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.doctor-location-message.success {
    display: block !important;
    color: #15803d !important;
}

.doctor-location-message.error {
    display: block !important;
    color: #dc2626 !important;
}

.doctor-location-message.loading {
    display: block !important;
    color: #1976c9 !important;
}


/* =========================================================
   RESULTS
========================================================= */

.doctor-suggestions {
    width: 100% !important;
    max-height: 390px !important;

    margin: 0 !important;
    padding: 20px 32px 28px !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    background: #ffffff !important;

    box-sizing: border-box !important;
}

.doctor-suggestions:not(.has-results) {
    display: none !important;
}

.doctor-suggestions.has-results {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.doctor-results-heading {
    width: 100% !important;

    margin: 0 0 5px !important;
    padding: 11px 14px !important;

    border: 1px solid #dbeafe !important;
    border-radius: 10px !important;

    background: #f8fbff !important;
    color: #475569 !important;

    font-size: 13px !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .doctor-modal-box {
        width: min(760px, calc(100vw - 30px)) !important;
    }

    .doctor-finder-search-panel {
        grid-template-columns:
            minmax(0, 1fr) minmax(0, 1fr) !important;
    }

    .doctor-specialization-field {
        grid-column: 1 / -1 !important;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .doctor-modal {
        align-items: flex-end !important;
        padding: 8px !important;
    }

    .doctor-modal-box {
        width: 100% !important;
        max-height: 94vh !important;

        border-radius: 20px 20px 10px 10px !important;
    }

    .doctor-modal-header {
        padding: 21px 18px 17px !important;
    }

    .doctor-modal-header h2 {
        font-size: 22px !important;
    }

    .doctor-modal-header p {
        font-size: 12px !important;
    }

    .doctor-modal-close {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
    }

    .doctor-finder-search-panel {
        grid-template-columns: 1fr !important;
        gap: 15px !important;

        padding: 18px !important;
    }

    .doctor-specialization-field {
        grid-column: auto !important;
    }

    .doctor-suggestions {
        padding: 16px 18px 22px !important;
    }
}

/* ===============================================
   FINAL FIND DOCTOR MODAL HEIGHT FIX
=============================================== */

.doctor-modal-box {
    min-height: 560px !important;
    display: flex !important;
    flex-direction: column !important;
}

.doctor-finder-search-panel {
    flex-shrink: 0 !important;
}

.doctor-suggestions {
    flex: 1 !important;
    min-height: 180px !important;
    max-height: 390px !important;
}

.doctor-suggestions:not(.has-results) {
    display: block !important;
}

.doctor-search-hint {
    min-height: 150px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 30px !important;

    color: #64748b !important;
    text-align: center !important;
}

/* Location dropdown modal ke andar cut na ho */

.doctor-finder-search-panel {
    z-index: 10 !important;
}

.doctor-location-autocomplete {
    z-index: 20 !important;
}

.doctor-location-suggestions {
    z-index: 9999 !important;
}

/* Tablet */

@media (max-width: 900px) {

    .doctor-modal-box {
        min-height: 520px !important;
    }
}

/* Mobile */

@media (max-width: 650px) {

    .doctor-modal-box {
        min-height: auto !important;
        height: auto !important;
        max-height: 94vh !important;
    }

    .doctor-suggestions {
        min-height: 130px !important;
    }
}

/* FINAL USE MY LOCATION BUTTON FIX */

.doctor-location-control {
    grid-template-columns: minmax(0, 1fr) 150px !important;
}

.doctor-location-btn {
    width: 150px !important;
    min-width: 150px !important;
    height: 52px !important;
    min-height: 52px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    padding: 0 14px !important;

    border: 1px solid #bfdbfe !important;
    border-radius: 11px !important;

    background: #eff6ff !important;
    color: #1769aa !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;

    white-space: nowrap !important;
    cursor: pointer !important;
}

.doctor-location-btn span {
    display: inline !important;
}

.doctor-location-btn i {
    display: inline-block !important;
    color: #1769aa !important;
    font-size: 15px !important;
}

.doctor-location-btn:hover {
    background: #dbeafe !important;
}

@media (max-width: 700px) {

    .doctor-location-control {
        grid-template-columns: 1fr !important;
    }

    .doctor-location-btn {
        width: 100% !important;
        min-width: 0 !important;
    }
}