/* --- Cleaned & Consolidated CSS --- */
/* Box sizing */
*, *:before, *:after { box-sizing: border-box; }

/* Base */
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #dbdfe3; color: #222; line-height: 1.6; }
header { background: #fff; padding: 30px 20px; text-align: center; border-bottom: 1px solid #ddd; }
header img { max-width: 410px; width: 100%; height: auto; }

/* Hero */
.hero { width: 100%; padding: 120px 20px; background: linear-gradient(120deg, #163a5c 0%, #2f4f6f 25%, #dfe4ea 65%, #f2f3f5 100%); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 700px; height: 700px; background: radial-gradient(circle, rgba(255,255,255,0.07), transparent 70%); top: -250px; right: -200px; pointer-events: none; }
.hero { width: 100%; max-width: none; margin: 0; padding: 120px 20px; background: linear-gradient(120deg, #163a5c 0%, #2f4c6f 25%, #dfe4ea 65%, #f2f3f5 100%); position: relative; overflow: hidden; }
.hero-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 60px; color: white; }
.hero-text { max-width: 600px; }
.hero-text h1 { font-size: 52px; margin-bottom: 15px; letter-spacing: -0.5px; }
.hero-lead { font-size: 21px; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-button { padding: 16px 30px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: 0.25s; }
.hero-button.primary { background: #fff; color: #0f4c81; }
.hero-button.secondary { border: 2px solid rgba(255,255,255,0.7); color: #fff; }
.hero-logo-wrapper { flex-shrink: 0; }
.hero-logo { max-width: 520px; width: 100%; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25)); }

/* CTA */
.cta { margin: 110px 0; padding: 50px; border-radius: 22px; background: linear-gradient(135deg, #eef3f9, #f7f9fc); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-text h2 { margin-bottom: 10px; }
.cta-button { background: #2e3a59; color: white; padding: 16px 28px; border-radius: 12px; text-decoration: none; font-weight: 600; transition: 0.25s; white-space: nowrap; }
.cta-button:hover { background: #1f2a44; transform: translateY(-2px); }

/* Sections base */
section { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
h2 { color: #0f4c81; text-align: center; }

/* Services */
.services { max-width: 1200px; margin: 40px auto; padding: 0 20px; text-align: center; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 40px; width: 100%; }
.service-card { display: block; padding: 30px; border-radius: 18px; background: white; box-shadow: 0 8px 30px rgba(0,0,0,0.04); text-decoration: none; color: inherit; transition: 0.25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.service-card h3 { margin-bottom: 10px; }

/* Why */
.why-me { max-width: 1200px; margin: 40px auto; padding: 0 20px; text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 25px; margin-top: 40px; width: 100%; }
.why-card { padding: 30px; border-radius: 18px; background: #f7f9fc; transition: 0.25s; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.why-card h3 { margin-bottom: 10px; }

/* About */
.about-me { display: flex; align-items: flex-start; gap: 40px; margin: 40px auto; padding: 0 20px; max-width: 1100px; }
.about-text { flex: 2; }
.about-photo { flex: 1; }
.about-photo img { width: 100%; max-width: 260px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Info / Area / Patients */
.info-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 25px; margin-top: 40px; }
.info-card, .area-card, .patient-card { background: #f7f9fc; padding: 30px; border-radius: 18px; transition: 0.25s; }
.info-card:hover, .area-card:hover, .patient-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.area-card { padding: 22px; text-align: center; text-decoration: none; color: #222; font-weight: 600; }
.patients { max-width: 1200px; margin: 90px auto; padding: 0 20px; text-align: center; }
.patients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 40px; }
.patient-card { background: white; padding: 28px; border-radius: 18px; box-shadow: 0 8px 30px rgba(0,0,0,0.04); }
.patient-card h3 { margin-bottom: 10px; color: #0f4c81; }

/* Contact */
.contact-card { max-width: 600px; margin: 40px auto; background: linear-gradient(135deg, #eef3f9, #f7f9fc); padding: 40px; border-radius: 20px; text-align: center; }
.contact-card h2 { font-size: 32px; }
.phone-number { font-size: 30px; font-weight: 700; }
.contact-card a { color: #0f4c81; font-weight: 700; text-decoration: none; }

/* Availability */
.availability { max-width: 1100px; margin: 100px auto; padding: 50px; border-radius: 22px; background: linear-gradient(135deg, #163a5c, #2f4f6f); color: white; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.availability h2 { color: white; text-align: center; }
.availability p { font-size: 18px; }
.availability-button { background: white; color: #163a5c; padding: 18px 34px; border-radius: 12px; text-decoration: none; font-weight: 700; transition: 0.25s; }

/* Footer */
footer { text-align: center; font-size: 14px; color: #666; padding: 20px; }

/* Responsive */
@media (max-width: 1000px) {
    .services-grid, .patients-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .hero-logo { max-width: 410px; margin-bottom: 30px; }
    .hero-buttons { justify-content: center; }
    .area-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .about-me { flex-direction: column-reverse; }
}
@media (max-width: 600px) {
    .services-grid, .patients-grid, .why-grid, .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
    .area-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
    /* Stack availability section on small screens to avoid horizontal overflow */
    .availability { flex-direction: column; align-items: center; text-align: center; padding: 30px; }
    .availability-button { margin-top: 14px; width: auto; }
}
/* Ensure CTA stacks on narrow screens to avoid horizontal overflow */
@media (max-width: 800px) {
    .cta { flex-direction: column; align-items: center; text-align: center; padding: 30px; }
    .cta-button { margin-top: 14px; }
}
