/* find-a-doctor page styles - extracted from live inline <style> blocks */
        a {
            text-decoration: none;
            line-height: normal;
        }

        body {
            font-family: var(--body-fonts);
        }

        .logo figure {
            margin-bottom: 0;
        }

        .nw-btn {
            color: #fff;
        }

        .nw-btn:hover {
            color: #ffffff;
            text-decoration: underline;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
                .contact {
                    margin: 0 auto;
                    padding: 10px 20px;
                    background-color: #fafafa;
                }

                .contact-container {
                    max-width: 1400px;
                    margin: 0 auto;
                    padding: 20px 20px;
                }

                .animated-heading2 {
                    padding: 20px;
                }

                .contact-info-top {
                    display: grid;
                    grid-template-columns: repeat(3, 1fr);
                    gap: 30px;
                    margin-bottom: 60px;
                }

                .info-card-top {
                    background: #ffffff;
                    border-radius: 20px;
                    padding: 40px 30px;
                    text-align: center;
                    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                    border: 2px solid transparent;
                    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.08);
                    position: relative;
                    overflow: hidden;
                    cursor: pointer;
                    user-select: none;
                }

                .info-card-top::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 4px;
                    background: linear-gradient(90deg, #ff80ab 0%, #f06292 100%);
                    transform: scaleX(0);
                    transform-origin: left;
                    transition: transform 0.5s ease;
                }

                .info-card-top:hover {
                    transform: translateY(-10px) scale(1.02);
                    box-shadow: 0 20px 60px rgba(255, 182, 193, 0.12);
                    border-color: #ffccd5;
                }

                .info-card-top.active {
                    transform: translateY(-5px);
                    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.1);
                }

                .info-card-top:hover::before,
                .info-card-top.active::before {
                    transform: scaleX(1);
                }

                .info-icon-top {
                    width: 80px;
                    height: 80px;
                    margin: 0 auto 20px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: transform 0.5s ease;
                    position: relative;
                }

                .info-card-top:hover .info-icon-top {
                    transform: scale(1.1);
                }

                .info-icon-top i {
                    font-size: 40px;
                    color: #FF4081;
                    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                    transform: rotateY(180deg);

                }

                .info-card-top:hover .info-icon-top i {
                    color: #d81b60;
                }

                .info-card-top h3 {
                    color: #f06292;
                    font-size: 1.4rem;
                    font-weight: 700;
                    margin-bottom: 15px;
                    transition: color 0.3s ease;
                }

                .info-card-top:hover h3 {
                    color: #d81b60;
                }

                .info-card-top p {
                    color: #666666;
                    font-size: 1rem;
                    line-height: 1.8;
                    margin: 0;
                    transition: color 0.3s ease;
                }

                .info-card-top a {
                    color: #666666;
                    text-decoration: none;
                    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                    display: block;
                    margin: 5px 0;
                    position: relative;
                    padding-bottom: 2px;
                    word-break: break-word;
                }

                .info-card-top a:hover {
                    color: #f06292;
                }

                .info-card-top a:hover::after {
                    width: 100%;
                }

                .main-content {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 50px;
                    background: transparent;
                    border-radius: 0;
                    padding: 0;
                    box-shadow: none;
                }

                .form-section {
                    background: linear-gradient(135deg, #FFFFFF 0%, #fff5f8 100%);
                    border-radius: 24px;
                    padding: 50px;
                    position: relative;
                    overflow: hidden;
                    animation: slideInLeft 0.8s ease-out;
                    transform-origin: left;
                    border: 1px solid #ffccd5;
                }

                .form-section::before {
                    content: '';
                    position: absolute;
                    top: -50%;
                    left: -50%;
                    width: 200%;
                    height: 200%;
                    background: radial-gradient(circle, rgba(255, 182, 193, 0.03) 1px, transparent 1px);
                    background-size: 30px 30px;
                    animation: float 20s linear infinite;
                    opacity: 0.3;
                }

                /* GET IN TOUCH BADGE - KEPT GREY AS REQUESTED */
                .section-badge {
                    display: inline-block;
                    background: rgba(108, 117, 125, 0.1);
                    color: #6c757d;
                    padding: 8px 24px;
                    border-radius: 8px;
                    font-size: 0.9rem;
                    font-weight: 700;
                    margin-bottom: 20px;
                    text-transform: uppercase;
                    letter-spacing: 1px;
                    animation: badgePulse 2s infinite;
                    position: relative;
                    z-index: 1;
                    font-family: "Playfair Display", serif;
                }

                .form-title {
                    color: #f06292;
                    font-size: clamp(1.8rem, 4vw, 2.5rem);
                    margin-bottom: 30px;
                    font-weight: 700;
                    line-height: 1.2;
                    position: relative;
                    z-index: 1;
                }

                .form-group {
                    margin-bottom: 25px;
                    position: relative;
                    z-index: 1;
                }

                .form-group input,
                .form-group select,
                .form-group textarea {
                    width: 100%;
                    padding: 16px 20px;
                    border: 2px solid #e0e0e0;
                    border-radius: 12px;
                    font-size: 1rem;
                    font-family: inherit;
                    background: #FFFFFF;
                    color: #333333;
                    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
                }

                .form-group input:focus,
                .form-group select:focus,
                .form-group textarea:focus {
                    outline: none;
                    background: #FFFFFF;
                    box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.1);
                    border-color: #f06292;
                    transform: translateY(-2px);
                }

                .form-group input::placeholder,
                .form-group textarea::placeholder {
                    color: #999999;
                }

                .form-group textarea {
                    resize: vertical;
                    min-height: 160px;
                    max-height: 300px;
                }

                .form-group .error-message {
                    color: #ff6b6b;
                    font-size: 0.85rem;
                    margin-top: 5px;
                    display: none;
                    align-items: center;
                    animation: slideDown 0.3s ease;
                    padding: 0;
                    text-align: left;

                }

                .form-group .error-message.show {
                    display: block;
                }

                .form-group.error input,
                .form-group.error textarea {
                    border-color: #c2104885;
                    background: rgb(255 255 255 / 5%);
                }

                .form-group.success input,
                .form-group.success textarea {
                    border-color: #4CAF50;
                    background: rgba(76, 175, 80, 0.05);
                }

                /* SUBMIT BUTTON - KEPT GREEN AS REQUESTED */
                .submit-btn {
                    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
                    color: #FFFFFF;
                    border: none;
                    padding: 16px 40px;
                    border-radius: 12px;
                    font-size: 1rem;
                    font-weight: 700;
                    cursor: pointer;
                    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
                    position: relative;
                    overflow: hidden;
                    z-index: 1;
                    width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 10px;
                }

                .submit-btn::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: -100%;
                    width: 100%;
                    height: 100%;
                    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
                    transition: left 0.7s ease;
                    z-index: -1;
                }

                .submit-btn:hover {
                    background: linear-gradient(135deg, #43a047 0%, #57a85a 100%);
                    transform: translateY(-3px);
                    box-shadow: 0 12px 25px rgba(76, 175, 80, 0.4);
                }

                .submit-btn:hover::before {
                    left: 100%;
                }

                .submit-btn:active {
                    transform: translateY(-1px);
                }

                .submit-btn:disabled {
                    opacity: 0.6;
                    cursor: not-allowed;
                    transform: none !important;
                }

                /* Map Section */
                .map-section {
                    background: #FFFFFF;
                    border-radius: 24px;
                    overflow: hidden;
                    position: relative;
                    animation: slideInRight 0.8s ease-out;
                    transform-origin: right;
                    display: flex;
                    flex-direction: column;
                    border: 1px solid #ffccd5;
                }

                .map-section::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background: linear-gradient(135deg, rgba(255, 182, 193, 0.02) 0%, rgba(240, 98, 146, 0.02) 100%);
                    z-index: 1;
                    pointer-events: none;
                }

                .map-header {
                    background: linear-gradient(135deg, #FFFFFF 0%, #fff5f8 100%);
                    padding: 20px 30px;
                    border-bottom: 2px solid #ffccd5;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    flex-wrap: wrap;
                    gap: 15px;
                }

                .map-header h3 {
                    color: #f06292;
                    font-size: clamp(1.2rem, 3vw, 1.3rem);
                    font-weight: 700;
                }

                .map-actions {
                    display: flex;
                    gap: 10px;
                }

                .map-header a,
                .map-header button {
                    color: #f06292;
                    text-decoration: none;
                    font-size: 0.95rem;
                    font-weight: 600;
                    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                    padding: 8px 16px;
                    border-radius: 6px;
                    background: #fff5f8;
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    border: 2px solid transparent;
                    cursor: pointer;
                    font-family: inherit;
                }

                .map-header a:hover,
                .map-header button:hover {
                    background: #f06292;
                    color: #FFFFFF;
                    transform: translateY(-2px);
                    box-shadow: 0 4px 12px rgba(240, 98, 146, 0.2);
                }

                .map-header a::after,
                .map-header button::after {
                    content: '→';
                    transition: transform 0.3s ease;
                }

                .map-header a:hover::after,
                .map-header button:hover::after {
                    transform: translateX(4px);
                }

                .map-container {
                    height: 520px;
                    position: relative;
                    overflow: hidden;
                    flex-grow: 1;
                    min-height: 400px;
                }

                .map-container iframe {
                    width: 100%;
                    height: 100%;
                    border: none;
                    transition: transform 0.5s ease;
                }

                .map-container:hover iframe {
                    transform: scale(1.02);
                }

                .loading-overlay {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background: rgba(255, 255, 255, 0.9);
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    z-index: 10;
                    opacity: 0;
                    pointer-events: none;
                    transition: opacity 0.3s ease;
                }

                .loading-overlay.active {
                    opacity: 1;
                    pointer-events: all;
                }

                .spinner {
                    width: 50px;
                    height: 50px;
                    border: 4px solid #fff5f8;
                    border-top: 4px solid #f06292;
                    border-radius: 50%;
                    animation: spin 1s linear infinite;
                    margin-bottom: 15px;
                }

                .loading-overlay p {
                    color: #f06292;
                    font-weight: 600;
                }

                /* Success/Error Messages */
                .success-message,
                .error-message {
                    display: none;
                    padding: 20px 30px;
                    border-radius: 16px;
                    margin-bottom: 25px;
                    text-align: center;
                    font-weight: 600;
                    animation: slideDown 0.5s ease;
                    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.1);
                    position: relative;
                    z-index: 1;
                    overflow: hidden;
                    align-items: center;
                    justify-content: center;
                    gap: 12px;
                }

                .success-message {
                    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
                    color: #FFFFFF;
                }

                .error-message {
                    color: #FFFFFF;
                    background-color: transparent;
                    box-shadow: unset;
                }

                .success-message::before,
                .error-message::before {
                    content: '';
                    position: absolute;
                    top: -50%;
                    left: -50%;
                    width: 200%;
                    height: 200%;
                    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
                    background-size: 20px 20px;
                    animation: float 15s linear infinite;
                    opacity: 0.5;
                    z-index: -1;
                }

                .success-message.show,
                .error-message.show {
                    display: flex;
                }

                .message-icon {
                    width: 24px;
                    height: 24px;
                    background: #FFFFFF;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-weight: 800;
                    animation: iconPop 0.5s ease;
                }

                .success-message .message-icon {
                    color: #4CAF50;
                }

                .error-message .message-icon {
                    color: #FF5252;
                }

                /* Animations */
                @keyframes slideInLeft {
                    from {
                        opacity: 0;
                        transform: translateX(-30px) scale(0.95);
                    }

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

                @keyframes slideInRight {
                    from {
                        opacity: 0;
                        transform: translateX(30px) scale(0.95);
                    }

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

                @keyframes slideDown {
                    from {
                        opacity: 0;
                        transform: translateY(-20px);
                    }

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

                @keyframes float {
                    from {
                        transform: translate(0, 0) rotate(0deg);
                    }

                    to {
                        transform: translate(-30px, -30px) rotate(360deg);
                    }
                }

                @keyframes badgePulse {
                    0% {
                        box-shadow: 0 0 0 0 rgba(108, 117, 125, 0.4);
                    }

                    70% {
                        box-shadow: 0 0 0 10px rgba(108, 117, 125, 0);
                    }

                    100% {
                        box-shadow: 0 0 0 0 rgba(108, 117, 125, 0);
                    }
                }

                @keyframes iconPop {
                    0% {
                        transform: scale(0);
                    }

                    70% {
                        transform: scale(1.2);
                    }

                    100% {
                        transform: scale(1);
                    }
                }

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

                    100% {
                        transform: rotate(360deg);
                    }
                }

                @keyframes shake {

                    0%,
                    100% {
                        transform: translateX(0);
                    }

                    10%,
                    30%,
                    50%,
                    70%,
                    90% {
                        transform: translateX(-5px);
                    }

                    20%,
                    40%,
                    60%,
                    80% {
                        transform: translateX(5px);
                    }
                }

                /* Enhanced Responsive Design */
                @media (max-width: 1450px) {

                    .fad-specialist-grid {
                        grid-template-columns: repeat(3, 1fr) !important
                    }
                }

                @media (max-width: 1200px) {
                    .contact-info-top {
                        grid-template-columns: repeat(2, 1fr);
                    }

                    .main-content {
                        gap: 40px;
                    }
                }

                @media (max-width: 1024px) {
                    .contact-info-top {
                        grid-template-columns: 1fr;
                        gap: 25px;
                    }

                    .main-content {
                        grid-template-columns: 1fr;
                        gap: 40px;
                    }

                    .form-section,
                    .map-section {
                        animation: slideInLeft 0.8s ease-out;
                    }

                    .map-container {
                        height: 450px;
                    }
                }

                @media (max-width: 768px) {
                    .contact-container {
                        padding: 40px 15px;
                    }

                    .info-card-top {
                        padding: 30px 20px;
                    }

                    .form-title {
                        font-size: 2rem;
                    }

                    .form-section,
                    .map-section {
                        padding: 30px 20px;
                    }

                    .map-header {
                        flex-direction: column;
                        text-align: center;
                        padding: 15px 20px;
                    }

                    .map-actions {
                        flex-direction: column;
                        width: 100%;
                    }

                    .map-header a,
                    .map-header button {
                        width: 100%;
                        justify-content: center;
                    }

                    .map-container {
                        height: 400px;
                    }

                    .submit-btn {
                        padding: 14px 30px;
                    }
                }

                @media (max-width: 576px) {
                    .contact-container {
                        padding: 30px 10px;
                    }

                    .form-section,
                    .map-section {
                        padding: 25px 15px;
                    }

                    .form-title {
                        font-size: 1.8rem;
                    }

                    .section-badge {
                        padding: 6px 18px;
                        font-size: 0.85rem;
                    }

                    .form-group input,
                    .form-group textarea {
                        padding: 14px 16px;
                        font-size: 0.95rem;
                    }

                    .map-container {
                        height: 350px;
                    }

                    .info-card-top {
                        padding: 25px 15px;
                    }

                    .info-icon-top {
                        width: 60px;
                        height: 60px;
                    }

                    .info-icon-top i {
                        font-size: 32px;
                    }
                }

                @media (max-width: 400px) {
                    .contact-container {
                        padding: 20px 10px;
                    }

                    .form-section,
                    .map-section {
                        padding: 20px 15px;
                    }

                    .map-container {
                        height: 300px;
                    }

                    .success-message,
                    .error-message {
                        padding: 15px 20px;
                        flex-direction: column;
                        text-align: center;
                        gap: 8px;
                    }
                }

                /* Print Styles */
                @media print {
                    body {
                        background: white !important;
                        color: black !important;
                    }

                    .contact-container {
                        padding: 20px !important;
                    }

                    .info-card-top,
                    .form-section,
                    .map-section {
                        box-shadow: none !important;
                        border: 1px solid #ddd !important;
                        break-inside: avoid;
                    }

                    .form-section {
                        background: white !important;
                        color: black !important;
                    }

                    .form-title {
                        color: black !important;
                    }

                    .map-container iframe {
                        display: none;
                    }

                    .map-container::after {
                        content: "Map: Juhu, Mumbai, Maharashtra 400049";
                        display: block;
                        padding: 20px;
                        text-align: center;
                        background: #f5f5f5;
                        border-radius: 8px;
                        margin-top: 20px;
                    }

                    .submit-btn,
                    .map-header a,
                    .map-header button {
                        display: none !important;
                    }
                }

                /* Reduced Motion */
                @media (prefers-reduced-motion: reduce) {

                    *,
                    *::before,
                    *::after {
                        animation-duration: 0.01ms !important;
                        animation-iteration-count: 1 !important;
                        transition-duration: 0.01ms !important;
                    }
                }

                /* <!-- Complete CSS and JavaScript for the doctor search section --> */
                /* Doctor Search Section */
                .doctor-search-section {
                    margin: 0 auto;
                    padding: 30px 30px 140px;
                }

                .fad-search-section {
                    margin-bottom: 48px;
                    text-align: center;
                }

                .fad-search-title {
                    font-size: 40px;
                    font-weight: 800;
                    margin-bottom: 32px;
                    letter-spacing: -0.02em;
                    color: #141712;
                    /* Replaced --fad-text-main */
                }

                .fad-pagination-numbers {
                    display: flex;
                    gap: 5px;
                }

                #resultsSection {
                    z-index: -1;
                    position: relative;
                }

                .fad-search-container {
                    background: #ffffff;
                    /* Replaced --fad-white */
                    padding: 24px;
                    border-radius: 16px;
                    /* Replaced --fad-radius-lg */
                    border: 1px solid #dfe4dd;
                    /* Replaced --fad-border */
                    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
                    /* Replaced --fad-shadow-md */
                    display: flex;
                    gap: 16px;
                    align-items: flex-end;
                }

                .fad-input-group {
                    flex: 1;
                    text-align: left;
                }

                .fad-input-label {
                    display: block;
                    font-size: 14px;
                    font-weight: 600;
                    margin-bottom: 8px;
                    padding-left: 4px;
                    color: #141712;
                    /* Replaced --fad-text-main */
                }

                .fad-input-wrapper {
                    position: relative;
                }

                .fad-input-icon {
                    position: absolute;
                    left: 12px;
                    top: 50%;
                    transform: translateY(-50%);
                    color: #6b7280;
                    /* Replaced --fad-text-muted */
                    font-size: 20px;
                }

                .fad-input-field {
                    width: 100%;
                    height: 56px;
                    padding: 0 16px 0 44px;
                    background-color: #f9fafb;
                    border: 1px solid #dfe4dd;
                    /* Replaced --fad-border */
                    border-radius: 12px;
                    font-size: 15px;
                    outline: none;
                    transition: all 0.2s;
                    color: #141712;
                    /* Replaced --fad-text-main */
                }

                .fad-input-field:focus {
                    border-color: #498e22;
                    /* Replaced --fad-primary */
                    box-shadow: 0 0 0 3px rgba(73, 142, 34, 0.1);
                }

                .fad-input-field::placeholder {
                    color: #6b7280;
                    /* Replaced --fad-text-muted */
                }

                .fad-search-button {
                    height: 56px;
                    padding: 0 32px;
                    background-color: #498e22;
                    /* Replaced --fad-primary */
                    color: white;
                    border: none;
                    border-radius: 12px;
                    font-weight: 700;
                    font-size: 16px;
                    cursor: pointer;
                    transition: transform 0.2s, background-color 0.2s;
                    box-shadow: 0 4px 12px rgba(73, 142, 34, 0.25);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 8px;
                }

                .fad-search-button:hover {
                    background-color: #3e7a1d;
                    transform: translateY(-1px);
                }

                .fad-results-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 32px;
                    padding: 0 4px;
                }

                .fad-results-count {
                    font-size: 22px;
                    font-weight: 700;
                    color: #141712;
                    /* Replaced --fad-text-main */
                }

                .fad-sort-control {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                }

                .fad-sort-label {
                    font-size: 14px;
                    color: #6b7280;
                    /* Replaced --fad-text-muted */
                    font-weight: 500;
                }

                .fad-sort-select {
                    padding: 8px 16px;
                    border-radius: 8px;
                    border: 1px solid #dfe4dd;
                    /* Replaced --fad-border */
                    background-color: #ffffff;
                    /* Replaced --fad-white */
                    font-size: 14px;
                    font-weight: 500;
                    cursor: pointer;
                    outline: none;
                    color: #141712;
                    /* Replaced --fad-text-main */
                }

                /* Container Grid */
                .fad-specialist-grid {
                    display: grid;
                    grid-template-columns: repeat(4, 1fr);
                    gap: 20px;
                    margin-bottom: 64px;
                    z-index: 1;
                    position: relative;
                }

                /* Card Base */
                .fad-doctor-card {
                    background: #fdfbed;
                    border-radius: 24px;
                    overflow: hidden;
                    border: 1px solid #e6edf2;
                    box-shadow: 0 18px 45px -24px rgba(15, 23, 42, 0.28);
                    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
                    position: relative;
                }

                .fad-doctor-card:hover {
                    box-shadow: 0 28px 60px -22px rgba(15, 23, 42, 0.24);
                    transform: translateY(-10px);
                    border-color: #d7e7cc;
                }

                /* Enhanced Professional Background Wrapper */
                .fad-card-image-wrapper {
                    height: 238px;
                    position: relative;
                    display: flex;
                    justify-content: center;
                    align-items: flex-end;
                    overflow: hidden;
                    z-index: 1;
                    /* Soft, high-end medical gradient */
                    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);

                    /* REFINED MODERN SVG PATTERN */
                    /* Icons: Architectural Eyes, Designer Frames, Geometric Droppers, and Minimalist Charts */
                    background-image: url("../images/profile-bg.png");
                    background-size: 380px 380px;
                    transition: background-position 1.8s cubic-bezier(0.19, 1, 0.22, 1);
                    clip-path: polygon(0 0, 100% 0, 100% 88%, 0% 100%);
                }

                /* Parallax drift effect on hover */
                .fad-doctor-card:hover .fad-card-image-wrapper {
                    background-position: -40px -20px;
                }

                .fad-card-image {
                    width: auto;
                    height: 100%;
                    object-fit: contain;
                    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
                    z-index: 2;
                    /* Shadow removed as requested */
                    filter: none;
                }

                .fad-doctor-card:hover .fad-card-image {
                    transform: scale(1.04) translateY(5px);
                }

                /* Professional Typography */
                .fad-card-body {
                    padding: 18px 18px 16px;
                    background:
                        radial-gradient(circle at top right, rgba(250, 244, 205, 0.7), transparent 34%),
                        linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
                    position: relative;
                    z-index: 3;
                }

                .fad-doctor-name {
                    font-size: 21px;
                    font-weight: 800;
                    color: #0f172a;
                    letter-spacing: -0.02em;
                    margin-bottom: 10px;
                    font-family: "Playfair Display", serif;
                    line-height: 1.2;
                }

                .fad-specialty-block {
                    margin-bottom: 14px;
                    padding: 2px 0 2px 16px;
                    position: relative;
                    min-height: 110px;
                }

                .fad-specialty-block::before {
                    content: '';
                    position: absolute;
                    left: 0;
                    top: 2px;
                    bottom: 2px;
                    width: 4px;
                    border-radius: 999px;
                    background: linear-gradient(180deg, #498e22 0%, #d8eab9 100%);
                }

                .fad-specialty-label {
                    display: inline-flex;
                    align-items: center;
                    gap: 6px;
                    font-size: 10px;
                    font-weight: 800;
                    letter-spacing: 0.16em;
                    text-transform: uppercase;
                    color: #7f8c3c;
                    margin-bottom: 6px;
                    font-family: "Playfair Display", serif;
                    background: rgba(245, 247, 222, 0.9);
                    padding: 5px 10px;
                    border-radius: 999px;
                }

                .fad-specialty-label::before {
                    content: '';
                    width: 7px;
                    height: 7px;
                    border-radius: 999px;
                    background: #498e22;
                    box-shadow: 0 0 0 4px rgba(73, 142, 34, 0.12);
                }

                .fad-doctor-specialty {
                    color: #c03033;
                    font-weight: 500;
                    font-size: 16px;
                    display: block;
                    margin: 0;
                    line-height: 1.3;
                    font-family: "Poppins", sans-serif;
                }

                @keyframes fad-draw {
                    to {
                        stroke-dashoffset: 0;
                    }
                }

                /* Ensure the doctor image stays on top of the animation */
                .fad-card-image {
                    position: relative;
                    z-index: 2;
                    width: auto;
                    height: 110%;
                    object-fit: contain;
                    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                    transform-origin: bottom;
                    display: block;
                }

                /* Stats Row with Colored Boxes */
                .fad-stats-row {
                    display: flex;
                    margin-bottom: 16px;
                    padding-top: 10px;
                    border-top: 1px dashed #d9dfd1;
                }

                .fad-stat-item {
                    flex: 1;
                    display: flex;
                    align-items: start;
                    padding: 0;
                    font-family: "Poppins", sans-serif;
                }

                /* Specific Box Coloring
.fad-stat-item:nth-child(1) {
    background-color: #f7e0b5; First Box
} */

                .fad-stat-item:nth-child(2) {
                    background-color: #ff7777;
                    /* Second Box */
                }

                .fad-stat-label {
                    font-size: 14px;
                    letter-spacing: 0.02em;
                    color: #52606d;
                    font-weight: 700;
                }

                /* Improving text contrast for the red box */
                .fad-stat-item:nth-child(2) :is(.fad-stat-label, .fad-stat-value) {
                    color: #ffffff;
                }

                .fad-stat-value {
                    font-weight: 700;
                    font-size: 15px;
                    color: #141712;
                    margin-left: .5rem;
                    width: fit-content;
                }

                /* Tags */
                .fad-tag-container {
                    display: flex;
                    gap: 8px;
                    margin-bottom: 24px;
                }

                .fad-tag {
                    padding: 4px 10px;
                    border-radius: 6px;
                    font-size: 11px;
                    font-weight: 700;
                }

                .fad-tag-accent {
                    background-color: rgba(194, 16, 72, 0.1);
                    color: #c21048;
                }

                .fad-tag-primary {
                    background-color: rgba(73, 142, 34, 0.1);
                    color: #498e22;
                }

                /* Action Button */
                .fad-view-button {
                    width: 100%;
                    padding: 12px;
                    background: linear-gradient(135deg, #498e22 0%, #5aa929 100%);
                    color: white;
                    border: none;
                    border-radius: 12px;
                    font-weight: 700;
                    font-size: 14px;
                    cursor: pointer;
                    transition: all 0.2s;
                    text-decoration: none;
                    display: block;
                    text-align: center;
                    font-family: "Playfair Display", serif;
                }

                .fad-view-button:hover {
                    opacity: 0.96;
                    box-shadow: 0 10px 24px rgba(73, 142, 34, 0.22);
                }

                .fad-pagination {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 8px;
                    margin-top: 40px;
                }

                .fad-page-nav {
                    width: 40px;
                    height: 40px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 8px;
                    border: 1px solid #dfe4dd;
                    /* Replaced --fad-border */
                    background: #ffffff;
                    /* Replaced --fad-white */
                    cursor: pointer;
                    color: #141712;
                    /* Replaced --fad-text-main */
                    transition: all 0.2s;
                }

                .fad-page-nav:hover {
                    border-color: #498e22;
                    /* Replaced --fad-primary */
                }

                .fad-page-number {
                    width: 40px;
                    height: 40px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 8px;
                    font-weight: 600;
                    cursor: pointer;
                    border: 1px solid transparent;
                    transition: all 0.2s;
                    color: #141712;
                    /* Replaced --fad-text-main */
                }

                .fad-page-active {
                    background-color: #498e22;
                    /* Replaced --fad-primary */
                    color: white;
                }

                .fad-page-number:not(.fad-page-active):hover {
                    border-color: #dfe4dd;
                    /* Replaced --fad-border */
                    background-color: #f9fafb;
                }

                .fad-pagination-ellipsis {
                    color: #6b7280;
                    /* Replaced --fad-text-muted */
                    padding: 0 4px;
                }

                @media (max-width: 1024px) {
                    .fad-specialist-grid {
                        grid-template-columns: repeat(2, 1fr) !important;
                    }
                }

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

                    .fad-search-title {
                        font-size: 32px;
                    }

                    .fad-search-container {
                        flex-direction: column;
                        align-items: stretch;
                    }

                    .fad-specialist-grid {
                        grid-template-columns: 1fr !important;
                        gap: 24px;
                    }

                    .fad-results-header {
                        flex-direction: column;
                        align-items: flex-start;
                        gap: 16px;
                    }
                }

                /* Status message for search */
                .fad-search-status {
                    margin-top: 16px;
                    font-size: 14px;
                    color: #6b7280;
                    /* Replaced --fad-text-muted */
                    display: none;
                }

                .fad-search-status.active {
                    display: block;
                }

                /* No results message */
                .fad-no-results {
                    text-align: center;
                    padding: 40px;
                    color: #6b7280;
                    /* Replaced --fad-text-muted */
                    display: none;
                }

                .fad-no-results.active {
                    display: block;
                }

                .fad-specialty-dropdown {
                    position: absolute;
                    top: calc(100% + 10px);
                    left: 0;
                    right: 0;
                    background: #ffffff;
                    border: 1px solid #f0d7de;
                    border-radius: 18px;
                    box-shadow: 0 20px 45px rgba(34, 34, 34, 0.12);
                    padding: 10px 0;
                    z-index: 20;
                    display: none;
                    max-height: 320px;
                    overflow-y: auto;
                }

                .fad-specialty-dropdown.active {
                    display: block;
                }

                .fad-specialty-option {
                    width: 100%;
                    border: 0;
                    background: transparent;
                    text-align: left;
                    padding: 12px 18px;
                    font-size: 1rem;
                    color: #111827;
                    cursor: pointer;
                    transition: background-color 0.2s ease, color 0.2s ease;
                }

                .fad-specialty-option:hover,
                .fad-specialty-option:focus {
                    background: #fff5f8;
                    color: #d81b60;
                    outline: none;
                }

                .bgdr {
                    background-color: #f5e5e5;
                    ;
                }
