/* ============================= */
/* SERVICES PAGE ENHANCEMENTS */
/* ============================= */

/* Team Section Improvements */
.wsite-section-bg-image .wsite-section-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 1200px;
}

/* Doctor Cards */
.doctor-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Doctor Images */
.doctor-card .wsite-image img {
    border-radius: 50%;
    width: 200px !important;
    height: 200px !important;
    object-fit: cover;
    border: 5px solid #6fc4ff;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 8px 24px rgba(111, 196, 255, 0.3);
}

/* Doctor Name & Title */
.doctor-card h2.wsite-content-title {
    color: #0f1f3d;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.doctor-card h2.wsite-content-title br {
    content: "";
    display: block;
    margin-bottom: 8px;
}

/* Doctor Credentials */
.doctor-card h2 font[color="#000001"],
.doctor-card h2 font[color="#00000b"],
.doctor-card h2 font[color="#d6d6ec"] {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #555555 !important;
    margin-top: 10px;
}

/* Availability Badge */
.availability-badge {
    display: block;
    background: linear-gradient(135deg, #6fc4ff, #4a9fd8);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin: 20px auto;
    text-align: center;
    width: fit-content;
    max-width: 90%;
    box-shadow: 0 4px 15px rgba(111, 196, 255, 0.3);
    transition: all 0.3s ease;
}

.availability-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 196, 255, 0.4);
}

/* Specialization List */
.specialization-list {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
    border: 2px solid rgba(111, 196, 255, 0.2);
}

.specialization-list h3 {
    color: #0f1f3d !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-align: center;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 12px;
}

.specialization-list h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6fc4ff, #4a9fd8);
    border-radius: 2px;
}

/* Specialization Items Container */
.specialization-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 15px;
}

/* Individual Specialization Badge */
.specialization-item {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #0f1f3d;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #6fc4ff;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(111, 196, 255, 0.2);
}

.specialization-item:hover {
    background: linear-gradient(135deg, #6fc4ff, #4a9fd8);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(111, 196, 255, 0.4);
}

.specialization-item i {
    margin-right: 8px;
    font-size: 16px;
    color: #6fc4ff;
}

.specialization-item:hover i {
    color: #ffffff;
}

/* Alternative: Grid Layout for Specializations */
.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.specialization-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(111, 196, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.specialization-card:hover {
    border-color: #6fc4ff;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(111, 196, 255, 0.3);
}

.specialization-card i {
    font-size: 28px;
    color: #6fc4ff;
    margin-bottom: 10px;
    display: block;
}

.specialization-card span {
    display: block;
    color: #0f1f3d;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}

.specialization-list font {
    color: #333333 !important;
}

/* Mobile Responsiveness */
@media screen and (max-width: 767px) {
    .specialization-items {
        gap: 8px;
    }

    .specialization-item {
        font-size: 13px;
        padding: 8px 14px;
    }

    .specialization-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
}

/* Services & Treatments Section */
.wsite-section-bg-gradient .wsite-section-content {
    padding: 60px 20px;
}

/* Section Titles */
.services-section h2.wsite-content-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.services-section h2.wsite-content-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6fc4ff, #4a9fd8);
    border-radius: 2px;
}

/* Treatment Cards */
.treatment-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

/* Treatment Images */
.treatment-card .wsite-image img {
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Treatment Titles */
.treatment-card h2[style*="text-align:left"] {
    color: #0f1f3d !important;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    border-left: 4px solid #6fc4ff;
    padding-left: 15px;
}

/* Treatment Descriptions */
.treatment-card h2 font,
.treatment-card .paragraph {
    font-size: 16px !important;
    line-height: 1.8;
    color: #333333 !important;
    font-weight: 400 !important;
}

/* Category Headers */
h2.wsite-content-title[style*="text-align:center"] {
    background: linear-gradient(135deg, #6fc4ff, #4a9fd8);
    color: #ffffff !important;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    margin: 40px auto 30px;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(111, 196, 255, 0.3);
}

h2.wsite-content-title[style*="text-align:center"] font {
    color: #ffffff !important;
}

/* Responsive Grid for Treatments */
@media screen and (min-width: 768px) {
    .treatment-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
}

/* Spacer Improvements */
.wsite-spacer {
    opacity: 0.3;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Remove Background Image Overlay */
.wsite-section-bg-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.wsite-section-bg-image .wsite-section-content {
    position: relative;
    z-index: 1;
}

/* Gradient Section Enhancement */
.wsite-section-bg-gradient {
    background: linear-gradient(180deg, #e3f2fd 0%, #bbdefb 100%) !important;
}

/* Mobile Optimizations */
@media screen and (max-width: 767px) {
    .doctor-card h2.wsite-content-title {
        font-size: 22px;
    }

    .services-section h2.wsite-content-title {
        font-size: 28px;
    }

    .treatment-card h2[style*="text-align:left"] {
        font-size: 20px;
    }

    .doctor-card .wsite-image img {
        width: 150px !important;
        height: 150px !important;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.doctor-card,
.treatment-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Improved Readability */
.wsite-section-elements {
    line-height: 1.8;
    letter-spacing: 0.3px;
}

/* Professional Color Scheme */
:root {
    --primary-blue: #6fc4ff;
    --dark-blue: #0f1f3d;
    --light-bg: #f8f9fa;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.15);
}

/* Highlight Key Information */
strong {
    color: #0f1f3d;
    font-weight: 600;
}

/* Clean Typography */
.wsite-section-elements h2,
.wsite-section-elements p,
.wsite-section-elements font {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
/* ============================= */
/* SERVICES / TREATMENTS CARDS */
/* ============================= */

/* Grid: 2 cards per row (desktop) */
.services-section .wsite-section-elements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Section headings should stay full width */
.services-section h2.wsite-content-title {
    grid-column: 1 / -1;
}

/* Treatment Card */
.treatment-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.treatment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

/* Treatment Image */
.treatment-card img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* Treatment Title (Enhanced Focus) */
.treatment-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f1f3d;
    margin: 10px 0 8px;
    border-left: 4px solid #6fc4ff;
    padding-left: 12px;
}

/* Treatment Description (Medium Length Look) */
.treatment-card .paragraph,
.treatment-card p,
.treatment-card font {
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
}

/* ============================= */
/* Mobile: 1 card per row */
/* ============================= */
@media (max-width: 768px) {
    .services-section .wsite-section-elements {
        grid-template-columns: 1fr;
    }

    .treatment-card {
        padding: 20px;
    }

    .treatment-card h2 {
        font-size: 20px;
    }
}
/* Service Title */
.service-title {
    position: relative;
    font-size: 24px;
    font-weight: 800;
    color: #0f1f3d;
    margin-bottom: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg,
            rgba(111, 196, 255, 0.18),
            rgba(74, 159, 216, 0.18));
}

/* Accent bar */
.service-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 5px;
    border-radius: 4px;
    background: linear-gradient(180deg, #6fc4ff, #4a9fd8);
}
/* Highlight key text inside treatment descriptions */
.treatment-card .wsite-content-title strong {
    color: #4a9fd8;
    /* soft medical blue */
    font-weight: 700;
}