/* =========================================================
   VitalCure Homoeopathy Clinic – Stylesheet
   File: css/style.css
   =========================================================
   HOW TO EDIT:
   - Change brand colors in the :root block below
   - Each section has a clearly labeled comment header
   - Search the section name (e.g. "HERO") to jump to it
   ========================================================= */

/* ── CSS VARIABLES (Brand Colors & Typography) ── */
:root {
  --green-dark:  #1a4d2e;   /* Primary dark green  – buttons, header bg  */
  --green-mid:   #2d6a4f;   /* Mid green           – hover, accents       */
  --green-light: #52b788;   /* Light green         – icons, borders       */
  --green-pale:  #d8f3dc;   /* Pale green          – section backgrounds  */
  --gold:        #c9a84c;   /* Gold accent (unused but available)         */
  --cream:       #faf8f3;   /* Warm cream          – alternate bg         */
  --text:        #1c2b1e;   /* Primary text color                         */
  --text-soft:   #4a5c4e;   /* Muted text color                           */
  --white:       #ffffff;
  --border:      #e2ede6;   /* Card / input borders                       */
}

/* ── RESET & BASE ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); }
a { text-decoration: none; color: inherit; }
html { scroll-behavior: smooth; }

/* ── TOP BAR ── */
.topbar {
  background: var(--green-dark);
  color: var(--white);
  font-size: 13px;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #b7e4c7; }
.topbar span { display: flex; align-items: center; gap: 6px; }

/* ── HEADER / NAVIGATION ── */
header {
  background: var(--white);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-circle {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: white; flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-text .brand    { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--green-dark); font-weight: 700; }
.logo-text .tagline  { font-size: 13.5px; color: var(--green-mid); letter-spacing: .3px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 14px; font-weight: 500; color: var(--text); position: relative; padding-bottom: 3px; transition: color .2s; }
nav a:hover,
nav a.active { color: var(--green-mid); }
nav a.active::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--green-mid); border-radius: 2px;
}
.btn-book {
  background: var(--green-dark);
  color: white;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px; font-weight: 600;
  transition: background .2s, transform .15s;
  display: inline-flex; align-items: center; gap: 7px;
}
.btn-book:hover { background: var(--green-mid); transform: translateY(-1px); }

/* ── HERO SECTION ── */
.hero {
  background: linear-gradient(135deg, #f0faf3 0%, #e8f5eb 55%, #d8f3dc 100%);
  padding: 70px 40px 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(82,183,136,.08);
  pointer-events: none;
}
.hero-left  { flex: 1; max-width: 560px; animation: fadeUp .8s both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--green-light);
  color: var(--green-mid);
  font-size: 16px; font-weight: 600;
  padding: 10px 20px; border-radius: 20px;
  margin-bottom: 22px;
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: 52px; line-height: 1.15; color: var(--text); margin-bottom: 10px; }
.hero h1 span { color: var(--green-mid); }
.hero-sub { font-size: 17px; color: var(--text-soft); margin: 18px 0 30px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Shared Button Styles */
.btn-primary {
  background: var(--green-dark); color: white;
  padding: 13px 26px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid var(--green-mid); color: var(--green-mid);
  padding: 13px 22px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.btn-outline:hover { background: var(--green-pale); }

/* Hero Right – Image Box */
.hero-right { flex: 1; display: flex; justify-content: center; align-items: center; animation: fadeUp .8s .2s both; }
.hero-image-box {
  background: linear-gradient(145deg, var(--green-mid), var(--green-dark));
  border-radius: 24px;
  width: 580px; height: 420px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 60px rgba(29,77,46,.25);
}
/* Floating badges on hero image */
.hero-float {
  position: absolute;
  background: white; border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 12px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.hero-float.f1 { top: 16px; left: 30px; }
.hero-float.f2 { bottom: 16px; right: 16px; }
.hero-float .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-light); flex-shrink: 0; }

/* ── TRUST STRIP ── */
.trust-strip {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
  display: flex; justify-content: space-around; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.trust-item strong { font-size: 14px; font-weight: 700; display: block; color: var(--text); }
.trust-item span   { font-size: 13px; color: var(--text-soft); }

/* ── SECTION SHARED STYLES ── */
section { padding: 80px 40px; }
.section-label {
  display: flex; align-items: center; gap: 10px;
  color: var(--green-mid); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-label::before,
.section-label::after { content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--green-light); }
.section-label.centered { justify-content: center; }
h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px; color: var(--text);
  text-align: center; margin-bottom: 14px;
}
.section-sub { text-align: center; color: var(--text-soft); font-size: 16px; max-width: 600px; margin: 0 auto 50px; line-height: 1.7; }

/* ── TREATMENTS SECTION ── */
.treatments-bg { background: var(--cream); }
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1100px; margin: 0 auto 40px;
}
.treat-card {
  background: white;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all .25s;
  cursor: pointer;
}
.treat-card:hover { border-color: var(--green-light); box-shadow: 0 8px 28px rgba(45,106,79,.12); transform: translateY(-4px); }
.treat-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.treat-name { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; }
.treat-desc { font-size: 12px; color: var(--text-soft); margin-top: 8px; line-height: 1.5; display: none; }

/* Treatment card image */
.treat-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
  display: block;
}

.btn-center { text-align: center; margin-top: 10px; }

/* ── ABOUT HOMOEOPATHY SECTION ── */
.homoeo-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; max-width: 1100px; margin: 0 auto;
  align-items: center;
}
.homoeo-left h2 { font-family: 'Playfair Display', serif; font-size: 36px; margin-bottom: 20px; }
.homoeo-left p  { color: var(--text-soft); line-height: 1.8; font-size: 15.5px; margin-bottom: 28px; }
.reasons { display: flex; flex-direction: column; gap: 16px; }
.reason { display: flex; gap: 14px; align-items: flex-start; }
.reason-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.reason-text strong { font-size: 14.5px; font-weight: 700; display: block; margin-bottom: 4px; }
.reason-text span   { font-size: 13.5px; color: var(--text-soft); line-height: 1.6; }
.homoeo-right {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: 24px;
  padding: 44px 40px;
  color: white;
}
.homoeo-right h3 { font-family: 'Playfair Display', serif; font-size: 26px; margin-bottom: 20px; }
.homoeo-right p  { font-size: 15px; opacity: .88; line-height: 1.8; }
.mission-badge {
  margin-top: 30px;
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px; opacity: .95; line-height: 1.7;
  border-left: 3px solid var(--green-light);
}

/* ── ABOUT US / DOCTOR SECTION ── */
.about-bg { background: var(--cream); }
.about-grid {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 60px; max-width: 1100px; margin: 0 auto;
  align-items: start;
}
.doctor-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  border: 1px solid var(--border);
}
/* 
  TO ADD A REAL PHOTO: Replace the doctor-photo div in index.html with:
  <img src="images/doctor.jpg" alt="Dr. Ashwini Kore" style="width:100%; height:300px; object-fit:cover;">
*/
.doctor-photo {
  background: linear-gradient(145deg, #c8e6c9, #81c784);
  height: 300px;
  display: flex; align-items: center; justify-content: center;
  font-size: 90px;
}
.doctor-info { padding: 26px 24px; }
.doctor-info h3    { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 4px; }
.doctor-info .quals { color: var(--green-mid); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.exp-badge {
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 700; font-size: 13px;
  padding: 8px 14px; border-radius: 8px;
  display: inline-block;
}
.about-right h2 { font-family: 'Playfair Display', serif; font-size: 34px; margin-bottom: 18px; }
.about-right p  { color: var(--text-soft); font-size: 15.5px; line-height: 1.8; margin-bottom: 20px; }
.strengths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.strength {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
  display: flex; gap: 12px; align-items: flex-start;
}
.strength .ico    { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.strength strong  { font-size: 13.5px; font-weight: 700; display: block; margin-bottom: 4px; }
.strength span    { font-size: 12.5px; color: var(--text-soft); line-height: 1.5; }

/* ── WHY CHOOSE US SECTION ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.why-card {
  border: 1px solid var(--border);
  border-radius: 16px; padding: 30px 24px;
  text-align: center;
  transition: all .2s;
}
.why-card:hover { border-color: var(--green-light); box-shadow: 0 8px 24px rgba(45,106,79,.1); transform: translateY(-3px); }
.why-card .ico  { font-size: 34px; margin-bottom: 14px; }
.why-card strong { font-size: 15px; font-weight: 700; display: block; margin-bottom: 8px; }
.why-card p     { font-size: 13px; color: var(--text-soft); line-height: 1.6; }

/* ── FAQ SECTION ── */
.faq-bg { background: var(--cream); }
.faq-container { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,.07); }
.faq-q {
  padding: 18px 22px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 15px;
  user-select: none;
}
.faq-q:hover { color: var(--green-mid); }
.faq-q .arrow { font-size: 18px; transition: transform .3s; color: var(--green-mid); flex-shrink: 0; margin-left: 12px; }
.faq-q.open .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  font-size: 14.5px; color: var(--text-soft); line-height: 1.75;
  padding: 0 22px;
}
.faq-a.open { max-height: 300px; padding: 0 22px 18px; }

/* ── TESTIMONIALS SECTION ── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.testi-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px; padding: 28px 26px;
  transition: all .2s;
}
.testi-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.09); transform: translateY(-3px); }
.stars { color: #f59e0b; font-size: 15px; margin-bottom: 14px; }
.testi-text { font-size: 14.5px; color: var(--text-soft); line-height: 1.75; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 16px;
}
.testi-author-info strong { font-size: 14px; font-weight: 700; }
.testi-author-info span   { font-size: 12px; color: var(--text-soft); display: block; }

/* ── CONTACT SECTION ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px; max-width: 1100px; margin: 0 auto;
  align-items: start;
}
.contact-info h2 { font-family: 'Playfair Display', serif; font-size: 34px; margin-bottom: 16px; }
.contact-info p  { color: var(--text-soft); line-height: 1.8; font-size: 15px; margin-bottom: 30px; }
.contact-items   { display: flex; flex-direction: column; gap: 18px; }
.contact-item    { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ico-box {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-item strong { font-size: 13px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 3px; }
.contact-item span   { font-size: 15px; line-height: 1.5; }
.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 34px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.contact-form h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 22px; }
.form-row        { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group      { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-soft); }
.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid var(--border);
  border-radius: 8px; padding: 11px 14px;
  font-size: 14.5px; font-family: 'DM Sans', sans-serif;
  color: var(--text);
  transition: border-color .2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green-mid); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  background: var(--green-dark); color: white;
  border: none; padding: 14px 28px;
  border-radius: 8px; font-size: 15px; font-weight: 700;
  cursor: pointer; width: 100%;
  transition: background .2s;
}
.btn-submit:hover { background: var(--green-mid); }

/* ── FOOTER ── */
footer {
  background: var(--green-dark); color: #c8e6c9;
  padding: 60px 40px 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 240px 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px; margin: 0 auto 40px;
}
.footer-brand .brand-name { font-family: 'Playfair Display', serif; font-size: 22px; color: white; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; line-height: 1.7; opacity: .75; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: background .2s;
}
.footer-socials a:hover { background: var(--green-light); }
footer h4    { color: white; font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .8px; }
footer ul    { list-style: none; display: flex; flex-direction: column; gap: 9px; }
footer ul li a { font-size: 13.5px; opacity: .75; transition: opacity .2s; }
footer ul li a:hover { opacity: 1; }
.footer-treat li { display: flex; align-items: center; gap: 8px; }
.footer-treat li::before { content: '✦'; color: var(--green-light); font-size: 9px; flex-shrink: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; opacity: .8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  text-align: center;
  font-size: 12.5px; opacity: .55;
  max-width: 1100px; margin: 0 auto;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* =========================================================
   MOBILE RESPONSIVE STYLES
   ========================================================= */
@media (max-width: 768px) {

  /* ── TOP BAR ── */
  .topbar {
    flex-direction: column;
    text-align: center;
    font-size: 11px;
    padding: 8px 16px;
    gap: 4px;
  }

  /* ── HEADER ── */
  header {
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  nav { display: none; } /* Hide nav on mobile */
  .btn-book { font-size: 12px; padding: 8px 14px; }
  .logo-text .brand { font-size: 22px; }
  .logo-text .tagline { font-size: 10px; }
  .logo-circle img { width: 44px; height: 44px; }

  /* ── HERO ── */
  .hero {
    flex-direction: column;
    padding: 40px 20px 30px;
    min-height: auto;
    gap: 30px;
  }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 15px; }
  .hero-right { width: 100%; }
  .hero-image-box {
    width: 100% !important;
    height: 260px !important;
  }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }

  /* ── TRUST STRIP ── */
  .trust-strip {
    flex-direction: column;
    padding: 20px 16px;
    gap: 16px;
  }

  /* ── SECTIONS ── */
  section { padding: 50px 16px; }
  h2.section-title { font-size: 28px; }
  .section-sub { font-size: 14px; }

  /* ── TREATMENTS GRID ── */
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .treat-img { height: 100px; }

  /* ── HOMOEOPATHY SECTION ── */
  .homoeo-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .homoeo-left h2 { font-size: 26px; }

  /* ── ABOUT / DOCTOR SECTION ── */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .strengths {
    grid-template-columns: 1fr;
  }

  /* ── WHY CHOOSE US ── */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* ── TESTIMONIALS ── */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* ── CONTACT SECTION ── */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px 18px;
  }

  /* ── FOOTER ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  footer { padding: 40px 20px 20px; }

}
