:root {
  --color-primary: #1b5e20;
  --color-primary-soft: #e1f3e3;
  --color-background: #ffffff;
  --color-surface: #f7faf7;
  --color-text: #1b1b1b;
  --color-muted: #6b6b6b;
  --radius-card: 16px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans Tamil", "Nunito", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.25rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  border-radius: 999px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name-ta {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.brand-name-en {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  position: relative;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 999px;
}

.nav-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background-color: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-list.is-open {
  display: flex;
}

.nav-list a {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--color-primary);
  background-color: var(--color-primary-soft);
}

.hero {
  padding: 4.5rem 0 2.75rem;
  background: radial-gradient(circle at top left, #e8f5e9, #ffffff);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--color-primary);
}

.hero-subtitle {
  margin: 0;
  color: var(--color-muted);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease,
    color 0.1s ease, border-color 0.1s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(27, 94, 32, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #124217;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: rgba(27, 94, 32, 0.3);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--color-primary-soft);
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background-color: var(--color-surface);
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: 1.4rem;
  color: var(--color-primary);
}

.section-text {
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.doctor-name {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.doctor-qual {
  color: var(--color-muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  padding: 1.25rem 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background-color: var(--color-primary-soft);
}

.card-title {
  margin: 0.6rem 0 0.25rem;
  font-size: 1rem;
}

.card-text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.treatments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.treatment-item {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background-color: var(--color-primary-soft);
  font-size: 0.95rem;
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.phone-link {
  font-weight: 600;
  color: var(--color-primary);
}

.call-now {
  margin-top: 0.75rem;
}

.contact-map {
  min-height: 220px;
}

.map-placeholder {
  background: repeating-linear-gradient(
      45deg,
      rgba(27, 94, 32, 0.04),
      rgba(27, 94, 32, 0.04) 10px,
      rgba(27, 94, 32, 0.01) 10px,
      rgba(27, 94, 32, 0.01) 20px
    );
  border-radius: var(--radius-card);
  border: 1px dashed rgba(27, 94, 32, 0.25);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.site-footer {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 1.25rem 0;
  margin-top: 1.5rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
}

section {
  scroll-margin-top: 5rem;
}

@media (min-width: 640px) {
  .hero {
    padding: 5rem 0 3.25rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .treatments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    flex-direction: row;
    align-items: stretch;
  }

  .contact-info,
  .contact-map {
    flex: 1;
  }

  .contact-map {
    min-height: 260px;
  }
}

@media (min-width: 900px) {
  .header-inner {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-list {
    position: static;
    display: flex;
    box-shadow: none;
    background-color: transparent;
    padding: 0;
  }

  .nav-list a {
    font-size: 0.9rem;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .treatments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-map {
    min-height: 280px;
  }
}

