 :root{
    --ivory: #FBF8F2;
    --ivory-deep: #F4EFE4;
    --midnight: #1A2138;
    --midnight-soft: #2A3352;
    --gold: #AD8A4E;
    --gold-light: #D9C39A;
    --maroon: #7E2F3B;
    --whatsapp: #25D366;
    --whatsapp-dark: #1DA851;
    --text: #3C382F;
    --text-soft: #6B655A;
    --line: rgba(26,33,56,0.12);
    --shadow: 0 20px 50px rgba(26,33,56,0.10);
  }

  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }

  body{
    background: var(--ivory);
    color: var(--text);
    font-family:'Jost', sans-serif;
    font-weight:400;
    line-height:1.6;
    overflow-x:hidden;
  }

  h1,h2,h3,h4{
      font-family: 'Cormorant Garamond';
    color: var(--midnight);
    font-weight:800;
    line-height:1.15;
  }

  a{ text-decoration:none; color:inherit; }
  img{ max-width:100%; display:block; }
  .container-xl{ max-width:1200px; }

  .eyebrow{
    font-family:'Jost', sans-serif;
    text-transform:uppercase;
    letter-spacing:0.22em;
    font-size:0.72rem;
    font-weight:600;
    color: var(--gold);
    display:inline-flex;
    align-items:center;
    gap:10px;
  }
  .eyebrow::before{
    content:"";
    width:26px;
    height:1px;
    background: var(--gold);
    display:inline-block;
  }
  .eyebrow.center{ justify-content:center; }

  .section-head{ text-align:center; max-width:660px; margin:0 auto 56px; }
  .section-head h2{ font-size:2.5rem; margin-top:14px; }
  .section-head p{ color: var(--text-soft); margin-top:14px; font-size:1rem; }
  .section-pad{ padding:100px 0; }
  .bg-deep{ background: var(--ivory-deep); }

  /* ===== Buttons ===== */
  .btn-whatsapp{
    background: var(--whatsapp);
    color:#fff !important;
    font-size:0.84rem;
    font-weight:600;
    padding:11px 24px;
    border-radius:30px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    box-shadow:0 8px 20px rgba(37,211,102,0.35);
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
    white-space:nowrap;
    border:none;
  }
  .btn-whatsapp:hover{ transform:translateY(-2px); background:var(--whatsapp-dark); box-shadow:0 12px 26px rgba(37,211,102,0.45); color:#fff; }
  .btn-whatsapp svg{ width:17px; height:17px; fill:#fff; flex-shrink:0; }
  .btn-whatsapp.btn-lg-custom{ padding:15px 32px; font-size:0.92rem; }

  .btn-outline-midnight{
    border:1px solid var(--midnight);
    color: var(--midnight);
    font-size:0.84rem;
    font-weight:500;
    padding:10px 22px;
    border-radius:30px;
    transition:background .2s ease, color .2s ease;
    display:inline-block;
  }
  .btn-outline-midnight:hover{ background:var(--midnight); color:#fff; }

  .btn-ghost-light{
    border:1px solid rgba(255,255,255,0.35);
    color:#fff;
    padding:15px 30px;
    border-radius:30px;
    font-size:0.92rem;
    display:inline-block;
    transition:background .25s ease, border-color .25s ease;
  }
  .btn-ghost-light:hover{ background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.6); color:#fff; }

  .call-link{ display:flex; align-items:center; gap:10px; font-size:0.92rem; color:var(--midnight); font-weight:500; }
  .call-link .icon-circle{
    width:40px; height:40px; border-radius:50%;
    border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
    background:#fff; flex-shrink:0;
    transition:transform .3s ease;
  }
  .call-link:hover .icon-circle{ transform:scale(1.08); }
  .call-link .icon-circle svg{ width:16px; height:16px; fill:var(--midnight); }

  /* ===== Nav ===== */
  .navbar-astro{
    background: rgba(251,248,242,0.92) !important;
    backdrop-filter: blur(10px);
    border-bottom:1px solid var(--line);
    padding-top:16px; padding-bottom:16px;
  }
  .navbar-astro .navbar-brand{
    font-family:'Cormorant Garamond', serif;
    font-size:1.55rem;
    font-weight:700;
    color: var(--midnight) !important;
  }
  .navbar-astro .navbar-brand span{ color: var(--gold); }
  .navbar-astro .nav-link{
    color: var(--text) !important;
    font-size:0.86rem;
    letter-spacing:0.02em;
    margin:0 14px;
    transition:color .25s ease;
    padding:0 !important;
  }
  .navbar-astro .nav-link:hover{ color: var(--gold) !important; }
  .navbar-toggler{ border:none !important; box-shadow:none !important; }

  /* ===== Hero ===== */
  .hero{ padding:96px 0 80px; position:relative; overflow:hidden; }
  .hero::before{
    content:""; position:absolute; top:-200px; right:-220px;
    width:640px; height:640px; border-radius:50%;
    background: radial-gradient(circle, rgba(173,138,78,0.14) 0%, rgba(173,138,78,0) 70%);
    z-index:0;
  }
  .hero h1{ font-size:3.3rem; margin:20px 0 22px; letter-spacing:-0.01em; }
  .hero h1 em{ font-style:normal; color:var(--gold); }
  .hero p.sub{ font-size:1.06rem; color: var(--text-soft); max-width:520px; margin-bottom:34px; }
  .hero-ctas{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-bottom:44px; }
  .hero-stats{ display:flex; gap:36px; padding-top:30px; border-top:1px solid var(--line); flex-wrap:wrap; }
  .hero-stats .stat h3{ font-size:2rem; color:var(--midnight); }
  .hero-stats .stat span{ font-size:0.78rem; color:var(--text-soft); text-transform:uppercase; letter-spacing:0.05em; }

  .hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; min-height:480px; }
  .zodiac-ring{ position:absolute; width:480px; height:480px; z-index:0; animation: spin 90s linear infinite; }
  @keyframes spin{ from{ transform:rotate(0deg);} to{ transform:rotate(360deg);} }
  @media (prefers-reduced-motion: reduce){ .zodiac-ring{ animation:none; } }

  .astrologer-frame{
    position:relative; z-index:1; width:350px; height:350px;
    border-radius:50%; overflow:hidden;
    background: linear-gradient(150deg, var(--midnight) 0%, var(--midnight-soft) 100%);
    box-shadow: var(--shadow); display:flex; align-items:center; justify-content:center;
    border:5px solid #fff; outline:1px solid var(--line);
  }
  
   .astrologer-frame img{ width:100%; height:156%; object-fit:cover; }
  .badge-float{
    position:absolute; bottom:14px; left:-18px; background:#fff;
    border-radius:14px; padding:14px 18px; box-shadow: var(--shadow);
    display:flex; align-items:center; gap:12px; z-index:2;
  }
  .badge-float .dot{
    width:38px; height:38px; border-radius:50%; background: var(--ivory-deep);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .badge-float .dot svg{ width:18px; height:18px; fill:var(--gold); }
  .badge-float strong{ display:block; font-size:0.95rem; color:var(--midnight); }
  .badge-float span{ font-size:0.72rem; color:var(--text-soft); }

  /* ===== Trust bar ===== */
  .trustbar{ background: var(--midnight); padding:26px 0; }
  .trustbar .item{
    color: var(--ivory-deep); font-size:0.85rem;
    display:flex; align-items:center; gap:10px; letter-spacing:0.02em;
    justify-content:center;
  }
  .trustbar .item svg{ width:18px; height:18px; fill:var(--gold); flex-shrink:0; }

  /* ===== Constellation divider ===== */
  .constellation-divider{ width:100%; height:46px; display:flex; align-items:center; justify-content:center; opacity:0.55; }

  /* ===== Problem cards ===== */
  .problem-card{
    background:#fff; border:1px solid var(--line); border-radius:16px;
    overflow:hidden; height:100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position:relative;
  }
  .problem-card:hover{ transform:translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
  .problem-card .img-wrap{ position:relative; height:248px; overflow:hidden; }
  .problem-card .img-wrap img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
  .problem-card:hover .img-wrap img{ transform:scale(1.08); }
  .problem-card .img-wrap::after{
    content:""; position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(26,33,56,0) 40%, rgba(26,33,56,0.55) 100%);
  }
  .problem-card .glyph-badge{
    position:absolute; bottom:-50px; left:24px; width:44px; height:44px; border-radius:50%;
    background:#fff; border:1px solid var(--line); box-shadow:var(--shadow);
    display:flex; align-items:center; justify-content:center;
    font-family:'Cormorant Garamond', serif; font-size:1.3rem; color: var(--gold); z-index:2;
  }
  .problem-card .card-body-custom{ padding:34px 26px 26px; text-align:center; }
  .problem-card h4{ font-size:24px; margin-bottom:10px; }
  .problem-card p{ font-size:0.88rem; color: var(--text-soft); margin-bottom:0; }
  .guarantee-tag{
    position:absolute; top:14px; right:14px; background: #25d366; color:#fff;
    font-size:0.66rem; font-weight:600; letter-spacing:0.04em; padding:5px 12px;
    border-radius:20px; box-shadow:0 6px 14px rgba(126,47,59,0.35); z-index:2;
  }

  /* ===== Process ===== */
  .process-step{ text-align:center; padding:0 12px; height:100%; }
  .process-step .num{
    width:68px; height:68px; border-radius:50%; background:#fff;
    border:1px solid var(--gold-light); color: var(--midnight);
    font-family:'Cormorant Garamond', serif; font-size:1.6rem; font-weight:600;
    display:flex; align-items:center; justify-content:center; margin:0 auto 22px;
    transition:transform .3s ease, background .3s ease;
  }
  .process-step:hover .num{ transform:scale(1.1); background:var(--midnight); color:#fff; border-color:var(--midnight); }
  .process-step h4{ font-size:1.2rem; margin-bottom:10px; }
  .process-step p{ font-size:0.88rem; color:var(--text-soft); }

  /* ===== Book Appointment ===== */
  .book-section{ position:relative; overflow:hidden; }
  .book-card{
    background:#fff; border:1px solid var(--line); border-radius:20px;
    padding:42px; box-shadow: var(--shadow);
  }
  .book-card label{
    font-size:0.8rem; font-weight:600; letter-spacing:0.03em;
    color: var(--midnight); margin-bottom:6px; display:block;
  }
  .book-card .form-control,
  .book-card .form-select{
    background: var(--ivory); border:1px solid var(--line); border-radius:10px;
    padding:11px 14px; font-family:'Jost', sans-serif; font-size:0.92rem;
    color: var(--text); transition:border-color .25s ease, box-shadow .25s ease;
  }
  .book-card .form-control:focus,
  .book-card .form-select:focus{
    border-color: var(--gold); box-shadow:0 0 0 3px rgba(173,138,78,0.15); background:#fff;
  }
  .book-card textarea.form-control{ min-height:100px; resize:vertical; }
  .btn-book-submit{
    background: var(--midnight); color:#fff; border:none; border-radius:30px;
    padding:14px 34px; font-size:0.92rem; font-weight:600; letter-spacing:0.02em;
    display:inline-flex; align-items:center; gap:10px;
    transition:background .25s ease, transform .25s ease;
  }
  .btn-book-submit:hover{ background: var(--maroon); transform:translateY(-2px); color:#fff; }
  .btn-book-submit svg{ width:16px; height:16px; fill:#fff; }

  .book-info{
    background: var(--midnight); border-radius:20px; padding:42px 36px;
    color: rgba(255,255,255,0.82); height:100%; position:relative; overflow:hidden;
  }
  .book-info::before{
    content:""; position:absolute; top:-120px; right:-120px; width:340px; height:340px;
    border-radius:50%; background: radial-gradient(circle, rgba(173,138,78,0.22) 0%, rgba(173,138,78,0) 70%);
  }
  .book-info > *{ position:relative; z-index:1; }
  .book-info h3{ color:#fff; font-size:1.7rem; margin-bottom:14px; }
  .book-info p{ font-size:0.92rem; margin-bottom:28px; }
  .book-info-list{ list-style:none; padding:0; margin:0 0 30px; }
  .book-info-list li{
    display:flex; align-items:flex-start; gap:12px; font-size:0.88rem;
    margin-bottom:16px; color: rgba(255,255,255,0.85);
  }
  .book-info-list li svg{ width:18px; height:18px; fill:var(--gold-light); flex-shrink:0; margin-top:2px; }
  .book-info .divider{ height:1px; background:rgba(255,255,255,0.15); margin:26px 0; }
  .book-info .quick-contact{ display:flex; flex-direction:column; gap:12px; }

  /* ===== Services ===== */
  .service-card{
    padding:36px 30px; border-radius:16px; background:antiquewhite; border:1px solid var(--line);
    position:relative; overflow:hidden; height:100%;
    transition:transform .3s ease, box-shadow .3s ease;
  }
  .service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
  .service-card::after{
    content:""; position:absolute; right:-30px; top:-30px; width:100px; height:100px;
    border-radius:50%; background: var(--ivory-deep); z-index:0;
  }
  .service-card > *{ position:relative; z-index:1; }
  .service-card h4{ font-size:1.35rem; margin-bottom:12px; }
  .service-card p{ font-size:0.9rem; color:var(--text-soft); margin-bottom:18px; }
  .service-card a.link{
    font-size:0.82rem; font-weight:600; color: var(--maroon); letter-spacing:0.03em;
    display:inline-flex; align-items:center; gap:6px; transition:gap .25s ease;
  }
  .service-card a.link:hover{ gap:10px; }

  /* ===== About ===== */
  .about-photo{
    position:relative; border-radius:8px 100px 8px 8px; overflow:hidden;
    background: linear-gradient(150deg, #ffffff, #fff);
    border:1px solid var(--line); min-height:356px;
    display:flex; align-items:center; justify-content:center;
  }
  .about-photo img{ width:100%; height:100%; object-fit:cover; }
  .about-credentials{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:26px; }
  .cred{ display:flex; align-items:flex-start; gap:12px; font-size:0.88rem; }
  .cred svg{ width:20px; height:20px; fill:var(--gold); flex-shrink:0; margin-top:2px; }

  /* ===== Testimonials ===== */
  .testimonial-card{
    background:var(--ivory-deep); border-radius:16px; padding:34px 28px; border:1px solid var(--line);
    height:100%; transition:transform .3s ease, box-shadow .3s ease;
  }
  .testimonial-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
  .testimonial-card .stars{ color:var(--gold); font-size:0.9rem; margin-bottom:16px; letter-spacing:2px; }
  .testimonial-card p.quote{
    font-family:'Cormorant Garamond', serif;  font-size:1.1rem;
    color: var(--midnight); margin-bottom:22px; line-height:1.5;
  }
  .testimonial-card .who{ display:flex; align-items:center; gap:12px; }
  .testimonial-card .avatar{
    width:42px; height:42px; border-radius:50%; background: #fff;
    display:flex; align-items:center; justify-content:center;
    font-family:'Cormorant Garamond', serif; color:var(--gold); font-weight:700; flex-shrink:0;
  }
  .testimonial-card .who strong{ display:block; font-size:0.9rem; color:var(--midnight); }
  .testimonial-card .who span{ font-size:0.76rem; color:var(--text-soft); }

  /* ===== Why choose us ===== */
  .why-item{ text-align:center; }
  .why-item .icon-wrap{
    width:64px; height:64px; border-radius:50%; background:#fff; border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center; margin:0 auto 16px;
    transition:transform .3s ease;
  }
  .why-item:hover .icon-wrap{ transform:translateY(-6px); }
  .why-item svg{ width:28px; height:28px; fill:var(--gold); }
  .why-item h4{ font-size:1.1rem; margin-bottom:8px; }
  .why-item p{ font-size:0.86rem; color:var(--text-soft); }

  /* ===== FAQ (bootstrap accordion, custom skin) ===== */
  .accordion-astro .accordion-item{
    background:transparent; border:none; border-bottom:1px solid var(--line);
    border-radius:0 !important;
  }
  .accordion-astro .accordion-button{
    background:transparent; box-shadow:none; padding:22px 0;
    font-family:'Cormorant Garamond', serif; font-weight:600; font-size:1.08rem;
    color:var(--midnight);
  }
  .accordion-astro .accordion-button:not(.collapsed){ color:var(--gold); background:transparent; box-shadow:none; }
  .accordion-astro .accordion-button::after{ flex-shrink:0; }
  .accordion-astro .accordion-body{ padding:0 0 22px; font-size:0.92rem; color:var(--text-soft); }

  /* ===== Final CTA ===== */
  .final-cta{ background: var(--midnight); padding:90px 0; text-align:center; position:relative; overflow:hidden; }
  .final-cta::before{
    content:""; position:absolute; top:-150px; left:50%; transform:translateX(-50%);
    width:700px; height:700px; border-radius:50%;
    background: radial-gradient(circle, rgba(173,138,78,0.16) 0%, rgba(173,138,78,0) 70%);
  }
  .final-cta > *{ position:relative; z-index:1; }
  .final-cta .eyebrow{ color: var(--gold-light); }
  .final-cta .eyebrow::before{ background:var(--gold-light); }
  .final-cta h2{ color:#fff; font-size:2.6rem; max-width:640px; margin:18px auto 16px; }
  .final-cta p{ color: rgba(255,255,255,0.7); max-width:520px; margin:0 auto 36px; }
  .final-cta .ctas{ display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }

  /* ===== Footer ===== */
  footer{ background: #14192B; color: rgba(255,255,255,0.65); padding:70px 0 30px; }
  .footer-logo{ font-family:'Cormorant Garamond', serif; font-size:1.5rem; color:#fff; margin-bottom:14px; }
  .footer-logo span{ color: var(--gold); }
  footer p{ font-size:0.85rem; line-height:1.7; }
  footer h5{ color:#fff; font-size:0.85rem; text-transform:uppercase; letter-spacing:0.1em; margin-bottom:20px; }
  footer ul{ list-style:none; padding:0; }
  footer ul li{ margin-bottom:12px; font-size:0.86rem; }
  footer ul li a{ transition:color .25s ease; }
  footer ul li a:hover{ color: var(--gold-light); }
  footer .contact-line{ display:flex; align-items:center; gap:10px; margin-bottom:14px; font-size:0.86rem; }
  footer .contact-line svg{ width:16px; height:16px; fill:var(--gold); flex-shrink:0; }
  .footer-bottom{
    border-top:1px solid rgba(255,255,255,0.1); padding-top:26px;
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; font-size:0.78rem;
  }

  /* ===== Floating WhatsApp ===== */
  .float-whatsapp{
    position:fixed; bottom:26px; right:26px; width:60px; height:60px; border-radius:50%;
    background: var(--whatsapp); display:flex; align-items:center; justify-content:center;
    box-shadow:0 10px 30px rgba(37,211,102,0.5); z-index:200; animation: pulse 2.4s infinite;
  }
  .float-whatsapp svg{ width:28px; height:28px; fill:#fff; }
  @keyframes pulse{
    0%{ box-shadow:0 10px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.5);}
    70%{ box-shadow:0 10px 30px rgba(37,211,102,0.5), 0 0 0 16px rgba(37,211,102,0);}
    100%{ box-shadow:0 10px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0);}
  }
  @media (prefers-reduced-motion: reduce){ .float-whatsapp{ animation:none; } }

  @media (max-width: 991px){
    .hero h1{ font-size:2.5rem; }
    .hero-visual{ min-height:380px; margin-bottom:40px; }
    .astrologer-frame{ width:260px; height:260px; }
    .zodiac-ring{ width:360px; height:360px; }
    .about-credentials{ grid-template-columns:1fr; }
  }
  @media (max-width: 576px){
    .hero{ padding:60px 0 60px; }
    .hero h1{ font-size:2.05rem; }
    .section-pad{ padding:64px 0; }
    .badge-float{ left:8px; }
  }
/* =========================================================
   MOBILE / RESPONSIVE FIXES
   Added to preserve the desktop design while preventing
   overflow and improving small-screen usability.
   ========================================================= */
html, body { width:100%; max-width:100%; }
body { overflow-x:hidden; }
.container-xl { width:100%; }
.row { --bs-gutter-x: 1.5rem; }

/* Keep long words/URLs from forcing the viewport wider. */
h1, h2, h3, h4, h5, h6, p, a, li, span, label, button { overflow-wrap:break-word; }

/* Bootstrap mobile navigation */
.navbar-astro .navbar-toggler {
  padding:7px 8px;
  border:1px solid var(--line) !important;
  border-radius:8px;
  background:#fff;
}
.navbar-astro .navbar-toggler-icon {
  width:1.25rem;
  height:1.25rem;
}

/* Prevent flex children from forcing columns wider than the viewport. */
.hero .row > [class*="col-"],
.book-section .row > [class*="col-"],
footer .row > [class*="col-"] { min-width:0; }

/* Form controls should never exceed their parent. */
.book-card, .book-info, .problem-card, .service-card, .testimonial-card { min-width:0; }
.form-control, .form-select { max-width:100%; }

@media (max-width: 991.98px) {
  .navbar-astro { padding-top:10px; padding-bottom:10px; }
  .navbar-astro .container { padding-left:16px; padding-right:16px; }
  .navbar-astro .navbar-brand { font-size:1.35rem; max-width:calc(100% - 58px); }
  .navbar-astro .navbar-collapse {
    background:rgba(251,248,242,0.98);
    margin:10px -4px 0;
    padding:8px 12px 14px;
    border-top:1px solid var(--line);
    border-radius:0 0 14px 14px;
    box-shadow:0 12px 30px rgba(26,33,56,.08);
  }
  .navbar-astro .navbar-nav { width:100%; margin:4px 0 12px !important; }
  .navbar-astro .nav-item { width:100%; }
  .navbar-astro .nav-link {
    margin:0;
    padding:9px 4px !important;
    font-size:.9rem;
  }
  .navbar-astro .navbar-collapse > .btn-whatsapp {
    width:100%;
    justify-content:center;
  }

  .hero { padding-top:110px !important; padding-bottom:55px; }
  .hero .row { row-gap:20px !important; }
  .hero h1 { font-size:clamp(2.15rem, 5vw, 2.7rem); }
  .hero p.sub { max-width:none; }
  .hero-visual { min-height:350px; margin-top:10px; margin-bottom:0; }
  .astrologer-frame { width:260px; height:260px; }
  .zodiac-ring { width:360px; height:360px; }
  .badge-float { left:50%; bottom:4px; transform:translateX(-50%); white-space:nowrap; max-width:calc(100% - 20px); }
  .badge-float strong, .badge-float span { overflow:hidden; text-overflow:ellipsis; }

  .section-head { margin-bottom:42px; padding-left:8px; padding-right:8px; }
  .section-head h2 { font-size:2.2rem; }
  .section-pad { padding:75px 0; }

  .book-card, .book-info { padding:32px 26px; }
  .book-info { height:auto; }
}

@media (max-width: 767.98px) {
  .container, .container-fluid { --bs-gutter-x:1.25rem; }
  .hero { padding-top:105px !important; }
  .hero h1 { font-size:clamp(2rem, 8vw, 2.45rem); line-height:1.1; margin-top:15px; }
  .hero p.sub { font-size:.98rem; line-height:1.65; }
  .eyebrow { letter-spacing:.14em; font-size:.64rem; }
  .hero-ctas { gap:12px; margin-bottom:30px; }
  .hero-ctas .btn-whatsapp.btn-lg-custom { width:100%; justify-content:center; }
  .hero-ctas .call-link { width:100%; justify-content:flex-start; }
  .hero-stats { gap:20px; padding-top:22px; }
  .hero-stats .stat { flex:1 1 calc(50% - 20px); }
  .hero-stats .stat h3 { font-size:1.65rem; }
  .hero-visual { min-height:315px; }
  .astrologer-frame { width:min(250px, 68vw); height:min(250px, 68vw); }
  .zodiac-ring { width:min(335px, 92vw); height:min(335px, 92vw); }
  .badge-float { bottom:-2px; padding:10px 12px; gap:8px; border-radius:12px; max-width:94%; }
  .badge-float .dot { width:32px; height:32px; }
  .badge-float .dot svg { width:15px; height:15px; }
  .badge-float strong { font-size:.82rem; }
  .badge-float span { font-size:.65rem; }

  .trustbar { padding:20px 0; }
  .trustbar .item { font-size:.72rem; line-height:1.3; text-align:center; gap:6px; }
  .trustbar .item svg { width:15px; height:15px; }
 
  .section-pad { padding:60px 0; }
  .section-head { margin-bottom:34px; }
  .section-head h2 { font-size:clamp(1.8rem, 7vw, 2.15rem); }
  .section-head p { font-size:.92rem; }

  .problem-card .img-wrap { height:248px; }
  .problem-card .card-body-custom { padding:34px 20px 22px;  }
  .problem-card h4 { font-size:24px; }

  .process-step { padding:0 20px; }
  .book-card, .book-info { padding:26px 20px; border-radius:16px; }
  .book-card .row { --bs-gutter-y:1rem; }
  .book-card .btn-book-submit { width:100%; justify-content:center; }
  .book-info h3 { font-size:1.55rem; }
  .book-info .quick-contact .btn-whatsapp,
  .book-info .quick-contact .btn-ghost-light { width:100%; text-align:center; justify-content:center; }

  .about-photo { min-height:340px; }
  .about-credentials { gap:12px; }
  .cred { font-size:.82rem; }

  .testimonial-card { padding:28px 22px; }
  .final-cta { padding:65px 0; }
  .final-cta h2 { font-size:clamp(1.9rem, 7vw, 2.3rem); }
  .final-cta .ctas { gap:12px; }
  .final-cta .ctas .btn-whatsapp,
  .final-cta .ctas .btn-ghost-light { width:100%; justify-content:center; text-align:center; }

  footer { padding:55px 0 25px; }
  .footer-bottom { flex-direction:column; gap:8px; }

  .float-whatsapp { width:54px; height:54px; right:15px; bottom:15px; }
  .float-whatsapp svg { width:25px; height:25px; }
}

@media (max-width: 380px) {
  .navbar-astro .navbar-brand { font-size:1.18rem; }
  .hero { padding-top:100px !important; }
  .hero h1 { font-size:1.88rem; }
  .hero p.sub { font-size:.92rem; }
  .hero-visual { min-height:285px; }
  .astrologer-frame { width:215px; height:215px; }
  .zodiac-ring { width:285px; height:285px; }
  .badge-float { font-size:.7rem; }
  .badge-float strong { font-size:.75rem; }
  .badge-float span { font-size:.59rem; }
  .trustbar .item { font-size:.66rem; }
}

/* Extra-small devices: make every section respect viewport padding. */
@media (max-width: 320px) {
  .container, .container-fluid { --bs-gutter-x:1rem; }
  .hero h1 { font-size:1.72rem; }
  .hero-ctas .btn-whatsapp { padding-left:18px; padding-right:18px; }
  .badge-float { max-width:100%; padding:8px 9px; }
  .badge-float .dot { display:none; }
}

/* FINAL MOBILE WIDTH / HORIZONTAL SCROLL FIX */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Bootstrap rows/columns must never create a wider layout */
.container, .container-fluid, .container-xl,
.row, [class*="col-"] {
  min-width: 0;
  max-width: 1200px;
}

img, svg, video, iframe {
  max-width: 100%;
}

@media (max-width: 991.98px) {
  /* Keep the top bar completely inside the phone viewport */
  .navbar-astro .container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
  }

  .navbar-astro .navbar-brand {
    min-width: 0;
    flex: 1 1 auto;
    width: auto;
    max-width: calc(100% - 58px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .navbar-astro .navbar-toggler {
    flex: 0 0 auto;
    margin-left: auto;
  }

  /* Mobile menu drops below the logo/toggler instead of extending sideways */
  .navbar-astro .navbar-collapse {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .navbar-astro .navbar-nav,
  .navbar-astro .nav-item,
  .navbar-astro .nav-link {
    max-width: 100%;
    min-width: 0;
  }

  .navbar-astro .nav-link {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 575.98px) {
  .container, .container-fluid, .container-xl {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .row {
    margin-left: calc(var(--bs-gutter-x) * -.5);
    margin-right: calc(var(--bs-gutter-x) * -.5);
  }

  .hero .container,
  .section-pad .container,
  footer .container {
    overflow: hidden;
  }

  .hero h1, .section-head h2, .final-cta h2 {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .btn-whatsapp,
  .btn-outline-midnight,
  .btn-ghost-light,
  .call-link {
    max-width: 100%;
  }
}

.fixed-call-icon {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  background-color: #0d6efd;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 99999;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.fixed-call-icon:hover {
  transform: scale(1.1);
  background-color: #084298;
}

@media (max-width: 768px) {
  .fixed-call-icon {
    left: 15px;
    bottom: 15px;
    width: 52px;
    height: 52px;
  }
   
}

.fixed-whatsapp-icon {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 99999;
  text-decoration: none;
  transition: transform 0.2s ease;
   z-index: 200;
    animation: pulse 2.4s infinite;
}

.fixed-whatsapp-icon:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

@media (max-width: 768px) {
  .fixed-whatsapp-icon {
    right: 15px;
    bottom: 15px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 768px) {
  .call-link {
    display:none;
  }
}

