/* ==========================================================================
   NPOWER LOGISTIC - MODERN LOGISTICS WEBSITE CSS
   ========================================================================== */

/* --- Variables & Theming --- */
:root {
    /* Color Palette - Premium Dark Theme */
    --bg-color: #040914;
    /* Deep dark blue/black */
    --surface-color: #0a1128;
    /* Slightly lighter surface */
    --surface-light: rgba(255, 255, 255, 0.03);
    /* Glass backdrop */
    --surface-border: rgba(255, 255, 255, 0.08);

    /* Accents */
    --accent-primary: #00BEED;
    /* Cyan Swoosh */
    --accent-secondary: #1C3B76;
    /* Deep Blue */
    --accent-red: #D81A21;
    /* nPower Red */
    --accent-navy: #1C3B76;
    /* Lightning Navy */
    --accent-glow: rgba(0, 190, 237, 0.4);

    /* Typography Colors */
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    /* Slate grayish blue */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions & Specs */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-norm: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
}

/* --- Resets & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* --- Typography Utilities --- */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.text-large {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 300;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.5rem;
    }
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
}

.text-center {
    text-align: center;
}

.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--accent-primary);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    scroll-margin-top: 80px;
    /* Offset for fixed navbar */
}

#about {
    scroll-margin-top: 100px;
    /* Extra breathing room for the about section */
}

@media (min-width: 768px) {
    .section {
        padding: 8rem 0;
    }
}

.dark-surface {
    background-color: var(--surface-color);
}

/* Glassmorphism elements */
.glass-card {
    background: var(--surface-light);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    transition: var(--transition-norm);
}

.glass-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 229, 255, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #040914;
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.16);
    border: 1px solid rgba(37, 211, 102, 0.5);
    color: #c5ffd9;
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.26);
    border-color: rgba(37, 211, 102, 0.9);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    z-index: -1;
    filter: blur(12px);
    opacity: 0.6;
    border-radius: inherit;
    transition: var(--transition-norm);
}

.glow-effect:hover::after {
    opacity: 1;
    filter: blur(16px);
}

.with-icon i {
    transition: var(--transition-fast);
}

.btn:hover .with-icon i {
    transform: translateX(4px);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition-norm);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(4, 9, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--surface-border);
}

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

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-right: -4px;
    /* Pull text slightly closer to logo to balance visual weight */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: var(--border-radius-sm);
    color: #040914;
    font-size: 1.5rem;
}

/* Let the red accent pop on text gradients */
.text-gradient-red {
    background: linear-gradient(135deg, var(--accent-red), #ff4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.text-red {
    color: var(--accent-red) !important;
}

.nav-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-muted);
    font-size: 1rem;
    position: relative;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: block;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

/* Mobile Menu Active State */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(4, 9, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-bottom: 1px solid var(--surface-border);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.sphere-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(0, 229, 255, 0.15);
}

.sphere-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: rgba(41, 121, 255, 0.15);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--surface-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--surface-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-link-inline {
    align-self: center;
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero-link-inline:hover {
    color: var(--accent-primary);
}

/* Hero Visual & Abstract Graphic */
.hero-visual {
    position: relative;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-stats {
    position: absolute;
    bottom: 20px;
    left: -20px;
    z-index: 20;
    display: flex;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(10, 17, 40, 0.85);
    animation: float 6s ease-in-out infinite;
    max-width: 600px;
    border: 1px solid var(--surface-border);
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    flex: 1;
}

.stat-info {
    flex: 1;
}

.stat-info h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 0.3rem;
    white-space: nowrap;
}

.stat-info p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-muted);
}

/* On mobile, stack them if necessary */
@media (max-width: 768px) {
    .main-stats {
        left: 20px;
        right: 20px;
        bottom: 10px;
        flex-direction: column;
        gap: 1.5rem;
        max-width: calc(100% - 40px);
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }
}

.stat-divider {
    width: 1px;
    background: var(--surface-border);
}

/* Hero Services Widget (v5: Digital Stack) */
.hero-services-widget {
    width: 100%;
    max-width: 420px;
    background: rgba(10, 17, 40, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(0, 229, 255, 0.05);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 229, 255, 0.05);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.header-icon i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

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

.header-text span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: #4CAF50;
    font-weight: 600;
}

.status-badge .pulse {
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    box-shadow: 0 0 10px #4CAF50;
    animation: beacon 1.5s infinite;
}

@keyframes beacon {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.service-stack {
    display: flex;
    flex-direction: column;
}

.service-stack-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.service-stack-item:last-child {
    border-bottom: none;
}

.service-stack-item .item-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-stack-item .item-icon i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.item-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.15rem;
}

.item-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.item-arrow {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Hover States */
.service-stack-item:hover {
    background: rgba(0, 229, 255, 0.05);
}

.service-stack-item.active,
.service-stack-item:hover {
    background: rgba(0, 229, 255, 0.08);
}

.service-stack-item.active .item-icon,
.service-stack-item:hover .item-icon {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.service-stack-item.active .item-icon i,
.service-stack-item:hover .item-icon i {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.service-stack-item.active .item-arrow,
.service-stack-item:hover .item-arrow {
    color: var(--accent-primary);
    transform: translateX(3px);
}

/* Indicator line */
.service-stack-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

/* Stat card in flow */
.main-stats {
    position: relative;
    margin-top: 2rem;
    z-index: 20;
    width: 100%;
    max-width: 600px;
}

@media (max-width: 576px) {
    .service-stack-item {
        padding: 1rem;
        gap: 1rem;
    }

    .service-stack-item .item-icon {
        width: 40px;
        height: 40px;
    }

    .item-content h4 {
        font-size: 0.85rem;
    }

    .item-content p {
        font-size: 0.7rem;
    }

    .widget-header {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .main-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }
}

/* --- About Section --- */
.about .section-header {
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-box {
    text-align: center;
    padding: 3rem 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-primary);
    transition: var(--transition-norm);
}

.feature-box:hover .feature-icon {
    background: var(--accent-primary);
    color: #040914;
    transform: scale(1.1);
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-muted);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* On medium screens, center the 5th card if it's alone */
@media (min-width: 768px) and (max-width: 1199px) {
    .service-card:nth-child(5) {
        grid-column: span 2;
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
}

.service-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(41, 121, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-main);
}

.service-card h3 {
    font-size: 1.5rem;
}

.service-summary {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.service-list {
    margin-top: auto;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

.service-list i {
    color: var(--accent-primary);
    margin-top: 4px;
}

/* --- Approach Section --- */
.approach-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .approach-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.approach-steps {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-norm);
    cursor: pointer;
    overflow: hidden;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
}

.accordion-icon {
    margin-left: auto;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform var(--transition-norm);
}

.step-body {
    max-height: 0;
    padding: 0 1.5rem;
    opacity: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all var(--transition-norm);
}

.step-item:hover {
    background: rgba(0, 190, 237, 0.05);
    /* Update to match new cyan */
    border-color: rgba(0, 190, 237, 0.2);
}

/* Active Accordion State */
.step-item.active {
    background: rgba(0, 190, 237, 0.05);
    border-color: rgba(0, 190, 237, 0.3);
}

.step-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.step-item.active .step-body {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem 1.5rem;
    opacity: 1;
}

.step-item.active .step-icon {
    color: var(--accent-primary);
    -webkit-text-stroke: 0;
}

.step-text {
    font-weight: 500;
    font-size: 1.125rem;
}

/* --- Approach Visual - Global Network --- */
.map-container {
    height: 100%;
    min-height: 450px;
    position: relative;
    background: radial-gradient(circle at center, rgba(28, 59, 118, 0.2) 0%, rgba(3, 7, 18, 1) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.1);
}

/* Starry Atmosphere */
.map-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 50px 160px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 130px 80px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 160px 120px, #fff, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.2;
    animation: starsTwinkle 10s linear infinite;
}

/* Digital Grid */
.map-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

@keyframes starsTwinkle {

    0%,
    100% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.3;
    }
}

.globe-network {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

/* SVG World Map */
.world-map-svg {
    width: 100%;
    height: auto;
    overflow: visible;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.8));
}

.world-land {
    fill: rgba(0, 229, 255, 0.03);
    stroke: rgba(0, 229, 255, 0.15);
    stroke-width: 0.5;
    transition: all 0.5s ease;
}

.map-dots circle {
    fill: var(--accent-primary);
    opacity: 0.4;
}

/* Cinematic Map Redesign */
.world-map-svg {
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.map-label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    fill: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.map-label.hub-label {
    fill: #ff3333;
    font-size: 14px;
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 51, 51, 0.5));
}

/* Thick Glowing Arrows - Continuous Animation */
.map-arrow-path {
    fill: none;
    stroke: #00e5ff;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: url(#blue-glow-filter);
    stroke-dasharray: 200, 1000;
    /* Create a shorter segment for infinite loop */
    stroke-dashoffset: 1200;
    animation: continuousDraw 4s linear infinite;
}

@keyframes continuousDraw {
    from {
        stroke-dashoffset: 1200;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.arrow-head {
    fill: #00e5ff;
}

/* Route Path Animations */
.route-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawRoute 2.5s ease forwards;
}

.route-1 {
    animation-delay: 0.2s;
}

.route-2 {
    animation-delay: 0.5s;
}

.route-3 {
    animation-delay: 0.8s;
}

.route-4 {
    animation-delay: 1.1s;
}

.route-5 {
    animation-delay: 1.4s;
}

@keyframes drawRoute {
    to {
        stroke-dashoffset: 0;
    }
}

/* Hub Pulse Animation */
.hub-pulse {
    animation: hubPulse 2.5s ease-in-out infinite;
}

@keyframes hubPulse {

    0%,
    100% {
        opacity: 0.4;
        transform-origin: center;
    }

    50% {
        opacity: 0.8;
    }
}

.hub-ring {
    animation: hubRingPulse 3s ease-in-out infinite;
}

@keyframes hubRingPulse {

    0%,
    100% {
        r: 8;
        opacity: 0.3;
    }

    50% {
        r: 12;
        opacity: 0.1;
    }
}

/* Node Pulse */
.node-pulse {
    animation: nodePulse 3s ease-in-out infinite;
}

.delay-a {
    animation-delay: 0.4s;
}

.delay-b {
    animation-delay: 0.8s;
}

.delay-c {
    animation-delay: 1.2s;
}

.delay-d {
    animation-delay: 1.6s;
}

@keyframes nodePulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

/* Map Legend */
.map-legend {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--surface-border);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.hub {
    background: var(--accent-red);
    box-shadow: 0 0 6px var(--accent-red);
}

.legend-dot.node {
    background: var(--accent-primary);
    box-shadow: 0 0 6px var(--accent-primary);
}

/* --- New Global Map (v2 publish) --- */
.globe-network {
    max-width: 720px;
}

.np-map .world-countries {
    opacity: 0.35;
    filter: saturate(0.9) contrast(1.05);
}

.np-map .reach {
    fill: none;
    stroke: rgba(135, 187, 246, 0.24);
    stroke-width: 1.1;
    stroke-dasharray: 4 9;
    opacity: 0.65;
}

.np-map .mode-layer {
    opacity: 1;
}

.np-map .route {
    fill: none;
    stroke-width: 3.4;
    stroke-linecap: round;
    stroke-dasharray: 10 10;
    animation: npRouteFlow 4s linear infinite;
}

.np-map .route.truck {
    stroke: rgba(57, 217, 138, 0.9);
}

.np-map .route.ship {
    stroke: rgba(0, 194, 255, 0.9);
}

.np-map .route.air {
    stroke: rgba(255, 209, 102, 0.9);
}

.np-map .route.rail {
    stroke: rgba(179, 136, 255, 0.9);
}

.np-map .focus-clear {
    fill: rgba(6, 16, 36, 0.92);
    stroke: rgba(88, 129, 183, 0.22);
    stroke-width: 1.2;
}

.np-map .hub-core {
    fill: rgba(255, 92, 102, 0.3);
    filter: drop-shadow(0 0 10px rgba(255, 72, 72, 0.45));
}

.np-map .hub-ring {
    fill: none;
    stroke: rgba(255, 92, 92, 0.55);
    stroke-width: 2.2;
    animation: npHubPulse 2.8s ease-out infinite;
    transform-origin: center;
}

.np-map .hub-dot {
    fill: var(--accent-red);
    filter: drop-shadow(0 0 12px rgba(255, 72, 72, 0.95));
    animation: npHubBlink 1.1s ease-in-out infinite;
    transform-origin: center;
}

.np-map .orbit-arrow {
    fill: none;
    stroke: rgba(255, 107, 122, 0.75);
    stroke-width: 2.1;
    stroke-dasharray: 6 10;
    stroke-linecap: round;
    animation: npOrbitFlow 3.6s linear infinite;
    marker-end: url(#arrowHeadRed);
}

.np-map .orbit-arrow.alt {
    animation-duration: 4.3s;
    opacity: 0.72;
}

.np-map .orbit-arrow.alt2 {
    animation-duration: 5.1s;
    opacity: 0.66;
}

.np-map .vehicle {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.28));
    transform-box: fill-box;
    transform-origin: center;
}

.np-map .vehicle .body {
    stroke: rgba(8, 25, 50, 0.45);
    stroke-width: 0.7;
}

.np-map .vehicle.truck .body {
    fill: #39d98a;
}

.np-map .vehicle.ship .body {
    fill: #00c2ff;
}

.np-map .vehicle.air .body {
    fill: #ffd166;
}

.np-map .vehicle.rail .body {
    fill: #b388ff;
}

.np-map .vehicle .wheel {
    fill: #0a1c37;
}

.np-map .cloud {
    fill: rgba(214, 233, 255, 0.33);
}

.np-map .label {
    fill: #a8bfdc;
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.np-map .label.hub {
    fill: #ff6666;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 3px;
}

@keyframes npRouteFlow {
    to {
        stroke-dashoffset: -40;
    }
}

@keyframes npOrbitFlow {
    to {
        stroke-dashoffset: -38;
    }
}

@keyframes npHubPulse {
    0% {
        opacity: 0.85;
        r: 14;
    }

    100% {
        opacity: 0;
        r: 46;
    }
}

@keyframes npHubBlink {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.82);
    }
}

@media (prefers-reduced-motion: reduce) {
    .np-map .route,
    .np-map .hub-ring,
    .np-map .hub-dot,
    .np-map .orbit-arrow {
        animation: none !important;
    }
}

/* --- Why Us Section --- */
.reasons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.reason-card {
    flex: 1 1 200px;
    max-width: 250px;
    text-align: center;
    padding: 2.5rem 1.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: default;
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 190, 237, 0.2), 0 0 20px rgba(0, 190, 237, 0.1);
    border-color: rgba(0, 190, 237, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* Gradient Icon Container */
.reason-icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 190, 237, 0.15), rgba(28, 59, 118, 0.3));
    border: 1px solid rgba(0, 190, 237, 0.2);
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.reason-icon-wrap i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.4s ease;
}

.reason-card:hover .reason-icon-wrap {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(0, 190, 237, 0.25), rgba(28, 59, 118, 0.5));
    box-shadow: 0 0 20px rgba(0, 190, 237, 0.2);
}

.reason-card:hover .reason-icon-wrap i {
    transform: scale(1.15);
}

.reason-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.reason-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Stats Counter --- */
.stats-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 4rem;
    padding: 3.5rem 2rem;
    background: rgba(10, 17, 40, 0.4);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.stats-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 190, 237, 0.3), transparent);
}

.stat-counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 0 1.5rem;
}

.stat-counter-item .counter-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: inline;
}

.stat-counter-item .counter-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    display: inline;
    margin-left: 2px;
}

/* Display number and suffix side by side */
.stat-counter-item {
    text-align: center;
}

.stat-counter-item>.counter-number,
.stat-counter-item>.counter-suffix {
    display: inline-block;
    vertical-align: baseline;
}

.counter-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider-vertical {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--surface-border), transparent);
}

/* Mobile responsive stats */
@media (max-width: 768px) {
    .stats-counter {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 2rem 1rem;
    }

    .stat-counter-item {
        flex: 0 0 45%;
        padding: 1rem 0;
    }

    .stat-counter-item .counter-number {
        font-size: 2.2rem;
    }

    .stat-divider-vertical {
        display: none;
    }
}

/* --- Trust Section --- */
.trust-section {
    background: linear-gradient(180deg, rgba(4, 9, 20, 0) 0%, rgba(10, 17, 40, 0.55) 100%);
}

.trust-grid {
    margin-top: 2.25rem;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.trust-card {
    text-align: left;
}

.trust-card i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 0.8rem;
    display: inline-block;
}

.trust-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

/* --- FAQ Section --- */
.faq-section {
    background: linear-gradient(180deg, rgba(10, 17, 40, 0.35) 0%, rgba(4, 9, 20, 0.2) 100%);
}

.faq-list {
    max-width: 920px;
    margin: 2rem auto 0;
    display: grid;
    gap: 0.8rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 0.9rem 1rem;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #d6e7ff;
    position: relative;
    padding-right: 1.5rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 8rem 0;
}

.cta-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23040914"/><circle cx="50" cy="50" r="40" fill="none" stroke="%230a1128" stroke-width="2"/></svg>') center/cover;
    opacity: 0.5;
    z-index: 0;
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.9), rgba(4, 9, 20, 0.95));
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .cta-card {
        flex-direction: row;
        text-align: left;
        padding: 4rem;
    }
}

.cta-content {
    flex: 1;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .cta-content {
        margin-bottom: 0;
        padding-right: 3rem;
    }
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cta-action {
        align-items: flex-end;
    }
}

.cta-note {
    font-size: 0.875rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-note i {
    color: var(--accent-primary);
}

/* --- Footer --- */
.footer {
    background: #02050B;
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--surface-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-desc {
    color: var(--text-muted);
    margin: 1.5rem 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-size: 1.25rem;
}

.social-links a:hover {
    background: var(--accent-primary);
    color: #040914;
    transform: translateY(-3px);
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer ul li {
    margin-bottom: 1rem;
}

.footer ul a {
    color: var(--text-muted);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-muted);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

.floating-whatsapp {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #21c063, #159746);
    color: #fff;
    font-size: 1.65rem;
    box-shadow: 0 12px 30px rgba(21, 151, 70, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1100;
}

.floating-whatsapp:hover {
    transform: translateY(-2px) scale(1.03);
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 9, 20, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-norm);
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: var(--bg-color);
    transform: translateY(30px) scale(0.95);
    transition: var(--transition-norm);
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--accent-primary);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-muted);
}

.quote-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .quote-form .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 229, 255, 0.05);
}

a:focus-visible,
button:focus-visible,
.menu-toggle:focus-visible,
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.form-group textarea {
    resize: vertical;
}

/* --- Animations --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-reverse {
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4);
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(0, 229, 255, 0);
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

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

@keyframes ping {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    20% {
        opacity: 1;
        transform: scale(1.2);
    }

    40% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Custom fade-in for AOS-like behavior natively */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}
