/* ── Doctors Showcase — premium homepage carousel ── */

.doctors-showcase {
    --ds-navy:    #1E2D4F;
    --ds-magenta: #F03167;
    --ds-blush:   #E8B7C4;
    --ds-gold:    #BF9855;
    --ds-border:  rgba(30, 45, 79, 0.1);
    position: relative;
    padding: 48px 0 56px;
}

.doctors-showcase__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.doctors-showcase__heading-wrap {
    flex: 1;
    min-width: 0;
}

.doctors-showcase__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ds-gold);
    margin-bottom: 10px;
    padding-bottom: 10px;
    position: relative;
}

.doctors-showcase__label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: currentColor;
    opacity: 0.6;
}

.doctors-showcase__title {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ds-navy);
}

.doctors-showcase__subtitle {
    margin-top: 8px;
    font-size: clamp(13px, 1.4vw, 15px);
    line-height: 1.5;
    color: rgba(43, 49, 59, 0.72);
    max-width: 520px;
}

.doctors-showcase__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.doctors-showcase__nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--ds-border);
    background: #fff;
    color: var(--ds-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.2s ease, color 0.22s ease;
}

.doctors-showcase__nav-btn:hover {
    background: var(--ds-navy);
    border-color: var(--ds-navy);
    color: #fff;
    transform: scale(1.04);
}

.doctors-showcase__nav-btn:active {
    transform: scale(0.98);
}

.doctors-showcase__swiper {
    overflow: hidden;
}

.doctors-showcase__swiper .swiper-slide {
    height: auto;
}

.doctors-showcase__swiper .swiper-slide:hover {
    transform: none;
    box-shadow: none;
}

/* ── Doctor card ── */
.doctor-card {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    height: 370px;
    background-color: #eef0f2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--ds-border);
    box-shadow: 0 10px 28px -14px rgba(30, 45, 79, 0.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

@media (min-width: 768px) {
    .doctor-card {
        border-radius: 18px;
    }
}

@media (min-width: 1280px) {
    .doctor-card {
        height: 530px;
    }
}

.doctor-card:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 45, 79, 0.2);
    box-shadow: 0 22px 44px -18px rgba(30, 45, 79, 0.28);
}

/* gold corner accent, revealed on hover */
.doctor-card::before {
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-top: 1px solid rgba(191, 152, 85, 0.55);
    border-right: 1px solid rgba(191, 152, 85, 0.55);
    opacity: 0;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.doctor-card:hover::before {
    opacity: 1;
}

/* gold accent line, revealed on hover */
.doctor-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--ds-gold);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 4;
    transition: transform 0.32s ease;
}

.doctor-card:hover::after {
    transform: scaleX(1);
}

.doctor-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(30, 45, 79, 0) 42%, rgba(30, 45, 79, 0.28) 68%, rgba(30, 45, 79, 0.92) 100%),
        radial-gradient(circle at 88% 8%, rgba(240, 49, 103, 0.18), transparent 42%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.doctor-card:hover .doctor-card__overlay {
    background:
        linear-gradient(180deg, rgba(30, 45, 79, 0.02) 38%, rgba(30, 45, 79, 0.36) 66%, rgba(30, 45, 79, 0.95) 100%),
        radial-gradient(circle at 88% 8%, rgba(240, 49, 103, 0.24), transparent 42%);
}

.doctor-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 183, 196, 0.55);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ds-navy);
    box-shadow: 0 4px 12px -4px rgba(30, 45, 79, 0.15);
}

.doctor-card__badge i {
    color: var(--ds-magenta);
    font-size: 11px;
}

.doctor-card__content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 20px 20px 22px;
}

.doctor-card__name {
    display: block;
    color: #fff;
    font-size: clamp(15px, 1.7vw, 22px);
    font-family: 'FontMedium', sans-serif;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.doctor-card__meta {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.25s ease;
}

.doctor-card:hover .doctor-card__meta {
    color: var(--ds-gold);
}

@media (max-width: 640px) {
    .doctors-showcase {
        padding: 36px 0 44px;
    }

    .doctors-showcase__header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .doctors-showcase__nav-btn {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .doctor-card {
        height: 320px;
    }
}
