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

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --accent: #10b981;
  --accent-dark: #059669;
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #1e293b;
  --text-light: #64748b;
  --radius: 8px;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Inter", sans-serif;
}

/* ---- HEADER ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  padding: 0 2rem;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  text-decoration: none;
}
.logo span {
  color: var(--text);
}
nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  margin-left: 2rem;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--primary);
}
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn:active {
  transform: scale(0.97);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ---- HERO ---- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero h1 span {
  color: var(--primary);
}

.hero h2 span {
  color: var(--primary);
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.15);
  justify-self: end;
}

/* ---- SECTIONS ---- */
section {
  padding: 5rem 2rem;
}
.surface {
  background: var(--surface);
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ---- ABOUT DOCTOR ---- */
#about {
  text-align: center;
}
.about-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.doctor-info h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  text-align: center;
}
.qualification {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
  text-align: center;
}
.experience {
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-align: center;
}
.bio {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: center;
}

/* ---- SERVICES ---- */
.services-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ---- GALLERY ---- */
.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s;
}
.gallery-grid img:hover {
  transform: scale(1.03);
}

/* ---- LOCATION ---- */
.location-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.location-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.location-info p {
  margin-bottom: 0.75rem;
  color: var(--text-light);
}
.location-info strong {
  color: var(--text);
}
.hours-table {
  margin-top: 1.5rem;
}
.hours-table div {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.map-placeholder {
  width: 100%;
  height: 350px;
  border-radius: var(--radius);
  background: #e2e8f0;
  overflow: hidden;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

p a {
  text-decoration: none;
  color: var(--primary);
}

/* ---- FOOTER ---- */
footer {
  background: var(--text);
  color: #cbd5e1;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}
footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    margin: 0 auto 2rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-img {
    justify-self: center;
    max-width: 320px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
  nav {
    display: none;
  }
}
