* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.85;
    color: #333;
    background-color: #f2f2f2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #005EB8;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00A3E0;
}

.hero {
    background: linear-gradient(rgba(0, 94, 184, 0.85), rgba(0, 94, 184, 0.7)), url('imgs/hero-doctor.jpg');
    background-size: cover;
    background-position: center;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 22px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 22px;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-section {
    padding: 65px 0;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.content-section:nth-child(even) {
    background-color: #f9f9f9;
}

.content-section:last-of-type {
    border-bottom: none;
}

.content-section h2 {
    font-size: 33px;
    color: #005EB8;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 18px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: #00A3E0;
}

.content-section p {
    font-size: 18px;
    margin-bottom: 24px;
    text-align: justify;
    color: #555;
}

.section-image {
    width: 100%;
    max-width: 820px;
    height: 410px;
    object-fit: cover;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.text-content h3 {
    font-size: 25px;
    color: #005EB8;
    margin-bottom: 18px;
    font-weight: 600;
}

.text-content p {
    font-size: 17px;
    line-height: 1.95;
}

.image-content img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

footer {
    background-color: #005EB8;
    color: #fff;
    padding: 55px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 45px;
}

.footer-section h4 {
    font-size: 19px;
    margin-bottom: 20px;
    color: #00A3E0;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 13px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    opacity: 0.9;
}

.footer-section ul li a:hover {
    color: #00A3E0;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.85;
    color: #fff;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 14px;
    opacity: 0.85;
}

.page-header {
    background: linear-gradient(rgba(0, 94, 184, 0.9), rgba(0, 94, 184, 0.7)), url('imgs/clinic-reception.jpg');
    background-size: cover;
    background-position: center;
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.page-header h1 {
    font-size: 44px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-content {
    padding: 65px 0;
    max-width: 930px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 29px;
    color: #005EB8;
    margin: 42px 0 22px;
    border-bottom: 3px solid #00A3E0;
    padding-bottom: 10px;
}

.page-content h3 {
    font-size: 23px;
    color: #005EB8;
    margin: 32px 0 16px;
    font-weight: 600;
}

.page-content p {
    font-size: 17px;
    line-height: 1.95;
    margin-bottom: 20px;
    text-align: justify;
}

.page-content ul {
    margin: 20px 0 20px 42px;
}

.page-content ul li {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 11px;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 16px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero {
        height: 440px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-grid.reverse {
        direction: ltr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .section-image {
        height: 270px;
    }

    .image-content img {
        height: 290px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 27px;
    }

    .content-section h2 {
        font-size: 27px;
    }
}
