/* ==========================================================================
   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: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10+ and Edge */
    user-select: none;
    /* Standard */
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Ensure inputs, selects, and textareas can still be typed and selected within */
input,
textarea,
select {
    -webkit-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

/* 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;
}

@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-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 Visual & Abstract Graphic */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-stats {
    position: absolute;
    bottom: 20px;
    left: -20px;
    z-index: 20;
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(10, 17, 40, 0.8);
    animation: float 6s ease-in-out infinite;
}

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

.stat-icon {
    font-size: 2rem;
    color: var(--accent-primary);
}

.stat-info h4 {
    font-size: 1.25rem;
    color: var(--text-main);
}

.stat-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

/* Abstract Logistic Graphic */
.abstract-graphic {
    position: relative;
    width: 300px;
    height: 300px;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(0, 229, 255, 0.3);
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation: spin 20s linear infinite;
}

.ring-2 {
    width: 70%;
    height: 70%;
    border-color: rgba(41, 121, 255, 0.4);
    animation: spin-reverse 15s linear infinite;
}

.ring-3 {
    width: 40%;
    height: 40%;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1);
}

.truck-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--surface-color), #040914);
    border: 1px solid var(--accent-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
    z-index: 5;
}

.floating-node {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    z-index: 10;
}

.node-1 {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.node-2 {
    bottom: 20%;
    right: -5%;
    animation: pulse 2s infinite 0.6s;
}

.node-3 {
    bottom: 20%;
    left: -5%;
    animation: pulse 2s infinite 1.2s;
}

/* --- 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);
    }
}

.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: 400px;
}

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

/* SVG World Map */
.world-map-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

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

/* City Labels */
.city-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    fill: #c8d6e5;
    letter-spacing: 0.5px;
    paint-order: stroke;
    stroke: #040914;
    stroke-width: 3px;
    stroke-linecap: butt;
    stroke-linejoin: miter;
}

.hub-label {
    fill: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 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);
}

/* --- 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 12px 40px rgba(0, 190, 237, 0.15);
    border-color: rgba(0, 190, 237, 0.3);
}

/* 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: 3rem 2rem;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
}

.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;
    }
}

/* --- 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;
}

/* --- 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);
}

.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);
    }
}

@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);
}