/* Header Section - "Our Team" */
/* =======================
   HEADER SECTION
========================== */
.header-section {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background-image: url('Images/DoctorBanner.png');
    background-size: cover;
    background-position: center;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(41, 128, 185, 0.7), rgba(52, 152, 219, 0.7));
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-align: left;
    padding: 0 1rem 0 5%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* =======================
   GENERAL CONTENT SECTION
========================== */
.content-section {
    background-color: #f3f4f6;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.content-wrapper h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 2rem;
    text-align: center;
}

.content-wrapper h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.content-wrapper h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content-wrapper p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
    text-align: justify;
}

/* =======================
   DOCTOR PROFILE SECTION
========================== */
.doctor-profile-section {
    background-color: #f3f4f6;
    padding: 4rem 0;
}

.doctor-profile-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .doctor-profile-card {
        flex-direction: row;
        align-items: stretch;
    }
}

.doctor-image-container {
    flex-shrink: 0;
    width: 100%;
    height: 300px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    order: 1;
}

@media (min-width: 768px) {
    .doctor-image-container {
        width: 40%;
        height: auto;
        min-height: 450px;
        order: 2;
    }
}

.doctor-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-details {
    flex-grow: 1;
    text-align: left;
    order: 2;
}

@media (min-width: 768px) {
    .doctor-details {
        order: 1;
    }
}

.doctor-details h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.doctor-details h4 {
    font-size: 1.2rem;
    font-weight: normal;
    color: #3498db;
    margin-bottom: 1rem;
}

.doctor-details .specialization {
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 1rem;
}

.doctor-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.doctor-details ul li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: #555;
}

.doctor-details p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #222;
    text-align: justify;
}

/* =======================
   WORKING EXPERIENCE SECTION
========================== */
.working-experience-section {
    background-color: #f3f4f6;
    padding: 0 0 4rem 0;
}

.working-experience-block {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.working-experience-block h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.working-experience-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.working-experience-block ul li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 1rem;
    color: #222;
    text-align: justify;
}

.working-experience-block ul li::before {
    content: '\25B6';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    font-size: 0.8em;
    line-height: 1.6;
}

/* =======================
   RESPONSIVE ENHANCEMENTS
========================== */
@media (max-width: 768px) {
    .header-section {
        height: 300px;
        background-position: center;
    }

    .header-content {
        font-size: 2.2rem;
        padding: 0 1rem;
        text-align: center;
    }

    .doctor-profile-card {
        padding: 1.5rem;
    }

    .doctor-image-container {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .doctor-details h3 {
        font-size: 1.8rem;
        text-align: center;
    }

    .doctor-details h4,
    .doctor-details .specialization,
    .doctor-details ul,
    .doctor-details p {
        text-align: center;
    }

    .working-experience-block {
        padding: 1.5rem;
    }

    .working-experience-block h3 {
        font-size: 1.6rem;
    }

    .working-experience-block ul li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .header-section {
        height: 220px;
        background-position: center;
    }

    .header-section::before {
        background: linear-gradient(to bottom, rgba(41, 128, 185, 0.8), rgba(52, 152, 219, 0.3));
    }

    .header-content {
        font-size: 1.6rem;
        padding: 0 1rem;
        text-align: center;
    }

    .doctor-details h3 {
        font-size: 1.6rem;
    }

    .doctor-details h4 {
        font-size: 1rem;
    }

    .doctor-details .specialization {
        font-size: 1rem;
    }

    .doctor-details ul li,
    .doctor-details p,
    .working-experience-block ul li {
        font-size: 0.9rem;
    }
}
