* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary: #003366;
    --primary-light: #005fa3;
    --accent: #00a6d6;
    --accent-dark: #0077cc;
    --bg: #f5f8fb;
    --text: #1f2937;
    --muted: #64748b;
    --border: #e5edf5;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

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

@keyframes softPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0,166,214,0.35);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(0,166,214,0);
    }
}

@keyframes shine {
    0% { left: -90%; }
    100% { left: 130%; }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid var(--border);
    padding: 14px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.6px;
}

.logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0,51,102,0.22);
}

.nav-menu a {
    color: var(--primary);
    text-decoration: none;
    margin-left: 22px;
    font-weight: 700;
    font-size: 15px;
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: 0.25s ease;
}

.nav-menu a:hover {
    color: var(--accent);
}

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

/* Hero */
.hero {
    min-height: 760px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 7% 90px;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 28%, rgba(255,255,255,0.45) 55%, rgba(255,255,255,0.08) 100%),
        url("assets/hero-tropical-speed-logistics.png");
    background-size: cover;
    background-position: center right;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 25%, rgba(0,166,214,0.14), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0,51,102,0.12), transparent 32%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 660px;
    animation: fadeUp 0.8s ease both;
}

.eyebrow {
    display: inline-block;
    color: var(--accent-dark);
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 18px;
}

.hero h1 {
    color: var(--primary);
    font-size: 58px;
    line-height: 1.08;
    margin: 0 0 20px;
    letter-spacing: -1px;
}

.hero-text {
    font-size: 19px;
    line-height: 1.75;
    color: #374151;
    max-width: 610px;
    margin: 0;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-badges span {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(0,166,214,0.26);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(0,51,102,0.08);
}

/* Buttons */
.btn {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 15px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.25s ease;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -90%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-25deg);
}

.btn:hover::before {
    animation: shine 0.7s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    box-shadow: 0 14px 28px rgba(0,166,214,0.28);
}

.secondary-btn {
    background: rgba(255,255,255,0.86);
    color: var(--primary);
    border: 1px solid rgba(0,51,102,0.18);
    box-shadow: 0 12px 24px rgba(0,51,102,0.08);
}

.btn:hover {
    transform: translateY(-3px);
}

/* General Sections */
section {
    padding: 84px 7%;
}

.section-heading {
    max-width: 840px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2 {
    color: var(--primary);
    font-size: 38px;
    margin: 0 0 14px;
}

.section-heading p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
}

/* About */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.about-copy,
.about-panel {
    background: #f8fbff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 12px 30px rgba(0,51,102,0.06);
    animation: fadeUp 0.9s ease both;
}

.about-copy h2,
.about-panel h3 {
    color: var(--primary);
    margin-top: 0;
}

.about-copy p {
    color: #475569;
    line-height: 1.8;
    font-size: 16px;
}

.about-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-panel li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: #475569;
}

.about-panel li:last-child {
    border-bottom: none;
}

/* Services */
.services {
    background: var(--bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(0,51,102,0.07);
    transition: 0.25s ease;
    animation: fadeUp 0.8s ease both;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 46px rgba(0,119,204,0.16);
    border-color: rgba(0,166,214,0.45);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #eaf7ff;
    color: var(--primary);
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    transition: 0.25s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transform: rotate(-3deg) scale(1.06);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* Tracking */
.tracking {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #003366, #005fa3, #00a6d6);
    background-size: 240% 240%;
    color: white;
    animation: gradientFlow 14s ease infinite;
}

.tracking-card {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255,255,255,0.96);
    color: var(--text);
    border-radius: 24px;
    padding: 42px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
    align-items: center;
    box-shadow: 0 24px 55px rgba(0,0,0,0.22);
}

.tracking-card::before {
    content: "● Online Assistant Available";
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.tracking-card h2 {
    color: var(--primary);
    font-size: 36px;
    margin: 0 0 14px;
}

.tracking-card p {
    color: #475569;
    line-height: 1.75;
    margin: 0 0 22px;
}

.tracking-list {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
}

.tracking-list h3 {
    color: var(--primary);
    margin-top: 0;
}

.tracking-list span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #cfe1f2;
    border-radius: 20px;
    color: var(--primary);
    background: white;
    margin: 5px;
    font-size: 14px;
    font-weight: 700;
}

/* Process */
.process {
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-card {
    position: relative;
    background: #f8fbff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 10px 28px rgba(0,51,102,0.06);
    transition: 0.25s ease;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0,119,204,0.13);
}

.process-card span {
    color: var(--accent-dark);
    font-weight: 900;
    letter-spacing: 1px;
}

.process-card h3 {
    color: var(--primary);
}

.process-card p {
    color: #475569;
    line-height: 1.65;
}

/* Locations */
.locations {
    background: var(--bg);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.location-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 10px 28px rgba(0,51,102,0.06);
    transition: 0.25s ease;
}

.location-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0,119,204,0.13);
}

.location-card h3 {
    color: var(--primary);
    margin-top: 0;
}

.location-card p {
    color: #475569;
    line-height: 1.65;
}

/* Contact */
.contact {
    background: white;
}

.contact-box {
    max-width: 900px;
    margin: auto;
    background: #f8fbff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 14px 34px rgba(0,51,102,0.08);
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 28px;
}

.contact-box h3 {
    color: var(--primary);
    margin-top: 0;
}

.contact-box p {
    color: #475569;
    line-height: 1.7;
}

.contact-person {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eaf7ff;
    color: var(--primary) !important;
    font-weight: 700;
}

.notice {
    border-left: 4px solid var(--accent);
    background: #eef9ff;
    padding: 18px;
    border-radius: 12px;
}

/* Footer */
footer {
    background: #00264d;
    color: white;
    text-align: center;
    padding: 36px 7%;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.copyright {
    color: #cbd5e1;
    font-size: 14px;
}

#dify-chatbot-bubble-button {
    animation: softPulse 2.4s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1080px) {
    .service-grid,
    .process-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .about-grid,
    .tracking-card,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 46px;
    }

    .tracking-card::before {
        display: none;
    }
}

@media (max-width: 760px) {
    .site-header {
        flex-direction: column;
        gap: 14px;
    }

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

    .nav-menu a {
        display: inline-block;
        margin: 6px 8px;
    }

    .hero {
        min-height: 660px;
        padding-top: 80px;
        background-image:
            linear-gradient(90deg,rgba(255,255,255,0.98),rgba(255,255,255,0.76)),
            url("assets/hero-tropical-speed-logistics.png");
        background-size: cover;
        background-position: center;
    }

    .hero h1,
    .section-heading h2,
    .tracking-card h2 {
        font-size: 34px;
    }

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

    section {
        padding: 68px 6%;
    }

    .tracking-card {
        padding: 32px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
