/* Doctors page only — does not alter the homepage cards */
.doctors-page {
    background: #fff;
    color: #111;
    font-family: Lato, Arial, sans-serif
}

.doctors-page .doctors-container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto
}

.doctors-banner {
    height: 330px;
    display: flex;
    align-items: center;
    background-color: #596b9b;
    background-image: linear-gradient(90deg, rgba(57, 76, 132, .82), rgba(84, 104, 158, .82)), repeating-linear-gradient(60deg, transparent 0 85px, rgba(17, 47, 110, .17) 86px 88px, transparent 89px 170px);
    color: #fff
}

.doctors-banner h1 {
    font-size: 30px;
    font-weight: 700;
    margin: 0
}

.doctors-list {
    padding: 35px 0 36px
}

.profile-card {
    border: 1px solid #2a3192;
    border-radius: 11px;
    overflow: hidden;
    margin-bottom: 25px;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
    transition: transform .55s ease, box-shadow .55s ease, opacity .7s ease;
    opacity: 0;
    transform: translateY(24px)
}

.profile-card.is-visible {
    opacity: 1;
    transform: translateY(0)
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(31, 34, 98, .14)
}

.profile-body {
    min-height: 360px;
    padding: 35px 30px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px
}

.profile-person {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end
}

.profile-photo {
    width: 230px;
    height: 240px;
    margin: 0 0 20px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.profile-photo img,
.profile-photo svg {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: bottom center;
    transition: transform .5s ease
}

.profile-card:hover .profile-photo img,
.profile-card:hover .profile-photo svg {
    transform: scale(1.045)
}

.profile-person h2{font-size:28px;color:#1f2262;
    line-height:1.18;
    margin:0 0 20px;
    font-weight:700
}

.profile-degree {
    color: #f18b20;
    font-size: 17px;
    line-height: 1.35;
    margin: 0 0 28px
}

.profile-tags {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 5px
}

.profile-tags span {
    background: #f5f5fc;
    border: 1px solid #d6d8e4;
    border-radius: 20px;
    color: #15173e;
    padding: 5px 9px;
    font-size: 15px;
    letter-spacing: .5px;
    line-height: 1.1
}

.profile-details {
    padding-top: 0;
    min-width: 0
}

.experience {
    width: max-content;
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 13px 15px;
    border-radius: 15px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .13);
    border: 1px solid #f0f0f0;
    margin-bottom: 39px
}

.experience-icon {
    color: #222c85;
    font-size: 31px
}

.experience strong {
    display: block;
    font-size: 23px;
    line-height: 1.1
}

.experience small {
    display: block;
    color: #666;
    font-size: 15px
}

.detail-heading {
    font-size: 21px;
    letter-spacing: 2px;
    font-weight: 400;
    color: #f28c22;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px
}

.detail-heading span {
    font-size: 25px;
    font-weight: bold
}

.profile-details ul {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.6
}

.profile-details li {
    padding-left: 29px;
    position: relative;
    margin-bottom: 8px
}

.education li:before {
    content: '🎓';
    position: absolute;
    left: 0;
    font-size: 15px
}

.achievements li:before {
    content: '★';
    position: absolute;
    left: 0;
    color: #1f2262;
    font-size: 20px;
    line-height: 1.2
}

.achievements-heading {
    margin-top: 34px
}

.profile-philosophy {
    min-height: 210px;
    padding: 22px 20px 25px;
    background-color: #1f2262;
    background-image: repeating-radial-gradient(ellipse at 65% 10%, transparent 0 75px, rgba(87, 92, 174, .10) 77px 94px, transparent 96px 165px);
    color: #fff;
    text-align: center
}

.profile-philosophy h3 {
    font-size: 25px;
    line-height: 1.2;
    margin: 0 auto 17px;
    max-width: 490px;
    border-bottom: 2px solid #f2952c;
    padding-bottom: 4px
}

.profile-philosophy p {
    font-size: 15px;
    line-height: 1.45;
    margin: 0 0 25px
}

.consult-button {
    display: inline-block;
    background: #f2952c;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 16px 27px;
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease
}

.consult-button:hover {
    background: #e57c0f;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22)
}

@media(max-width:850px) {
    .profile-body {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .profile-person {
        justify-content: flex-start
    }

    .profile-photo {
        margin-left: 0
    }

    .profile-details {
        padding: 0
    }

    .profile-person h2 {
        font-size: 28px
    }

    .detail-heading {
        font-size: 21px
    }

    .doctors-banner {
        height: 240px
    }
}

@media(max-width:520px) {
    .doctors-page .doctors-container {
        width: calc(100% - 24px)
    }

    .profile-body {
        padding: 24px 18px
    }

    .profile-person h2 {
        font-size: 24px
    }

    .profile-degree {
        font-size: 16px
    }

    .profile-tags {
        gap: 8px
    }

    .profile-tags span {
        font-size: 13px
    }

    .profile-philosophy h3 {
        font-size: 23px
    }

    .profile-philosophy p {
        font-size: 15px
    }

    .consult-button {
        font-size: 16px
    }

    .detail-heading {
        letter-spacing: .5px;
        font-size: 19px
    }

    .doctors-banner {
        height: 200px
    }
}

@media(prefers-reduced-motion:reduce) {

    .profile-card,
    .profile-photo img,
    .profile-photo svg,
    .consult-button {
        transition: none !important
    }

    .profile-card {
        opacity: 1;
        transform: none
    }
}
/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}