/* child-health.css - Custom styling for Child Health section */

/* 1. Curved Premium Hero */
.ch-hero {
    background: linear-gradient(rgba(43, 169, 166, 0.85), rgba(28, 61, 90, 0.9)), url('images/hero_pediatric.jpg') center/cover no-repeat;
    padding: 180px 0 150px;
    position: relative;
    color: var(--white);
    text-align: center;
}

/* Add a beautiful SVG curve at the bottom of the hero */
.ch-hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23f8f9fa" d="M0,192L48,197.3C96,203,192,213,288,192C384,171,480,117,576,112C672,107,768,149,864,176C960,203,1056,213,1152,197.3C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 1;
}

.ch-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.ch-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.ch-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Ultra Modern Section Header */
.ultra-modern-header {
    position: relative;
    text-align: center;
    padding: 40px 0;
    margin-bottom: 60px;
}

.um-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    letter-spacing: 5px;
}

.um-content {
    position: relative;
    z-index: 1;
}

.um-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(43, 169, 166, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.um-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.um-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.um-content p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .um-watermark {
        font-size: 4rem;
    }
    .um-title {
        font-size: 2.5rem;
    }
}

/* 2. Wide Horizontal Illness Cards */
.illnesses-section {
    padding: 60px 0 100px;
    background: #f8f9fa;
}

.illness-wide-card {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-left: 5px solid var(--primary-color);
}

.illness-wide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.illness-icon-box {
    width: 150px;
    background: rgba(43, 169, 166, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.illness-details {
    padding: 40px;
    flex: 1;
    display: flex;
    gap: 40px;
    align-items: center;
}

.illness-desc {
    flex: 1;
}

.illness-desc h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.illness-desc p {
    color: #666;
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.illness-symptoms-box {
    width: 320px;
    background: #f8f9fa;
    padding: 20px 25px;
    border-radius: 12px;
    flex-shrink: 0;
}

.illness-symptoms-box h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.illness-symptoms-box h4 i {
    color: var(--danger-color);
}

.illness-symptoms-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.illness-symptoms-box ul li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.illness-symptoms-box ul li:last-child {
    margin-bottom: 0;
}

.illness-symptoms-box ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 7px;
    width: 6px; height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 992px) {
    .illness-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .illness-symptoms-box {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .illness-wide-card {
        flex-direction: column;
    }
    .illness-icon-box {
        width: 100%;
        height: 120px;
    }
}

/* 3. When to See Doctor - Modern Grid */
.doctor-guide-section {
    padding: 100px 0;
    background: var(--white);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.guide-card {
    text-align: center;
    padding: 40px 30px;
    border: 1px solid #eee;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.guide-card:hover {
    border-color: var(--primary-color);
    background: rgba(43, 169, 166, 0.02);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.guide-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--danger-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
}

.guide-card h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.guide-card p {
    color: #666;
    font-size: 0.95rem;
}
