/* ========== COLOR VARIABLES ========== */
:root {
    --primary-orange: #f99820;
    --white: #ffffff;
    --dark-orange: #e08510;
    --dark-navy: #09264a;
    --light-gray: #f8f9ff;
    --gray-text: #666;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--dark-navy);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HERO SECTION ========== */
.doctors-hero {
    height: 60vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/our_doctor.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    animation: zoomIn 20s ease-out infinite;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(9, 38, 74, 0.85), rgba(9, 38, 74, 0.7));
    z-index: 2;
}

.doctors-hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(249, 152, 32, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 3;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 4;
    color: var(--white);
}

.hero-tag {
    display: inline-block;
    background: rgba(249, 152, 32, 0.2);
    color: var(--primary-orange);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 15px;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    opacity: 0.9;
}

/* ========== DOCTORS MAIN ========== */
.doctors-main {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(249, 152, 32, 0.1);
    color: var(--primary-orange);
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.section-header p {
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================= OUR DOCTOR =================== */
/* ========== COLOR VARIABLES ========== */
:root {
    --primary-orange: #f99820;
    --white: #ffffff;
    --dark-orange: #e08510;
    --dark-navy: #09264a;
    --light-gray: #f8f9ff;
    --gray-text: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--dark-navy);
}

/* ========== DOCTORS SECTION ========== */
.doctors-section {
    padding: clamp(50px, 10vh, 100px) 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 5vw, 30px);
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 8vh, 60px);
}

/* FIRST LINE - Doctors */
.section-tag {
    display: block;
    background: rgba(249, 152, 32, 0.1);
    color: var(--primary-orange);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 600;
    padding: clamp(4px, 1vw, 6px) clamp(12px, 3vw, 18px);
    border-radius: 25px;
    letter-spacing: 1px;
    margin-bottom: clamp(8px, 1.5vh, 12px);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* SECOND LINE - Our Experience Doctors */
.section-header h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--dark-navy);
    margin-bottom: clamp(10px, 2vh, 15px);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Orange Underline below Our Experience Doctors */
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

/* Description Paragraph */
.section-header p {
    max-width: 700px;
    margin: 30px auto 0;
    color: var(--gray-text);
    font-size: clamp(0.85rem, 2vw, 1rem);
    line-height: 1.6;
}

/* ========== DOCTORS GRID ========== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 30px);
}

/* ========== DOCTOR CARD ========== */
.doctor-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Doctor Image */
.doctor-image {
    position: relative;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

/* Social Links Overlay */
.social-links {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    transition: bottom 0.3s ease;
}

.doctor-card:hover .social-links {
    bottom: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-orange);
    transform: translateY(-3px);
}

/* Doctor Info */
.doctor-info {
    padding: 20px;
}

.doctor-info h3 {
    font-size: 1.2rem;
    color: var(--dark-navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.doctor-info .department {
    color: var(--primary-orange);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet */
@media (max-width: 992px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .doctors-section {
        padding: 50px 0;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .doctor-card {
        max-width: 350px;
        margin: 0 auto;
        width: 100%;
    }
    
    .doctor-image img {
        height: 280px;
    }
    
    .section-header h2::after {
        width: 50px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .doctors-section {
        padding: 40px 0;
    }
    
    .doctor-image img {
        height: 250px;
    }
    
    .doctor-info {
        padding: 15px;
    }
    
    .doctor-info h3 {
        font-size: 1.1rem;
    }
    
    .section-header h2::after {
        width: 40px;
        bottom: -8px;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .doctor-image img {
        height: 220px;
    }
    
    .doctor-info h3 {
        font-size: 1rem;
    }
    
    .doctor-info .department {
        font-size: 0.8rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .doctors-grid {
        gap: 35px;
    }
    
    .doctor-image img {
        height: 320px;
    }
}

/* =================================== APPointment  ================================= */
/* ========== COLOR VARIABLES ========== */
:root {
    --primary-orange: #f99820;
    --white: #ffffff;
    --dark-orange: #e08510;
    --dark-navy: #09264a;
    --light-gray: #f8f9ff;
    --gray-text: #666;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--dark-navy);
}

/* ========== APPOINTMENT SECTION ========== */
.appointment-section {
    padding: clamp(50px, 10vh, 100px) 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 5vw, 30px);
}

.appointment-wrapper {
    display: flex;
    gap: clamp(30px, 5vw, 60px);
    flex-wrap: wrap;
}

/* ========== LEFT SIDE - CONTENT ========== */
.appointment-content {
    flex: 1;
    min-width: 280px;
}

/* Section Tag - Appointment */
.section-tag {
    display: inline-block;
    background: rgba(249, 152, 32, 0.1);
    color: var(--primary-orange);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 600;
    padding: clamp(4px, 1vw, 6px) clamp(12px, 3vw, 18px);
    border-radius: 25px;
    letter-spacing: 1px;
    margin-bottom: clamp(12px, 2vh, 18px);
}

.appointment-content h2 {
    font-size: clamp(1.3rem, 4vw, 2rem);
    color: var(--dark-navy);
    margin-bottom: clamp(15px, 3vh, 20px);
    font-weight: 700;
    line-height: 1.3;
}

.appointment-content p {
    color: var(--gray-text);
    line-height: 1.6;
    font-size: clamp(0.85rem, 2vw, 1rem);
    margin-bottom: clamp(25px, 4vh, 35px);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(249, 152, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--primary-orange);
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--primary-orange);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
    color: var(--white);
}

.contact-details span {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-text);
    margin-bottom: 5px;
}

.contact-details h4 {
    font-size: 1.1rem;
    color: var(--dark-navy);
    font-weight: 600;
}

/* ========== RIGHT SIDE - FORM ========== */
.appointment-form {
    flex: 1;
    min-width: 280px;
    background: var(--white);
    padding: clamp(25px, 5vw, 40px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 120px;
}

.form-group.full-width {
    width: 100%;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark-navy);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(249, 152, 32, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

/* Date input styling */
.form-group input[type="date"] {
    color: var(--dark-navy);
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(0.5);
}

/* Book Appointment Button */
.book-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 152, 32, 0.3);
}

.book-btn:active {
    transform: translateY(0);
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet (992px and below) */
@media (max-width: 992px) {
    .appointment-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .appointment-content {
        text-align: center;
    }
    
    .contact-info {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-item {
        flex: 1;
        min-width: 200px;
        justify-content: center;
    }
}

/* Mobile Landscape (768px and below) */
@media (max-width: 768px) {
    .appointment-section {
        padding: 50px 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        width: 100%;
        max-width: 280px;
    }
    
    .appointment-form {
        padding: 25px;
    }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    .appointment-section {
        padding: 40px 0;
    }
    
    .appointment-form {
        padding: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .book-btn {
        padding: 12px 20px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
    .appointment-content h2 {
        font-size: 1.2rem;
    }
    
    .contact-item {
        gap: 10px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
}

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .appointment-content h2 {
        font-size: 2.2rem;
    }
}