/* ────────────────────────────────────────────────────
   StrongMind.in  –  Custom Stylesheet
   Stack: Bootstrap 5 + Custom CSS
   Palette:
     --sage:    #7E9C8C  (primary green)
     --sand:    #C2A98A  (warm accent)
     --charcoal:#2D3436
     --muted:   #5B6470
     --bg:      #F8F7F4
   ──────────────────────────────────────────────────── */

   :root {
    --sage:    #7E9C8C;
    --sage-lt: #8DAA96;
    --sage-bg: rgba(126,156,140,.08);
    --sand:    #C2A98A;
    --sand-bg: rgba(194,169,138,.08);
    --charcoal:#2D3436;
    --muted:   #5B6470;
    --bg:      #F8F7F4;
    --white:   #ffffff;
    --radius:  1rem;
    --shadow:  0 4px 24px rgba(45,52,54,.07);
  }
  
  /* ── Base ──────────────────────────────────────────── */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  
  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--charcoal);
    line-height: 1.7;
    padding-top: 80px; /* offset for fixed nav */
  }
  
  h1,h2,h3,h4,h5,h6,.font-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
  }
  
  a { color: var(--sage); text-decoration: none; }
  a:hover { color: var(--sage-lt); }
  
  img { max-width: 100%; height: auto; }
  
  .text-sage  { color: var(--sage)  !important; }
  .text-sand  { color: var(--sand)  !important; }
  .text-muted { color: var(--muted) !important; }
  .bg-sage    { background: var(--sage-bg); }
  .bg-sand    { background: var(--sand-bg); }
  
  /* ── Navbar ─────────────────────────────────────────── */
  .mc-navbar {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45,52,54,.06);
    transition: box-shadow .3s;
  }
  .mc-navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
  
  .mc-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
  .brand-icon {
    width: 36px; height: 36px;
    background: var(--sage-bg);
    border: 1px solid rgba(126,156,140,.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--sage);
    flex-shrink: 0;
  }
  .brand-icon svg { width: 18px; height: 18px; }
  .brand-name { font-family: 'Inter',sans-serif; font-weight: 700; font-size: 1rem; color: var(--charcoal); letter-spacing: .03em; }
  .brand-dot  { color: var(--sage); }
  .brand-sub  { font-size: .65rem; color: var(--muted); letter-spacing: .04em; display: block; margin-top: -2px; }
  
  .mc-navbar .nav-link {
    color: var(--charcoal);
    font-size: .82rem;
    font-weight: 500;
    padding: .45rem .8rem;
    border-radius: 6px;
    transition: background .2s, color .2s;
  }
  .mc-navbar .nav-link:hover,
  .mc-navbar .nav-link.active { color: var(--sage); background: var(--sage-bg); }
  
  /* Dropdown */
  .mc-dropdown { min-width: 240px; }
  .mc-dropdown .dropdown-item {
    font-size: .82rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: .55rem .85rem;
    transition: background .15s;
  }
  .mc-dropdown .dropdown-item:hover { background: var(--sage-bg); color: var(--sage); }
  
  /* Buttons */
  .btn-book {
    background: var(--sage);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    padding: .45rem 1.1rem;
    transition: background .2s, transform .2s;
  }
  .btn-book:hover { background: #6c8a7a; transform: translateY(-1px); }
  
  .btn-emergency {
    background: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    padding: .42rem 1rem;
    transition: all .2s;
  }
  .btn-emergency:hover { background: #e74c3c; color: #fff; }
  
  /* ── Section Shared ──────────────────────────────────── */
  .section-eyebrow {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .75rem;
  }
  .section-eyebrow.sage { color: var(--sage); }
  .section-eyebrow.sand { color: var(--sand); }
  
  .dot-pulse {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
  }
  
  /* ── Hero ────────────────────────────────────────────── */
  .hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
    padding: 0;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 22% center;
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 0%, rgba(248,247,244,.6) 45%, rgba(248,247,244,.95) 75%);
  }
  .hero-content {
    position: relative;
    z-index: 2;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(45,52,54,.05);
    border-radius: 50px;
    padding: .4rem .9rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
  }
  .hero-badge .live-dot {
    position: relative;
    width: 8px; height: 8px;
  }
  .hero-badge .live-dot span {
    position: absolute;
    border-radius: 50%;
    background: var(--sage-lt);
    width: 100%; height: 100%;
  }
  .hero-badge .live-dot span.ping {
    animation: ping 1.5s ease-out infinite;
    opacity: .7;
  }
  @keyframes ping {
    0%   { transform: scale(1); opacity: .7; }
    70%  { transform: scale(2); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
  }
  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.15;
    color: var(--charcoal);
  }
  .hero-title span { color: var(--sage); }
  .hero-subtitle {
    font-size: .9rem;
    color: var(--muted);
    max-width: 480px;
    line-height: 1.8;
  }
  .hero-stats .stat-item {
    text-align: center;
    padding: .75rem 1.25rem;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: .75rem;
  }
  .hero-stats .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--sage);
    line-height: 1;
  }
  .hero-stats .stat-label { font-size: .68rem; color: var(--muted); font-weight: 500; }
  
  /* ── Card Shared ─────────────────────────────────────── */
  .mc-card {
    background: #fff;
    border: 1px solid rgba(45,52,54,.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
  }
  .mc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(45,52,54,.1); }
  
  /* ── Symptom Cards ───────────────────────────────────── */
  .symptom-card {
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(45,52,54,.07);
    background: #fff;
    transition: all .25s;
  }
  .symptom-card:hover { border-color: var(--sage); box-shadow: 0 8px 32px rgba(126,156,140,.12); transform: translateY(-3px); }
  .symptom-card .card-img-wrap {
    height: 180px;
    overflow: hidden;
  }
  .symptom-card .card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
  }
  .symptom-card:hover .card-img-wrap img { transform: scale(1.05); }
  .symptom-badge {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--sage-bg);
    color: var(--sage);
    border-radius: 50px;
    padding: .2rem .7rem;
    display: inline-block;
  }
  
  /* ── Breathing Exercise ──────────────────────────────── */
  .breathing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, var(--sage-bg) 0%, var(--sand-bg) 100%);
    border-radius: 2rem;
    border: 1px solid rgba(126,156,140,.12);
  }
  .breathing-circle-wrap {
    position: relative;
    width: 200px; height: 200px;
    margin: 2rem auto;
  }
  .breathing-circle {
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126,156,140,.3) 0%, rgba(126,156,140,.1) 60%);
    border: 2px solid rgba(126,156,140,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    transition: transform 4s ease-in-out;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--sage);
    font-weight: 600;
  }
  .breathing-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(126,156,140,.15);
    animation: ring-pulse 4s ease-in-out infinite;
  }
  @keyframes ring-pulse {
    0%,100% { transform: scale(1);   opacity: .5; }
    50%      { transform: scale(1.15); opacity: .2; }
  }
  .breathing-phase { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
  .breathing-counter { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 700; color: var(--charcoal); line-height: 1; }
  
  /* ── Gallery ─────────────────────────────────────────── */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
  }
  .gallery-item {
    overflow: hidden;
    border-radius: .75rem;
    aspect-ratio: 4/3;
    cursor: pointer;
  }
  .gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
  }
  .gallery-item:hover img { transform: scale(1.07); }
  @media (max-width: 576px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
  
  /* ── Testimonial Card ────────────────────────────────── */
  .testimonial-card {
    background: #fff;
    border: 1px solid rgba(45,52,54,.06);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
  }
  .testimonial-card .quote-icon {
    position: absolute;
    top: -16px; left: 2rem;
    width: 40px; height: 40px;
    background: var(--sand);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.1rem;
  }
  
  /* ── FAQ Accordion ───────────────────────────────────── */
  .mc-accordion .accordion-button {
    font-weight: 600;
    color: var(--charcoal);
    background: transparent;
    box-shadow: none;
    font-size: .92rem;
  }
  .mc-accordion .accordion-button:not(.collapsed) { color: var(--sage); background: var(--sage-bg); }
  .mc-accordion .accordion-button::after { filter: none; }
  .mc-accordion .accordion-item {
    border: 1px solid rgba(45,52,54,.07);
    border-radius: .75rem !important;
    margin-bottom: .75rem;
    overflow: hidden;
  }
  
  /* ── Forms ───────────────────────────────────────────── */
  .mc-form .form-control,
  .mc-form .form-select {
    border: 1px solid rgba(45,52,54,.12);
    border-radius: .75rem;
    padding: .75rem 1rem;
    font-size: .9rem;
    background: #fff;
    color: var(--charcoal);
    transition: border-color .2s;
  }
  .mc-form .form-control:focus,
  .mc-form .form-select:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(126,156,140,.15);
  }
  .mc-form label { font-size: .82rem; font-weight: 600; color: var(--charcoal); margin-bottom: .35rem; }
  .progress-bar-sage { background: var(--sage); }
  
  /* ── Clinic Page Hero (reusable) ──────────────────────── */
  .page-hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, var(--bg) 0%, #fff 100%);
    border-bottom: 1px solid rgba(45,52,54,.05);
  }
  
  /* ── Info Cards ──────────────────────────────────────── */
  .info-icon-wrap {
    width: 48px; height: 48px;
    border-radius: .75rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
  }
  .info-icon-wrap.sage { background: var(--sage-bg); color: var(--sage); }
  .info-icon-wrap.sand { background: var(--sand-bg); color: var(--sand); }
  
  /* ── About Doctor ────────────────────────────────────── */
  .dr-photo-wrap {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(45,52,54,.12);
    position: relative;
  }
  .credential-badge {
    background: #fff;
    border: 1px solid rgba(45,52,54,.07);
    border-radius: .75rem;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
  }
  .credential-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--sand-bg);
    color: var(--sand);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: .9rem;
  }
  
  /* ── Methods Grid ────────────────────────────────────── */
  .method-card {
    background: #fff;
    border: 1px solid rgba(45,52,54,.06);
    border-radius: .75rem;
    padding: 1.25rem;
    transition: border-color .2s, box-shadow .2s;
  }
  .method-card:hover { border-color: var(--sage); box-shadow: 0 4px 20px rgba(126,156,140,.1); }
  .method-num {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--sand);
    text-transform: uppercase;
    margin-bottom: .25rem;
  }
  
  /* ── Resources / Articles ────────────────────────────── */
  .article-card {
    background: #fff;
    border: 1px solid rgba(45,52,54,.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
  }
  .article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(45,52,54,.09); }
  .article-cat-badge {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .2rem .7rem;
    border-radius: 50px;
  }
  
  /* ── Footer ──────────────────────────────────────────── */
  .mc-footer {
    background: #fff;
    border-top: 1px solid rgba(45,52,54,.06);
    color: var(--charcoal);
  }
  .footer-heading { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--charcoal); margin-bottom: 1rem; }
  .footer-links li { margin-bottom: .45rem; }
  .footer-links a { color: var(--muted); font-size: .85rem; transition: color .2s; }
  .footer-links a:hover { color: var(--sage); }
  .footer-contact li { margin-bottom: .6rem; font-size: .85rem; color: var(--muted); }
  .footer-contact a { color: var(--muted); }
  .footer-contact a:hover { color: var(--sage); }
  .footer-social {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--sage-bg);
    color: var(--sage);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s;
    font-size: .95rem;
  }
  .footer-social:hover { background: var(--sage); color: #fff; }
  
  /* ── WhatsApp FAB ────────────────────────────────────── */
  .whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 54px; height: 54px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 24px rgba(37,211,102,.35);
    z-index: 1000;
    transition: transform .25s;
    text-decoration: none;
  }
  .whatsapp-fab:hover { transform: scale(1.1); color: #fff; }
  
  /* ── Back to Top ─────────────────────────────────────── */
  .back-to-top {
    position: fixed;
    bottom: 5.5rem;
    right: 2.1rem;
    width: 40px; height: 40px;
    background: #fff;
    border: 1px solid rgba(45,52,54,.1);
    border-radius: 50%;
    color: var(--charcoal);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 999;
    font-size: .9rem;
  }
  .back-to-top.visible { opacity: 1; pointer-events: auto; }
  .back-to-top:hover { transform: translateY(-3px); }
  
  /* ── Utility ──────────────────────────────────────────── */
  .rounded-4  { border-radius: 1rem !important; }
  .rounded-5  { border-radius: 1.5rem !important; }
  .section-py { padding-top: 5rem; padding-bottom: 5rem; }
  
  /* ── Animations ──────────────────────────────────────── */
  .fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .fade-up.visible { opacity: 1; transform: none; }
  
  /* ── Assessment / Wellness Quiz ──────────────────────── */
  .assessment-option {
    cursor: pointer;
    border: 1.5px solid rgba(45,52,54,.1);
    border-radius: .75rem;
    padding: .75rem 1rem;
    transition: all .2s;
    background: #fff;
  }
  .assessment-option:hover,
  .assessment-option.selected { border-color: var(--sage); background: var(--sage-bg); }
  
  /* ── Alert / Success Banner ──────────────────────────── */
  .alert-success-mc {
    background: var(--sage-bg);
    border: 1px solid rgba(126,156,140,.25);
    border-radius: var(--radius);
    color: var(--charcoal);
  }
  
  /* ── Responsive tweaks ───────────────────────────────── */
  @media (max-width: 768px) {
    .hero-overlay {
      background: linear-gradient(to bottom, transparent 0%, rgba(248,247,244,.7) 50%, rgba(248,247,244,.97) 80%);
    }
    .hero-section { min-height: auto; padding: 2rem 0 4rem; }
    .section-py { padding-top: 3rem; padding-bottom: 3rem; }
    .hero-title { text-align: center; }
    .hero-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
  }