/* =====================================================================
   BodyMind Insights — WELLNESS THEME
   Futuristic, glassy, health-tech aesthetic inspired by the hero brain art.
   Loaded AFTER clarity-main.css. Light canvas · dotted texture · soft glows
   · glassmorphism cards · blue→green gradient accents.
   ===================================================================== */

/* ---------- 1. Global canvas ---------- */
html { background-color: #eef6fc !important; }
body {
  background-color: #eef6fc !important;
  background-image:
    radial-gradient(900px 560px at 100% 2%, rgba(8,119,174,.09), transparent 55%),
    radial-gradient(720px 460px at 50% 118%, rgba(8,119,174,.05), transparent 62%),
    linear-gradient(180deg, #f9fcff 0%, #eef6fc 100%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}
/* subtle dotted texture, fixed behind everything, faded at edges */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(8,119,174,.08) 1px, transparent 1.3px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 115% 105% at 50% 32%, #000 42%, transparent 96%);
  mask-image: radial-gradient(ellipse 115% 105% at 50% 32%, #000 42%, transparent 96%);
  opacity: .55;
}

/* Sections ride on the canvas; light-background becomes a frosted glass band */
main.main .section { background-color: transparent !important; position: relative; z-index: 1; }
.section.light-background {
  background: linear-gradient(180deg, rgba(255,255,255,.68), rgba(235,245,252,.55)) !important;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,.6);
  border-bottom: 1px solid rgba(8,119,174,.06);
}

/* soft decorative gradient blobs behind a few sections */
#why-us::before, #team::before, .services.section:first-of-type::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(38,198,218,.16), transparent 70%);
  top: -120px; right: -140px; z-index: 0; pointer-events: none; filter: blur(6px);
}
#team::before { background: radial-gradient(closest-side, rgba(8,119,174,.12), transparent 70%); left: -160px; right: auto; top: 40px; }

/* ---------- 2. Hero ---------- */
.hero { background: transparent !important; }
.hero .container > .row { align-items: center; }
.hero .hero-visual { display: flex; align-items: center; justify-content: center; }
/* transparent brain art sits directly on the hero background — no card/box */
.hero-image.hero-brain {
  position: relative; width: 100%; max-width: 640px; margin: 0 auto;
  background: none; border: none; border-radius: 0; box-shadow: none; padding: 0;
}
/* soft ambient cyan/green bloom behind the brain, blended into the hero canvas */
.hero-brain::before {
  content: ""; position: absolute; inset: 4% 6%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(8,119,174,.20), rgba(38,198,218,.10), transparent 72%);
  filter: blur(34px);
}
.hero-brain img {
  position: relative; z-index: 1; width: 100%; display: block;
  filter: saturate(1.05) contrast(1.02) drop-shadow(0 22px 40px rgba(8,119,174,.20));
}
.hero .hero-content h1 { text-shadow: 0 1px 0 rgba(255,255,255,.4); }
@media (min-width: 992px) { .hero .hero-content { padding-right: 12px; } }

/* ---------- 3. Glassmorphism cards ---------- */
.service-card, .feature-card, .testimonial-card, .leader-card, .vm-card, .tier-card,
.download-card, .tip-card, .info-tile, .contact-form-card, .stats-card, .method-card,
.blog-card, .team-intro, .featured-post, .subscribe-band {
  background: rgba(255,255,255,.62) !important;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.75) !important;
  box-shadow: 0 12px 40px -14px rgba(8,119,174,.20), inset 0 1px 0 rgba(255,255,255,.7) !important;
  border-radius: 22px !important;
}
.service-card:hover, .feature-card:hover, .tier-card:hover, .blog-card:hover,
.download-card:hover, .leader-card:hover, .info-tile:hover, .tip-card:hover {
  box-shadow: 0 26px 60px -18px rgba(8,119,174,.32) !important;
  border-color: rgba(8,119,174,.28) !important;
  transform: translateY(-6px);
}
/* keep the accent CTA/subscribe/gradient banners opaque (see §6) */
.subscribe-band { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- 4. Glassy glowing icon circles + gradient (blue→green) icons ---------- */
.service-icon, .feature-card .icon-wrapper, .vm-icon, .tier-icon {
  background: rgba(255,255,255,.7) !important;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(8,119,174,.22) !important;
  box-shadow: 0 10px 26px -8px rgba(8,119,174,.30), 0 0 0 6px rgba(255,255,255,.55),
              inset 0 0 14px rgba(114,183,68,.14) !important;
}
.service-icon i, .feature-card .icon-wrapper i, .vm-icon i, .tier-icon i,
.tip-ic, .info-tile .it-ic i, .dl-icon i, .method-card .card-icon i, .header-icon i {
  color: var(--accent-color) !important;
  -webkit-text-fill-color: var(--accent-color);
}
/* frosted small icon tiles too */
.method-card .card-icon, .info-tile .it-ic, .dl-icon, .header-icon {
  background: rgba(255,255,255,.72) !important; border: 1px solid rgba(8,119,174,.15) !important;
  box-shadow: 0 8px 20px -8px rgba(8,119,174,.25), 0 0 0 5px rgba(255,255,255,.5) !important;
}
.dl-icon i { font-size: 1.6rem; }

/* ---------- 5. Buttons — solid blue, matching the "Book Now" button ---------- */
.btn-primary, .submit-btn, .service-card .service-badge {
  background: var(--accent-color) !important;
  border: none !important;
  box-shadow: 0 14px 28px -12px rgba(8,119,174,.45) !important;
}
.btn-primary:hover, .submit-btn:hover {
  background: #066a9c !important;
  box-shadow: 0 18px 34px -12px rgba(8,119,174,.55) !important;
  transform: translateY(-2px);
}
.btn-outline { background: rgba(255,255,255,.5) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1.5px solid var(--accent-color) !important; color: var(--accent-color) !important; }
.btn-outline:hover { background: var(--accent-color) !important; color: #fff !important; }

/* ---------- 6. Colorful (not dark) CTA + subscribe bands ---------- */
.cta-banner {
  background: var(--accent-color) !important;
  box-shadow: 0 26px 60px -20px rgba(8,119,174,.5);
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.subscribe-band { background: var(--accent-color) !important; }
.subscribe-band .sb-form button { background: #0e2f45 !important; }

/* ---------- 7. Light, glassy footer (avoid dark) ---------- */
.footer.dark-background {
  --background-color: #eaf4fb; --default-color: #4b5563; --heading-color: #0e2f45;
  --contrast-color: #0e2f45; --surface-color: #ffffff;
  background: linear-gradient(180deg, rgba(255,255,255,.65), #e7f2fb) !important;
  border-top: 1px solid rgba(8,119,174,.14);
}
.footer.dark-background .footer-about p,
.footer.dark-background .footer-links a,
.footer.dark-background .copyright,
.footer.dark-background .copyright p { color: #4b5563 !important; }
.footer.dark-background h4, .footer.dark-background .sitename,
.footer.dark-background .footer-links a:hover { color: #0e2f45 !important; }
.footer.dark-background .footer-links a:hover { color: var(--accent-color) !important; }
.footer.dark-background .social-links a {
  color: var(--accent-color) !important; background: rgba(8,119,174,.08); border: 1px solid rgba(8,119,174,.15);
}
.footer.dark-background .social-links a:hover { background: var(--accent-color) !important; color: #fff !important; }
.footer.dark-background .credits a { color: var(--accent-color) !important; }

/* ---------- 8. Header glass polish ---------- */
.header .header-container {
  background: rgba(255,255,255,.72) !important;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 10px 30px -12px rgba(8,119,174,.2) !important;
}

/* ---------- 9. Stat numbers, quotes, misc accents ---------- */
.stat-number, .stats-item h3, .featured-post .fp-body h2 span { color: var(--accent-color); }
.testimonial-card .quote-mark i { color: color-mix(in srgb, var(--accent-color), transparent 55%); }
.timeline::before { background: var(--accent-color); opacity: .3; }
.process-step .step-num { box-shadow: 0 14px 30px -10px rgba(8,119,174,.45), 0 0 0 6px rgba(255,255,255,.6) !important; }

/* page-title a touch more air + gradient underline vibe */
.page-title { padding-top: 34px; }
.page-title .title-wrapper h1 { text-shadow: 0 1px 0 rgba(255,255,255,.5); }

/* soft gradient fade divider under each section title */
.section-title h2 { position: relative; }

/* ---------- 10. "Our Team" intro glass panel ---------- */
/* The wellness theme turns .team-intro into a glass card (see §3) but it shipped
   with no internal padding, so the heading/text/stats were pressed against the
   card edges. Give it breathing room and center it when it stacks above the grid. */
.team .team-intro {
  padding: 36px 38px;
  height: auto;
}
.team .team-intro .intro-content .stats-row { margin-top: 4px; }
@media (max-width: 991.98px) {
  /* stacked above the hexagon grid → read as a centered intro panel */
  .team .row > .col-lg-5 { display: flex; justify-content: center; }
  .team .team-intro { max-width: 640px; margin-inline: auto; text-align: center; }
  .team .team-intro .intro-content .stats-row { justify-content: center; gap: 44px; }
}
@media (max-width: 575px) {
  .team .team-intro { padding: 26px 24px; }
  .team .team-intro .intro-content .stats-row { gap: 28px; }
}

/* ---------- 11. Blog single (article) ---------- */
.page-title .blog-cat { display: inline-block; margin-bottom: 10px; }
.blog-single .post-full {
  background: rgba(255,255,255,.66);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 12px 40px -14px rgba(8,119,174,.20);
  border-radius: 22px;
  padding: 14px 14px 26px;
}
.blog-single .post-hero img { width: 100%; border-radius: 16px; margin-bottom: 24px; }
.blog-single .post-content { padding: 0 20px; color: var(--default-color); font-size: 1.06rem; line-height: 1.85; }
.blog-single .post-content h2, .blog-single .post-content h3, .blog-single .post-content h4 { color: var(--heading-color); margin: 1.7rem 0 .8rem; }
.blog-single .post-content p { margin-bottom: 1.15rem; }
.blog-single .post-content img { max-width: 100%; border-radius: 12px; margin: 1rem 0; }
.blog-single .post-content ul, .blog-single .post-content ol { margin: 0 0 1.15rem 1.2rem; }
.blog-single .post-content blockquote { margin: 1.4rem 0; padding: 6px 20px; border-left: 4px solid var(--accent-color); color: var(--heading-color); font-style: italic; }
.blog-single .post-content a { color: var(--accent-color); text-decoration: underline; }
.blog-single .post-foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 22px 20px 0; margin-top: 24px; border-top: 1px solid rgba(8,119,174,.12);
}
.blog-single .post-share { display: flex; align-items: center; gap: 10px; }
.blog-single .post-share span { color: var(--default-color); font-weight: 500; }
.blog-single .post-share a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--accent-color); background: rgba(8,119,174,.08);
  border: 1px solid rgba(8,119,174,.16); transition: background .2s, color .2s;
}
.blog-single .post-share a:hover { background: var(--accent-color); color: #fff; }
.blog-single .related-posts { margin-top: 56px; }
.blog-single .related-title { color: var(--heading-color); margin-bottom: 22px; font-size: 1.5rem; }

/* ---------- 12. Flatten remaining blue→green gradients to solid brand colour ---------- */
.process-step .step-num { background: var(--accent-color) !important; }
.services .service-badge, .service-card .service-badge { background: var(--accent-2-color) !important; }

/* reduce motion safety */
@media (prefers-reduced-motion: reduce) {
  body { background-attachment: scroll !important; }
}
