/* GoDehydrate — Kalyan-style health & nutrition theme */
:root {
  --green-dark: #054232;
  --green-mid: #0a5c40;
  --yellow: #F9A825;
  --yellow-hover: #e69512;
  --off-white: #f8f6f2;
  --grey-light: #efeeea;
  --text: #3d3d3d;
  --text-muted: #666;
  --white: #ffffff;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Poppins", "Segoe UI", system-ui, sans-serif;
  --radius-pill: 50px;
  --radius-card: 8px;
  --shadow: 0 8px 30px rgba(5, 66, 50, 0.08);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--green-dark);
  line-height: 1.25;
  margin-top: 0;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section--grey {
  background: var(--grey-light);
}

.section--offwhite {
  background: var(--off-white);
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* Header */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px 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 {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

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

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}

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

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

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

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

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green-dark);
  margin: 6px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  background: var(--off-white);
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.hero p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

/* Services icons */
.services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.25rem;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-dot {
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  margin: 2.5rem auto 0;
}

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

.split-section img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.split-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.tagline {
  color: var(--yellow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.leaf-accent {
  position: absolute;
  opacity: 0.15;
  pointer-events: none;
  max-width: 180px;
}

/* Course grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.course-card:hover {
  transform: translateY(-4px);
}

.course-card .thumb {
  position: relative;
  overflow: hidden;
}

.course-card .thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-card .icon-badge {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: var(--green-dark);
  border-radius: 50%;
  border: 3px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.course-card .body {
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
}

.course-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.course-card .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Testimonial */
.testimonial {
  background: var(--green-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 1rem;
}

.testimonial h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--yellow);
}

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  max-width: 720px;
  margin: 0 auto 1rem;
  font-style: italic;
  line-height: 1.6;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--yellow);
}

.testimonial::before,
.testimonial::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.testimonial::before { left: -50px; top: 20%; }
.testimonial::after { right: -50px; bottom: 10%; }

/* Partners */
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 0;
}

.partner-badge {
  width: 70px;
  height: 70px;
  border: 2px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--green-dark);
  opacity: 0.7;
}

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

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

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

.blog-card .content {
  padding: 1.25rem;
}

.blog-date {
  display: inline-block;
  background: var(--yellow);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* App CTA */
.app-cta {
  background: var(--yellow);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.app-cta h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.app-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 4rem;
}

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

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

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: var(--yellow);
}

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

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

.footer-about p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer-subscribe {
  display: flex;
  gap: 0;
  max-width: 320px;
}

.footer-subscribe input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  font-family: inherit;
}

.footer-subscribe button {
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  padding: 0.65rem 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-legal a {
  margin-left: 1.25rem;
  font-size: 0.85rem;
}

/* Page hero banner */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Forms */
.form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--yellow);
  border-color: var(--yellow);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #c62828;
}

.field-error {
  color: #c62828;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

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

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #2e7d32;
  color: #1b5e20;
  padding: 1.25rem;
  border-radius: var(--radius-card);
  text-align: center;
  font-weight: 600;
  margin-top: 1rem;
}

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

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

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

.doctor-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--yellow);
}

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

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

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

.price-card .amount {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--green-dark);
}

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

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

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

/* Legal content */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 1.25rem;
}

/* Blog article */
.article-list .blog-card {
  margin-bottom: 0;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .services-row,
  .courses-grid,
  .blog-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-cta {
    display: none;
  }

  .services-row,
  .courses-grid,
  .blog-grid,
  .pricing-grid,
  .doctors-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal a {
    margin: 0 0.5rem;
  }
}
