/* === PRITAM AMBULANCE PARISEVA - MAIN CSS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --red: #c0392b;
  --red-dark: #96281b;
  --red-light: #e74c3c;
  --green: #27ae60;
  --green-dark: #1e8449;
  --dark: #0d0d0d;
  --dark2: #1a1a1a;
  --dark3: #242424;
  --gray: #2e2e2e;
  --text: #e8e8e8;
  --text-muted: #999;
  --white: #ffffff;
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.1);
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--dark); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* === TICKER === */
.ticker-wrap { background: var(--red); overflow: hidden; padding: 8px 0; }
.ticker { white-space: nowrap; display: inline-block; animation: ticker 30s linear infinite; color: #fff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; }
@keyframes ticker { 0%{transform:translateX(100vw)} 100%{transform:translateX(-100%)} }

/* === NAVBAR === */
.navbar { position: fixed; top: 32px; left: 0; right: 0; z-index: 1000; transition: var(--transition); }
.navbar.scrolled { top: 0; background: rgba(13,13,13,0.96); backdrop-filter: blur(20px); box-shadow: 0 2px 30px rgba(0,0,0,0.5); border-bottom: 1px solid var(--glass-border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-family: 'Outfit', sans-serif; font-weight: 700; color: #fff; }
.logo-icon { font-size: 2rem; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; }
.logo-text span { color: var(--red-light); }
.logo-sub { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: var(--text); padding: 8px 14px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { background: var(--glass); color: #fff; }
.nav-cta { background: var(--red) !important; color: #fff !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 1rem; cursor: pointer; border: none; transition: var(--transition); }
.btn-red { background: linear-gradient(135deg, var(--red-light), var(--red)); color: #fff; box-shadow: 0 4px 20px rgba(192,57,43,0.4); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(192,57,43,0.6); }
.btn-green { background: linear-gradient(135deg, #2ecc71, var(--green)); color: #fff; box-shadow: 0 4px 20px rgba(39,174,96,0.4); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(39,174,96,0.6); }
.btn-full { width: 100%; justify-content: center; border-radius: 12px; }
.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 4px 20px rgba(192,57,43,0.4)} 50%{box-shadow:0 4px 40px rgba(192,57,43,0.8)} }

/* === HERO === */
.hero { min-height: 100vh; position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 100px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(192,57,43,0.15) 0%, transparent 60%), radial-gradient(ellipse at 20% 80%, rgba(192,57,43,0.08) 0%, transparent 50%), linear-gradient(135deg, #0d0d0d 0%, #1a0a0a 100%); }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.badge,.pulse-badge { display: inline-block; background: rgba(192,57,43,0.2); border: 1px solid rgba(192,57,43,0.4); color: var(--red-light); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.pulse-badge { animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%,100%{opacity:1} 50%{opacity:0.7} }
.hero-text h1 { font-family: 'Outfit', sans-serif; font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 8px; }
.hero-brand { color: var(--red-light); display: block; font-size: clamp(2rem, 5vw, 3.5rem); }
.hero-tagline { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 12px; font-weight: 500; max-width: 480px; }
.hero-tagline strong { color: var(--red-light); }
.hero-bengali-wrap { margin-bottom: 12px; }
.hero-bengali { font-family: 'Noto Sans Bengali', 'Hind', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--red-light); letter-spacing: 0.3px; display: inline-block; border-left: 3px solid var(--red); padding-left: 10px; }
.hero-sub-small { font-family: 'Noto Sans Bengali', 'Inter', sans-serif; color: var(--text-muted); font-size: 0.82rem; margin-bottom: 28px; max-width: 500px; line-height: 1.8; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-nums { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.hero-nums span { font-size: 0.9rem; color: var(--text-muted); }
.hero-nums strong { color: var(--red-light); }
.hero-addr { color: var(--text-muted); font-size: 0.9rem; }
.hero-img-wrap { position: relative; display: flex; justify-content: center; }
.hero-glow { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(192,57,43,0.3) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: glow 4s ease-in-out infinite; }
@keyframes glow { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-50%) scale(1.1)} }
.hero-img { width: 100%; max-width: 520px; border-radius: 24px; box-shadow: var(--shadow); position: relative; z-index: 1; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-stats { max-width: 1200px; margin: 60px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--glass-border); border: 1px solid var(--glass-border); border-radius: 20px; overflow: hidden; position: relative; z-index: 1; }
.stat { padding: 28px 20px; text-align: center; background: rgba(255,255,255,0.03); transition: var(--transition); }
.stat:hover { background: rgba(192,57,43,0.1); }
.stat-num { display: block; font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: var(--red-light); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* === SECTIONS === */
.section-pad { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head.light h2, .section-head.light p { color: #fff; }
.tag { display: inline-block; background: rgba(192,57,43,0.15); border: 1px solid rgba(192,57,43,0.3); color: var(--red-light); padding: 4px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section-head h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.section-head p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* === ABOUT === */
.about { background: var(--dark2); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.about-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 32px 28px; transition: var(--transition); }
.about-card:hover { transform: translateY(-6px); border-color: rgba(192,57,43,0.4); background: rgba(192,57,43,0.07); }
.ac-icon { font-size: 2.5rem; margin-bottom: 16px; }
.about-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.about-card p { color: var(--text-muted); font-size: 0.95rem; }

/* === SERVICES === */
.services { background: linear-gradient(135deg, #0d0d0d, #1a0808); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.svc-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 36px 28px; text-align: center; transition: var(--transition); position: relative; overflow: hidden; }
.svc-card::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(192,57,43,0) 0%,rgba(192,57,43,0.05) 100%); opacity:0; transition:var(--transition); }
.svc-card:hover { transform: translateY(-8px); border-color: var(--red); }
.svc-card:hover::before { opacity:1; }
.svc-card.featured { border-color: var(--red); background: rgba(192,57,43,0.08); }
.svc-icon { font-size: 3rem; margin-bottom: 16px; }
.svc-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.svc-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.svc-btn { display: inline-block; background: var(--red); color: #fff; padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.svc-btn:hover { background: var(--red-dark); transform: translateY(-1px); }

/* === GALLERY === */
.gallery { background: var(--dark2); }
.carousel { position: relative; border-radius: 20px; overflow: hidden; background: var(--dark3); border: 1px solid var(--glass-border); margin-bottom: 20px; }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.slide { min-width: 100%; height: 480px; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.7); border: 1px solid var(--glass-border); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); z-index: 10; }
.car-btn:hover { background: var(--red); border-color: var(--red); }
.prev { left: 16px; }
.next { right: 16px; }
.car-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--red-light); width: 24px; border-radius: 4px; }
.thumb-strip { display: flex; gap: 12px; overflow-x: auto; padding: 8px 0; }
.thumb-strip::-webkit-scrollbar { height: 4px; }
.thumb { width: 100px; height: 70px; border-radius: 10px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: var(--transition); flex-shrink: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active,.thumb:hover { border-color: var(--red-light); }

/* === FOUNDER === */
.founder { background: var(--dark); }
.founder-card { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 24px; padding: 50px; }
.founder-img-wrap { position: relative; }
.founder-img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.founder-badge { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
.founder-text h2 { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: #fff; margin: 12px 0 20px; }
blockquote { border-left: 4px solid var(--red); padding-left: 20px; color: var(--text-muted); font-style: italic; font-size: 1.05rem; margin-bottom: 20px; line-height: 1.8; }
.founder-text p { color: var(--text-muted); margin-bottom: 28px; }
.founder-stats { display: flex; gap: 32px; }
.founder-stats div { text-align: center; }
.founder-stats strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--red-light); }
.founder-stats span { font-size: 0.8rem; color: var(--text-muted); }

/* === BOOK === */
.book { background: linear-gradient(135deg, #0d0d0d, #1a0808); }
.book-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.book-form-wrap { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: #fff; padding: 12px 16px; border-radius: 10px; font-size: 0.95rem; font-family: inherit; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--red); background: rgba(192,57,43,0.07); }
.form-group select option { background: var(--dark2); }
.form-msg { margin-top: 14px; padding: 12px; border-radius: 8px; font-size: 0.9rem; text-align: center; display: none; }
.form-msg.success { display: block; background: rgba(39,174,96,0.15); border: 1px solid var(--green); color: #2ecc71; }
.form-msg.error { display: block; background: rgba(192,57,43,0.15); border: 1px solid var(--red); color: var(--red-light); }
.book-actions { display: flex; flex-direction: column; gap: 14px; }
.book-actions p { color: var(--text-muted); font-size: 0.9rem; text-align: center; }
.direct-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.call-btn { background: rgba(192,57,43,0.15); border: 1px solid rgba(192,57,43,0.4); color: var(--red-light); }
.call-btn:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.wa-btn { background: rgba(39,174,96,0.15); border: 1px solid rgba(39,174,96,0.4); color: #2ecc71; }
.wa-btn:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

/* === CONTACT === */
.contact { background: var(--dark2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: #fff; margin: 12px 0 28px; }
.cinfo { display: flex; gap: 16px; margin-bottom: 24px; }
.cinfo > span { font-size: 1.5rem; margin-top: 2px; }
.cinfo strong { display: block; color: #fff; font-size: 0.95rem; margin-bottom: 4px; }
.cinfo p { color: var(--text-muted); font-size: 0.9rem; }
.cinfo a { color: var(--red-light); }
.cinfo a:hover { text-decoration: underline; }
.map-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--glass-border); }

/* === FOOTER === */
.footer { background: #080808; border-top: 1px solid var(--glass-border); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 60px 24px 40px; max-width: 1200px; margin: 0 auto; }
.footer-brand h3 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 700; color: #fff; margin: 12px 0 10px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }
.footer-links a { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; transition: var(--transition); }
.footer-links a:hover { color: var(--red-light); }
.footer-contact p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.footer-contact a { color: var(--red-light); }
.footer-bottom { border-top: 1px solid var(--glass-border); text-align: center; padding: 20px; color: var(--text-muted); font-size: 0.85rem; }
.footer-bottom a { color: var(--red-light); }

/* === FAB === */
.fab {
  position: fixed;
  bottom: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: var(--transition);
  z-index: 999;
}
.fab:hover { transform: scale(1.15) rotate(10deg); }
.fab-call {
  left: 24px;
  background: linear-gradient(135deg, var(--red-light), var(--red));
  animation: highlightCall 2s ease-in-out infinite;
}
.fab-wa {
  right: 24px;
  background: linear-gradient(135deg, #25d366, var(--green));
  animation: highlightWA 2s ease-in-out infinite;
}
@keyframes highlightCall {
  0%,100%{box-shadow:0 0 0 0 rgba(192,57,43,0.6); transform:scale(1)}
  50%{box-shadow:0 0 0 15px rgba(192,57,43,0); transform:scale(1.1)}
}
@keyframes highlightWA {
  0%,100%{box-shadow:0 0 0 0 rgba(39,174,96,0.6); transform:scale(1)}
  50%{box-shadow:0 0 0 15px rgba(39,174,96,0); transform:scale(1.1)}
}

/* === APP SPLASH SCREEN === */
.app-splash {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.app-splash.hidden {
  transform: translateY(-100%);
}

.splash-content {
  text-align: center;
  animation: splashFadeIn 1s ease-out forwards;
}

@keyframes splashFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.splash-logo {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: splashLogo 2s infinite ease-in-out;
}

@keyframes splashLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.splash-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.splash-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.splash-sub {
  font-size: 0.9rem;
  color: var(--red-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.splash-loader {
  width: 40px;
  height: 4px;
  background: var(--glass-border);
  margin: 30px auto 0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.splash-loader::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--red);
  animation: loaderMove 1.5s infinite ease-in-out;
}

@keyframes loaderMove {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* === BOTTOM NAVIGATION === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  display: none; /* Only show on mobile */
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--glass-border);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 0.7rem;
  font-weight: 600;
}

.nav-item.active {
  color: var(--red-light);
}

.nav-icon {
  font-size: 1.4rem;
}

/* === RESPONSIVE === */
@media(max-width:900px){
  .hero-inner { grid-template-columns:1fr; text-align:center; }
  .hero-img-wrap { display:none; }
  .hero-stats { grid-template-columns:repeat(2,1fr); }
  .hero-btns { justify-content:center; }
  .hero-nums { justify-content:center; }
  .founder-card { grid-template-columns:1fr; }
  .founder-img-wrap { max-width:300px; margin:0 auto; }
  .book-wrap { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .footer-inner { grid-template-columns:1fr; gap:32px; }

  /* Hide top nav links and hamburger on mobile, use bottom nav instead */
  .nav-links, .hamburger { display: none !important; }
  .navbar { top: 0; background: rgba(13,13,13,0.96); backdrop-filter: blur(20px); height: 60px; }
  .nav-inner { height: 60px; justify-content: center; }
  .slide { height:280px; }

  .bottom-nav { display: grid; }
  body { padding-bottom: 70px; } /* Space for bottom nav */
  .fab { bottom: 90px; } /* Move FABs up */
}
@media(max-width:600px){
  .hero-stats { grid-template-columns:repeat(2,1fr); }
  .svc-grid { grid-template-columns:1fr; }
  .about-grid { grid-template-columns:1fr; }
  .founder-stats { flex-direction:column; gap:16px; }
  .btn { padding:12px 22px; font-size:0.9rem; }
}
