.appt-form input:focus, .appt-form textarea:focus { outline: 2px solid rgba(111,85,161,0.35); border-color: var(--heading); }
.modal-content h3 { margin: 0 0 8px; }
.modal-content { padding-top: 36px; }
.modal-close { top: 10px; right: 10px; }
/* Typography and base */
:root {
  --brand: #6b3df0; /* Logo purple for buttons */
  --brand-dark: #532dcf;
  --heading: #6F55A1; /* Requested heading/title color */
  --text: #1a1a1a;
  --muted: #6b7280;
  --bg: #ffffff;
  --section: #f7f9fc;
  --card: #ffffff;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

html, body { overflow-x: hidden; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 10px;
}

.logo img { height: 90px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center; }
.main-nav a { text-decoration: none; color: var(--heading); font-weight: 600; }
.main-nav .phone a { color: var(--heading); }
/* Shared styling so intro phone link looks like header */
.phone-link, .phone-link a { color: var(--heading); font-weight: 600; text-decoration: none; }
/* Responsive call action: number on desktop, button on mobile */
.phone-link { display: block; }
.phone-btn { display: none; }
.btn.small { padding: 8px 12px; border-radius: 8px; font-weight: 600; border: 1px solid var(--brand); }
.btn.whatsapp { background: #25D366; color: #0b1220; border-color: #25D366; }
.btn.whatsapp:hover { background: #1fb056; border-color: #1fb056; }

/* Heading colors */
h1, h2, h3, h4 { color: var(--heading); }

/* Hero */
.hero { padding: 0; }
.intro.section { background: #fff; }
.intro .container { text-align: center; }
.intro h1 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.25; margin: 0 0 8px; }
.intro p { color: #2b2b2b; margin: 6px 0; }
.cta-row { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.intro .cta-row { justify-content: center; }

/* Carousel */
/* Slick hero overrides tuned for 1900x800 (19:8) */
.slick-hero { width: 100%; aspect-ratio: 19 / 8; max-height: 800px; min-height: 280px; border-radius: 0; overflow: hidden; box-shadow: 0 12px 28px rgba(16,24,40,0.12); }
.slick-hero .slick-list, .slick-hero .slick-track { height: 100%; }
.slick-hero .slick-slide { line-height: 0; display: flex !important; align-items: center; justify-content: center; background: #ffffff; }
.slick-hero img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; background: #ffffff; }
.slick-dots { bottom: 16px; }
.slick-dots li button:before { font-size: 10px; color: rgba(255,255,255,0.8); opacity: 1; }
.slick-dots li.slick-active button:before { color: var(--brand); }
.slick-prev:before, .slick-next:before { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.slick-prev { left: 8px; z-index: 2; }
.slick-next { right: 8px; z-index: 2; }

/* Buttons */
.btn { display: inline-block; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: all 0.2s ease; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn.outline:hover { background: rgba(107,61,240,0.10); }

/* Sections */
.section { background: var(--section); padding: 40px 0; }
.section .center { text-align: center; margin-top: 16px; }
.section h2 { font-size: 1.6rem; margin: 0 0 10px; text-align: center; }
.reviews .sub { text-align: center; }
.sub { color: var(--muted); margin-top: -6px; margin-bottom: 6px; }
.muted { color: var(--muted); }

/* Utility */
.is-hidden { display: none !important; }

/* Cards and grids */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; box-shadow: 0 6px 18px rgba(16,24,40,0.06); }
.card h3 { margin: 8px 0 8px; font-size: 1.1rem; }
.card ul { padding-left: 18px; margin: 8px 0 0; }

.reviews { background: #fff; }
.review { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin: 8px; text-align: center; box-shadow: 0 6px 18px rgba(16,24,40,0.06); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
/* Use full-size rectangular images instead of circular avatars */
.review img { width: 100% !important; height: 220px !important; min-height: 220px; max-height: 220px; border-radius: 10px; object-fit: cover; object-position: center; margin: 0 0 12px; display: block; flex: 0 0 auto; }
/* Extra specificity to override any library styles in the carousel */
.slick-reviews .slick-slide article.review img { width: 100% !important; height: 220px !important; min-height: 220px; max-height: 220px; flex: 0 0 auto; border-radius: 10px; }
.review h3 { margin: 2px 0 8px; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; max-width: 280px; }
.review h3 { min-height: 24px; margin-top: 0; }
.review p { font-size: 0.98rem; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.slick-reviews .slick-track { display: flex; align-items: stretch; }
.slick-reviews .slick-slide { height: auto; display: flex !important; justify-content: center; align-items: stretch; }
.slick-reviews .slick-list { padding: 8px 4px; overflow: hidden; }
.slick-reviews .review { max-width: 360px; width: 95%; height: 520px; min-height: 520px; padding-top: 18px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.slick-reviews .slick-slide { display: flex !important; justify-content: center; }
.slick-reviews .slick-dots { position: static; margin-top: 8px; }
.review h3 { margin: 4px 0 6px; font-size: 1rem; }
.review p { margin: 0; color: #2b2b2b; font-size: 0.95rem; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; }
.why-image img { border-radius: 12px; box-shadow: 0 10px 24px rgba(16,24,40,0.08); }
.why-list { margin: 0; padding-left: 18px; }
.why-list li { margin: 6px 0; }
/* Scroll reveal animations */
[data-reveal] { opacity: 1; transform: none; }

/* Modern look extras */
.site-header { box-shadow: 0 2px 10px rgba(16,24,40,0.06); }
.card { transition: transform 160ms ease, box-shadow 160ms ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,24,40,0.10); }
.btn { box-shadow: 0 2px 8px rgba(15,123,255,0.15); }
.btn:active { transform: translateY(1px); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .carousel-viewport { scroll-behavior: auto; }
}

.faqs details { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.faqs summary { cursor: pointer; font-weight: 600; }
.faqs .faq-image img { border-radius: 10px; margin-top: 10px; }

/* Footer */
.site-footer { background: #0b1220; color: #e5e7eb; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding: 28px 0; align-items: start; }
.site-footer h3, .site-footer h4 { color: #fff; margin: 0 0 8px; }
.site-footer a { color: #c7e0ff; text-decoration: none; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 18px 0 20px; border-top: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 981px) {
  .footer-columns { margin-top: 0; }
}
/* Footer: left align content */
.footer-top .about, .footer-top .contact, .footer-top .footer-logo { text-align: left; }
.footer-top .footer-logo { display: block; }
.footer-columns ul { margin: 0; padding-left: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 14px 0; }
.footer-bottom p { margin: 0; color: #cbd5e1; font-size: 0.9rem; text-align: center; }

/* Hospital Attachments now nested under About; no special grid placement needed */
.map-section { padding: 10px 0 20px; }
.map-section h3 { color: #fff; margin: 0 0 8px; }
.map-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 24px rgba(16,24,40,0.20); background: #0b1220; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; padding: 22px 0; }
  .hospital-attachments { grid-column: 1 / -1; }
  .phone-link { display: none; }
  .phone-btn { display: block; }
}

/* Modal */
.modal { position: fixed; inset: 0; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); backdrop-filter: blur(2px); }
.modal-content { position: relative; z-index: 2; width: min(560px, 92%); margin: 8vh auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; box-shadow: 0 20px 40px rgba(16,24,40,0.18); }
.modal-close { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.modal-content > .modal-close { position: absolute; right: 8px; top: 8px; }
.appt-form .actions .modal-close { position: static; width: auto; height: auto; border-radius: 8px; padding: 10px 14px; }
.modal .modal-close { display: inline-grid; place-items: center; color: var(--heading); }
.appt-form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.appt-form .grid-col-2 { grid-column: span 2; }
.appt-form label span { display: block; font-weight: 600; margin-bottom: 4px; color: var(--heading); }
.appt-form input, .appt-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font: inherit; }
.appt-form .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }


@media (max-width: 720px) {
  .header-inner { padding: 8px 0; }
  .logo img { height: 44px; }
  .main-nav ul { gap: 8px; margin-left: auto; }
  .btn.small { padding: 6px 10px; font-size: 14px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr; }
  .hospital-attachments { grid-column: auto; }
  .appt-form .grid { grid-template-columns: 1fr; }
  .appt-form .grid-col-2 { grid-column: auto; }
  /* Aspect-ratio keeps height proportional on mobile automatically */
  .appt-form .actions { justify-content: stretch; }
  .appt-form .actions .btn { flex: 1; text-align: center; }
  /* Hero: avoid white bands on mobile without trimming the image */
  .slick-hero { aspect-ratio: auto; max-height: none; min-height: 0; box-shadow: none; }
  .slick-hero .slick-list, .slick-hero .slick-track { height: auto !important; }
  .slick-hero .slick-slide { align-items: stretch; }
  .slick-hero img { height: auto; object-fit: contain; }
}

/* Footer logo */
.footer-logo img { height: 82px; width: auto; display: block; }
.footer-top .footer-logo { margin-bottom: 8px; }


