/* =========================================================
   Jai Hind International Courier - theme
   Colours taken from the logo:
     navy blue  #2E3192  (J swoosh + aeroplane)
     red        #C4361F  (triangle "A")
     charcoal   #231F20  (lettering)
   ========================================================= */
:root {
    --jh-blue: #2E3192;
    --jh-blue-dark: #1D1F66;
    --jh-blue-deep: #14154A;
    --jh-blue-soft: #EEF0FA;
    --jh-red: #C4361F;
    --jh-red-dark: #A22A16;
    --jh-ink: #231F20;
    --jh-text: #4A4A55;
    --jh-muted: #7A7A86;
    --jh-line: #E4E6F0;
    --jh-white: #FFFFFF;
    --jh-radius: 14px;
    --jh-shadow: 0 10px 30px rgba(20, 21, 74, .08);
    --jh-shadow-lg: 0 20px 50px rgba(20, 21, 74, .16);
    --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--jh-text);
    background: var(--jh-white);
    font-size: 16px;
    line-height: 1.75;
}
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--jh-ink); font-weight: 700; line-height: 1.25; }
a { color: var(--jh-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--jh-red); }
img { max-width: 100%; }
::selection { background: var(--jh-blue); color: #fff; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: 50px; padding: .6rem 1.5rem; transition: all .25s; }
.btn-lg { padding: .8rem 1.9rem; font-size: 1rem; }
.btn-brand { background: var(--jh-blue); border: 2px solid var(--jh-blue); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--jh-blue-dark); border-color: var(--jh-blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(46, 49, 146, .3); }
.btn-red { background: var(--jh-red); border: 2px solid var(--jh-red); color: #fff; }
.btn-red:hover, .btn-red:focus { background: var(--jh-red-dark); border-color: var(--jh-red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(196, 54, 31, .3); }
.btn .bi { margin-left: .3rem; }
.btn .bi:first-child { margin-left: 0; margin-right: .3rem; }

.form-control { border: 1.5px solid var(--jh-line); border-radius: 10px; padding: .7rem 1rem; color: var(--jh-ink); }
.form-control:focus { border-color: var(--jh-blue); box-shadow: 0 0 0 .2rem rgba(46, 49, 146, .15); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(196, 54, 31, .5); outline-offset: 2px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--jh-blue-deep); color: rgba(255,255,255,.85); font-size: .85rem; padding: .5rem 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar .bi { color: var(--jh-red); margin-right: .35rem; }
.topbar .bi-globe2 { color: #fff; }

/* ---------- Header / nav ---------- */
.site-header { background: #fff; border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--jh-blue) 0 70%, var(--jh-red) 70% 100%) 1; transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20, 21, 74, .1); }
.site-header .navbar { padding: .85rem 0; }
.brand-logo { height: 58px; width: auto; display: block; }
.site-header .navbar-nav { gap: .15rem; }
.site-header .nav-link { font-family: var(--font-head); font-weight: 500; color: var(--jh-ink); padding: .5rem .9rem !important; position: relative; font-size: .97rem; white-space: nowrap; display: flex; align-items: center; gap: .35rem; }
.site-header .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .15rem; height: 2px; background: var(--jh-red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--jh-blue); }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.nav-track { margin-left: 1.25rem; white-space: nowrap; padding: .6rem 1.3rem; }
.navbar-toggler { border: none; font-size: 2rem; color: var(--jh-blue); padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 1399.98px) {
    .site-header .nav-link { padding: .5rem .65rem !important; font-size: .94rem; }
    .site-header .nav-link::after { left: .65rem; right: .65rem; }
    .nav-track { margin-left: .75rem; padding: .55rem 1.05rem; }
    .brand-logo { height: 52px; }
}
@media (max-width: 1199.98px) {
    .navbar-collapse { padding: 1rem 0 .5rem; }
    .site-header .nav-link { padding: .65rem 0 !important; border-bottom: 1px solid var(--jh-line); }
    .site-header .nav-link::after { display: none; }
    .nav-track { margin: 1rem 0 0; display: block; }
    .brand-logo { height: 44px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--jh-blue-deep); }
.hero .carousel-item img { height: min(78vh, 640px); object-fit: cover; }
.hero .carousel-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,21,74,0) 60%, rgba(20,21,74,.45) 100%); pointer-events: none; }
.hero .carousel-indicators { z-index: 3; margin-bottom: 4.5rem; }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; border: none; background: #fff; opacity: .5; }
.hero .carousel-indicators .active { background: var(--jh-red); opacity: 1; }
.hero .carousel-control-prev, .hero .carousel-control-next { z-index: 3; width: 7%; }
@media (max-width: 767.98px) {
    .hero .carousel-item img { height: 260px; }
    .hero .carousel-indicators { margin-bottom: 1rem; }
}

/* ---------- Quick track ---------- */
.quick-track { position: relative; z-index: 5; margin-top: -3.5rem; }
.quick-track-card { background: #fff; border-radius: var(--jh-radius); box-shadow: var(--jh-shadow-lg); padding: 1.6rem 2rem; display: flex; align-items: center; gap: 2rem; border-left: 6px solid var(--jh-red); }
.quick-track-card h2 { font-size: 1.35rem; margin: 0; color: var(--jh-blue); }
.quick-track-card p { margin: 0; font-size: .92rem; color: var(--jh-muted); }
.quick-track-card .form-control { border-radius: 50px; }
@media (max-width: 767.98px) {
    .quick-track { margin-top: 1.5rem; }
    .quick-track-card { flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.4rem; }
    .quick-track-card form { flex-direction: column; }
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.bg-soft { background: var(--jh-blue-soft); }
.section-title { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--jh-red); margin-bottom: .5rem; }
.eyebrow::before { content: ""; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 11px solid var(--jh-red); }
.section-heading { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1.25rem; }
.section-heading .bi { color: var(--jh-blue); margin-right: .25rem; }
@media (max-width: 767.98px) { .section { padding: 60px 0; } }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem; }
.check-list li { font-family: var(--font-head); font-weight: 500; color: var(--jh-ink); display: flex; align-items: center; gap: .6rem; }
.check-list .bi { color: var(--jh-blue); font-size: 1.15rem; }
@media (max-width: 575.98px) { .check-list { grid-template-columns: 1fr; } }

/* Fuel charges card */
.fuel-card { background: linear-gradient(160deg, var(--jh-blue) 0%, var(--jh-blue-deep) 100%); color: #fff; border-radius: var(--jh-radius); box-shadow: var(--jh-shadow-lg); overflow: hidden; position: sticky; top: 110px; }
.fuel-card-head { padding: 1.5rem 1.5rem 1rem; display: flex; gap: .9rem; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,.12); }
.fuel-card-head .bi { font-size: 1.6rem; background: var(--jh-red); border-radius: 12px; width: 48px; height: 48px; flex: none; display: grid; place-items: center; }
.fuel-card-head h3 { color: #fff; font-size: 1.15rem; margin: 0; }
.fuel-scroll { height: 240px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); }
.fuel-list { list-style: none; margin: 0; padding: 1rem 1.5rem; animation: fuel-scroll 14s linear infinite; }
.fuel-card:hover .fuel-list { animation-play-state: paused; }
.fuel-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed rgba(255,255,255,.18); font-size: .95rem; }
.fuel-list li span { color: rgba(255,255,255,.8); }
.fuel-list li strong { color: #fff; text-align: right; }
@keyframes fuel-scroll { 0% { transform: translateY(100%); } 100% { transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) { .fuel-list { animation: none; } .fuel-scroll { height: auto; -webkit-mask-image: none; mask-image: none; } }

/* Service cards */
.service-card { display: block; background: #fff; border-radius: var(--jh-radius); overflow: hidden; box-shadow: var(--jh-shadow); height: 100%; transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--jh-shadow-lg); }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-img img { transform: scale(1.07); }
.service-body { padding: 1.25rem 1.4rem; display: flex; align-items: center; gap: .85rem; position: relative; }
.service-body::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--jh-red); transition: width .35s; }
.service-card:hover .service-body::before { width: 100%; }
.service-body .bi { font-size: 1.4rem; color: #fff; background: var(--jh-blue); border-radius: 10px; width: 44px; height: 44px; display: grid; place-items: center; flex: none; }
.service-body h3 { font-size: 1.08rem; margin: 0; }
.service-card:hover h3 { color: var(--jh-blue); }

/* Framed images */
.framed-img { position: relative; padding: 0 0 18px 18px; }
.framed-img::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--jh-radius); background: var(--jh-blue); }
.framed-img img { position: relative; border-radius: var(--jh-radius); box-shadow: var(--jh-shadow-lg); width: 100%; }
.framed-img-right { padding: 0 18px 18px 0; }
.framed-img-right::before { left: auto; right: 0; background: var(--jh-red); }

/* Counters */
.counters { background: linear-gradient(120deg, var(--jh-blue-deep), var(--jh-blue)); padding: 70px 0; position: relative; overflow: hidden; }
.counters::after { content: ""; position: absolute; right: -60px; top: -60px; width: 0; height: 0; border-left: 160px solid transparent; border-right: 160px solid transparent; border-bottom: 260px solid rgba(196, 54, 31, .18); transform: rotate(18deg); }
.counter { color: #fff; position: relative; z-index: 1; }
.counter .bi { font-size: 2.2rem; color: #fff; display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.25); margin-bottom: .8rem; }
.counter h3 { color: #fff; font-size: 2.6rem; font-weight: 800; margin: 0; }
.counter p { margin: 0; color: rgba(255,255,255,.8); font-family: var(--font-head); font-weight: 500; }

/* Shipment CTA */
.shipment-cta { background: linear-gradient(90deg, rgba(20,21,74,.94) 0%, rgba(46,49,146,.85) 55%, rgba(46,49,146,.35) 100%), url("../images/shipment-bg.jpg") center / cover no-repeat; padding: 110px 0; }
.shipment-content { max-width: 680px; }
.shipment-content h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.shipment-content p { color: rgba(255,255,255,.85); margin-bottom: 1.8rem; }

/* Partners */
.partner-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.partner { background: #fff; border: 1.5px solid var(--jh-line); border-radius: var(--jh-radius); padding: 1.25rem; display: grid; place-items: center; transition: all .3s; }
.partner img { max-height: 70px; object-fit: contain; filter: grayscale(100%); opacity: .75; transition: all .3s; }
.partner:hover { border-color: var(--jh-blue); box-shadow: var(--jh-shadow); }
.partner:hover img { filter: none; opacity: 1; }
@media (max-width: 767.98px) { .partner-row { grid-template-columns: repeat(2, 1fr); } }

/* Page title banner */
.page-title { background: linear-gradient(100deg, rgba(20,21,74,.95) 0%, rgba(46,49,146,.82) 100%), url("../images/page-bg/page-bg-1.jpg") center / cover no-repeat; padding: 80px 0 70px; position: relative; overflow: hidden; }
.page-title::after { content: ""; position: absolute; right: 8%; bottom: -30px; width: 0; height: 0; border-left: 70px solid transparent; border-right: 70px solid transparent; border-bottom: 120px solid var(--jh-red); opacity: .9; }
.page-title h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .5rem; }
.page-title .breadcrumb { margin: 0; }
.page-title .breadcrumb-item, .page-title .breadcrumb-item a { color: rgba(255,255,255,.8); font-family: var(--font-head); font-weight: 500; }
.page-title .breadcrumb-item a:hover { color: #fff; }
.page-title .breadcrumb-item.active { color: #fff; }
.page-title .breadcrumb-item + .breadcrumb-item::before { color: var(--jh-red); content: "\25B8"; }

/* About: vision */
.vision-card { background: #fff; border-radius: var(--jh-radius); padding: 2.5rem; box-shadow: var(--jh-shadow); border-top: 5px solid var(--jh-red); }
.vision-card > .bi { font-size: 2rem; color: var(--jh-blue); display: block; margin-bottom: .5rem; }

/* Services detail */
.service-detail { padding: 2.5rem 0; border-bottom: 1px solid var(--jh-line); scroll-margin-top: 110px; }
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { border-bottom: none; padding-bottom: 0; }
.service-num { font-family: var(--font-head); font-weight: 800; font-size: 3.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--jh-red); display: block; margin-bottom: .5rem; }

/* Gallery */
.gallery-item { display: block; width: 100%; padding: 0; border: none; background: none; border-radius: var(--jh-radius); overflow: hidden; position: relative; aspect-ratio: 4 / 3; box-shadow: var(--jh-shadow); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(46,49,146,.55); color: #fff; font-size: 1.8rem; opacity: 0; transition: opacity .3s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.08); }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; }

/* Forms / cards */
.form-card { background: #fff; border-radius: var(--jh-radius); box-shadow: var(--jh-shadow-lg); padding: 2.5rem; border-top: 5px solid var(--jh-blue); }
.track-icon { font-size: 3rem; color: var(--jh-red); }
.contact-card { background: #fff; border-radius: var(--jh-radius); box-shadow: var(--jh-shadow); padding: 2rem; height: 100%; border-bottom: 4px solid var(--jh-blue); transition: all .3s; }
.contact-card:hover { transform: translateY(-4px); border-bottom-color: var(--jh-red); }
.contact-card > .bi { font-size: 1.5rem; color: #fff; background: var(--jh-blue); width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; }
.contact-card h3 { font-size: 1.2rem; }
.contact-card p { margin: 0; }
.map-wrap { border-radius: var(--jh-radius); overflow: hidden; box-shadow: var(--jh-shadow); height: 100%; min-height: 340px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.cta-card { background: linear-gradient(160deg, var(--jh-red) 0%, var(--jh-red-dark) 100%); color: #fff; border-radius: var(--jh-radius); padding: 2.25rem; height: 100%; box-shadow: var(--jh-shadow-lg); }
.cta-card h3 { color: #fff; }
.cta-card p { color: rgba(255,255,255,.88); margin-bottom: 1.5rem; }
.cta-card .btn-light { color: var(--jh-red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--jh-blue-deep); color: rgba(255,255,255,.75); padding-top: 80px; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--jh-blue) 0 70%, var(--jh-red) 70% 100%); }
.footer-logo { background: #fff; display: inline-block; padding: .6rem .9rem; border-radius: 10px; margin-bottom: 1.25rem; }
.footer-logo img { height: 46px; }
.site-footer h3 { color: #fff; font-size: 1.15rem; margin-bottom: 1.4rem; position: relative; padding-bottom: .7rem; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--jh-red); border-radius: 3px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .links li { margin-bottom: .6rem; }
.site-footer .links a::before { content: "\25B8"; color: var(--jh-red); margin-right: .5rem; }
.site-footer .address li { display: flex; gap: .75rem; margin-bottom: .85rem; }
.site-footer .address .bi { color: var(--jh-red); margin-top: .2rem; }
.social { display: flex; gap: .5rem; margin-top: 1.25rem !important; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: all .25s; }
.social a:hover { background: var(--jh-red); color: #fff; transform: translateY(-3px); }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding: 1.25rem 0; text-align: center; font-size: .88rem; }

/* ---------- Floating buttons ---------- */
.whatsapp-float { position: fixed; right: 24px; bottom: 90px; z-index: 1030; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; font-size: 1.8rem; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); animation: wa-pulse 2.4s infinite; }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } }
.go-top { position: fixed; right: 30px; bottom: 26px; z-index: 1030; width: 46px; height: 46px; border-radius: 12px; border: none; background: var(--jh-blue); color: #fff; font-size: 1.2rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.go-top.show { opacity: 1; visibility: visible; transform: none; }
.go-top:hover { background: var(--jh-red); }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
.mobile-bar a { color: #fff; text-align: center; padding: .85rem; font-family: var(--font-head); font-weight: 600; }
.mobile-bar .call { background: var(--jh-blue); }
.mobile-bar .wa { background: #25D366; }
@media (max-width: 575.98px) {
    body { padding-bottom: 52px; }
    .go-top { bottom: 66px; right: 16px; }
}

/* ---------- Reveal animation ---------- */
.reveal:not(.in) { opacity: 0; transform: translateY(24px); }
.reveal { transition: opacity .7s ease, transform .7s ease, box-shadow .3s, border-color .3s, background .3s; }

/* =========================================================
   Polish & motion
   ========================================================= */

/* Page loader */
.page-loader { position: fixed; inset: 0; z-index: 2000; background: #fff; display: grid; place-items: center; transition: opacity .5s ease, visibility .5s ease; }
.page-loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-inner img { width: 230px; max-width: 70vw; animation: loader-pop .8s ease both; }
.loader-track { position: relative; width: 230px; max-width: 70vw; height: 3px; margin: 1.2rem auto 0; background: var(--jh-line); border-radius: 3px; overflow: visible; }
.loader-track::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, var(--jh-blue), var(--jh-red)); border-radius: 3px; animation: loader-bar 1.1s ease-in-out infinite; }
.loader-track .bi { position: absolute; top: -11px; left: 0; color: var(--jh-blue); font-size: 1.1rem; transform: rotate(45deg); animation: loader-plane 1.1s ease-in-out infinite; }
@keyframes loader-pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes loader-bar { 0% { width: 0; } 100% { width: 100%; } }
@keyframes loader-plane { 0% { left: 0; } 100% { left: calc(100% - 16px); } }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1100; background: linear-gradient(90deg, var(--jh-blue), var(--jh-red)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Header shrink */
.site-header .navbar, .brand-logo { transition: padding .3s ease, height .3s ease; }
.site-header.scrolled .navbar { padding: .45rem 0; }
.site-header.scrolled .brand-logo { height: 46px; }

/* Buttons */
.btn-ghost { background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.75); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover, .btn-ghost:focus { background: #fff; border-color: #fff; color: var(--jh-blue); transform: translateY(-2px); }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -75%; } 100% { left: 130%; } }
.btn-brand, .btn-red { position: relative; overflow: hidden; }

/* Hero */
.hero { overflow: hidden; }
.hero .carousel-item { overflow: hidden; }
.hero .carousel-item img { height: min(84vh, 720px); transform: scale(1); }
.hero .carousel-item.active img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero .carousel-item::after { background: linear-gradient(90deg, rgba(20,21,74,.88) 0%, rgba(20,21,74,.62) 42%, rgba(20,21,74,.08) 78%), linear-gradient(180deg, transparent 70%, rgba(20,21,74,.5)); }
.hero-caption { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding-bottom: 3rem; }
.hero-caption .container > * { max-width: 640px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--font-head); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .82rem; background: rgba(196,54,31,.9); padding: .4rem .95rem; border-radius: 50px; }
.hero-caption h1, .hero-caption h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.12; margin: 1.1rem 0 1rem; text-shadow: 0 4px 24px rgba(0,0,0,.25); }
.hero-caption p { color: rgba(255,255,255,.9); font-size: 1.12rem; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-caption .hero-eyebrow, .hero-caption h1, .hero-caption h2, .hero-caption p, .hero-caption .hero-actions { opacity: 0; transform: translateY(28px); }
.carousel-item.active .hero-caption .hero-eyebrow { animation: rise .7s .25s ease forwards; }
.carousel-item.active .hero-caption h1, .carousel-item.active .hero-caption h2 { animation: rise .8s .45s ease forwards; }
.carousel-item.active .hero-caption p { animation: rise .8s .65s ease forwards; }
.carousel-item.active .hero-caption .hero-actions { animation: rise .8s .85s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-route { position: absolute; left: 0; right: 0; bottom: 4.2rem; width: 100%; height: 90px; z-index: 2; pointer-events: none; }
.hero-route path { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-dasharray: 6 10; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -800; } }
.hero-plane { position: absolute; z-index: 3; bottom: 7.2rem; left: -60px; color: #fff; font-size: 1.6rem; transform: rotate(80deg); animation: fly 14s linear infinite; pointer-events: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); }
@keyframes fly { 0% { left: -60px; bottom: 5.4rem; } 30% { bottom: 9rem; } 60% { bottom: 6rem; } 100% { left: calc(100% + 60px); bottom: 8rem; } }
@media (max-width: 767.98px) {
    .hero .carousel-item img { height: 460px; }
    .hero-caption { padding-bottom: 1rem; }
    .hero-caption p { font-size: 1rem; }
    .hero-route, .hero-plane { display: none; }
}

/* Feature strip */
.features { padding: 70px 0 10px; }
.feature { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1.5px solid var(--jh-line); border-radius: var(--jh-radius); padding: 1.3rem 1.4rem; height: 100%; transition: all .35s ease; position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--jh-blue), var(--jh-blue-deep)); transform: translateY(101%); transition: transform .4s ease; z-index: 0; }
.feature > * { position: relative; z-index: 1; }
.feature h3 { font-size: 1rem; margin: 0; transition: color .35s; }
.feature-icon { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--jh-blue-soft); color: var(--jh-blue); font-size: 1.5rem; transition: all .35s; }
.feature:hover { border-color: transparent; transform: translateY(-6px); box-shadow: var(--jh-shadow-lg); }
.feature:hover::before { transform: none; }
.feature:hover h3 { color: #fff; }
.feature:hover .feature-icon { background: var(--jh-red); color: #fff; transform: rotate(-8deg) scale(1.05); }

/* Section heading accent */
.section-heading { position: relative; }
.section-title .section-heading::after { content: ""; display: block; width: 64px; height: 4px; margin: .9rem auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--jh-blue) 0 60%, var(--jh-red) 60% 100%); }

/* Decorative logo triangles */
.bg-soft { position: relative; overflow: hidden; }
.bg-soft::before, .bg-soft::after { content: ""; position: absolute; width: 0; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 100px solid rgba(196, 54, 31, .07); pointer-events: none; animation: float 9s ease-in-out infinite; }
.bg-soft::before { top: 40px; left: 3%; }
.bg-soft::after { bottom: 40px; right: 4%; border-bottom-color: rgba(46, 49, 146, .08); border-left-width: 90px; border-right-width: 90px; border-bottom-width: 150px; animation-delay: -4s; }
.bg-soft > .container { position: relative; z-index: 1; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-22px) rotate(8deg); } }

/* Image hover shine */
.framed-img { overflow: visible; }
.framed-img img { transition: transform .5s ease; }
.framed-img:hover img { transform: translate(6px, -6px); }

/* Counter pulse ring */
.counter .bi { position: relative; }
.counter .bi::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); animation: ring 2.6s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }

/* Partner marquee */
.partner-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partner-track { display: flex; gap: 1.5rem; width: max-content; animation: marquee 28s linear infinite; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner-track .partner { width: 220px; height: 110px; flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - .75rem)); } }

/* Back-to-top progress ring */
.go-top { display: grid; place-items: center; padding: 0; border-radius: 50%; width: 50px; height: 50px; background: #fff; color: var(--jh-blue); box-shadow: var(--jh-shadow-lg); }
.go-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.go-top circle { fill: none; stroke: var(--jh-red); stroke-width: 3; stroke-dasharray: 132; stroke-dashoffset: calc(132 - 132 * var(--p, 0)); transition: stroke-dashoffset .1s linear; }
.go-top .bi { position: relative; }
.go-top:hover { background: var(--jh-blue); color: #fff; }

/* Footer credit */
.copyright-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.credit-link { color: #fff !important; font-weight: 600; background-image: linear-gradient(var(--jh-red), var(--jh-red)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s; padding-bottom: 2px; }
.credit-link:hover { background-size: 100% 2px; }
@media (max-width: 767.98px) { .copyright-inner { justify-content: center; text-align: center; } }

/* Staggered reveal */
.reveal { transition-delay: var(--d, 0s); }
.reveal-left, .reveal-right { transition: opacity .8s ease, transform .8s ease; }
.reveal-left:not(.in) { opacity: 0; transform: translateX(-40px); }
.reveal-right:not(.in) { opacity: 0; transform: translateX(40px); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hero-caption .hero-eyebrow, .hero-caption h1, .hero-caption h2, .hero-caption p, .hero-caption .hero-actions { opacity: 1; transform: none; }
    .hero-plane { display: none; }
}
/* Safety: hide the loader even if scripts fail */
.page-loader { animation: loader-out .4s 3s forwards; }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
.quick-track-card .btn { white-space: nowrap; }
/* Mobile overflow guards */
html, body { overflow-x: clip; }
@media (max-width: 767.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
    .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
}
/* Page title entrance */
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.page-title h1 { animation: rise-in .8s .2s ease both; }
.page-title .breadcrumb { animation: rise-in .8s .4s ease both; }
.page-title::after { animation: float 8s ease-in-out infinite; }
/* Banners already carry their own text: show them uncropped, with a gentle zoom */
.hero .carousel-item img { height: auto; aspect-ratio: 16 / 9; max-height: none; object-fit: cover; }
.hero .carousel-item.active img { animation: kenburns-soft 7s ease-out both; }
@keyframes kenburns-soft { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero .carousel-item::after { background: linear-gradient(180deg, transparent 75%, rgba(20,21,74,.45) 100%); }
@media (max-width: 767.98px) { .hero .carousel-item img { height: auto; } }
/* Keep the banner's own text clear: no overlap, plane flies across the sky */
.quick-track { margin-top: 0; padding-top: 2.5rem; }
.hero .carousel-indicators { margin-bottom: 1.2rem; }
.hero-route { top: 4%; bottom: auto; }
.hero-plane { top: 9%; bottom: auto; animation: fly-top 16s linear infinite; }
@keyframes fly-top { 0% { left: -60px; top: 11%; } 35% { top: 5%; } 65% { top: 9%; } 100% { left: calc(100% + 60px); top: 4%; } }

/* Footer: arrows align with wrapped text, service names stay on one line */
.site-footer .links li { margin-bottom: .7rem; }
.site-footer .links a { display: inline-flex; align-items: baseline; gap: .55rem; white-space: nowrap; transition: color .2s, transform .2s; }
.site-footer .links a::before { margin-right: 0; flex: none; transition: transform .2s; }
.site-footer .links a:hover { transform: translateX(4px); }
@media (min-width: 1200px) { .site-footer .row > :nth-child(1) { width: 33%; } .site-footer .row > :nth-child(2) { width: 15%; } .site-footer .row > :nth-child(3) { width: 21%; } .site-footer .row > :nth-child(4) { width: 31%; } }
/* Bottom bar: keep the credit clear of the floating buttons */
.copyright { padding-bottom: 1.25rem; }
@media (min-width: 576px) { .copyright-inner { padding-right: 76px; } }
/* Feature cards: two per row on mid-size screens so long titles fit */
@media (min-width: 992px) and (max-width: 1199.98px) { .features .col-lg-3 { width: 50%; } }