/* ==========================================================================
   JHAMXPRESS - Vibrant Modern Styling
   Color Palette: Primary Electric Orange (#FF5500, #FF6B00), Dark Navy (#0B0F19, #111827),
   Pure White (#FFFFFF), Glassmorphism Effects & Smooth Micro-Animations.
   ========================================================================== */

:root {
    --primary: #FF5500;
    --primary-hover: #E04B00;
    --primary-light: #FF884D;
    --primary-glow: rgba(255, 85, 0, 0.4);
    --secondary-dark: #0B0F19;
    --card-bg-dark: #131A29;
    --card-bg-dark-hover: #1C263B;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    --bg-light: #F8FAF9;
    --bg-white: #FFFFFF;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #1DA851;
    --whatsapp-glow: rgba(37, 211, 102, 0.4);
    --border-color: #E2E8F0;
    --border-dark: rgba(255, 255, 255, 0.1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px var(--primary-glow);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 90px 0;
}

.highlight {
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(135deg, #FF7733 0%, #FF3300 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Top Bar */
.top-bar {
    background: var(--secondary-dark);
    color: var(--text-light);
    font-size: 0.88rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-dark);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-info i {
    color: var(--primary);
    margin-right: 5px;
}

.top-wa-btn {
    background: var(--whatsapp-green);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.top-wa-btn:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-1px);
}

/* Header & Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px var(--primary-glow));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--secondary-dark);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #E04B00 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.82rem;
    box-shadow: 0 4px 15px var(--primary-glow);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-btn-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--secondary-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background: #090D16;
    color: #fff;
    padding: 110px 0 130px;
    overflow: hidden;
}

/* ── Fullscreen Background Video ── */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0.88;
    transition: opacity 1.2s ease;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(6, 8, 16, 0.45) 0%,
        rgba(9, 13, 22, 0.38) 60%,
        rgba(17, 24, 39, 0.30) 100%
    ), radial-gradient(circle at 80% 20%, rgba(255, 85, 0, 0.10) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Everything inside hero sits above video & overlay */
.hero-shapes,
.hero-grid {
    position: relative;
    z-index: 2;
}

/* ============================================================
   HERO SEQUENTIAL REVEAL ANIMATIONS
   Each .hero-reveal element starts hidden and slides in
   using its individual --delay CSS custom property.
   ============================================================ */

/* Base hidden state — all hero-reveal elements start invisible */
.hero-reveal {
    opacity: 0;
    transform: translateY(38px);
    animation: heroRevealIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--delay, 0.5s);
}

/* The reveal keyframe — fade up from below */
@keyframes heroRevealIn {
    0% {
        opacity: 0;
        transform: translateY(38px) scale(0.97);
        filter: blur(4px);
    }
    60% {
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* Badge gets a special slide-in from left */
.badge-hero.hero-reveal {
    animation-name: heroRevealBadge;
}

@keyframes heroRevealBadge {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.9);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

/* H1 gets a more dramatic scale entrance */
h1.hero-reveal {
    animation-name: heroRevealTitle;
}

@keyframes heroRevealTitle {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        letter-spacing: 6px;
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: -1px;
        filter: blur(0);
    }
}

/* Logo card zooms in from center */
.hero-logo-card.hero-reveal {
    animation-name: heroRevealCard;
}

@keyframes heroRevealCard {
    0% {
        opacity: 0;
        transform: scale(0.7) rotate(-4deg);
        filter: blur(8px);
    }
    70% {
        transform: scale(1.04) rotate(1deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}

/* Floating stats pop in from their corners */
.floating-stat.stat-1.hero-reveal {
    animation-name: heroRevealStat1;
}
@keyframes heroRevealStat1 {
    0%   { opacity: 0; transform: translate(-20px, -20px) scale(0.8); }
    100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

.floating-stat.stat-2.hero-reveal {
    animation-name: heroRevealStat2;
}
@keyframes heroRevealStat2 {
    0%   { opacity: 0; transform: translate(20px, 20px) scale(0.8); }
    100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

/* Video fades in smoothly when it loads */
.hero-video-bg {
    animation: heroVideoFade 1.2s ease both;
}
@keyframes heroVideoFade {
    from { opacity: 0; }
    to   { opacity: 0.88; }
}


.shape-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--primary-glow);
    filter: blur(100px);
    top: -100px;
    left: -100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 85, 0, 0.15);
    border: 1px solid rgba(255, 85, 0, 0.3);
    color: #FF884D;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 3.4rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.15rem;
    color: #94A3B8;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.btn {
    padding: 14px 28px;
    border-radius: 35px;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #D84400 100%);
    color: #fff;
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: #fff;
    box-shadow: 0 6px 20px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--whatsapp-glow);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.h-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.h-feature i {
    font-size: 1.8rem;
    color: var(--primary);
}

.h-feature strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
}

.h-feature span {
    font-size: 0.78rem;
    color: #94A3B8;
}

/* Hero Right Visual Card */
.hero-card-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 380px;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
}

.hero-logo-img {
    position: relative;
    z-index: 1;
    max-width: 250px;
    margin: 0 auto;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.hero-card-badge {
    margin-top: 25px;
    background: linear-gradient(90deg, var(--primary), #FF884D);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.floating-stat {
    position: absolute;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.floating-stat i {
    font-size: 1.6rem;
    color: var(--primary);
}

.floating-stat h4 {
    font-size: 1.1rem;
    color: #fff;
}

.floating-stat p {
    font-size: 0.75rem;
    color: #94A3B8;
}

.stat-1 {
    top: -20px;
    left: -20px;
    animation: pulseStat 3s ease-in-out infinite alternate;
}

.stat-2 {
    bottom: -20px;
    right: -20px;
    animation: pulseStat 3s ease-in-out 1.5s infinite alternate;
}

@keyframes pulseStat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-dark);
    margin-bottom: 12px;
}

.section-header.light h2 {
    color: #fff;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.section-header.light p {
    color: #94A3B8;
}

/* ================================================
   ABOUT US SECTION
   ================================================ */
.about {
    background: #0B0F19;
    position: relative;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .subtitle {
    display: inline-block;
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-content p {
    color: #94A3B8;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-content p strong {
    color: #fff;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 35px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.about-feature:hover {
    background: rgba(255, 85, 0, 0.05);
    border-color: rgba(255, 85, 0, 0.2);
    transform: translateX(10px);
}

.about-feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: rgba(255, 85, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-feature h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.15rem;
}

.about-feature p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #94A3B8;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    z-index: 1;
}

.about-image-decoration {
    position: absolute;
    inset: -25px -25px 25px 25px;
    border: 2px dashed rgba(255, 85, 0, 0.3);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    object-fit: cover;
    height: 550px;
}

.about-badge {
    position: absolute;
    bottom: -35px;
    left: -35px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 100%);
    color: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(255, 85, 0, 0.35);
    text-align: center;
    border: 4px solid #0B0F19;
}

.about-badge h3 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 5px;
    line-height: 1;
}

.about-badge p {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1rem;
    opacity: 0.95;
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-badge {
        left: 20px;
        bottom: 20px;
        padding: 20px;
    }
    
    .about-img {
        height: 400px;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 85, 0, 0.3);
}

.highlight-card {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.popular-badge {
    position: absolute;
    top: -14px;
    right: 25px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
}

.service-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: rgba(255, 85, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--secondary-dark);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-list {
    list-style: none;
    margin-bottom: 25px;
}

.service-list li {
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list i {
    color: var(--primary);
    font-size: 0.8rem;
}

.service-link {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 10px;
}

/* Fleet Section */
.fleet.bg-dark {
    background: url('1 k.jpeg') center/cover no-repeat fixed;
    position: relative;
    color: #fff;
    z-index: 1;
}

.fleet.bg-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.85);
    z-index: -1;
}

.bg-dark {
    background: var(--secondary-dark);
    color: #fff;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.fleet-box {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.fleet-box:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.fleet-img-box {
    background: linear-gradient(135deg, rgba(255, 85, 0, 0.45), rgba(9, 13, 22, 0.8)), url('hero_bg.png') no-repeat center center / cover;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bus-theme {
    background: linear-gradient(135deg, rgba(14, 100, 180, 0.45), rgba(9, 13, 22, 0.8)), url('bus_express.png') no-repeat center center / cover;
}

.fleet-big-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.6));
}

.fleet-info {
    padding: 30px;
}

.fleet-tag {
    background: rgba(255, 85, 0, 0.15);
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.fleet-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}

.fleet-info p {
    font-size: 0.92rem;
    color: #94A3B8;
    margin-bottom: 20px;
}

.fleet-perks {
    list-style: none;
}

.fleet-perks li {
    font-size: 0.88rem;
    color: #E2E8F0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fleet-perks i {
    color: var(--primary);
}

/* Branch Section */
.branch-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.branch-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 85, 0, 0.1);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.branch-content h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.branch-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.branch-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 35px;
}

.b-detail {
    display: flex;
    align-items: center;
    gap: 15px;
}

.b-detail i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 85, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.b-detail h4 {
    font-size: 1rem;
    color: var(--secondary-dark);
}

.b-detail p {
    font-size: 0.88rem;
    margin-bottom: 0;
}

.map-graphic {
    background: url('SANTO DOMINGO.png') no-repeat center center / cover;
    border-radius: var(--radius-md);
    height: 360px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.6);
}

.map-icon-bg {
    font-size: 14rem;
    color: rgba(255, 255, 255, 0.03);
}

.pulse-pin {
    position: absolute;
    background: rgba(255, 85, 0, 0.2);
    border: 1px solid var(--primary);
    padding: 8px 14px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.pin-romana {
    top: 50%;
    right: 20%;
    background: var(--primary);
    transform: scale(1.1);
    z-index: 5;
    animation: pinPulse 2s infinite;
}

.pin-sd { top: 48%; left: 35%; }
.pin-stg { top: 25%; left: 25%; }
.pin-pc { top: 55%; right: 8%; }

@keyframes pinPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.7); }
    50% { box-shadow: 0 0 0 12px rgba(255, 85, 0, 0); }
}

/* Shipment Form Section */
.bg-gradient-dark {
    background: linear-gradient(135deg, #090D16 0%, #151D2A 100%);
    color: #fff;
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 45px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 25px;
    border-radius: var(--radius-md);
}

.form-group-box.full-width {
    grid-column: 1 / -1;
}

.form-group-box h3 {
    font-size: 1.15rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-field {
    margin-bottom: 18px;
}

.input-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 6px;
}

.input-field input, .input-field select, .input-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.input-field select option {
    background: #0F172A;
    color: #fff;
}

.input-field input:focus, .input-field select:focus, .input-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.preview-box {
    background: rgba(15, 23, 42, 0.95);
    border: 1px dashed rgba(37, 211, 102, 0.4);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 30px;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--whatsapp-green);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.preview-text {
    font-family: monospace;
    font-size: 0.88rem;
    color: #E2E8F0;
    white-space: pre-wrap;
    word-break: break-word;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: var(--radius-sm);
}

.form-submit-container {
    text-align: center;
}

.btn-whatsapp-submit {
    width: 100%;
    max-width: 550px;
    padding: 18px;
    font-size: 1.15rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border: none;
    border-radius: 40px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 25px var(--whatsapp-glow);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-whatsapp-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--whatsapp-glow);
}

.submit-note {
    margin-top: 14px;
    font-size: 0.82rem;
    color: #94A3B8;
}

/* Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.trust-card {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.trust-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--secondary-dark);
}

.trust-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #CC3600 100%);
    color: #fff;
    position: relative;
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 1.05rem;
    opacity: 0.9;
}

.btn-light-glow {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-light-glow:hover {
    background: var(--secondary-dark);
    color: #fff;
}

/* ================================================
   DRIVER RECRUITMENT SECTION
   ================================================ */
.driver-section {
    background: linear-gradient(135deg, #0A0E1A 0%, #111827 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.driver-section::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,85,0,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.driver-header {
    text-align: center;
    margin-bottom: 50px;
}

.driver-header h2 {
    font-size: 2.4rem;
    margin-bottom: 12px;
    color: #fff;
}

.driver-header p {
    font-size: 1rem;
    color: #94A3B8;
    max-width: 600px;
    margin: 0 auto 25px;
}

.driver-perks-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.driver-perk {
    background: rgba(255,85,0,0.12);
    border: 1px solid rgba(255,85,0,0.3);
    color: #FF884D;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Form Wrapper */
.driver-form-wrap {
    max-width: 860px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.driver-form-section {
    margin-bottom: 35px;
}

.driver-form-section h3 {
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding-bottom: 12px;
}

.driver-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.driver-input-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.driver-input-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #CBD5E1;
}

.driver-input-field input {
    background: rgba(15,23,42,0.8);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.driver-input-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.doc-note {
    font-size: 0.88rem;
    color: #94A3B8;
    margin-bottom: 18px;
}

/* Document type toggle */
.doc-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 25px;
}

.doc-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background: rgba(255,255,255,0.02);
}

.doc-type-btn input[type="radio"] { display: none; }

.doc-type-btn i {
    font-size: 2rem;
    color: #64748B;
    transition: var(--transition);
}

.doc-type-btn span {
    font-weight: 700;
    color: #94A3B8;
    font-size: 0.95rem;
    transition: var(--transition);
}

.doc-type-btn small {
    font-size: 0.75rem;
    color: #64748B;
}

.doc-type-btn:has(input:checked),
.doc-type-btn.selected {
    border-color: var(--primary);
    background: rgba(255,85,0,0.1);
    box-shadow: 0 0 20px rgba(255,85,0,0.2);
}

.doc-type-btn:has(input:checked) i,
.doc-type-btn.selected i { color: var(--primary); }

.doc-type-btn:has(input:checked) span,
.doc-type-btn.selected span { color: #fff; }

.doc-type-btn:hover {
    border-color: rgba(255,85,0,0.4);
}

/* Upload Boxes */
.doc-upload-area { margin-top: 5px; }

.upload-box {
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    transition: var(--transition);
    overflow: hidden;
}

.upload-box:hover {
    border-color: var(--primary);
    background: rgba(255,85,0,0.05);
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 20px;
    cursor: pointer;
    text-align: center;
    min-height: 140px;
}

.upload-label i {
    font-size: 2.2rem;
    color: var(--primary);
}

.upload-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.upload-hint {
    font-size: 0.78rem;
    color: #64748B;
}

.upload-filename {
    font-size: 0.75rem;
    color: #25D366;
    font-weight: 600;
    background: rgba(37,211,102,0.1);
    padding: 4px 10px;
    border-radius: 10px;
    display: none;
}

.upload-filename.has-file { display: block; }

.upload-box-wide { width: 100%; }
.upload-box-wide .upload-label { min-height: 160px; }

.file-hidden {
    display: none;
}

/* Submit */
.driver-submit {
    text-align: center;
    padding-top: 10px;
}

.btn-driver-submit {
    width: 100%;
    max-width: 520px;
    padding: 18px 30px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border: none;
    border-radius: 40px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 25px var(--whatsapp-glow);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-driver-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--whatsapp-glow);
}

.driver-submit-note {
    margin-top: 14px;
    font-size: 0.82rem;
    color: #64748B;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    max-width: 480px;
    margin-inline: auto;
}

.driver-submit-note i { color: #FF884D; margin-top: 3px; flex-shrink: 0; }

/* Modal */
.driver-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.driver-modal.active {
    opacity: 1;
    pointer-events: all;
}

.driver-modal-box {
    background: #111827;
    border: 1px solid rgba(37,211,102,0.3);
    border-radius: var(--radius-lg);
    padding: 45px 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: modalPop 0.5s cubic-bezier(0.175,0.885,0.32,1.275) both;
}

@keyframes modalPop {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.driver-modal-icon {
    font-size: 3.5rem;
    color: #25D366;
    margin-bottom: 15px;
}

.driver-modal-box h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.driver-modal-box p {
    color: #94A3B8;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.modal-steps {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.modal-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #E2E8F0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.modal-steps i { color: #25D366; font-size: 1rem; }

/* Responsive */
@media (max-width: 768px) {
    .driver-input-row,
    .doc-type-toggle { grid-template-columns: 1fr; }
    .driver-form-wrap { padding: 25px 20px; }
    .driver-header h2 { font-size: 1.8rem; }
}

/* Footer */
.footer {
    background: #070A10;
    color: #94A3B8;
    padding-top: 70px;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo {
    height: 45px;
    width: auto;
}

.footer-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
}

.footer-tagline {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.footer-desc {
    font-size: 0.88rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info-list p {
    font-size: 0.88rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-list i {
    color: var(--primary);
}

.footer-bottom {
    background: #04060A;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.dev-tag {
    color: var(--primary-light);
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px var(--whatsapp-glow);
    z-index: 999;
    transition: var(--transition);
    animation: waPulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
}

.wa-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
}

.wa-tooltip {
    position: absolute;
    right: 75px;
    background: var(--secondary-dark);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-wa:hover .wa-tooltip {
    opacity: 1;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.6rem;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-card-container {
        margin-top: 30px;
    }

    .branch-card {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: var(--secondary-dark);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        color: #fff;
        font-size: 1.2rem;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
}

/* ================================================
   MODAL POPUP STYLES
   ================================================ */
.jx-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 8, 15, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.jx-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.jx-modal-content {
    background: #0F172A;
    border: 1px solid rgba(255, 85, 0, 0.3);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.jx-modal-overlay.active .jx-modal-content {
    transform: scale(1);
}

.jx-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #94A3B8;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.jx-modal-close:hover {
    background: #FF5500;
    color: #fff;
}

.jx-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.jx-modal-icon-header {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.jx-modal-icon-header.orange {
    background: rgba(255, 85, 0, 0.15);
    color: #FF5500;
}

.jx-modal-icon-header.green {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}

.jx-modal-header h2 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 5px;
}

.jx-modal-header p {
    font-size: 0.88rem;
    color: #94A3B8;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 600px) {
    .mf-row {
        grid-template-columns: 1fr;
    }
}

.mf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mf-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #CBD5E1;
}

.mf-field input,
.mf-field select,
.mf-field textarea {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.mf-field input:focus,
.mf-field select:focus,
.mf-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* ==========================================================================
   MOBILE UX IMPROVEMENTS
   - Safe-area (notch / home indicator) support
   - Prevent iOS auto-zoom on input focus (font-size >= 16px)
   - Larger touch targets, fine-grained breakpoints
   - Full-screen modals on small devices
   - Mobile menu overlay & scroll lock
   ========================================================================== */

/* Safe-area helpers — applied to fixed/sticky elements that hug screen edges */
.top-bar { padding-top: env(safe-area-inset-top); }
.navbar { top: env(safe-area-inset-top); }

/* Prevent the iOS/Android automatic zoom-on-focus by keeping inputs >= 16px */
.input-field input,
.input-field select,
.input-field textarea,
.driver-input-field input,
.mf-field input,
.mf-field select,
.mf-field textarea,
.upload-filename {
    font-size: 16px;
}

/* Larger, friendlier touch targets on small screens */
@media (max-width: 768px) {
    .btn {
        padding: 15px 24px;
        font-size: 1rem;
        min-height: 52px;
        justify-content: center;
    }

    .service-link,
    .footer-links a,
    .contact-info-list p {
        min-height: 44px;
    }

    .nav-btn-highlight {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        min-height: 52px;
    }
}

/* ── Top bar: cleaner on phones ── */
@media (max-width: 600px) {
    .top-info {
        width: 100%;
        justify-content: center;
        text-align: center;
        gap: 6px;
        font-size: 0.74rem;
    }
    .top-info span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
    .top-info span:first-child { display: none; } /* hide the long location line, keep the WA button primary */
    .top-contact { width: 100%; display: flex; justify-content: center; }
    .top-wa-btn { font-size: 0.8rem; padding: 6px 16px; }
    .top-bar { padding: 8px 0; }
}

/* ── Mobile slide-in menu (upgraded) ── */
.nav-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
}
.nav-menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: min(86%, 340px);
        height: 100vh;
        height: 100dvh;
        background: var(--secondary-dark);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: calc(env(safe-area-inset-top) + 80px) 28px 40px;
        gap: 6px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 1001;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: #fff;
        font-size: 1.05rem;
        padding: 16px 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        min-height: 52px;
        display: flex;
        align-items: center;
    }
    .nav-link::after { display: none; }
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-light);
        background: rgba(255, 85, 0, 0.08);
        padding-left: 16px;
    }

    .nav-btn-highlight {
        margin-top: 14px;
        border-radius: 16px;
    }

    /* Hamburger button respects safe-area top */
    .mobile-toggle {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1002;
    }
}

/* ── Hero tuned for phones ── */
@media (max-width: 600px) {
    .hero {
        padding: 60px 0 90px;
    }
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.15;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .badge-hero {
        font-size: 0.76rem;
        padding: 7px 14px;
    }
    .hero-actions {
        gap: 12px;
    }
    .hero-actions .btn {
        flex: 1 1 100%;
    }
    .hero-logo-card {
        padding: 28px 20px;
        max-width: 300px;
    }
    .hero-logo-img {
        max-width: 180px;
    }
    /* On small screens the floating stats overlap content; reposition */
    .floating-stat {
        padding: 10px 14px;
    }
    .floating-stat h4 { font-size: 0.95rem; }
    .floating-stat p { font-size: 0.68rem; }
    .stat-1 { top: -10px; left: -8px; }
    .stat-2 { bottom: -10px; right: -8px; }
}

/* ── Section spacing & titles on phones ── */
@media (max-width: 600px) {
    .section-padding { padding: 55px 0; }
    .section-header { margin-bottom: 35px; }
    .section-header h2,
    .about-content h2,
    .branch-content h2,
    .cta-text h2,
    .driver-header h2 {
        font-size: 1.6rem;
    }
    .section-header p { font-size: 0.95rem; }
}

/* ── Service & trust cards: full width, less padding ── */
@media (max-width: 600px) {
    .services-grid,
    .fleet-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .service-card { padding: 28px 22px; }
    .popular-badge { right: 16px; }
}

/* ── About section on phones ── */
@media (max-width: 600px) {
    .about-features { gap: 12px; margin-top: 28px; }
    .about-feature { padding: 16px; gap: 14px; }
    .about-feature:hover { transform: none; }
    .about-feature-icon { width: 46px; height: 46px; font-size: 1.25rem; }
    .about-img { height: 300px; }
    .about-image-decoration { inset: -12px -12px 12px 12px; }
    .about-badge {
        padding: 18px;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
    }
    .about-badge h3 { font-size: 1.8rem; }
}

/* ── Branch card on phones ── */
@media (max-width: 600px) {
    .branch-card {
        padding: 30px 22px;
        gap: 25px;
    }
    .branch-details { gap: 14px; }
    .map-graphic { height: 240px; }
    .b-detail { gap: 12px; }
    .b-detail i { width: 40px; height: 40px; font-size: 1.05rem; }
}

/* ── Forms on phones ── */
@media (max-width: 600px) {
    .form-wrapper { padding: 25px 18px; }
    .form-grid { gap: 20px; }
    .form-group-box { padding: 20px 16px; }
    .form-group-box h3 { font-size: 1.02rem; }
    .btn-whatsapp-submit,
    .btn-driver-submit {
        font-size: 1rem;
        padding: 16px;
        max-width: 100%;
        width: 100%;
        min-height: 56px;
    }
    .driver-form-wrap { padding: 25px 18px; }
    .driver-input-row { grid-template-columns: 1fr; }
    .doc-type-toggle { grid-template-columns: 1fr; }
    .upload-label { padding: 22px 16px; min-height: 120px; }
}

/* ── Modals: near full-screen on phones ── */
@media (max-width: 600px) {
    .jx-modal-overlay {
        padding: 0;
        align-items: stretch;
    }
    .jx-modal-content {
        max-width: 100%;
        max-height: 100vh;
        max-height: 100dvh;
        height: 100%;
        border-radius: 0;
        border: none;
        padding: calc(env(safe-area-inset-top) + 20px) 20px calc(env(safe-area-inset-bottom) + 24px);
        overflow-y: auto;
    }
    .jx-modal-close {
        top: calc(env(safe-area-inset-top) + 14px);
        right: 14px;
        width: 40px;
        height: 40px;
    }
    .jx-modal-header h2 { font-size: 1.35rem; }
    .mf-row { grid-template-columns: 1fr; }
}

/* ── Floating WhatsApp button: safe-area aware ── */
.floating-wa {
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: calc(20px + env(safe-area-inset-right));
}
.floating-wa .wa-tooltip { display: none; } /* tooltip not useful on touch */
@media (min-width: 769px) {
    .floating-wa .wa-tooltip { display: block; }
}

/* Keep floating button above mobile content but below modals */
.floating-wa { z-index: 998; }

/* ── Footer on phones ── */
@media (max-width: 600px) {
    .footer { padding-top: 50px; }
    .footer-grid { gap: 32px; margin-bottom: 35px; }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        font-size: 0.78rem;
    }
}

/* ── Driver modal on phones ── */
@media (max-width: 600px) {
    .driver-modal-box {
        width: calc(100% - 32px);
        padding: 35px 24px;
    }
    .driver-modal-box h3 { font-size: 1.4rem; }
}

/* ── Respect users who prefer reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .floating-wa { animation: none !important; }
    .hero-logo-img { animation: none !important; }
}

