:root {
    --primary: #0a84ff;
    --primary-dark: #0040dd;
    --secondary: #0a192f;
    --text-light: #f8f9fa;
    --text-dark: #111;
    --text-muted: #8892b0;
    --bg-dark: #0a192f;
    --bg-light: #f4f7f6;
    --accent-cyan: #5ac8fa;
    --accent-gold: #ffcc00;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

/* ── Header & Nav ── */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 25, 47, 0.93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -1px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    opacity: 1;
}

/* ── Hamburger ── */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.bar {
    display: block;
    width: 25px;
    height: 2.5px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 7px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
}

/* ── Hero ── */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('hero_logistics_vessel_1778689406118.png') no-repeat center center / cover;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 25, 47, 0.9) 0%,
        rgba(10, 25, 47, 0.6) 55%,
        rgba(10, 25, 47, 0.25) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: fit-content;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 580px;
    line-height: 1.75;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ── Page Hero (sub-pages) ── */
.page-hero {
    position: relative;
    padding: 12rem 0 8rem;
    color: var(--text-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(10, 132, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(10, 132, 255, 0.42);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.65);
    color: var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-3px);
    border-color: var(--text-light);
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* ── Stats Bar ── */
.stats-bar {
    background: var(--bg-dark);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.stats-bar .grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item {
    padding: 1rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--glass-border);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.73rem;
    letter-spacing: 2.5px;
    font-weight: 500;
}

/* ── Section Tag ── */
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    background: rgba(10, 132, 255, 0.08);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(10, 132, 255, 0.18);
}

/* ── Services ── */
.services {
    padding: 8rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.section-header p {
    color: #666;
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.75;
}

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

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px rgba(10, 132, 255, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.08), rgba(90, 200, 250, 0.12));
    border-radius: 18px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    transform: scale(1.08) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--secondary);
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ── Process Section ── */
.process-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #eef2f7 0%, var(--bg-light) 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.process-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(10, 132, 255, 0.1);
}

.process-number {
    position: absolute;
    top: -10px;
    right: 14px;
    font-size: 7.5rem;
    font-weight: 700;
    color: rgba(10, 132, 255, 0.05);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.process-icon-wrap {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    display: block;
}

.process-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-weight: 600;
}

.process-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem;
    border-radius: 30px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, transparent 65%);
    pointer-events: none;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.88;
    position: relative;
    z-index: 1;
}

.cta-card .btn {
    position: relative;
    z-index: 1;
}

/* ── Footer ── */
footer {
    background: #050b14;
    color: white;
    padding: 6rem 0 2rem;
}

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

.footer-info p {
    color: var(--text-muted);
    margin-top: 1.5rem;
    max-width: 300px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: white;
    font-weight: 600;
    letter-spacing: 0.3px;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ── Modal ── */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-dark);
    color: white;
    padding: 3rem;
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    text-align: center;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    line-height: 1;
}

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

.modal-body h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.modal-body p {
    margin-bottom: 2rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.loader {
    width: 44px;
    height: 44px;
    border: 4px solid var(--glass-border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 2rem;
    animation: spin 0.85s linear infinite;
}

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

/* ── Reveal Animation ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* ── Mobile ── */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        padding: 1.5rem 2rem 2rem;
        gap: 0.75rem;
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a.btn {
        display: block;
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero h1 {
        font-size: 2.6rem;
        letter-spacing: -0.5px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-bar .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2n)::after {
        display: none;
    }

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

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

    .cta-card {
        padding: 3rem 1.5rem;
    }

    .cta-card h2 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}
