
/* ============================================================
   Homepage redesign v2 — hero, tabs, awards, services, icons.
   Teal theme wahi rakha gaya hai (#0D7C6C family).
   ============================================================ */

/* ---------- SVG icon sizing: shared classes live in style.css ---------- */

/* ---------- hero (two-column, arch photo) ---------- */
.hero-new { text-align: left; padding: 56px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--teal-dark); font-weight: 700; font-size: 0.85rem;
  padding: 8px 16px; border-radius: 30px; box-shadow: var(--shadow); margin: 0 0 14px;
}
.hero-new h1 { font-size: 2.2rem; color: #0B3B34; margin: 0 0 4px; line-height: 1.15; }
.hero-new .qualifications { font-weight: 600; color: var(--teal-dark); margin: 0 0 8px; }
.hero-new .rating { display: flex; align-items: center; gap: 6px; margin: 8px 0; }
.hero-new .hero-tagline { margin: 12px 0 22px; font-size: 1.08rem; max-width: 520px; }
.hero-new .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
.trust-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid #DDEBE8; border-radius: 12px;
  padding: 9px 14px; font-size: 0.85rem; font-weight: 600; color: var(--teal-dark);
  box-shadow: var(--shadow);
}
.trust-chip .icon { color: var(--teal); width: 1.3em; height: 1.3em; }

.hero-media {
  position: relative; width: min(400px, 94vw); margin: 8px auto 0;
  display: flex; justify-content: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* solid teal circle blob behind the torso */
.hero-blob-solid {
  position: absolute; left: 50%; top: 16%; transform: translateX(-50%);
  width: min(300px, 74vw); aspect-ratio: 1/1; border-radius: 50%;
  background: linear-gradient(150deg, #14a08a, var(--teal-dark));
  box-shadow: 0 24px 50px rgba(13, 124, 108, 0.25);
  animation: blobPulse 8s ease-in-out infinite;
}
/* thin partial arc curving at the head's right */
.hero-arc {
  position: absolute; right: 2%; top: 2%;
  width: min(150px, 36vw); aspect-ratio: 1/1; border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: rgba(13, 124, 108, 0.45);
  border-right-color: rgba(13, 124, 108, 0.45);
  transform: rotate(-20deg);
}
/* full cutout photo — bottom edge fades softly into the background */
.hero-cutout {
  position: relative; z-index: 2; width: min(340px, 84vw); height: auto; display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-avatar-fallback {
  position: relative; z-index: 2;
  width: min(300px, 74vw); aspect-ratio: 1/1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; font-weight: 800; color: rgba(255,255,255,0.9);
  background: linear-gradient(150deg, #14a08a, var(--teal-dark));
}
/* floating info cards */
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(11, 59, 52, 0.16);
  animation: cardFloat 6s ease-in-out infinite;
}
.float-card-left { left: -4px; top: 22%; }
.float-card-right { right: -4px; bottom: 14%; animation-delay: 1.5s; }
.float-card div { display: flex; flex-direction: column; line-height: 1.3; white-space: nowrap; }
.float-card strong { font-size: 0.88rem; color: #0B3B34; }
.float-card span { font-size: 0.75rem; color: var(--muted); }
.float-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.float-icon-teal { background: var(--teal); }
.float-icon-amber { background: #E8890B; }

/* ---------- gentle animations (subtle, professional) ---------- */
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes cardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes blobPulse { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  .hero-cutout, .float-card, .hero-blob-solid { animation: none !important; }
}

/* ---------- stats strip (polished) ---------- */
.stats-strip { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); }
.stat strong { font-size: 1.9rem; display: block; }
.stat span { font-size: 0.9rem; opacity: 0.92; }

/* ---------- chips with SVG ---------- */
.chips { justify-content: flex-start; }
.chip { display: inline-flex; align-items: center; gap: 6px; }
.chip .icon { color: var(--teal); }
.chips-lg .chip { font-size: 1rem; padding: 10px 20px; }

/* ---------- tabs (Experience / Education / Certifications) ---------- */
.tabs {
  display: inline-flex; gap: 6px; background: #fff; border-radius: 14px;
  padding: 6px; box-shadow: var(--shadow); margin-bottom: 22px;
}
.tab {
  border: none; background: transparent; padding: 10px 22px; border-radius: 10px;
  font-size: 1rem; font-weight: 600; color: var(--muted); cursor: pointer;
}
.tab.active { background: var(--teal); color: #fff; }
.tab-panel { display: none; animation: fadeIn 0.25s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; } }

/* ---------- awards ---------- */
.awards-grid { grid-template-columns: 1fr; }
.award-card { text-align: center; padding: 28px 20px; position: relative; }
.award-icon {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, #F5A623, #E8890B);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35);
}
.award-card h3 { margin: 0 0 6px; color: #0B3B34; }
.award-year {
  display: inline-block; margin-top: 10px; background: var(--teal-light);
  color: var(--teal-dark); font-weight: 700; font-size: 0.85rem;
  padding: 4px 16px; border-radius: 20px;
}

/* ---------- services ---------- */
.services-grid { grid-template-columns: 1fr; }
.service-card { text-align: center; padding: 30px 22px; }
.service-icon {
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 8px 20px rgba(13, 124, 108, 0.28); flex-shrink: 0;
}
.service-icon .icon { width: 24px; height: 24px; }
.service-card h3 { color: #0B3B34; margin: 0 0 8px; }
.service-card .fee { font-size: 1.7rem; font-weight: 800; color: var(--teal-dark); margin: 14px 0; }

/* booking type cards (book.php) — SVG icons */
.type-icon { font-size: 2rem; display: block; }
.type-icon svg { width: 2rem; height: 2rem; color: var(--teal); }

/* ---------- how it works ---------- */
.steps-new .step {
  background: var(--card); border-radius: var(--radius); padding: 28px 22px;
  box-shadow: var(--shadow); text-align: center; position: relative;
}
.steps-new .step-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; font-size: 1rem;
}
.step-icon {
  width: 52px; height: 52px; margin: 8px auto 14px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
}
.steps-new h3 { color: #0B3B34; margin: 0 0 8px; }

/* ---------- blogs ---------- */
.blog-grid { grid-template-columns: 1fr; }
.blog-card { padding: 22px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(13,124,108,0.14); }
.blog-cat {
  display: inline-block; background: var(--teal-light); color: var(--teal-dark);
  font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px;
}
.blog-more { display: block; color: var(--teal); font-weight: 700; margin: 10px 0 4px; }

/* ---------- contact ---------- */
.contact-grid { grid-template-columns: 1fr; }
.contact-item { text-align: center; padding: 24px 18px; }
.contact-icon {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
}
.contact-item h3 { color: #0B3B34; margin: 0 0 6px; }
.contact-item p { margin: 0; word-break: break-word; }

/* ---------- AJAX helpers ---------- */
.form-status { display: none; margin: 12px 0; }
.form-status.show { display: block; }
.slot-loading { color: var(--muted); padding: 18px 0; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- desktop ---------- */
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-new h1 { font-size: 2.9rem; }
  .awards-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-cutout { width: 380px; }
  .hero-blob-solid { width: 340px; }
}

/* ---------- small phones (360-400px): cards fit, no overflow ---------- */
@media (max-width: 480px) {
  .hero-new { padding: 36px 0 44px; }
  .hero-new h1 { font-size: 1.75rem; }
  .hero-new .hero-cta .btn-lg { width: 100%; text-align: center; }
  .float-card { padding: 8px 10px; gap: 8px; border-radius: 12px; }
  .float-card-left { left: 0; top: 16%; }
  .float-card-right { right: 0; bottom: 10%; }
  .float-card strong { font-size: 0.8rem; }
  .float-card span { font-size: 0.7rem; }
  .float-icon { width: 38px; height: 38px; }
  .hero-arc { right: 0; }
  .trust-chip { font-size: 0.8rem; padding: 8px 12px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 10px 8px; font-size: 0.9rem; min-height: 44px; }
  .stat strong { font-size: 1.6rem; }
}
