:root {
    /* ⚡ Modern Color Palette - Deep Ocean & Neon Cyan */
    --primary: #06b6d4; 
    --primary-dark: #0891b2;
    --primary-glow: rgba(6, 182, 212, 0.3);
    --accent: #22d3ee;
    
    --dark-bg: #020617; 
    --dark-card: #0f172a;
    --dark-lighter: #1e293b;
    --darkest: #020617;
    
    --white: #ffffff;
    --white-off: #f8fafc;
    --text-main: #94a3b8; 
    --text-bright: #f1f5f9;
    --text-dark: #0f172a;
    
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-neon: 0 0 20px rgba(6, 182, 212, 0.4);
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-title: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-title);
    color: var(--text-bright);
}

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

ul { list-style: none; }

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

/* 🚀 Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--darkest);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--glass-border);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 🌊 Navbar - Ultra Modern Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.4rem;
    box-shadow: var(--shadow-neon);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-15deg) scale(1.1);
    background: var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-bright);
}

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

.logo-text small {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-item:hover, .nav-item.active {
    color: var(--white);
}

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

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

.btn-cta {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-neon);
}

.btn-cta:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.4);
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    position: absolute;
    border-radius: 5px;
    transition: var(--transition);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* 🚀 Hero Section - High End Luxury Design */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* 🎞 Slideshow layers */
.hero-slides {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.42) saturate(1.1);
    transform: scale(1.06);
    will-change: transform;
}

/* Ken Burns: slow cinematic drift, alternating direction per slide */
.hero-slide.active img {
    animation: kenBurns var(--kb-duration, 9s) ease-out forwards;
}

.hero-slide:nth-child(even).active img {
    animation-name: kenBurnsAlt;
}

.hero.paused .hero-slide.active img {
    animation-play-state: paused;
}

@keyframes kenBurns {
    from { transform: scale(1.06) translate(0, 0); }
    to   { transform: scale(1.2) translate(-1.5%, -1%); }
}

@keyframes kenBurnsAlt {
    from { transform: scale(1.2) translate(1.2%, 1%); }
    to   { transform: scale(1.06) translate(0, 0); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
                linear-gradient(to right, rgba(2, 6, 23, 0.55) 0%, transparent 70%),
                linear-gradient(to bottom, transparent 60%, var(--dark-bg) 100%);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-shapes .shape {
    position: absolute;
    border: 2px solid var(--primary);
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    filter: blur(40px);
    opacity: 0.2;
    animation: morph 15s linear infinite alternate;
}

.shape.s1 {
    width: 600px; height: 600px;
    top: -10%; right: -10%;
    background: var(--primary);
}

.shape.s2 {
    width: 400px; height: 400px;
    bottom: 10%; left: -5%;
    background: var(--accent);
}

@keyframes morph {
    0% { border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.hero-container {
    position: relative;
    z-index: 10;
}

/* Stacked captions: all occupy the same grid cell, only .active is shown */
.hero-captions {
    display: grid;
}

.hero-caption {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
    pointer-events: none;
}

.hero-caption.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-caption.active .hero-badge { animation: fadeInUp 0.8s ease both; }
.hero-caption.active h1          { animation: fadeInUp 0.9s 0.12s ease both; }
.hero-caption.active p           { animation: fadeInUp 1s 0.24s ease both; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    max-width: 650px;
    margin-bottom: 40px;
    color: var(--text-main);
}

/* 🎛 Slideshow controls */
.hero-controls {
    position: absolute;
    right: 40px;
    bottom: 40px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 18px;
    animation: fadeInUp 1.6s ease both;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    color: var(--white);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
    transform: translateY(-3px);
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    position: relative;
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.dot.active {
    width: 46px;
    background: rgba(255, 255, 255, 0.18);
}

.dot span {
    position: absolute;
    inset: 0;
    width: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 10px var(--primary-glow);
}

.slider-counter {
    font-family: var(--font-title);
    color: var(--white);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-left: 6px;
}

.slider-counter .current {
    color: var(--primary);
    font-size: 1.35rem;
}

.slider-counter .sep,
.slider-counter .total {
    color: var(--text-main);
}

.hero-actions {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1.4s ease;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.5);
}

.btn-glass {
    background: var(--glass);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.hero-trust {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 30px;
    animation: fadeInUp 1.6s ease;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-num {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.trust-text {
    font-size: 0.85rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* 🛠 About Section - Modern Corporate Style */
.about {
    padding: 160px 0;
    position: relative;
    background: var(--dark-bg);
}

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

.about-visual {
    position: relative;
}

.main-img-wrapper {
    position: relative;
    z-index: 1;
}

.main-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    filter: grayscale(20%) contrast(1.1);
}

.main-img:hover {
    filter: grayscale(0%) contrast(1.2);
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

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

.floating-card strong {
    color: var(--white);
    display: block;
    font-size: 1rem;
}

.floating-card p {
    font-size: 0.8rem;
    color: var(--text-main);
}

.card-1 { top: 10%; right: -30px; animation-delay: 0s; }
.card-2 { bottom: 15%; left: -40px; animation-delay: 2s; }

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    box-shadow: var(--shadow-neon);
    border: 8px solid var(--dark-bg);
    animation: float 5s ease-in-out infinite;
}

.exp-num {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
}

.about-content {
    padding-right: 40px;
}

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

.section-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-bright);
}

.section-title span {
    color: var(--primary);
    position: relative;
}

.lead-text {
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
}

.about p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.f-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 5px;
}

.feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.mt-40 { margin-top: 40px; }

/* 💎 Services Section - Neon Glass Grid */
.services {
    padding: 160px 0;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.05), transparent),
                var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-main);
}

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

.service-card {
    position: relative;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 30px;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.card-glow {
    position: absolute;
    top: 0; right: 0;
    width: 150px; height: 150px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card:hover .card-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
    box-shadow: var(--shadow-neon);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.service-card p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-main);
}

.card-list {
    margin-bottom: 30px;
    flex-grow: 1;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
}

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

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

.card-link:hover {
    color: var(--accent);
    gap: 15px;
}

.service-card.featured {
    background: linear-gradient(135deg, var(--dark-card) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.service-card.featured h3, 
.service-card.featured p,
.service-card.featured .card-list li {
    color: var(--white);
}

.service-card.featured .card-icon {
    background: var(--white);
    color: var(--primary);
}

.consulting-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    background: linear-gradient(90deg, var(--dark-card) 0%, var(--darkest) 100%);
    text-align: left;
    border-left: 5px solid var(--primary);
}

.consulting-card .card-icon {
    width: 120px;
    height: 120px;
    font-size: 3.5rem;
}

.consulting-card h3 {
    font-size: 2.5rem;
}

.consulting-card p {
    font-size: 1.3rem;
    max-width: 600px;
}

.consulting-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.consulting-card:not(.featured) .consulting-cta {
    justify-content: flex-start;
}

/* 🖼 Projects Section - Cinematic Grid */
.projects {
    padding: 160px 0;
    background-color: var(--dark-bg);
}

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

.project-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 450px;
    cursor: pointer;
    transition: var(--transition);
}

.project-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    transition: var(--transition);
}

.project-content {
    transform: translateY(30px);
    transition: var(--transition);
}

.proj-cat {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.project-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.project-card p {
    color: var(--text-main);
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0;
    transition: var(--transition);
}

.proj-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--dark-bg);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition);
}

.proj-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.project-card:hover .project-img img {
    transform: scale(1.15);
}

.project-card:hover .project-content {
    transform: translateY(0);
}

.project-card:hover .project-card p {
    opacity: 1;
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.6) 60%, transparent 100%);
}

/* ✉️ Contact Section — Dispatch Desk / Shipment Manifest */
.contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(6rem, 11vw, 10rem) 0;
    background:
        radial-gradient(80% 60% at 15% 95%, rgba(6, 182, 212, 0.16), transparent 65%),
        linear-gradient(160deg, #020617 0%, #071827 52%, #020617 100%);
}

.contact-grid-lines {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.16) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 78%, transparent);
}

.contact-container {
    max-width: 1420px;
}

.contact-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.65fr);
    align-items: end;
    gap: 2rem 6rem;
    margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
    max-width: 1080px;
}

.contact-live-status {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--primary);
}

.live-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2dd4bf;
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.65);
    animation: dispatchPulse 2.1s ease-out infinite;
}

@keyframes dispatchPulse {
    60% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); }
    100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.live-divider {
    display: block;
    width: 28px;
    height: 1px;
    background: rgba(148, 163, 184, 0.42);
}

.contact-intro h2 {
    max-width: 680px;
    font-size: clamp(2.75rem, 5.5vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    color: var(--white);
}

.contact-intro h2 span {
    color: var(--primary);
}

.contact-intro > p {
    max-width: 390px;
    padding-bottom: 0.35rem;
    font-size: clamp(0.96rem, 1.2vw, 1.1rem);
    line-height: 1.75;
    color: var(--text-main);
}

.dispatch-layout {
    display: grid;
    grid-template-columns: minmax(310px, 0.73fr) minmax(0, 1.27fr);
    max-width: 1220px;
    margin: 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 30px;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.45);
    box-shadow: 0 35px 80px -32px rgba(0, 0, 0, 0.85);
}

/* The left half reads as an operational terminal, not a column of cards. */
.dispatch-board {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(2rem, 4vw, 3.6rem);
    color: var(--white);
    background:
        radial-gradient(circle at 12% 10%, rgba(34, 211, 238, 0.2), transparent 30%),
        linear-gradient(155deg, #062235 0%, #06131f 55%, #020617 100%);
    overflow: hidden;
}

.dispatch-board::before,
.dispatch-board::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.dispatch-board::before {
    width: 300px;
    height: 300px;
    right: -150px;
    top: 120px;
}

.dispatch-board::after {
    width: 500px;
    height: 500px;
    right: -300px;
    top: 20px;
}

.dispatch-board-top,
.dispatch-route,
.dispatch-lines,
.dispatch-meta {
    position: relative;
    z-index: 1;
}

.dispatch-board-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.14);
}

.dispatch-label,
.dispatch-code,
.dispatch-line-heading {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.dispatch-label { color: var(--accent); }
.dispatch-code { color: rgba(226, 232, 240, 0.42); }

.dispatch-route {
    display: grid;
    grid-template-columns: 1fr 30px 1fr;
    align-items: center;
    gap: 0.7rem;
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.route-point {
    min-width: 0;
}

.route-dot {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(226, 232, 240, 0.22);
    border-radius: 50%;
    color: var(--primary);
    background: rgba(2, 6, 23, 0.28);
}

.route-port {
    text-align: right;
}

.route-port .route-dot {
    margin-left: auto;
    color: #2dd4bf;
}

.route-point small {
    display: block;
    margin-bottom: 0.25rem;
    color: rgba(226, 232, 240, 0.5);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.route-point strong {
    display: block;
    color: var(--white);
    font-size: clamp(0.78rem, 1vw, 0.93rem);
    line-height: 1.3;
}

.route-line {
    position: relative;
    height: 1px;
    margin-top: -24px;
    overflow: hidden;
    background: rgba(226, 232, 240, 0.22);
}

.route-line-pulse {
    position: absolute;
    top: -2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px var(--accent);
    animation: routeMove 2.4s linear infinite;
}

@keyframes routeMove {
    from { left: -5px; }
    to { left: calc(100% + 5px); }
}

.dispatch-lines {
    border-top: 1px solid rgba(226, 232, 240, 0.14);
}

.dispatch-line-heading {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.15rem 0 0.55rem;
    color: rgba(226, 232, 240, 0.5);
}

.direct-line-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.11);
}

.direct-line-index {
    color: rgba(226, 232, 240, 0.35);
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 700;
}

.direct-line-copy small {
    display: block;
    margin-bottom: 0.12rem;
    color: rgba(226, 232, 240, 0.52);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.direct-line-copy a {
    display: inline-block;
    color: var(--white);
    font-family: var(--font-title);
    font-size: clamp(0.9rem, 1.2vw, 1.08rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.direct-line-copy a:hover { color: var(--accent); }

.direct-line-actions {
    display: flex;
    gap: 0.45rem;
}

.copy-contact,
.direct-call {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(226, 232, 240, 0.16);
    border-radius: 9px;
    background: rgba(2, 6, 23, 0.18);
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.78rem;
    transition: var(--transition);
}

.copy-contact:hover,
.direct-call:hover {
    border-color: var(--primary);
    color: var(--white);
    background: var(--primary);
    transform: translateY(-2px);
}

.dispatch-meta {
    display: grid;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 2rem;
}

.dispatch-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.8rem;
    line-height: 1.55;
}

.dispatch-meta-item > i {
    width: 16px;
    margin-top: 0.22rem;
    color: var(--primary);
    text-align: center;
}

.dispatch-meta-item a:hover { color: var(--accent); }

/* The request form resembles a clean shipping manifest. */
.dispatch-manifest {
    padding: clamp(2rem, 4.5vw, 4.5rem);
    background: #f8fafc;
    color: var(--text-dark);
}

.manifest-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.6rem;
    margin-bottom: 1.7rem;
    border-bottom: 1px solid #dbe4ec;
}

.manifest-step {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.manifest-header h3 {
    color: #0f172a;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.manifest-reply {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 190px;
    padding: 0.65rem 0.85rem;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    color: #0e7490;
    background: #ecfeff;
    font-size: 0.71rem;
    font-weight: 700;
    line-height: 1.35;
}

.manifest-reply i { color: #f59e0b; }

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.service-picker {
    min-width: 0;
    padding: 0 0 1.7rem;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #dbe4ec;
}

.service-picker legend {
    display: block;
    width: 100%;
    margin-bottom: 0.85rem;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.service-choice-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-choice {
    padding: 0.6rem 0.78rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #475569;
    background: transparent;
    font-size: 0.76rem;
    font-weight: 700;
    transition: var(--transition);
}

.service-choice:hover {
    border-color: #22d3ee;
    color: #0e7490;
    background: #ecfeff;
}

.service-choice.active {
    border-color: #0891b2;
    color: var(--white);
    background: #0891b2;
    box-shadow: 0 5px 14px rgba(8, 145, 178, 0.22);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    min-width: 0;
}

.input-group label {
    color: #334155;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.input-group label span { color: #e11d48; }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.input-wrapper > i {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
    width: 42px;
    color: #0891b2;
    font-size: 0.9rem;
    text-align: center;
    transform: translateY(-50%);
    transition: var(--transition);
    pointer-events: none;
}

.message-group .input-wrapper > i {
    top: 1.15rem;
    transform: none;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    min-width: 0;
    border: 0;
    border-bottom: 2px solid #cbd5e1;
    border-radius: 0;
    outline: none;
    padding: 0.85rem 0.55rem 0.85rem 2.7rem;
    color: #0f172a;
    background: transparent;
    font-family: inherit;
    font-size: 0.93rem;
    line-height: 1.5;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.input-wrapper textarea {
    min-height: 126px;
    resize: vertical;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder { color: #94a3b8; }

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: #06b6d4;
    background: linear-gradient(90deg, rgba(236, 254, 255, 0.9), transparent);
}

.input-wrapper:focus-within > i {
    color: #0e7490;
    transform: translateY(-50%) scale(1.12);
}

.message-group .input-wrapper:focus-within > i { transform: scale(1.12); }

.field-hint {
    color: #64748b;
    font-size: 0.7rem;
    line-height: 1.45;
}

.manifest-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid #dbe4ec;
}

.manifest-footer p {
    max-width: 240px;
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.5;
}

.manifest-footer p i { color: #0891b2; margin-right: 0.32rem; }

.btn-submit {
    min-height: 54px;
    padding: 0.85rem 1.35rem;
    color: var(--white);
    background: #0891b2;
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(8, 145, 178, 0.22);
    font-size: 0.88rem;
    white-space: nowrap;
}

.btn-submit:hover {
    background: #0e7490;
    box-shadow: 0 13px 25px rgba(8, 145, 178, 0.32);
}

/* Contact composition adapts by available width, not only device name. */
@media (max-width: 1080px) {
    .contact-intro {
        gap: 2rem 3rem;
        max-width: 960px;
    }

    .dispatch-layout {
        grid-template-columns: minmax(290px, 0.8fr) minmax(0, 1.2fr);
    }

    .dispatch-board,
    .dispatch-manifest {
        padding: 2.35rem;
    }
}

/* Portrait tablets: retain the dispatch story but give the form its full width. */
@media (max-width: 900px) {
    .contact-intro {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-intro > p {
        max-width: 620px;
    }

    .dispatch-layout {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .dispatch-board {
        min-height: 0;
    }

    .dispatch-route {
        max-width: 580px;
    }

    .dispatch-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 0;
        padding-top: 1.5rem;
    }
}

/* Large-format displays keep generous hierarchy without stretching the content too far. */
@media (min-width: 1600px) {
    .contact-container {
        max-width: 1580px;
    }

    .contact-intro {
        max-width: 1220px;
    }

    .dispatch-layout {
        max-width: 1420px;
    }

    .dispatch-board,
    .dispatch-manifest {
        padding: 4.5rem 5rem;
    }

    .contact-intro > p {
        max-width: 460px;
    }
}

/* ⚓ Footer - Dark Luxury */
.footer {
    padding: 100px 0 40px;
    background: var(--darkest);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 50px;
    margin-bottom: 80px;
}

.footer-brand p {
    margin: 25px 0 40px;
    font-size: 1.1rem;
}

.footer-newsletter {
    background: var(--dark-card);
    padding: 30px;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
}

.footer-newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--dark-bg);
    color: var(--white);
    outline: none;
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent);
}

.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
}

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

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

.footer-links a {
    color: var(--text-main);
    font-weight: 500;
}

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

.contact-footer {
    display: flex;
    flex-direction: column;
    gap: 15px !important;
}

.contact-footer li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
}

.contact-footer i {
    color: var(--primary);
    font-size: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-main);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--text-main);
}

.footer-legal a:hover {
    color: var(--white);
}

/* Anchor offset for the fixed navbar */
section, header.hero {
    scroll-margin-top: 70px;
}

/* 🪟 Info Modal - Glass Dialog */
body.modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
}

.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(6, 182, 212, 0.12);
    transform: translateY(40px) scale(0.96);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    scrollbar-width: thin;
    scrollbar-color: var(--dark-lighter) transparent;
}

.modal.open .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-dialog::-webkit-scrollbar { width: 6px; }
.modal-dialog::-webkit-scrollbar-thumb { background: var(--dark-lighter); border-radius: 10px; }

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: var(--glass-blur);
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
    box-shadow: var(--shadow-neon);
}

.modal-media {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: modalZoom 8s ease-out forwards;
}

@keyframes modalZoom {
    to { transform: scale(1.15); }
}

.modal-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--dark-card) 0%, rgba(15, 23, 42, 0.35) 55%, rgba(15, 23, 42, 0.1) 100%);
}

.modal-tag {
    position: absolute;
    top: 22px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.modal-body {
    padding: 0 44px 44px;
}

.modal-head {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}

.modal-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-neon);
    border: 6px solid var(--dark-card);
}

.modal-title {
    font-size: 2.1rem;
    line-height: 1.15;
    margin: 30px 0 8px;
    color: var(--white);
}

.modal-lead {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
}

.modal-desc {
    margin: 26px 0 30px;
    font-size: 1.08rem;
    color: var(--text-main);
    line-height: 1.8;
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 34px;
}

.modal-stat {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 18px 20px;
    transition: var(--transition);
}

.modal-stat:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.modal-stat strong {
    display: block;
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}

.modal-stat small {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
}

.modal-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
}

.modal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 34px;
}

.modal-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-bright);
    font-size: 0.98rem;
    line-height: 1.5;
    transition: var(--transition);
}

.modal-features li:hover {
    border-color: var(--primary);
    background: rgba(6, 182, 212, 0.06);
}

.modal-features li i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary-glow);
    color: var(--primary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 38px;
}

.modal-tags span {
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--dark-lighter);
    border: 1px solid var(--glass-border);
    color: var(--text-bright);
    font-size: 0.85rem;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

/* 📱 Responsive - Full Overhaul */
@media (max-width: 1200px) {
    .hero h1 { font-size: 4rem; }
    .about-grid { gap: 40px; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { order: 2; }
    .about-content { order: 1; text-align: center; padding-right: 0; }
    .about-features { justify-content: center; }
    .about-content .feature { justify-content: center; text-align: left; }
    .about-content .btn { margin: 0 auto; }
    .hero h1 { font-size: 3.2rem; }
    .about-content .section-title { font-size: 2.8rem; }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
    .consulting-card { grid-template-columns: 1fr; text-align: center; }
    .consulting-card .card-icon { margin: 0 auto; }
    .consulting-cta { justify-content: center !important; }
}

@media (max-width: 768px) {
    .navbar { height: 80px; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--darkest);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li a {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--white);
    }
    
    .nav-links .btn-cta {
        margin-top: 30px;
        font-size: 1.2rem;
        padding: 15px 40px;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        text-align: center;
    }
    
    .hero p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 130px 0 130px;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    /* Slider controls move to bottom-center; scroll hint hidden to avoid overlap */
    .hero-controls {
        right: 50%;
        transform: translateX(50%);
        bottom: 28px;
        gap: 14px;
    }

    .slider-arrow {
        width: 42px;
        height: 42px;
    }

    .slider-counter {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    /* Modal on small screens */
    .modal {
        padding: 12px;
        align-items: flex-end;
    }

    .modal-dialog {
        max-height: 94vh;
        border-radius: 24px 24px 18px 18px;
    }

    .modal-media {
        height: 200px;
    }

    .modal-body {
        padding: 0 22px 28px;
    }

    .modal-head {
        flex-direction: column;
        gap: 12px;
        margin-top: -30px;
    }

    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        border-radius: 16px;
    }

    .modal-title {
        font-size: 1.6rem;
        margin-top: 4px;
    }

    .modal-desc {
        font-size: 1rem;
        margin: 18px 0 22px;
    }

    .modal-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .modal-stat {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        padding: 14px 18px;
    }

    .modal-stat small {
        margin-top: 0;
    }

    .modal-features {
        grid-template-columns: 1fr;
    }

    .modal-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .modal-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px;
    }

    .modal-gallery.count-1 {
        grid-template-columns: 1fr !important;
    }

    /* Lightbox on mobile */
    .lightbox-content {
        padding: 70px 16px 8px;
    }

    .lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }

    .lightbox-thumb {
        width: 48px;
        height: 36px;
        border-radius: 6px;
    }
    
    .about-visual {
        display: flex;
        justify-content: center;
    }
    
    .main-img-wrapper {
        width: 90%;
    }
    
    .floating-card {
        padding: 10px 15px;
        border-radius: 15px;
    }
    
    .card-1 { right: 0; }
    .card-2 { left: 0; }
    
    .experience-badge {
        width: 120px;
        height: 120px;
        bottom: -10px;
        right: -10px;
    }
    
    .experience-badge .exp-num { font-size: 2rem; }
    
    .section-title {
        font-size: 2.2rem !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact dispatch desk: comfortable touch targets and a single focused flow. */
    .contact {
        padding: 5rem 0;
    }

    .contact-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .contact-intro {
        margin-bottom: 2rem;
    }

    .contact-live-status {
        gap: 0.45rem;
        font-size: 0.61rem;
        letter-spacing: 0.09em;
    }

    .live-divider { width: 15px; }

    .contact-intro h2 {
        font-size: clamp(2.65rem, 14vw, 4rem);
    }

    .dispatch-layout {
        border-radius: 22px;
    }

    .dispatch-board,
    .dispatch-manifest {
        padding: 1.7rem;
    }

    .dispatch-route {
        grid-template-columns: 1fr 24px 1fr;
        padding: 1.75rem 0;
    }

    .route-dot {
        width: 38px;
        height: 38px;
    }

    .route-point strong {
        font-size: 0.78rem;
    }

    .direct-line-row {
        grid-template-columns: 25px minmax(0, 1fr) auto;
        padding: 0.85rem 0;
    }

    .copy-contact,
    .direct-call {
        width: 40px;
        height: 40px;
    }

    .dispatch-meta {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .manifest-header {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1.25rem;
    }

    .manifest-reply {
        max-width: none;
    }

    .service-choice-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-choice {
        min-height: 44px;
        padding: 0.55rem 0.45rem;
        font-size: 0.69rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        min-height: 50px;
        font-size: 16px; /* prevents iOS Safari focus zoom */
    }

    .manifest-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .manifest-footer p {
        max-width: none;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-newsletter {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
        height: 50px;
    }
    
    .contact-footer {
        align-items: center;
    }
    
    .contact-footer li {
        justify-content: center;
    }
}

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

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

/* 🎇 Scroll Animations Hooks (for JS) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 📸 Modal Image Gallery Grid (up to 9 images) */
.modal-gallery-wrap {
    margin-bottom: 34px;
}

.modal-gallery-wrap.hidden {
    display: none;
}

.modal-gallery-label {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.85rem;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-radius: 20px;
    overflow: hidden;
}

.modal-gallery .gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    background: var(--dark-bg);
}

.modal-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.82) saturate(1.05);
}

.modal-gallery .gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1) saturate(1.15);
}

.modal-gallery .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.modal-gallery .gallery-item:hover::after {
    opacity: 1;
}

.modal-gallery .gallery-item .gallery-zoom {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.85);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.modal-gallery .gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: translateY(0);
}

.modal-gallery .gallery-item.active-item {
    outline: 3px solid var(--primary);
    outline-offset: -3px;
}

/* Single-image takes the full width; two images split 50/50 */
.modal-gallery.count-1 { grid-template-columns: 1fr; }
.modal-gallery.count-1 .gallery-item { aspect-ratio: 16 / 9; }
.modal-gallery.count-2 { grid-template-columns: 1fr 1fr; }

/* 📸 Full-Screen Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 100px 10px;
    width: 100%;
    max-height: 80vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-img.loaded {
    opacity: 1;
    transform: scale(1);
}

.lightbox-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 14px 30px;
    width: 100%;
}

.lightbox-caption {
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
    max-width: 600px;
}

.lightbox-counter {
    color: var(--text-main);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

.lightbox-thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 30px 24px;
    max-width: 100%;
    overflow-x: auto;
}

.lightbox-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: var(--transition);
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-thumb:hover {
    opacity: 0.85;
}

.lightbox-thumb.active {
    border-color: var(--primary);
    opacity: 1;
    box-shadow: 0 0 12px var(--primary-glow);
}

/* 🔔 Toast notification */
.toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 40px);
    padding: 16px 22px;
    border-radius: 14px;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--primary);
    color: var(--white);
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.toast i {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* 🖥 Large laptops, conference displays and TVs */
@media (min-width: 1600px) {
    .container {
        max-width: 1540px;
    }

    .navbar {
        height: 100px;
    }

    .navbar.scrolled {
        height: 76px;
    }

    .nav-links {
        gap: 42px;
    }

    .hero h1 {
        font-size: clamp(5rem, 5.5vw, 6.6rem);
    }

    .hero p {
        max-width: 730px;
        font-size: 1.32rem;
    }

    .section-title {
        font-size: clamp(3.5rem, 3.4vw, 4.6rem);
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Small phones: preserve readable density without horizontal scrolling. */
@media (max-width: 420px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .logo-text span {
        font-size: 1.3rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-trust {
        gap: 13px;
    }

    .trust-num {
        font-size: 1.35rem;
    }

    .trust-text {
        font-size: 0.68rem;
    }

    .trust-divider {
        height: 32px;
    }

    .dispatch-board,
    .dispatch-manifest {
        padding: 1.35rem;
    }

    .dispatch-code {
        display: none;
    }

    .direct-line-copy a {
        font-size: 0.82rem;
    }

    .direct-line-actions {
        gap: 0.28rem;
    }

    .copy-contact,
    .direct-call {
        width: 36px;
        height: 36px;
    }

    .manifest-header h3 {
        font-size: 1.55rem;
    }
}

/* ♿ Reduced motion: keep it calm */
@media (prefers-reduced-motion: reduce) {
    .hero-slide.active img,
    .modal-media img,
    .floating-card,
    .experience-badge,
    .hero-shapes .shape {
        animation: none !important;
    }
    .hero-slide {
        transition-duration: 0.3s;
    }
}
