/* ===== Thakur Ambulance Service – Theme ===== */
:root {
  --teal: #0e7c86;
  --teal-2: #0b5f66;
  --teal-3: #14a3ad;
  --mint: #e6f6f7;
  --mint-2: #f4fbfb;
  --lime: #7ac142;
  --lime-2: #5f9e2f;
  --coral: #e53935;
  --ink: #12333a;
  --muted: #5b7378;
  --white: #fff;
  --r: 24px;
  --shadow: 0 16px 40px rgba(14, 124, 134, 0.14);
  --font: "Nunito", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: 900; color: var(--ink); }
p { color: var(--muted); }
a { text-decoration: none; }
img { max-width: 100%; }
.text-teal { color: var(--teal) !important; }
.text-lime { color: var(--lime) !important; }
.text-coral { color: var(--coral) !important; }
.section { padding: 96px 0; position: relative; }
.bg-mint { background: var(--mint-2); }
.tagline { display: inline-flex; align-items: center; gap: 8px; background: var(--mint); color: var(--teal); border-radius: 999px; padding: 7px 18px; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; }
.tagline i { color: var(--coral); }
.sec-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.15; margin: 16px 0 18px; }
.sec-title span { color: var(--teal); position: relative; }
.sec-title span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 10px; background: rgba(122,193,66,.35); z-index: -1; border-radius: 4px; }

/* Buttons */
.btn-teal { background: var(--teal); color: #fff; border: 0; font-weight: 800; padding: 13px 30px; border-radius: 999px; transition: all .25s; box-shadow: 0 10px 24px rgba(14,124,134,.3); }
.btn-teal:hover { background: var(--teal-2); color: #fff; transform: translateY(-3px); }
.btn-coral { background: var(--coral); color: #fff; border: 0; font-weight: 800; padding: 13px 30px; border-radius: 999px; transition: all .25s; box-shadow: 0 10px 24px rgba(229,57,53,.3); }
.btn-coral:hover { background: #c62828; color: #fff; transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); font-weight: 800; padding: 11px 28px; border-radius: 999px; transition: all .25s; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-white { background: #fff; color: var(--teal); border: 0; font-weight: 800; padding: 13px 30px; border-radius: 999px; transition: all .25s; }
.btn-white:hover { background: var(--mint); color: var(--teal-2); transform: translateY(-3px); }

/* Emergency bar */
.ebar { background: var(--coral); color: #fff; font-weight: 800; font-size: .85rem; text-align: center; padding: 8px 0; }
.ebar a { color: #fff; text-decoration: underline; }

/* Navbar */
.navbar-tas { background: #fff; padding: 12px 0; box-shadow: 0 4px 24px rgba(14,124,134,.08); position: sticky; top: 0; z-index: 1000; }
.navbar-tas .navbar-brand img { height: 56px; width: auto; }
.navbar-tas .nav-link { color: var(--ink); font-weight: 800; padding: 10px 16px !important; border-radius: 999px; transition: all .25s; }
.navbar-tas .nav-link:hover, .navbar-tas .nav-link.active { background: var(--mint); color: var(--teal); }
.navbar-tas .call-block { display: flex; align-items: center; gap: 12px; background: var(--mint); border-radius: 999px; padding: 6px 18px 6px 6px; }
.navbar-tas .call-block .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; animation: ringpulse 2s infinite; }
.navbar-tas .call-block small { display: block; font-size: .68rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.navbar-tas .call-block strong { color: var(--ink); font-size: .95rem; }
@keyframes ringpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(229,57,53,.5); } 70% { box-shadow: 0 0 0 12px rgba(229,57,53,0); } }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, var(--mint-2), #fff); padding: 80px 0 0; overflow: hidden; }
.hero .blob { position: absolute; right: -10%; top: -20%; width: 60%; height: 130%; background: radial-gradient(circle at 40% 40%, var(--mint), transparent 70%); z-index: 0; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.08; }
.hero h1 span { color: var(--teal); }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .lead { font-size: 1.12rem; }
.hero-img { position: relative; }
.hero-img .art { border-radius: 300px 300px var(--r) var(--r); overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.hero-img .art img { display: block; width: 100%; }
.hero-img .pill { position: absolute; background: #fff; border-radius: 999px; padding: 12px 20px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); font-weight: 800; }
.hero-img .pill .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.hero-img .p1 { left: -30px; top: 30%; animation: floaty 5s ease-in-out infinite; }
.hero-img .p2 { right: -20px; bottom: 18%; animation: floaty 6s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-features { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; }
.hero-features span { font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.hero-features i { color: var(--lime); font-size: 1.2rem; }
.wave { display: block; width: 100%; height: 80px; }

/* Quick action cards */
.quick { margin-top: -60px; position: relative; z-index: 2; }
.quick-card { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); display: flex; gap: 18px; align-items: flex-start; height: 100%; border-bottom: 5px solid var(--teal); transition: transform .3s; }
.quick-card:hover { transform: translateY(-6px); }
.quick-card.c2 { border-color: var(--coral); }
.quick-card.c3 { border-color: var(--lime); }
.quick-card .ic { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; background: var(--mint); color: var(--teal); display: grid; place-items: center; font-size: 1.5rem; }
.quick-card.c2 .ic { background: #fdecea; color: var(--coral); }
.quick-card.c3 .ic { background: #eef8e4; color: var(--lime-2); }
.quick-card h5 { font-size: 1.05rem; margin-bottom: 4px; }
.quick-card p { margin: 0; font-size: .92rem; }

/* Service cards */
.svc { background: #fff; border-radius: var(--r); padding: 34px 28px; height: 100%; border: 1px solid #e3eeef; transition: all .3s; position: relative; overflow: hidden; }
.svc::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: var(--mint); right: -60px; top: -60px; transition: transform .4s; }
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { transform: scale(1.4); }
.svc .ic { width: 66px; height: 66px; border-radius: 20px; background: linear-gradient(135deg, var(--teal-3), var(--teal)); color: #fff; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 22px; position: relative; box-shadow: 0 10px 20px rgba(14,124,134,.3); }
.svc h4 { font-size: 1.15rem; position: relative; }
.svc p { position: relative; margin-bottom: 14px; font-size: .95rem; }
.svc a { color: var(--teal); font-weight: 800; position: relative; }
.svc a i { transition: transform .3s; display: inline-block; }
.svc a:hover i { transform: translateX(6px); }

/* About split */
.about-art { position: relative; }
.about-art .main { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.about-art .main img { display: block; width: 100%; }
.about-art .exp { position: absolute; bottom: -24px; right: -10px; background: var(--teal); color: #fff; border-radius: 20px; padding: 22px 26px; text-align: center; box-shadow: var(--shadow); }
.about-art .exp strong { font-size: 2.6rem; line-height: 1; display: block; }
.about-art .exp small { font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: .7rem; }
.about-art .dots { position: absolute; left: -30px; top: -30px; width: 140px; height: 140px; background-image: radial-gradient(var(--lime) 3px, transparent 3px); background-size: 18px 18px; opacity: .5; z-index: -1; }
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-weight: 700; color: var(--ink); }
.check-list li i { color: var(--lime); font-size: 1.25rem; line-height: 1.3; }

/* Process */
.proc { text-align: center; padding: 30px 20px; position: relative; }
.proc .n { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px; background: #fff; border: 3px dashed var(--teal-3); display: grid; place-items: center; font-size: 1.9rem; color: var(--teal); position: relative; }
.proc .n b { position: absolute; top: -8px; right: -8px; width: 30px; height: 30px; border-radius: 50%; background: var(--coral); color: #fff; font-size: .8rem; display: grid; place-items: center; }
.proc h5 { font-size: 1.05rem; }
.proc p { font-size: .92rem; margin: 0; }
@media (min-width: 992px) { .proc:not(:last-child)::after { content: ""; position: absolute; top: 70px; right: -20%; width: 40%; height: 2px; border-top: 2px dashed #b7dfe2; } }

/* Stats */
.stats { background: linear-gradient(135deg, var(--teal), var(--teal-2)); color: #fff; padding: 70px 0; border-radius: 40px; margin: 0 20px; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px); background-size: 22px 22px; }
.stat { text-align: center; position: relative; }
.stat i { font-size: 2rem; color: var(--lime); }
.stat strong { display: block; font-size: 2.6rem; line-height: 1.1; margin: 8px 0 4px; }
.stat span { font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: .72rem; opacity: .9; }

/* Fleet */
.fleet { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid #e3eeef; height: 100%; transition: all .3s; }
.fleet:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fleet .top { background: var(--mint); padding: 26px; }
.fleet .top img { width: 100%; display: block; }
.fleet .body { padding: 24px; }
.fleet h5 { font-size: 1.05rem; }
.fleet .tag { display: inline-block; background: #eef8e4; color: var(--lime-2); font-weight: 800; font-size: .72rem; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; margin-bottom: 8px; }
.fleet ul { padding-left: 18px; margin: 10px 0 0; color: var(--muted); font-size: .9rem; }

/* Testimonials */
.testi { background: #fff; border-radius: var(--r); padding: 32px; height: 100%; border: 1px solid #e3eeef; position: relative; }
.testi .q { position: absolute; top: 18px; right: 24px; font-size: 3.5rem; color: var(--mint); font-family: Georgia, serif; line-height: 1; }
.testi .stars { color: #ffb300; margin-bottom: 10px; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi .av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-3), var(--teal)); color: #fff; display: grid; place-items: center; font-weight: 900; }
.testi .who small { display: block; color: var(--muted); }

/* Team */
.team { text-align: center; background: #fff; border-radius: var(--r); padding: 30px 24px; border: 1px solid #e3eeef; height: 100%; }
.team .av { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 16px; background: var(--mint); display: grid; place-items: center; font-size: 3rem; color: var(--teal); border: 4px solid #fff; box-shadow: var(--shadow); }
.team h5 { margin-bottom: 2px; }
.team small { color: var(--teal); font-weight: 800; }

/* FAQ */
.accordion-tas .accordion-item { border: 1px solid #e3eeef; border-radius: 18px !important; margin-bottom: 12px; overflow: hidden; }
.accordion-tas .accordion-button { font-weight: 800; color: var(--ink); background: #fff; box-shadow: none; padding: 20px 24px; }
.accordion-tas .accordion-button:not(.collapsed) { background: var(--mint); color: var(--teal); }
.accordion-tas .accordion-body { color: var(--muted); }

/* Page header */
.phead { background: linear-gradient(135deg, var(--mint-2), var(--mint)); padding: 90px 0 70px; position: relative; overflow: hidden; }
.phead::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(14,124,134,.08); }
.phead h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.phead h1 span { color: var(--teal); }
.phead .crumb a { color: var(--muted); font-weight: 700; }
.phead .crumb span { color: var(--teal); font-weight: 800; }

/* CTA */
.cta { background: var(--ink); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: -100px; top: -100px; width: 400px; height: 400px; border-radius: 50%; background: rgba(14,124,134,.35); filter: blur(40px); }
.cta::after { content: ""; position: absolute; right: -100px; bottom: -150px; width: 400px; height: 400px; border-radius: 50%; background: rgba(229,57,53,.3); filter: blur(50px); }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.cta p { color: #b9cfd2; }
.cta .big-num { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: #fff; display: inline-flex; align-items: center; gap: 14px; }
.cta .big-num i { width: 64px; height: 64px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; font-size: 1.6rem; animation: ringpulse 2s infinite; }

/* Contact */
.info-box { background: #fff; border: 1px solid #e3eeef; border-radius: var(--r); padding: 28px; text-align: center; height: 100%; transition: all .3s; }
.info-box:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.info-box .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--teal); display: grid; place-items: center; font-size: 1.6rem; margin: 0 auto 16px; }
.info-box h5 { font-size: 1rem; }
.info-box a, .info-box p { color: var(--muted); font-weight: 700; margin: 0; word-break: break-word; }
.info-box a:hover { color: var(--teal); }
.form-card { background: #fff; border-radius: var(--r); padding: 40px; box-shadow: var(--shadow); border: 1px solid #e3eeef; }
.form-card .form-control, .form-card .form-select { border-radius: 14px; padding: 13px 18px; border: 1.5px solid #dbe9ea; background: var(--mint-2); font-weight: 600; }
.form-card .form-control:focus, .form-card .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 .2rem rgba(14,124,134,.15); background: #fff; }
.form-card label { font-weight: 800; font-size: .85rem; }
.map-wrap { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }
.areas span { display: inline-block; background: var(--mint); color: var(--teal); padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 800; margin: 4px; }

/* Footer */
footer { background: var(--teal-2); color: #cfe7e9; padding: 70px 0 0; }
footer img { height: 62px; }
footer h6 { color: #fff; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; font-size: .85rem; margin-bottom: 18px; }
footer p { color: #cfe7e9; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 10px; }
footer ul a { color: #cfe7e9; font-weight: 700; transition: all .2s; }
footer ul a:hover { color: var(--lime); padding-left: 6px; }
footer .social a { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; margin-right: 8px; transition: all .3s; }
footer .social a:hover { background: var(--lime); transform: translateY(-4px); }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding: 20px 0; font-size: .85rem; }
.copy a { color: var(--lime); font-weight: 800; }

/* Floating */
.float-btn { position: fixed; right: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.6rem; z-index: 1100; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: transform .3s; }
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-wa { bottom: 96px; background: #25d366; }
.float-call { bottom: 24px; background: var(--coral); animation: ringpulse 2s infinite; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* Responsive */
@media (max-width: 991.98px) {
  .section { padding: 70px 0; }
  .hero { padding: 50px 0 0; }
  .hero-img { margin-top: 50px; }
  .hero-img .p1 { left: 0; } .hero-img .p2 { right: 0; }
  .navbar-tas .navbar-collapse { margin-top: 12px; }
  .navbar-tas .call-block { margin-top: 10px; display: inline-flex; }
  .quick { margin-top: -30px; }
  .stats { margin: 0; border-radius: 0; }
  .about-art .exp { right: 10px; }
  .phead { padding: 70px 0 50px; }
}
@media (max-width: 575.98px) {
  .navbar-tas .navbar-brand img { height: 46px; }
  .hero-img .art { border-radius: 200px 200px 20px 20px; }
  .hero-img .pill { padding: 9px 14px; font-size: .85rem; }
  .form-card { padding: 26px 20px; }
  .float-btn { width: 52px; height: 52px; font-size: 1.4rem; right: 16px; }
  .float-wa { bottom: 84px; } .float-call { bottom: 20px; }
  .stat strong { font-size: 2rem; }
}
