/* GolfGummi Health — palette aligned with Ayurvedic medical template */
:root {
  --green: #7dbe42;
  --green-dark: #6aad38;
  --blue: #00aeef;
  --blue-dark: #1a4d5e;
  --purple: #8b5cf6;
  --pink: #e879a8;
  --yellow: #f5c542;
  --red: #e74c5c;
  --text: #555;
  --text-dark: #333;
  --light: #f8f9fb;
  --white: #fff;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --radius-pill: 50px;
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--green);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

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

.text-green { color: var(--green); }
.text-blue { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(125, 190, 66, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

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

.logo-link img {
  height: 44px;
  width: auto;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blue-dark);
  border-radius: 2px;
}

/* Page hero / breadcrumbs */
.page-banner {
  position: relative;
  padding: 4.5rem 0;
  background: linear-gradient(135deg, rgba(26, 77, 94, 0.88), rgba(0, 174, 239, 0.55)),
    url("../assets/images/banner.jpg") center/cover;
  color: var(--white);
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  opacity: 0.95;
}

.breadcrumb a {
  color: var(--white);
}

/* Home hero slider */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 46%, rgba(255, 255, 255, 0.25) 100%),
    url("../assets/images/hero-family.jpg") center/cover;
}

.hero-content {
  width: min(1170px, 92%);
  margin: 0 auto;
  padding: 4rem 0;
  max-width: 560px;
}

.hero-content .eyebrow {
  color: var(--blue-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  margin: 0.5rem 0 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: var(--white);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Section defaults */
section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-head h2 span {
  color: var(--green);
}

.section-head p {
  margin: 0;
}

/* Icon service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.service-icon.green { background: rgba(125, 190, 66, 0.15); color: var(--green); }
.service-icon.blue { background: rgba(0, 174, 239, 0.15); color: var(--blue); }
.service-icon.purple { background: rgba(139, 92, 246, 0.15); color: var(--purple); }
.service-icon.yellow { background: rgba(245, 197, 66, 0.2); color: #c9a227; }

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-features {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.about-features li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.about-features .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about-media .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 77, 94, 0.25);
}

/* Department boxes */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.dept-card {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
}

.dept-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.dept-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.dept-card.purple .overlay { background: linear-gradient(0deg, rgba(139, 92, 246, 0.85), transparent); }
.dept-card.blue .overlay { background: linear-gradient(0deg, rgba(0, 174, 239, 0.85), transparent); }
.dept-card.red .overlay { background: linear-gradient(0deg, rgba(231, 76, 92, 0.85), transparent); }
.dept-card.yellow .overlay { background: linear-gradient(0deg, rgba(245, 197, 66, 0.9), transparent); color: #333; }

.dept-card h3 {
  color: inherit;
  margin-bottom: 0.35rem;
}

.dept-card a {
  color: inherit;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}

/* Doctors */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.doctor-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.doctor-card .body {
  padding: 1.25rem;
}

.doctor-card h3 {
  font-size: 1.05rem;
}

.doctor-card .role {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.social-row a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-dark);
}

/* Appointment strip */
.appointment-strip {
  position: relative;
  padding: 5rem 0;
  background: url("../assets/images/appointment-bg.jpg") center/cover;
}

.appointment-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 77, 94, 0.55);
}

.appointment-strip .container {
  position: relative;
  z-index: 1;
}

.form-panel {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: var(--radius);
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.form-panel h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #dde3ea;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(125, 190, 66, 0.2);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: var(--red);
}

.field-error {
  color: var(--red);
  font-size: 12px;
  margin-top: 0.25rem;
  display: none;
}

.field-error.show {
  display: block;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0;
}

.form-check input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.form-check label {
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
}

.form-check {
  flex-wrap: wrap;
}

.form-check .field-error {
  flex: 1 1 100%;
  margin-left: 1.8rem;
}

.form-actions {
  text-align: center;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(125, 190, 66, 0.12);
  border-radius: var(--radius);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 1.05rem;
}

.form-success.show {
  display: block;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card .body {
  padding: 1.5rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.tag.green { background: rgba(125, 190, 66, 0.2); color: var(--green-dark); }
.tag.pink { background: rgba(232, 121, 168, 0.25); color: #b84d7a; }

/* Testimonial */
.testimonial-section {
  background: var(--light);
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.testimonial-quote {
  position: relative;
  padding-left: 2rem;
  border-left: 4px solid var(--blue);
  font-size: 1.05rem;
}

.testimonial-quote .quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.35;
  position: absolute;
  left: -0.5rem;
  top: -1rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}

.price-card.featured {
  border-top-color: var(--blue);
  transform: scale(1.03);
}

.price-card .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.price-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.price-card li::before {
  content: "✓";
  color: var(--green);
  margin-right: 0.5rem;
  font-weight: 700;
}

/* Content pages */
.content-section {
  padding: 4rem 0;
}

.content-section .prose {
  max-width: 820px;
  margin: 0 auto;
}

.content-section .prose h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
  color: var(--green);
}

.content-section .prose h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

/* Doctor finder cards */
.doctor-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-end;
}

.filter-bar .form-group {
  margin: 0;
  flex: 1;
  min-width: 180px;
}

/* Footer */
.footer-top-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer-top-item {
  padding: 2rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-top-item.green { background: var(--green); }
.footer-top-item.blue { background: var(--blue); }
.footer-top-item.purple { background: var(--purple); }

.footer-top-item .icon {
  font-size: 2rem;
  opacity: 0.9;
}

.footer-main {
  background: #f0f2f5;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid h4 {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: var(--text);
  font-size: 14px;
}

.footer-about img.footer-thumb {
  margin-top: 1rem;
  border-radius: var(--radius);
  height: 120px;
  width: 100%;
  object-fit: cover;
}

.footer-bottom {
  background: #e8ebef;
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 13px;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dde3ea;
  grid-column: 1 / -1;
}

/* Utility */
.bg-light {
  background: var(--light);
}

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

.mt-2 { margin-top: 2rem; }

/* Responsive */
@media (max-width: 992px) {
  .services-grid,
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid,
  .doctor-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85)),
      url("../assets/images/hero-family.jpg") center/cover;
  }

  .about-split,
  .testimonial-wrap,
  .dept-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .doctors-grid,
  .pricing-grid,
  .doctor-list-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-top-bar {
    grid-template-columns: 1fr;
  }

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