/* Instant Health Cares — main stylesheet */
:root {
  --em: #059669;
  --em-d: #047857;
  --ink: #0b1f1a;
  --leaf: #d1fae5;
  --mint: #f0fdf6;
  --amber: #fbbf24;
  --text: #4b5f58;
  --line: #d9e8e1;
  --radius: 18px;
  --shadow: 0 24px 46px -26px rgba(11, 31, 26, .55);
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Mulish', system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font-body); color: var(--text); background: #fff; line-height: 1.75; overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; font-weight: 600; letter-spacing: -.4px; }
a { color: var(--em-d); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; }
section { position: relative; }
.section-pad { padding: 100px 0; }
.bg-mint { background: var(--mint); }

/* ---------- Buttons ---------- */
.btn { border-radius: 50px; font-weight: 800; padding: .8rem 1.9rem; transition: all .3s; font-family: var(--font-head); letter-spacing: .2px; }
.btn-em { background: var(--em); border: 2px solid var(--em); color: #fff; }
.btn-em:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-3px); box-shadow: 0 14px 24px -14px var(--ink); }
.btn-amber { background: var(--amber); border: 2px solid var(--amber); color: var(--ink); }
.btn-amber:hover { background: #fff; border-color: #fff; color: var(--em-d); transform: translateY(-3px); }
.btn-outline-em { border: 2px solid var(--em); color: var(--em-d); background: transparent; }
.btn-outline-em:hover { background: var(--em); color: #fff; transform: translateY(-3px); }
.btn-ghost-w { border: 2px solid rgba(255, 255, 255, .8); color: #fff; background: transparent; }
.btn-ghost-w:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }

/* ---------- Header ---------- */
.brand { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; flex-wrap: nowrap; text-decoration: none; }
.brand img { width: 44px; height: 44px; flex: 0 0 auto; }
.brand-text { font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; color: var(--ink); white-space: nowrap; line-height: 1; letter-spacing: -.5px; }
.brand-text em { font-style: normal; color: var(--em); }
.brand:hover .brand-text { color: var(--ink); }
.brand.light .brand-text { color: #fff; }
.brand.light .brand-text em { color: var(--amber); }
@media (max-width: 420px) { .brand-text { font-size: 1.15rem; } .brand img { width: 34px; height: 34px; } }
.site-nav { background: #fff; padding: .8rem 0; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.site-nav.scrolled { box-shadow: 0 12px 28px -18px rgba(11, 31, 26, .55); }
.site-nav .nav-link { font-family: var(--font-head); font-weight: 500; color: var(--ink); padding: .5rem 1.05rem !important; border-radius: 40px; }
.site-nav .nav-link:hover { color: var(--em-d); background: var(--mint); }
.site-nav .nav-link.active { color: #fff; background: var(--em); }
.call-pill { display: inline-flex; align-items: center; gap: .65rem; background: var(--ink); color: #fff; border-radius: 50px; padding: .4rem 1.3rem .4rem .4rem; transition: all .3s; line-height: 1.2; }
.call-pill:hover { background: var(--em); color: #fff; transform: translateY(-2px); }
.call-pill i { width: 42px; height: 42px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; }
.call-pill small { display: block; font-size: .7rem; opacity: .75; text-transform: uppercase; letter-spacing: 1px; }
.call-pill b { font-family: var(--font-head); font-size: 1.02rem; }

/* ---------- Hero carousel (single row banner) ---------- */
.hero .carousel-item { height: min(78vh, 640px); min-height: 480px; background: var(--ink); }
.hero .carousel-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .carousel-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(11, 31, 26, .92) 15%, rgba(5, 150, 105, .55) 60%, rgba(5, 150, 105, .1)); }
.hero .caption { position: absolute; z-index: 3; inset: 0; display: flex; align-items: center; }
.hero .caption .box { max-width: 640px; color: #fff; }
.hero-tag { display: inline-flex; gap: .5rem; align-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); padding: .35rem 1rem; border-radius: 40px; font-weight: 700; font-size: .88rem; margin-bottom: 1.2rem; backdrop-filter: blur(6px); }
.hero-tag i { color: var(--amber); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.5rem); }
.hero h1 span { color: var(--amber); }
.hero p { color: rgba(255, 255, 255, .88); font-size: 1.15rem; max-width: 540px; }
.hero .carousel-indicators { z-index: 4; margin-bottom: 1.6rem; }
.hero .carousel-indicators [data-bs-target] { width: 12px; height: 12px; border-radius: 50%; border: 0; background: #fff; opacity: .5; margin: 0 5px; }
.hero .carousel-indicators .active { width: 36px; border-radius: 12px; background: var(--amber); opacity: 1; }
.hero .carousel-control-prev, .hero .carousel-control-next { z-index: 4; width: 8%; }
.hero .ctl { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; color: #fff; font-size: 1.2rem; transition: background .3s; backdrop-filter: blur(6px); }
.hero .ctl:hover { background: var(--em); }
@media (max-width: 575px) { .hero .carousel-item { min-height: 520px; } .hero .carousel-control-prev, .hero .carousel-control-next { display: none; } }

/* feature strip */
.feat-strip { background: var(--ink); color: #fff; }
.feat-strip .f { display: flex; gap: .9rem; align-items: center; padding: 1.5rem 1rem; height: 100%; }
.feat-strip .f + .f { border-left: 1px solid rgba(255, 255, 255, .14); }
.feat-strip i { font-size: 1.8rem; color: var(--amber); }
.feat-strip strong { font-family: var(--font-head); display: block; line-height: 1.2; }
.feat-strip small { color: rgba(255, 255, 255, .65); }
@media (max-width: 767px) { .feat-strip .f + .f { border-left: 0; } .feat-strip .f { padding: .9rem 1rem; } }

/* ---------- Headings ---------- */
.section-head { max-width: 680px; margin: 0 auto 3.2rem; text-align: center; }
.section-head.text-start { margin-left: 0; }
.s-tag { display: inline-flex; align-items: center; gap: .5rem; color: var(--em-d); font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: .8rem; }
.s-tag::before { content: ''; width: 24px; height: 3px; background: var(--amber); border-radius: 3px; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); }

/* ---------- About ---------- */
.about-fig { position: relative; }
.about-fig img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 40px 40px 140px 40px; box-shadow: var(--shadow); }
.about-fig::before { content: ''; position: absolute; left: -20px; top: -20px; width: 55%; height: 55%; background: var(--leaf); border-radius: 40px; z-index: -1; }
.mini-box { display: flex; gap: .9rem; align-items: center; background: var(--mint); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; height: 100%; }
.mini-box i { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; background: var(--em); color: #fff; display: grid; place-items: center; font-size: 1.3rem; }
.mini-box strong { color: var(--ink); font-family: var(--font-head); line-height: 1.25; }

/* ---------- Why ---------- */
.why-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.8rem; height: 100%; transition: all .4s; }
.why-card .wm { position: absolute; right: -12px; bottom: -22px; font-size: 7rem; color: var(--leaf); transition: all .4s; line-height: 1; }
.why-card .ic { width: 58px; height: 58px; border-radius: 16px; background: var(--leaf); color: var(--em-d); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1.2rem; position: relative; transition: all .4s; }
.why-card h3, .why-card p { position: relative; }
.why-card h3 { font-size: 1.3rem; }
.why-card p { margin: 0; transition: color .4s; }
.why-card:hover { background: var(--em); border-color: var(--em); transform: translateY(-8px); box-shadow: var(--shadow); }
.why-card:hover h3 { color: #fff; }
.why-card:hover p { color: rgba(255, 255, 255, .88); }
.why-card:hover .ic { background: var(--amber); color: var(--ink); }
.why-card:hover .wm { color: rgba(255, 255, 255, .13); transform: scale(1.15) rotate(-6deg); }

/* ---------- Services ---------- */
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: all .4s; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .thumb img { transform: scale(1.1); }
.service-card .chip { position: absolute; left: 14px; top: 14px; width: 44px; height: 44px; border-radius: 12px; background: var(--em); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .5); }
.service-card .body { padding: 1.5rem 1.4rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.2rem; }
.service-card p { font-size: .96rem; flex: 1; }
.service-card .btn { align-self: flex-start; padding: .55rem 1.35rem; font-size: .92rem; }

/* ---------- Testimonials ---------- */
.bubble { position: relative; background: #fff; border-radius: var(--radius); padding: 2.2rem 2rem; box-shadow: 0 14px 34px -22px rgba(11, 31, 26, .5); height: calc(100% - 78px); transition: transform .35s; border: 1px solid var(--line); }
.bubble::after { content: ''; position: absolute; left: 44px; bottom: -14px; width: 28px; height: 28px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.t-col:hover .bubble { transform: translateY(-6px); }
.bubble .qm { font-size: 2.4rem; color: var(--em); line-height: 1; opacity: .3; }
.bubble .stars { color: #f6b100; letter-spacing: 2px; margin-bottom: .5rem; }
.bubble p { margin: 0; color: var(--ink); font-weight: 500; }
.t-who { display: flex; align-items: center; gap: .9rem; margin: 1.6rem 0 0 .6rem; }
.t-who .av { width: 52px; height: 52px; border-radius: 50%; background: var(--em); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }
.t-who strong { display: block; color: var(--ink); font-family: var(--font-head); line-height: 1.2; }
.t-who small { color: var(--text); }

/* ---------- Blog ---------- */
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: all .4s; position: relative; }
.blog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.blog-card .thumb { aspect-ratio: 16 / 11; overflow: hidden; display: block; position: relative; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card:hover .thumb img { transform: scale(1.08); }
.ribbon { position: absolute; z-index: 2; left: 0; top: 18px; background: var(--amber); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .82rem; padding: .3rem 1rem .3rem .9rem; border-radius: 0 40px 40px 0; box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .5); }
.blog-card .body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.28rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--em-d); }
.blog-card p { flex: 1; font-size: .98rem; }
.read-link { font-family: var(--font-head); font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }
.read-link i { transition: transform .3s; }
.read-link:hover i { transform: translateX(6px); }
.cat { display: inline-block; background: var(--leaf); color: var(--em-d); font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; padding: .2rem .8rem; border-radius: 40px; margin-bottom: .9rem; }

/* ---------- FAQ (tabs) ---------- */
.faq-tabs { display: flex; flex-direction: column; gap: .7rem; }
.faq-tabs .nav-link { text-align: left; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.3rem; display: flex; gap: .8rem; align-items: center; transition: all .3s; }
.faq-tabs .nav-link i { color: var(--em); }
.faq-tabs .nav-link:hover { border-color: var(--em); transform: translateX(6px); }
.faq-tabs .nav-link.active { background: var(--em); border-color: var(--em); color: #fff; transform: translateX(6px); }
.faq-tabs .nav-link.active i { color: var(--amber); }
.faq-panel { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2.6rem; height: 100%; min-height: 280px; position: relative; overflow: hidden; }
.faq-panel::after { content: '\F27E'; font-family: 'bootstrap-icons'; position: absolute; right: -10px; bottom: -40px; font-size: 11rem; color: rgba(255, 255, 255, .05); }
.faq-panel h3 { color: var(--amber); }
.faq-panel p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; position: relative; z-index: 1; }
.faq-panel .tab-pane { animation: fadeUp .5s; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--em-d), var(--em)); position: relative; overflow: hidden; color: #fff; }
.cta::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .08); right: -120px; top: -160px; }
.cta::after { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(251, 191, 36, .22); left: -80px; bottom: -110px; }
.cta .container { position: relative; z-index: 1; }
.cta { padding: 80px 0; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.cta p { color: rgba(255, 255, 255, .9); }
.cta .big-call { display: inline-flex; align-items: center; gap: 1rem; background: #fff; color: var(--ink); border-radius: 60px; padding: .6rem 2rem .6rem .6rem; font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; transition: all .3s; }
.cta .big-call i { width: 58px; height: 58px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; font-size: 1.5rem; }
.cta .big-call:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }

/* ---------- Inner banner ---------- */
.page-banner { background: linear-gradient(100deg, rgba(11, 31, 26, .92) 20%, rgba(5, 150, 105, .6)), var(--bg, none) center / cover, var(--ink); padding: 100px 0; color: #fff; text-align: center; }
.page-banner h1 { color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.6rem); max-width: 900px; margin: 0 auto; }
.page-banner p { color: rgba(255, 255, 255, .88); max-width: 620px; margin: 1rem auto 0; }
.crumbs { display: inline-block; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); border-radius: 40px; padding: .25rem 1.1rem; font-weight: 700; font-size: .85rem; margin-bottom: 1.2rem; color: #fff; }
.crumbs a { color: var(--amber); }

/* ---------- Contact & forms ---------- */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; text-align: center; height: 100%; transition: all .35s; }
.info-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--em); }
.info-card .ic { width: 66px; height: 66px; margin: 0 auto 1rem; border-radius: 50%; background: var(--leaf); color: var(--em-d); display: grid; place-items: center; font-size: 1.6rem; }
.info-card h3 { font-size: 1.3rem; }
.info-card p, .info-card a { margin: 0; color: var(--text); word-break: break-word; }
.info-card a:hover { color: var(--em-d); }
.form-box { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 2.5rem; box-shadow: var(--shadow); }
.form-control, .form-select { border-radius: 14px; padding: .85rem 1.1rem; border: 1.5px solid var(--line); background-color: var(--mint); }
.form-control:focus, .form-select:focus { border-color: var(--em); box-shadow: 0 0 0 .2rem rgba(5, 150, 105, .16); background-color: #fff; }
.form-label { font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .95rem; }
.map-wrap { border-radius: 26px; overflow: hidden; height: 100%; min-height: 420px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.form-success { display: none; background: var(--leaf); border: 1.5px solid var(--em); border-radius: 12px; padding: 1rem 1.2rem; color: #064e3b; font-weight: 700; }
.form-success.show { display: flex; gap: .7rem; align-items: center; animation: fadeUp .5s; }
.form-success i { font-size: 1.4rem; color: var(--em); }
.news-card { max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 3rem 2.6rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.news-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, var(--em), var(--amber)); }
.news-card .top-ic { width: 82px; height: 82px; border-radius: 24px; background: var(--em); color: #fff; display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 1.2rem; }
.news-card.alt .top-ic { background: var(--ink); color: var(--amber); }
.news-card form { margin-top: 1.6rem; }
@media (max-width: 575px) { .news-card { padding: 2.4rem 1.3rem; } .form-box { padding: 1.7rem 1.2rem; } }

/* ---------- Content pages ---------- */
.mv-card { border-radius: var(--radius); padding: 2.5rem; height: 100%; }
.mv-card i { font-size: 2.3rem; }
.mv-card p { margin: 0; }
.mv-card.a { background: var(--em); } .mv-card.a h3, .mv-card.a p { color: #fff; } .mv-card.a i { color: var(--amber); }
.mv-card.b { background: var(--ink); } .mv-card.b h3, .mv-card.b p { color: #fff; } .mv-card.b i { color: var(--amber); }
.val { text-align: center; padding: 2.2rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: all .35s; }
.val:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--em); }
.val i { font-size: 2.3rem; color: var(--em); }
.val p { margin: 0; }
.article-wrap { max-width: 800px; margin: 0 auto; }
.article-hero { border-radius: 28px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 2rem; box-shadow: var(--shadow); }
.article-wrap h2, .legal h2 { font-size: 1.65rem; margin: 2.2rem 0 .8rem; }
.article-wrap p, .legal p, .legal li { font-size: 1.07rem; }
.note-box { background: var(--leaf); border-left: 6px solid var(--em); padding: 1.1rem 1.4rem; border-radius: 0 14px 14px 0; margin: 2rem 0; font-size: 1rem; color: #064e3b; }
.legal { max-width: 860px; margin: 0 auto; }
.legal ul { padding-left: 1.2rem; }
.post-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 90px 0 0; position: relative; margin-top: 50px; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -49px; height: 50px; background: var(--ink); clip-path: ellipse(60% 100% at 50% 100%); }
.site-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1.2rem; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--amber); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer li i { color: var(--amber); margin-right: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding: 1.4rem 0; font-size: .92rem; }
.disclaimer { font-size: .88rem; color: rgba(255, 255, 255, .5); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
@media (max-width: 991px) { .section-pad { padding: 70px 0; } .faq-panel { min-height: 0; } }
