/* ===== Gurugram Ambulance Service – Theme =====
   Palette: emergency red + deep navy + white, sharp angular UI */
:root {
  --red: #c8102e;
  --red-bright: #ff3b3b;
  --red-soft: #fdecee;
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --navy-soft: #e8eef7;
  --grey: #5b6472;
  --line: #e2e7ee;
  --white: #ffffff;
  --cut: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--grey);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 1.02rem;
}
h1, h2, h3, h4, h5, h6 { font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 800; color: var(--navy); line-height: 1.1; text-transform: uppercase; letter-spacing: 0.5px; }
a { text-decoration: none; transition: 0.25s; }
img { max-width: 100%; }
.section { padding: 90px 0; }
.bg-navy { background: var(--navy); color: #c9d4e5; }
.bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5 { color: #fff; }
.bg-light-2 { background: #f5f7fb; }

.tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; color: var(--red); }
.tag::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.tag.light { color: #ff8a8a; } .tag.light::before { background: #ff8a8a; }
.title { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 18px; }
.title span { color: var(--red); }

/* Buttons – square-ish with slanted edge */
.btn-x { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; border: 2px solid transparent; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-bright); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); clip-path: none; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); clip-path: none; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* Top emergency bar */
.topbar { background: var(--red); color: #fff; font-size: 0.85rem; font-weight: 600; padding: 7px 0; }
.topbar .blink { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #fff; margin-right: 8px; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.topbar a { color: #fff; font-weight: 700; }

/* Navbar */
.navbar { background: var(--navy); padding: 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
.navbar .navbar-brand img { height: 56px; }
.navbar .nav-link { color: #c9d4e5 !important; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; padding: 26px 18px !important; position: relative; }
.navbar .nav-link.active, .navbar .nav-link:hover { color: #fff !important; }
.navbar .nav-link.active::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 4px; background: var(--red); }
.nav-emergency { display: flex; align-items: center; gap: 12px; background: var(--red); color: #fff; padding: 12px 22px; margin-left: 12px; }
.nav-emergency i { font-size: 1.6rem; }
.nav-emergency small { display: block; font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.85; }
.nav-emergency b { font-size: 1.05rem; }
.navbar-toggler { border: 2px solid rgba(255,255,255,0.4); }
.navbar-toggler-icon { filter: invert(1); }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1587745416684-47953f16f02f?auto=format&fit=crop&w=1600&q=80") center/cover; opacity: 0.22; filter: blur(2px); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy) 40%, rgba(11,31,58,0.88) 70%, rgba(200,16,46,0.6)); }
.hero .container { position: relative; z-index: 2; padding: 110px 12px 130px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
.hero h1 span { color: var(--red-bright); }
.hero p.lead { color: #c9d4e5; max-width: 560px; font-size: 1.15rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; }
.hero-badges div { display: flex; align-items: center; gap: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }
.hero-badges i { color: var(--red-bright); font-size: 1.3rem; }
.hero-stripes { position: absolute; right: -60px; bottom: -40px; width: 420px; height: 420px; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 18px, transparent 18px 44px); transform: skewX(-12deg); z-index: 1; }
.hero .cut { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); z-index: 3; }

/* Emergency call card */
.call-card { background: #fff; color: var(--navy); padding: 32px; border-top: 6px solid var(--red); box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.call-card .num { font-family: "Barlow Condensed", sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--red); display: block; line-height: 1; margin: 6px 0 10px; }
.call-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.call-card li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); font-weight: 600; font-size: 0.95rem; }
.call-card li i { color: var(--red); }

/* Stats strip */
.stats { margin-top: -60px; position: relative; z-index: 5; }
.stat { background: var(--navy); color: #fff; padding: 28px 24px; display: flex; align-items: center; gap: 18px; height: 100%; border-left: 5px solid var(--red); }
.stat i { font-size: 2.2rem; color: var(--red-bright); }
.stat b { font-family: "Barlow Condensed", sans-serif; font-size: 2.2rem; display: block; line-height: 1; }
.stat span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: #c9d4e5; }

/* Service cards – angled */
.serv { position: relative; background: #fff; border: 1px solid var(--line); padding: 34px 28px 28px; height: 100%; transition: 0.3s; overflow: hidden; }
.serv::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 5px; background: var(--red); transition: 0.35s; }
.serv:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11,31,58,0.12); }
.serv:hover::before { width: 100%; }
.serv .ic { width: 66px; height: 66px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.8rem; clip-path: polygon(25% 0, 100% 0, 100% 75%, 75% 100%, 0 100%, 0 25%); margin-bottom: 20px; }
.serv:hover .ic { background: var(--red); }
.serv h4 { font-size: 1.35rem; }
.serv .n { position: absolute; right: 18px; top: 14px; font-family: "Barlow Condensed", sans-serif; font-size: 3.5rem; font-weight: 800; color: var(--navy-soft); line-height: 1; }
.serv ul { list-style: none; padding: 0; margin: 14px 0 0; }
.serv li { padding: 5px 0; font-size: 0.95rem; display: flex; gap: 8px; } .serv li i { color: var(--red); }
.serv a { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; }

/* Why us – image + list */
.img-frame { position: relative; }
.img-frame img { width: 100%; height: 520px; object-fit: cover; }
.img-frame::after { content: ""; position: absolute; left: -18px; top: 18px; right: 18px; bottom: -18px; border: 4px solid var(--red); z-index: -1; }
.img-frame .stamp { position: absolute; right: -20px; bottom: 40px; background: var(--red); color: #fff; padding: 22px 26px; text-align: center; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.img-frame .stamp b { font-family: "Barlow Condensed", sans-serif; font-size: 2.8rem; display: block; line-height: 1; }
.feat { display: flex; gap: 18px; margin-bottom: 26px; }
.feat i { flex: 0 0 52px; height: 52px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 1.4rem; }
.feat h5 { font-size: 1.15rem; margin-bottom: 4px; }
.feat p { margin: 0; font-size: 0.95rem; }

/* Process timeline */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 3px; background: repeating-linear-gradient(90deg, var(--red) 0 12px, transparent 12px 22px); }
.step { text-align: center; position: relative; padding: 0 12px; }
.step .num { width: 68px; height: 68px; margin: 0 auto 18px; background: var(--navy); color: #fff; font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; font-weight: 800; display: grid; place-items: center; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--red); position: relative; z-index: 2; }
.step h5 { font-size: 1.15rem; }

/* Fleet cards */
.fleet { background: #fff; overflow: hidden; height: 100%; border-bottom: 5px solid var(--navy); transition: 0.3s; }
.fleet:hover { border-color: var(--red); transform: translateY(-5px); }
.fleet img { width: 100%; height: 210px; object-fit: cover; }
.fleet .b { padding: 22px; }
.fleet .b span { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.75rem; }
.fleet h5 { margin: 6px 0 10px; }

/* Testimonials */
.testi { background: #fff; padding: 32px; border-left: 5px solid var(--red); height: 100%; box-shadow: 0 10px 30px rgba(11,31,58,0.06); }
.testi .q { font-size: 2.5rem; color: var(--red-soft); line-height: 1; }
.testi p { font-style: italic; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi .who img { width: 50px; height: 50px; object-fit: cover; }
.testi .who b { color: var(--navy); display: block; }
.testi .who small { color: var(--grey); }
.stars i { color: #f5b301; font-size: 0.9rem; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 60px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 40px solid rgba(255,255,255,0.08); transform: rotate(45deg); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.cta-band .btn-x { background: #fff; color: var(--red); }
.cta-band .btn-x:hover { background: var(--navy); color: #fff; }

/* Page header */
.page-head { background: var(--navy); color: #fff; padding: 80px 0 100px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1516574187841-cb9cc2ca948b?auto=format&fit=crop&w=1600&q=80") center/cover; opacity: 0.18; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
.page-head .crumb { color: #c9d4e5; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }
.page-head .crumb a { color: var(--red-bright); }

/* About extras */
.mission { background: var(--navy); color: #c9d4e5; padding: 36px; height: 100%; border-top: 5px solid var(--red); }
.mission i { font-size: 2.4rem; color: var(--red-bright); }
.mission h4 { color: #fff; margin: 12px 0 8px; }
.team { text-align: center; }
.team .ph { position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%); }
.team .ph img { width: 100%; height: 300px; object-fit: cover; transition: 0.4s; }
.team:hover .ph img { transform: scale(1.06); }
.team .ph span { position: absolute; left: 0; bottom: 0; background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 6px 14px; letter-spacing: 1px; text-transform: uppercase; }
.team h5 { margin: 16px 0 2px; }
.team small { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.cert { display: flex; align-items: center; gap: 14px; background: #fff; padding: 18px 22px; border: 1px solid var(--line); font-weight: 700; color: var(--navy); height: 100%; }
.cert i { font-size: 1.8rem; color: var(--red); }

/* Pricing */
.price { background: #fff; border: 1px solid var(--line); padding: 36px 30px; height: 100%; position: relative; text-align: center; }
.price.hot { background: var(--navy); color: #c9d4e5; border-color: var(--navy); }
.price.hot h4, .price.hot .amt { color: #fff; }
.price .lbl { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 2px; padding: 6px 16px; text-transform: uppercase; }
.price .amt { font-family: "Barlow Condensed", sans-serif; font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; margin: 12px 0 4px; }
.price .amt small { font-size: 1rem; font-weight: 600; color: var(--grey); }
.price.hot .amt small { color: #c9d4e5; }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; text-align: left; }
.price li { padding: 8px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 10px; font-size: 0.95rem; }
.price.hot li { border-color: rgba(255,255,255,0.15); }
.price li i { color: var(--red); }

/* Accordion */
.accordion-item { border: 1px solid var(--line); margin-bottom: 12px; border-radius: 0 !important; }
.accordion-button { font-weight: 700; color: var(--navy); font-family: "Barlow Condensed", sans-serif; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.5px; background: #fff; box-shadow: none !important; }
.accordion-button:not(.collapsed) { background: var(--navy); color: #fff; }
.accordion-button:not(.collapsed)::after { filter: invert(1) brightness(2); }
.accordion-button:focus { box-shadow: none; }

/* Contact */
.c-info { background: var(--navy); color: #c9d4e5; padding: 40px; height: 100%; }
.c-info h3 { color: #fff; }
.c-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.c-item:last-of-type { border: 0; }
.c-item i { flex: 0 0 48px; height: 48px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.c-item b { color: #fff; display: block; text-transform: uppercase; letter-spacing: 1px; font-size: 0.78rem; margin-bottom: 2px; }
.c-item a { color: #fff; font-weight: 600; } .c-item a:hover { color: var(--red-bright); }
.c-form { background: #fff; padding: 40px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(11,31,58,0.08); }
.form-control, .form-select { border-radius: 0; border: 2px solid var(--line); padding: 12px 14px; font-weight: 500; }
.form-control:focus, .form-select:focus { border-color: var(--red); box-shadow: none; }
.form-label { font-weight: 700; color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.map-wrap { border: 6px solid var(--navy); }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }
.area { background: #fff; border: 1px solid var(--line); padding: 14px 18px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.area i { color: var(--red); }

/* Footer */
.footer { background: #071426; color: #9fb0c8; padding: 70px 0 0; }
.footer img { height: 56px; margin-bottom: 18px; }
.footer h6 { color: #fff; margin-bottom: 20px; letter-spacing: 2px; font-size: 0.95rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #9fb0c8; } .footer a:hover { color: var(--red-bright); }
.footer .soc a { width: 40px; height: 40px; display: inline-grid; place-items: center; background: rgba(255,255,255,0.06); margin-right: 6px; color: #fff; }
.footer .soc a:hover { background: var(--red); }
.footer .emerg { background: var(--red); color: #fff; padding: 18px 22px; margin-top: 16px; }
.footer .emerg small { text-transform: uppercase; letter-spacing: 2px; font-size: 0.7rem; }
.footer .emerg a { color: #fff; font-family: "Barlow Condensed", sans-serif; font-size: 1.7rem; font-weight: 800; display: block; line-height: 1.1; }
.copy { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; margin-top: 50px; font-size: 0.9rem; }
.copy a { color: #fff; font-weight: 700; } .copy a:hover { color: var(--red-bright); }

/* Floating action buttons */
.fab { position: fixed; right: 20px; bottom: 24px; z-index: 1100; display: flex; flex-direction: column; gap: 12px; }
.fab a { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.6rem; box-shadow: 0 10px 25px rgba(0,0,0,0.3); position: relative; }
.fab .wa { background: #25d366; }
.fab .call { background: var(--red); animation: pulse 1.8s infinite; }
.fab a:hover { transform: scale(1.08); color: #fff; }
.fab a span { position: absolute; right: 68px; top: 50%; transform: translateY(-50%); background: var(--navy); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 6px 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: 0.25s; text-transform: uppercase; letter-spacing: 1px; }
.fab a:hover span { opacity: 1; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200,16,46,0.6); } 70% { box-shadow: 0 0 0 18px rgba(200,16,46,0); } 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); } }

/* Responsive */
@media (max-width: 991.98px) {
  .section { padding: 64px 0; }
  .navbar .nav-link { padding: 12px 0 !important; }
  .navbar .nav-link.active::after { display: none; }
  .navbar .nav-link.active { color: var(--red-bright) !important; }
  .navbar-collapse { padding: 12px 0 20px; }
  .nav-emergency { margin: 14px 0 0; justify-content: center; }
  .navbar .navbar-brand img { height: 46px; }
  .hero .container { padding: 70px 12px 110px; }
  .call-card { margin-top: 40px; }
  .stats { margin-top: -40px; }
  .timeline::before { display: none; }
  .step { margin-bottom: 30px; }
  .img-frame img { height: 380px; }
  .img-frame .stamp { right: 10px; }
  .c-info, .c-form { padding: 28px; }
}
@media (max-width: 575.98px) {
  .topbar .d-none-xs { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .hero-badges { gap: 10px 18px; }
  .stat { padding: 20px 16px; } .stat b { font-size: 1.7rem; } .stat i { font-size: 1.7rem; }
  .img-frame::after { display: none; }
  .img-frame img { height: 280px; }
  .btn-x { padding: 12px 20px; font-size: 0.82rem; }
  .fab { right: 14px; bottom: 16px; } .fab a { width: 52px; height: 52px; font-size: 1.4rem; }
  .fab a span { display: none; }
  .footer .emerg a { font-size: 1.4rem; }
  .price { padding: 30px 22px; }
}
