/* =====================================================
   Mahadev Travel Agency - Main Stylesheet
   Theme: Navy #0B132B | Orange #F97316 | Green #16A34A
   ===================================================== */
:root {
  --primary: #0B132B;
  --primary-soft: #16213e;
  --secondary: #F97316;
  --secondary-dark: #ea580c;
  --accent: #16A34A;
  --accent-dark: #15803d;
  --bg: #FFFFFF;
  --bg-soft: #f7f8fb;
  --text: #1F2937;
  --text-muted: #6b7280;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 19, 43, .08);
  --shadow-lg: 0 20px 50px rgba(11, 19, 43, .15);
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Public Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, .brand-text { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--primary); }
a { text-decoration: none; transition: .25s; }
img { max-width: 100%; }
section { padding: 70px 0; }
@media (max-width: 767px) { section { padding: 48px 0; } body { padding-bottom: 64px; } }

/* ---------- Section headings ---------- */
.sec-tag {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--secondary);
  background: rgba(249, 115, 22, .1); padding: 6px 16px; border-radius: 50px; margin-bottom: 12px;
}
.sec-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.sec-sub { color: var(--text-muted); max-width: 640px; margin: 0 auto 10px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--primary); color: #cbd5e1; font-size: .85rem; padding: 7px 0; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--secondary); }

/* ---------- Header ---------- */
.site-header { background: #fff; box-shadow: 0 2px 14px rgba(11,19,43,.08); z-index: 1030; }
.navbar { padding: 12px 0; }
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff; font-size: 1.3rem; box-shadow: 0 6px 14px rgba(249,115,22,.35);
}
.brand-text { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.brand-text span { color: var(--secondary); }
.navbar .nav-link { font-weight: 600; color: var(--text); padding: 8px 16px !important; border-radius: 8px; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--secondary); }
.navbar-toggler { border: 0; color: var(--primary); padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

.btn-book {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff; font-weight: 700; padding: 10px 24px; border-radius: 50px;
  box-shadow: 0 8px 18px rgba(249,115,22,.35); border: 0;
}
.btn-book:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 24px rgba(249,115,22,.45); }
.btn-call { background: var(--accent); color: #fff; border-radius: 10px; }
.btn-call:hover { background: var(--accent-dark); color: #fff; }
.btn-wa { background: var(--accent); color: #fff; font-weight: 700; border-radius: 50px; border: 0; }
.btn-wa:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }

.mobile-nav { background: var(--primary); color: #fff; }
.mobile-nav .nav-link { color: #e2e8f0; font-weight: 600; font-size: 1.05rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav .nav-link.active, .mobile-nav .nav-link:hover { color: var(--secondary); }

/* ---------- Hero Slider ---------- */
.hero { position: relative; background: var(--primary); color: #fff; overflow: hidden; padding: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(249,115,22,.25), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(22,163,74,.18), transparent 60%);
  pointer-events: none;
}
.hero-slide { padding: 90px 0 110px; position: relative; }
.hero h1 { color: #fff; font-size: clamp(1.7rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.2; }
.hero h1 .hl { color: var(--secondary); }
.hero p.lead { color: #cbd5e1; font-size: clamp(1rem, 2vw, 1.2rem); max-width: 620px; }
.hero .carousel-indicators { bottom: 70px; }
.hero .carousel-indicators button { width: 28px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.4); border: 0; }
.hero .carousel-indicators .active { background: var(--secondary); }
.hero-cta .btn { padding: 13px 26px; font-weight: 700; border-radius: 50px; margin: 0 8px 10px 0; }
.btn-orange { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); color: #fff; border: 0; box-shadow: 0 10px 24px rgba(249,115,22,.4); }
.btn-orange:hover { color: #fff; transform: translateY(-2px); }
.btn-outline-light-2 { border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-light-2:hover { background: #fff; color: var(--primary); }
.btn-green { background: var(--accent); color: #fff; border: 0; box-shadow: 0 10px 24px rgba(22,163,74,.4); }
.btn-green:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.hero-badges span { color: #e2e8f0; font-size: .9rem; font-weight: 600; }
.hero-badges i { color: var(--accent); margin-right: 6px; }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; display: block; }

/* ---------- Booking Form Card ---------- */
.booking-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 28px; margin-top: -70px; position: relative; z-index: 5;
  border-top: 5px solid var(--secondary);
}
.booking-card h3 { font-size: 1.3rem; font-weight: 800; }
.booking-card .form-control, .booking-card .form-select {
  border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 11px 14px; font-size: .95rem;
}
.booking-card .form-control:focus, .booking-card .form-select:focus {
  border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.booking-card label { font-weight: 600; font-size: .82rem; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .5px; }
.btn-submit {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff; font-weight: 800; border: 0; border-radius: 10px; padding: 13px; font-size: 1.05rem;
  box-shadow: 0 10px 22px rgba(249,115,22,.35);
}
.btn-submit:hover { color: #fff; transform: translateY(-2px); }

/* ---------- Cards ---------- */
.x-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  transition: .3s; height: 100%; overflow: hidden; border: 1px solid #eef0f4;
}
.x-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Fleet */
.fleet-img { height: 180px; background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; }
.fleet-img img { width: 100%; height: 100%; object-fit: cover; }
.fleet-img i { font-size: 4rem; color: #cbd5e1; }
.fleet-body { padding: 20px; }
.fleet-body h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.fleet-meta { font-size: .85rem; color: var(--text-muted); display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.fleet-meta i { color: var(--secondary); margin-right: 4px; }
.fleet-cat {
  position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; letter-spacing: .5px;
}
.fleet-actions { display: flex; gap: 8px; }
.fleet-actions .btn { flex: 1; font-size: .85rem; font-weight: 700; border-radius: 8px; padding: 9px 6px; }

/* Routes */
.route-card { display: flex; flex-direction: column; position: relative; }
.route-top { background: linear-gradient(135deg, var(--primary), var(--primary-soft)); color: #fff; padding: 20px; }
.route-cities { display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.02rem; }
.route-cities i { color: var(--secondary); }
.route-body { padding: 16px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.route-meta { display: flex; gap: 16px; font-size: .85rem; color: var(--text-muted); margin-bottom: 10px; }
.route-meta i { color: var(--accent); margin-right: 4px; }
.route-body p { font-size: .9rem; color: var(--text-muted); flex: 1; }
.route-fare { font-weight: 800; color: var(--accent); font-size: .95rem; }

/* Services */
.service-card { padding: 28px 24px; text-align: center; }
.service-icon {
  width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(249,115,22,.05));
  color: var(--secondary); font-size: 1.9rem; transition: .3s;
}
.x-card:hover .service-icon { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); color: #fff; transform: rotate(-6deg) scale(1.06); }
.service-card h4 { font-size: 1.08rem; }
.service-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* Why choose us */
.why-section { background: var(--primary); position: relative; overflow: hidden; }
.why-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 90% 20%, rgba(249,115,22,.18), transparent 60%);
}
.why-section .sec-title, .why-section h4 { color: #fff; }
.why-section .sec-sub { color: #94a3b8; }
.why-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 20px; height: 100%; transition: .3s; position: relative; z-index: 1;
}
.why-item:hover { background: rgba(249,115,22,.12); border-color: rgba(249,115,22,.4); transform: translateY(-4px); }
.why-item i { font-size: 1.6rem; color: var(--secondary); }
.why-item h4 { font-size: 1rem; margin: 12px 0 6px; }
.why-item p { color: #94a3b8; font-size: .87rem; margin: 0; }

/* Stats */
.stats-row { margin-top: 50px; position: relative; z-index: 1; }
.stat-box { text-align: center; }
.stat-box .num { font-family: 'Sora'; font-size: 2.2rem; font-weight: 800; color: var(--secondary); }
.stat-box .lbl { color: #cbd5e1; font-size: .9rem; font-weight: 600; }

/* Testimonials */
.testi-card { padding: 26px; position: relative; }
.testi-card .stars { color: #f59e0b; margin-bottom: 12px; }
.testi-card p { font-size: .93rem; color: var(--text); }
.testi-user { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft)); color: var(--secondary);
  font-weight: 800; font-family: 'Sora';
}
.testi-user strong { display: block; font-size: .95rem; }
.testi-user small { color: var(--text-muted); }
.testi-quote { position: absolute; top: 18px; right: 22px; font-size: 2.4rem; color: rgba(249,115,22,.15); }

/* FAQ */
.faq-section { background: var(--bg-soft); }
.accordion-item { border: 0; border-radius: 12px !important; margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.accordion-button { font-weight: 700; color: var(--primary); padding: 18px 22px; font-size: .98rem; }
.accordion-button:not(.collapsed) { background: var(--primary); color: #fff; box-shadow: none; }
.accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.accordion-button:focus { box-shadow: none; }
.accordion-body { color: var(--text-muted); font-size: .93rem; }

/* SEO Content */
.seo-content { background: var(--bg-soft); }
.seo-content h2 { font-size: 1.5rem; margin-top: 28px; }
.seo-content h3 { font-size: 1.2rem; margin-top: 22px; }
.seo-content p { color: var(--text-muted); line-height: 1.8; }
.seo-content .seo-wrap { max-height: 420px; overflow: hidden; position: relative; transition: max-height .5s; }
.seo-content .seo-wrap.open { max-height: none; }
.seo-content .seo-wrap:not(.open)::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(transparent, var(--bg-soft));
}
.btn-readmore { border: 2px solid var(--secondary); color: var(--secondary); font-weight: 700; border-radius: 50px; padding: 9px 28px; }
.btn-readmore:hover { background: var(--secondary); color: #fff; }

/* CTA strip */
.cta-strip { background: linear-gradient(120deg, var(--secondary), var(--secondary-dark)); color: #fff; padding: 44px 0; }
.cta-strip h3 { color: #fff; font-weight: 800; }
.cta-strip .btn-wa { background: var(--primary); }
.cta-strip .btn-wa:hover { background: var(--primary-soft); }

/* Page banner */
.page-banner {
  background: linear-gradient(120deg, var(--primary), var(--primary-soft)); color: #fff;
  padding: 64px 0; text-align: center; position: relative; overflow: hidden;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 85% 30%, rgba(249,115,22,.2), transparent 60%); }
.page-banner h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; position: relative; }
.page-banner .crumb { color: #94a3b8; position: relative; }
.page-banner .crumb a { color: var(--secondary); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: #94a3b8; padding: 64px 0 0; }
.site-footer h5 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.site-footer .brand-text { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #94a3b8; font-size: .92rem; }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.footer-contact li { margin-bottom: 12px; display: flex; gap: 10px; }
.footer-contact i { color: var(--secondary); }
.footer-contact a { color: #cbd5e1; }
.footer-social a {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08); color: #fff; margin-right: 8px;
}
.footer-social a:hover { background: var(--secondary); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding: 18px 0; font-size: .87rem; }
.footer-bottom a { color: #cbd5e1; }
.footer-bottom a:hover { color: var(--secondary); }

/* ---------- Sticky buttons ---------- */
.sticky-btn {
  position: fixed; right: 18px; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 1.5rem; z-index: 1040;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.sticky-call { bottom: 156px; background: var(--secondary); animation: pulse-o 2s infinite; }
.sticky-wa { bottom: 90px; background: #25D366; animation: pulse-g 2s infinite; }
.sticky-btn:hover { color: #fff; transform: scale(1.08); }
@media (max-width: 767px) { .sticky-call { bottom: 140px; } .sticky-wa { bottom: 76px; } }
@keyframes pulse-o { 0% { box-shadow: 0 0 0 0 rgba(249,115,22,.5); } 70% { box-shadow: 0 0 0 16px rgba(249,115,22,0); } 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); } }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* Mobile bottom bar */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1050; display: flex;
  box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}
.mobile-cta-bar a {
  flex: 1; text-align: center; padding: 15px 0; color: #fff; font-weight: 800; font-size: 1rem;
}
.mobile-cta-bar .cta-call { background: var(--secondary); }
.mobile-cta-bar .cta-wa { background: var(--accent); }

/* Alerts */
.form-alert { border-radius: 10px; font-weight: 600; }

/* Contact */
.contact-info-card { padding: 26px; text-align: center; }
.contact-info-card .ci-icon {
  width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(249,115,22,.1); color: var(--secondary); font-size: 1.6rem;
}
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
