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

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2d5a87;
    --accent-color: #0d7377;
    --text-color: #1a1a1a;
    --text-secondary: #4a5568;
    --light-bg: #ffffff;
    --bg-secondary: #f7fafc;
    --white: #ffffff;
    --border-color: #cbd5e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--bg-secondary);
    min-height: 100vh;
}

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

header {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

section {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.announcement {
    background: var(--white);
    color: var(--text-color);
    text-align: center;
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(13, 115, 119, 0.15);
}

.announcement-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.apology-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 400;
}

.contact-emphasis {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--accent-color);
    color: var(--accent-color);
}

h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    padding: 25px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.info-card.highlight {
    background: linear-gradient(135deg, var(--accent-color) 0%, #14a085 100%);
    color: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(13, 115, 119, 0.25);
}

.info-card.highlight h3,
.info-card.highlight p {
    color: var(--white);
}

.info-card.highlight a {
    color: var(--white);
    text-decoration: underline;
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-weight: 400;
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 1.5;
    padding: 0 5px;
}

.info-card a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.info-card.highlight a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 1.5;
    padding: 0 5px;
}

.opening-hours {
    text-align: center;
}

.hours-table {
    max-width: 600px;
    margin: 0 auto;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row:hover {
    background-color: var(--light-bg);
    border-radius: 5px;
}

.day {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex: 1;
    text-align: left;
}

.time {
    font-size: 1.05rem;
    color: var(--text-color);
    font-weight: 500;
    flex: 1;
    text-align: right;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-item {
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    border-color: var(--accent-color);
    background: var(--bg-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--accent-color);
}

.doctor-info {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border-color);
}

.doctor-name {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.doctor-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 30px;
    font-weight: 400;
}

/* Responsive design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    section {
        padding: 25px 20px;
    }

    .announcement-content h2 {
        font-size: 1.5rem;
    }

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

    .hours-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .day,
    .time {
        text-align: center;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    header {
        padding: 30px 15px;
    }

    .logo h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 20px 15px;
    }

    h2 {
        font-size: 1.5rem;
    }
}
