/* ======================================
   DOCTORS PAGE - GYANDEEP HOSPITAL
   ====================================== */

/* ===== PAGE HEADER ===== */
.doc-page-header {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.doc-page-header-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.doc-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(27,58,122,0.92), rgba(42,172,226,0.75));
    z-index: 2;
}

.doc-page-header .container { 
    position: relative; 
    z-index: 3; 
}

.doc-header-content { 
    text-align: center; 
}

.doc-page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease;
}

.doc-breadcrumb {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0; 
    margin: 0;
}

.doc-breadcrumb-item { 
    color: rgba(255,255,255,0.8); 
    font-size: 1rem; 
}

.doc-breadcrumb-item a { 
    color: #ffffff; 
    text-decoration: none; 
    transition: color 0.3s ease; 
}

.doc-breadcrumb-item a:hover { 
    color: var(--primary-cyan, #2aace2); 
}

.doc-breadcrumb-item.active { 
    color: var(--primary-cyan, #2aace2); 
}

.doc-breadcrumb-item + .doc-breadcrumb-item::before {
    content: "→";
    color: rgba(255,255,255,0.6);
    margin-right: 10px;
}


/* ===== INTRO ===== */
.doc-intro-section {
    padding: 70px 0 40px;
    background: var(--white, #ffffff);
}

.doc-badge {
    display: inline-block;
    background: rgba(42,172,226,0.12);
    color: var(--primary-cyan, #2aace2);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.doc-main-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-navy, #1b3a7a);
    margin: 10px 0 15px;
    line-height: 1.25;
}

.doc-intro-text {
    font-size: 1.05rem;
    color: var(--text-light, #6c757d);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}


/* ===== DOCTORS TEAM SECTION ===== */
.doc-team-section {
    padding: 20px 0 80px;
    background: var(--light-bg, #f8f9fa);
}


/* ===== DOCTOR CARD ===== */
.doc-card {
    background: var(--white, #ffffff);
    border-radius: 20px;
    border: 1px solid var(--border-color, #e0e0e0);
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.doc-card:hover {
    border-color: var(--primary-cyan, #2aace2);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(27,58,122,0.12);
}

.doc-card--rmo {
    border-top: 4px solid #dc3545;
}

.doc-card--rmo:hover {
    border-color: #dc3545;
    box-shadow: 0 20px 50px rgba(220,53,69,0.12);
}


/* ===== IMAGE WRAPPER ===== */
.doc-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.doc-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    display: block;
}

.doc-card:hover .doc-image {
    transform: scale(1.07);
}

.doc-dept-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-navy, #1b3a7a);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    z-index: 2;
    max-width: calc(100% - 70px);
}

.doc-dept-tag--red {
    background: #dc3545;
}

.doc-social-links {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.doc-card:hover .doc-social-links {
    opacity: 1;
    transform: translateY(0);
}

.doc-social-icon {
    width: 34px;
    height: 34px;
    background: rgba(27,58,122,0.85);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.3s ease;
    backdrop-filter: blur(4px);
}

.doc-social-icon:hover {
    background: var(--primary-cyan, #2aace2);
    color: #ffffff;
}


/* ===== CARD CONTENT ===== */
.doc-card-content {
    padding: 24px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.doc-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy, #1b3a7a);
    margin: 0;
    line-height: 1.3;
}

.doc-specialization {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-cyan, #2aace2);
    margin: 0;
}

.doc-experience {
    font-size: 0.85rem;
    color: var(--text-light, #6c757d);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.doc-experience i {
    color: var(--primary-gold, #c9a227);
    font-size: 0.9rem;
}

.doc-description {
    font-size: 0.88rem;
    color: var(--text-dark, #2c3e50);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.doc-qualifications {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.doc-qual-badge {
    background: rgba(27,58,122,0.07);
    color: var(--primary-navy, #1b3a7a);
    font-size: 0.73rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 50px;
    letter-spacing: 0.2px;
}

.doc-btn-appointment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-navy, #1b3a7a);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    border: 2px solid var(--primary-navy, #1b3a7a);
    text-align: center;
}

.doc-btn-appointment:hover {
    background: var(--primary-cyan, #2aace2);
    border-color: var(--primary-cyan, #2aace2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42,172,226,0.3);
}

.doc-btn--emergency {
    background: #dc3545;
    border-color: #dc3545;
}

.doc-btn--emergency:hover {
    background: #c82333;
    border-color: #c82333;
    box-shadow: 0 8px 20px rgba(220,53,69,0.3);
}


/* ===== WHY SECTION ===== */
.doc-why-section {
    padding: 80px 0;
    background: var(--white, #ffffff);
}

.doc-section-header {
    margin-bottom: 50px;
}

.doc-section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light, #6c757d);
    margin-top: 10px;
}

.doc-feature-card {
    background: var(--light-bg, #f8f9fa);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 20px;
    padding: 38px 28px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.doc-feature-card:hover {
    border-color: var(--primary-cyan, #2aace2);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(42,172,226,0.12);
    background: var(--white, #ffffff);
}

.doc-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-navy, #1b3a7a), #1a4faa);
    color: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 22px;
    transition: all 0.4s ease;
}

.doc-feature-card:hover .doc-feature-icon {
    background: linear-gradient(135deg, var(--primary-cyan, #2aace2), #1b8fc4);
    transform: scale(1.08);
}

.doc-feature-title {
    color: var(--primary-navy, #1b3a7a);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.doc-feature-text {
    color: var(--text-light, #6c757d);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}


/* ===== CTA SECTION ===== */
.doc-cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary-navy, #1b3a7a), #1a4faa);
}

.doc-cta-wrapper {
    padding: 40px 45px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
}

.doc-cta-title {
    color: #ffffff;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.doc-cta-text {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin: 0;
}

.doc-btn-white {
    background: #ffffff;
    color: var(--primary-navy, #1b3a7a);
    padding: 14px 35px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.doc-btn-white:hover {
    background: var(--primary-cyan, #2aace2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42,172,226,0.4);
}

.doc-btn-outline {
    background: transparent;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 50px;
    border: 2px solid #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.doc-btn-outline:hover {
    background: #ffffff;
    color: var(--primary-navy, #1b3a7a);
    transform: translateY(-2px);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .doc-page-title { font-size: 2.5rem; }
    .doc-main-title { font-size: 2rem; }
    .doc-image-wrapper { height: 260px; }
}

@media (max-width: 768px) {
    .doc-page-header { padding: 100px 0 60px; }
    .doc-page-title { font-size: 2rem; }
    .doc-main-title { font-size: 1.8rem; }
    .doc-intro-section { padding: 55px 0 30px; }
    .doc-team-section { padding: 10px 0 60px; }
    .doc-why-section { padding: 60px 0; }
    .doc-image-wrapper { height: 240px; }
    .doc-card-content { padding: 20px 20px 24px; }

    .doc-cta-wrapper { 
        padding: 30px 20px; 
        text-align: center; 
    }

    .doc-cta-title { 
        font-size: 1.5rem; 
    }

    .doc-btn-white,
    .doc-btn-outline {
        width: 100%;
        margin-top: 10px;
        margin-left: 0 !important;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .doc-page-header { padding: 80px 0 50px; }
    .doc-page-title { font-size: 1.75rem; }
    .doc-main-title { font-size: 1.6rem; }
    .doc-image-wrapper { height: 220px; }
    .doc-name { font-size: 1.1rem; }
    .doc-feature-icon { width: 68px; height: 68px; font-size: 1.7rem; }
    .doc-feature-title { font-size: 1.05rem; }
    .doc-btn-appointment { padding: 11px 18px; font-size: 0.85rem; }
    .doc-cta-section { padding: 50px 0; }
}


/* ===== ANIMATION ===== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}