/* ═══════════════════════════════════════════════════════════════
   PREMIUM CSS — Dr. Shinde's Ayurvedic Cancer Clinic
   Animations · Premium sections · Modern design
═══════════════════════════════════════════════════════════════ */

/* ── AOS (Animate On Scroll) ────────────────────────────────── */
.aos-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease calc(var(--d, 0ms)),
              transform 0.65s ease calc(var(--d, 0ms));
}
.aos-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.aos-item[style*="zoom"] {
  transform: scale(0.9);
}
.aos-item[style*="zoom"].visible {
  transform: scale(1);
}

/* ── STATS STRIP ────────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, #022f3c 0%, #033d50 50%, #022f3c 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235ab896' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-g {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.stat-c {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  text-align: center;
  padding: 1.2rem 1rem;
  border-right: 1px solid rgba(90,184,150,.2);
  position: relative;
}
.stat-c:last-child { border-right: none; }
.stat-c::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 2px;
  background: #5ab896;
  border-radius: 2px;
  opacity: 0;
  transition: opacity .3s, width .3s;
}
.stat-c:hover::before { opacity: 1; width: 60px; }

.stat-num {
  font-family: 'Philosopher', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #5ab896;
  line-height: 1;
  display: inline;
}
.stat-plus {
  font-family: 'Philosopher', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #C8973A;
  font-weight: 700;
  display: inline;
}
.stat-lbl {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .5rem;
  font-weight: 500;
}

/* ── SECTION HELPERS ───────────────────────────────────────── */
.sec-dark {
  background: linear-gradient(145deg, #022f3c 0%, #033d50 60%, #011f29 100%);
  color: #fff;
}
.sec-cream {
  background: linear-gradient(180deg, #f8fdf9 0%, #f0f8f3 100%);
}
.sec-tag { 
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #5ab896;
  margin-bottom: .6rem; display: inline-block;
}
.sec-tag-light { color: rgba(90,184,150,.85); }
.divr {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, #5ab896, #C8973A);
  border-radius: 2px; margin: .9rem auto 1.2rem;
}
.divr-light {
  background: linear-gradient(90deg, rgba(90,184,150,.7), rgba(200,151,58,.7));
}
.sec-head { text-align: left; margin-bottom: 2.2rem; }
.sec-head.c { text-align: center; }
.sec-head h2 { margin-bottom: .3rem; }
.sec-head p { color: #666; max-width: 600px; }
.sec-head.c p { margin: 0 auto; }

/* ── ABOUT SECTION ──────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-stack { position: relative; }
.about-img-main {
  width: 100%; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(2,47,60,.18);
  display: block;
}
.about-badge-float {
  position: absolute;
  bottom: -20px; left: -20px;
  background: linear-gradient(135deg, #022f3c, #044a61);
  border: 3px solid #5ab896;
  border-radius: 16px;
  padding: 1rem 1.4rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(2,47,60,.3);
}
.abf-num {
  font-family: 'Philosopher', serif;
  font-size: 2rem; font-weight: 700;
  color: #5ab896; line-height: 1;
}
.abf-txt { font-size: .72rem; color: rgba(255,255,255,.7); margin-top: .3rem; line-height: 1.4; }
.about-badge-float2 {
  position: absolute;
  top: -16px; right: -16px;
  background: #fff;
  border-radius: 14px;
  padding: .9rem 1.1rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  border: 2px solid rgba(200,151,58,.3);
}
.about-content .sec-tag { display: block; margin-bottom: .5rem; }
.about-content h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); color: #022f3c; margin-bottom: .3rem; }
.about-content .divr { margin: .8rem 0 1.2rem; }
.about-content p { margin-bottom: 1rem; line-height: 1.78; color: #444; }
.about-pills {
  display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.2rem 0;
}
.pill {
  background: #eef7f2; color: #022f3c;
  border: 1px solid #c5e8d6;
  border-radius: 20px;
  padding: .35rem .9rem;
  font-size: .78rem; font-weight: 600;
}
.about-btns { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.4rem 0 1.6rem; }
.btn-primary {
  background: #022f3c; color: #fff;
  padding: .65rem 1.6rem; border-radius: 28px;
  font-weight: 600; font-size: .9rem;
  text-decoration: none; transition: all .2s;
  display: inline-flex; align-items: center;
}
.btn-primary:hover { background: #5ab896; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(90,184,150,.35); }
.btn-outline-dark {
  background: transparent; color: #022f3c;
  border: 2px solid #022f3c;
  padding: .63rem 1.5rem; border-radius: 28px;
  font-weight: 600; font-size: .9rem;
  text-decoration: none; transition: all .2s;
  display: inline-flex; align-items: center; gap: .4rem;
}
.btn-outline-dark:hover { background: #022f3c; color: #fff; }
.about-award-strip {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid #e8f3ec;
}
.award-item {
  display: flex; align-items: center; gap: .6rem;
}
.award-item span { font-size: 1.5rem; }
.award-item strong { display: block; font-size: .82rem; color: #022f3c; font-weight: 700; }
.award-item small { font-size: .7rem; color: #888; }

/* ── TREATMENT CARDS ────────────────────────────────────────── */
.tc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.tc {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(24px);
  transition: opacity .55s ease calc(var(--d,0ms)), transform .55s ease calc(var(--d,0ms)),
              box-shadow .25s, border-color .25s;
}
.tc.visible { opacity: 1; transform: translateY(0); }
.tc:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
  border-color: rgba(90,184,150,.4);
}
.tc-img {
  position: relative; height: 160px; overflow: hidden;
}
.tc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.tc:hover .tc-img img { transform: scale(1.06); }
.tc-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(90,184,150,.9); color: #fff;
  padding: .25rem .7rem; border-radius: 20px;
  font-size: .68rem; font-weight: 700;
  backdrop-filter: blur(4px);
}
.tc-body {
  padding: 1rem 1.2rem 1.2rem;
  flex: 1; display: flex; flex-direction: column;
}
.tc-tag {
  font-size: .68rem; color: rgba(255,255,255,.5);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: .4rem;
}
.tc-body h3 {
  font-size: 1rem; color: #fff; font-weight: 700;
  margin-bottom: auto; line-height: 1.3;
}
.tc-link {
  display: inline-block; margin-top: .9rem;
  font-size: .78rem; color: #5ab896;
  font-weight: 600; transition: color .2s;
}
.tc:hover .tc-link { color: #8cd4b6; }

/* ── DOCTORS GRID ───────────────────────────────────────────── */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.doc-c {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(2,47,60,.08);
  border: 1px solid #e8f3ec;
  transition: transform .25s, box-shadow .25s;
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease calc(var(--d,0ms)), transform .6s ease calc(var(--d,0ms)),
              box-shadow .25s;
}
.doc-c.visible { opacity: 1; transform: translateY(0); }
.doc-c:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(2,47,60,.14); }
.doc-img-w {
  position: relative;
  height: 280px; overflow: hidden;
  background: linear-gradient(135deg, #eef7f2, #d8f0e6);
}
.doc-img-w img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.doc-exp-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: #022f3c; color: #5ab896;
  padding: .3rem .8rem; border-radius: 20px;
  font-size: .72rem; font-weight: 700;
  border: 1.5px solid rgba(90,184,150,.4);
}
.doc-info { padding: 1.4rem; }
.doc-info h3 { font-size: 1.05rem; color: #022f3c; font-weight: 700; margin-bottom: .3rem; }
.doc-role { font-size: .78rem; color: #5ab896; font-weight: 600; margin-bottom: .3rem; }
.doc-spec { font-size: .74rem; color: #888; margin-bottom: .8rem; }
.doc-info p { font-size: .84rem; color: #555; line-height: 1.65; margin-bottom: 1rem; }
.btn-sm {
  font-size: .78rem; font-weight: 600; color: #5ab896;
  text-decoration: none; border: 1.5px solid #5ab896;
  padding: .38rem .9rem; border-radius: 20px;
  transition: all .2s; display: inline-block;
}
.btn-sm:hover { background: #5ab896; color: #fff; }

/* ── WHY CHOOSE US ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.wc {
  background: #fff;
  border: 1px solid #e0f0e8;
  border-radius: 16px;
  padding: 2rem 1.6rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(24px);
  transition: opacity .55s ease calc(var(--d,0ms)), transform .55s ease calc(var(--d,0ms)),
              box-shadow .25s, border-color .25s;
}
.wc.visible { opacity: 1; transform: translateY(0); }
.wc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5ab896, #C8973A);
  transform: scaleX(0);
  transition: transform .3s ease;
  transform-origin: left;
}
.wc:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(2,47,60,.1); border-color: #c5e8d6; }
.wc:hover::before { transform: scaleX(1); }
.wc-ic {
  font-size: 2.4rem; margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(2,47,60,.15));
  transition: transform .25s;
}
.wc:hover .wc-ic { transform: scale(1.15) rotate(-5deg); }
.wc h3 { font-size: 1rem; color: #022f3c; font-weight: 700; margin-bottom: .6rem; }
.wc p { font-size: .84rem; color: #666; line-height: 1.65; margin: 0; }

/* ── CONTACT CTA HERO ──────────────────────────────────────── */
.cta-hero {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #022f3c 0%, #033d50 60%, #011f29 100%);
}
.cta-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(90,184,150,.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(200,151,58,.06) 0%, transparent 50%);
  pointer-events: none;
}
.cta-hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
}
.cta-hero-text .sec-tag { display: block; }
.cta-hero-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff; margin-bottom: .8rem; line-height: 1.2;
}
.cta-hero-text > p {
  color: rgba(255,255,255,.72);
  font-size: 1rem; margin-bottom: 2rem; max-width: 520px;
}
.cta-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cta-item {
  display: flex; align-items: flex-start; gap: .8rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: .9rem 1rem;
}
.cta-item > span { font-size: 1.4rem; flex-shrink: 0; }
.cta-item strong { display: block; font-size: .78rem; color: rgba(255,255,255,.6); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.cta-item a { display: block; color: #8cd4b6; text-decoration: none; font-size: .88rem; font-weight: 600; transition: color .2s; }
.cta-item a:hover { color: #5ab896; }
.cta-item small { color: rgba(255,255,255,.5); font-size: .78rem; line-height: 1.5; }
.cf-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}
.cf-box h3 { color: #fff; font-size: 1.3rem; margin-bottom: .4rem; }
.cf-box p { color: rgba(255,255,255,.65); font-size: .88rem; margin-bottom: 1.4rem; }

/* ── PREMIUM HOVER EFFECTS ─────────────────────────────────── */
.nav a { position: relative; }
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: #5ab896;
  transition: left .2s, right .2s;
}
.nav a:hover::after, .nav a.active::after { left: 8px; right: 8px; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { max-width: 560px; margin: 0 auto; }
  .doc-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cta-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .stats-strip { padding: 2rem 0; }
  .stat-c { min-width: 120px; border-right: none; border-bottom: 1px solid rgba(90,184,150,.15); }
  .stat-c:last-child { border-bottom: none; }
  .stats-g { flex-direction: row; flex-wrap: wrap; }
  .stat-c { flex: 1 1 45%; border-right: 1px solid rgba(90,184,150,.1); }
  .stat-c:nth-child(2n) { border-right: none; }
  .doc-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .tc-grid { grid-template-columns: 1fr 1fr; }
  .cta-contact-grid { grid-template-columns: 1fr; }
  .about-badge-float { bottom: -10px; left: -10px; }
  .about-badge-float2 { display: none; }
}
@media (max-width: 480px) {
  .tc-grid { grid-template-columns: 1fr; }
  .stat-c { flex: 1 1 100%; border-right: none; }
}
