@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --primary-orange: #FF6B35;
    --primary-color: #FF6B35;
    --primary-navy: #0A2463;
    --secondary-navy: #0A2463;
    --heading-color: #0A2463;
    --bg-grey: #eef1f6;
    --primary-font: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --light-gray: #F8F9FA;
    --white-color: #fff;
}

body {
    font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand, .section-title, .hero-title, .headline {
    font-family: 'Space Grotesk', 'Manrope', 'Segoe UI', sans-serif;
    letter-spacing: -0.01em;
}

.section-title span { color: var(--primary-orange); }

/* Navbar Styles */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    color: var(--primary-navy) !important;
}

.navbar-brand span {
    color: var(--primary-orange);
}

.nav-link {
    color: var(--primary-navy) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-orange) !important;
}

.dropdown-menu {
    border: none;
    border-radius: 14px;
    padding: 0.5rem;
    margin-top: 0.6rem;
    box-shadow: 0 12px 34px rgba(10, 36, 99, 0.14);
}

.dropdown-item {
    color: var(--primary-navy);
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: var(--primary-orange);
    color: white;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-orange);
    background-image: linear-gradient(135deg, #FF7A45 0%, #FF6B35 55%, #F2551D 100%);
    border: none;
    padding: 0.7rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-image: linear-gradient(135deg, #FF6B35 0%, #ef5a22 55%, #d9430f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 107, 53, 0.35);
}

.btn-outline-primary {
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    padding: 0.7rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
}

.btn-light {
    background-color: white;
    color: var(--primary-orange);
    border: none;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255,255,255,0.4);
    color: var(--primary-orange);
}

/* ============================================================
   ANAX SERVICE — PREMIUM DESIGN LAYER
   Consistent, elegant interactions + elevation across all pages.
   ============================================================ */
:root {
    --ease-premium: cubic-bezier(.16, 1, .3, 1);
    --shadow-soft: 0 4px 14px rgba(10, 36, 99, .06);
    --shadow-card: 0 12px 34px rgba(10, 36, 99, .09);
    --shadow-hover: 0 22px 50px rgba(10, 36, 99, .16);
}

html { scroll-behavior: smooth; }
::selection { background: var(--primary-orange); color: #fff; }

/* Headings & section intros */
.section-title { font-weight: 800 !important; color: var(--primary-navy); line-height: 1.15; }
.section-subtitle { color: #667085; }

/* Unified, subtle card motion (replaces jumpy per-page hovers) */
.feature-card, .benefit-card, .testimonial-card, .value-item,
.service-item, .dashboard-card, .step-card, .contact-card {
    transition: transform .45s var(--ease-premium),
                box-shadow .45s var(--ease-premium),
                border-color .45s var(--ease-premium) !important;
}
.feature-card:hover, .benefit-card:hover, .testimonial-card:hover,
.value-item:hover, .service-item:hover, .dashboard-card:hover,
.step-card:hover, .contact-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-hover) !important;
}

/* Icon tiles glide with their card */
.feature-icon, .benefit-icon, .service-ico, .value-icon,
.dashboard-icon, .contact-icon {
    transition: transform .45s var(--ease-premium), box-shadow .45s var(--ease-premium) !important;
}
.feature-card:hover .feature-icon,
.benefit-card:hover .benefit-icon,
.service-item:hover .service-ico,
.value-item:hover .value-icon,
.dashboard-card:hover .dashboard-icon,
.contact-card:hover .contact-icon {
    transform: translateY(-2px) scale(1.06) !important;
}

/* Buttons — smooth, restrained */
.btn { transition: transform .35s var(--ease-premium), box-shadow .35s var(--ease-premium), background .35s ease, color .3s ease !important; }
.btn-primary:hover { transform: translateY(-3px) !important; box-shadow: 0 12px 26px rgba(255, 107, 53, .34) !important; }

a { transition: color .3s ease; }
.navbar-brand:hover .logo { transform: scale(1.02); }
.navbar.sticky-top { box-shadow: 0 6px 24px rgba(10, 36, 99, .07) !important; }

/* Content images — consistent rounding + gentle zoom */
.about-image-wrapper, .partnership-image { overflow: hidden; border-radius: 20px; }
.about-image-wrapper img, .partnership-image img { transition: transform .6s var(--ease-premium); display: block; width: 100%; }
.about-image-wrapper:hover img, .partnership-image:hover img { transform: scale(1.05); }

/* Scroll-to-top */
.scroll-to-top { transition: transform .35s var(--ease-premium), box-shadow .35s var(--ease-premium) !important; }
.scroll-to-top:hover { transform: translateY(-4px) !important; }

/* Premium form focus */
.form-control, .form-select, .modal-form-control {
    transition: border-color .3s ease, box-shadow .3s ease !important;
}
.form-control:focus, .form-select:focus, .modal-form-control:focus {
    border-color: var(--primary-orange) !important;
    box-shadow: 0 0 0 .2rem rgba(255, 107, 53, .15) !important;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============================================================
   ANAX SERVICE — CREATIVE / DISTINCT LAYER
   Animated gradient blobs, parallax, floating shapes, moving rider.
   ============================================================ */
body { background: #f7f9fc; }

/* Fixed animated blob backdrop (sits behind all content) */
.anax-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; transform: translateZ(0); }
.anax-bg .blob {
    position: absolute; width: 46vw; height: 46vw; max-width: 700px; max-height: 700px;
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    filter: blur(44px); opacity: .55; will-change: transform;
}
.anax-bg .blob-1 { top: -12vh; left: -8vw; background: radial-gradient(circle at 35% 35%, rgba(255,107,53,.55), transparent 68%); animation: blobFloat1 26s ease-in-out infinite; }
.anax-bg .blob-2 { top: 16vh; right: -12vw; background: radial-gradient(circle at 50% 50%, rgba(10,36,99,.42), transparent 68%); animation: blobFloat2 32s ease-in-out infinite; }
.anax-bg .blob-3 { bottom: -14vh; left: 10vw; background: radial-gradient(circle at 50% 50%, rgba(124,92,255,.34), transparent 68%); animation: blobFloat3 30s ease-in-out infinite; }
.anax-bg .blob-4 { bottom: 4vh; right: 6vw; background: radial-gradient(circle at 50% 50%, rgba(0,193,167,.30), transparent 68%); animation: blobFloat1 28s ease-in-out infinite reverse; }
.anax-bg .grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(10,36,99,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(10,36,99,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(circle at 50% 20%, #000, transparent 72%);
    mask-image: radial-gradient(circle at 50% 20%, #000, transparent 72%);
}
@keyframes blobFloat1 { 0%,100%{transform:translate3d(0,0,0) scale(1)} 33%{transform:translate3d(6vw,4vh,0) scale(1.08)} 66%{transform:translate3d(-4vw,6vh,0) scale(.95)} }
@keyframes blobFloat2 { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(-6vw,-4vh,0) scale(1.1)} }
@keyframes blobFloat3 { 0%,100%{transform:translate3d(0,0,0) scale(1)} 40%{transform:translate3d(5vw,-5vh,0) scale(1.06)} 75%{transform:translate3d(-3vw,3vh,0) scale(.94)} }

/* Hero creative decorations */
.hero-section { position: relative; }
.hero-section > .container { position: relative; z-index: 3; }
.hero-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero-decor .floaty { position: absolute; display: block; border-radius: 50%; will-change: transform, translate; }
.floaty-1 { width: 130px; height: 130px; top: 12%; left: 6%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), transparent 70%); animation: floatY 7s ease-in-out infinite; }
.floaty-2 { width: 72px; height: 72px; bottom: 26%; left: 42%; background: radial-gradient(circle at 30% 30%, rgba(255,107,53,.5), transparent 70%); animation: floatY 5.5s ease-in-out infinite; }
.floaty-ring { width: 130px; height: 130px; top: 20%; right: 9%; border: 2px dashed rgba(255,255,255,.32); background: transparent; animation: spin 26s linear infinite; }
.floaty-box { width: 44px; height: 44px; top: 58%; right: 22%; border-radius: 12px; background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.24); animation: floatY 6.5s ease-in-out infinite; }
@keyframes floatY { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-22px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Moving road + delivery rider/truck */
.hero-road { position: absolute; left: 0; right: 0; bottom: 0; height: 66px; z-index: 2; pointer-events: none; }
.hero-road::before { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.14)); }
.hero-road::after { content:''; position:absolute; left:0; right:0; bottom:22px; height:3px; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 26px, transparent 26px 52px); }
@keyframes roadMove { to { background-position: -52px 0; } }
.rider { position: absolute; bottom: 18px; left: 0; filter: drop-shadow(0 8px 8px rgba(0,0,0,.28)); }
.rider i, .rider img { display: inline-block; animation: bob .55s ease-in-out infinite; }
.rider-bike { font-size: 2.5rem; animation: drive 13s linear infinite backwards; }
.rider-bike img { width: 58px; height: auto; scale: -1 1; }
.rider-truck { font-size: 2.1rem; bottom: 20px; animation: drive 20s linear infinite backwards; animation-delay: 6s; }
.rider-truck img { width: 78px; height: auto; }
@keyframes drive { 0%{ transform: translateX(-12vw);} 100%{ transform: translateX(118vw);} }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-3px);} }

/* Client-partners hero: drifting parcels (dark photo hero) */
.cp-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.cp-decor .parcel { position: absolute; color: rgba(255,255,255,.85); filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); animation: floatY 7s ease-in-out infinite; }
.cp-parcel-1 { top: 8%; left: 64%; font-size: 2.1rem; }
.cp-parcel-2 { top: 62%; left: 84%; font-size: 1.7rem; animation-duration: 5.5s; }
.cp-parcel-3 { top: 28%; right: 6%; font-size: 1.3rem; animation-duration: 6.5s; }

/* Franchise-partners hero: growth motif (light hero) */
.fp-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fp-decor i { position: absolute; opacity: .15; animation: floatY 7s ease-in-out infinite; }
.fp-decor .fp-1 { top: 8%; right: 6%; font-size: 5rem; color: var(--primary-orange); }
.fp-decor .fp-2 { bottom: 14%; right: 20%; font-size: 3rem; color: var(--primary-navy); animation-duration: 8s; }
.fp-decor .fp-3 { top: 52%; right: 2%; font-size: 2.2rem; color: var(--primary-orange); animation-duration: 6s; }

/* Contact-us hero: pulsing location pin + chat bubbles (navy hero) */
.ct-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ct-pin-wrap { position: absolute; top: 16%; right: 12%; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; }
.ct-pin-wrap i { position: relative; z-index: 2; font-size: 2rem; color: #fff; }
.ct-pin-wrap .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: pinPulse 2.4s ease-out infinite; }
.ct-pin-wrap .ring:nth-child(2) { animation-delay: .8s; }
@keyframes pinPulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.ct-decor .bubble { position: absolute; color: rgba(255,255,255,.6); animation: floatY 6.5s ease-in-out infinite; }
.ct-bubble-1 { top: 62%; left: 8%; font-size: 1.8rem; }
.ct-bubble-2 { top: 22%; left: 14%; font-size: 1.3rem; animation-duration: 5s; }

/* Keep hero copy above the new decor layers */
.delivery-hero > .container,
.client-hero > .container,
.franchise-hero > .container { position: relative; z-index: 2; }

/* ============================================================
   ANAX SERVICE — STRUCTURAL REDESIGN
   Breaks from the generic centered-icon template card language.
   ============================================================ */

/* --- Icon-left tilted cards (replaces centered icon-on-top look) --- */
.feature-card, .benefit-card {
    text-align: left !important;
    border-radius: 20px !important;
    position: relative;
    overflow: hidden;
}
.feature-card::before, .benefit-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-navy));
    transform: scaleX(0); transform-origin: left center;
    transition: transform .5s var(--ease-premium);
}
.feature-card:hover::before, .benefit-card:hover::before { transform: scaleX(1); }

.feature-icon, .benefit-icon {
    margin: 0 0 1.4rem 0 !important;
    border-radius: 16px !important;
    transform: rotate(-8deg);
}
.feature-card:hover .feature-icon, .benefit-card:hover .benefit-icon {
    transform: rotate(0deg) scale(1.08) !important;
}
.feature-card h4, .benefit-card h4, .feature-card p, .benefit-card p { text-align: left !important; }

/* --- Numbered watermark on Core Services (no HTML change needed) --- */
.benefits .row { counter-reset: svc; }
.benefits .col-md-6 { counter-increment: svc; }
.benefits .service-item { position: relative; }
.benefits .service-item::after {
    content: counter(svc, decimal-leading-zero);
    position: absolute; top: 2px; right: 18px;
    font-family: 'Space Grotesk', 'Manrope', sans-serif; font-weight: 800; font-size: 2.8rem;
    color: rgba(10, 36, 99, 0.07); line-height: 1; pointer-events: none;
}

/* --- Quote-style testimonial cards --- */
.testimonial-card {
    position: relative;
    border-radius: 20px !important;
    padding-top: 3rem !important;
    border: 4px solid transparent !important;
    background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, var(--primary-orange), var(--primary-navy)) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute; top: -6px; left: 22px;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 5rem; line-height: 1; font-weight: 700;
    color: rgba(255, 107, 53, .2);
}

/* --- Organic, duotone-washed imagery (breaks plain rectangular stock photos) --- */
.about-image-wrapper, .partnership-image, .service-content .col-lg-5 {
    position: relative;
}
.about-image-wrapper, .partnership-image {
    border-radius: 42% 58% 63% 37% / 45% 41% 59% 55% !important;
}
.about-image-wrapper::after, .partnership-image::after, .service-content .col-lg-5::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,36,99,.30), rgba(255,107,53,.20));
    mix-blend-mode: multiply;
    pointer-events: none;
}
.service-content .col-lg-5 { border-radius: 30% 70% 65% 35% / 40% 35% 65% 60%; overflow: hidden; }
.service-content .col-lg-5 img {
    border-radius: 30% 70% 65% 35% / 40% 35% 65% 60% !important;
}
.hero-content-text img {
    border-radius: 28% 72% 66% 34% / 42% 38% 62% 58% !important;
}

/* --- Diagonal-cut heroes (breaks the rectangular-block template silhouette) --- */
.client-hero, .franchise-hero, .contact-hero {
    clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
}
.franchise-hero { padding-bottom: 100px !important; }
.contact-hero { padding-bottom: 90px !important; }