@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@100..900&display=swap');

:root {
    --navy-dark: #0a192f;
    --navy-medium: #112240;
    --navy-light: #233554;
    --icy-blue: #a8dadc;
    --icy-blue-glow: rgba(168, 218, 220, 0.4);
    --white: #f1faee;
    --accent: #457b9d;
    --text-muted: #8892b0;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--navy-dark);
    color: var(--white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(168, 218, 220, 0.1);
    height: 80px;
    display: flex;
    align-items: center;
    transition: height 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--icy-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a:hover {
    color: var(--icy-blue);
}

.btn-quote {
    background: var(--icy-blue);
    color: var(--navy-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
}

.btn-quote:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(17, 34, 64, 0.9) 100%),
        url('https://images.unsplash.com/photo-1494412574743-019475a77671?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--navy-dark), transparent);
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--navy-medium);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(168, 218, 220, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--icy-blue);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.5);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--icy-blue);
    margin-bottom: 1.5rem;
    display: block;
}

/* Footer */
footer {
    background: var(--navy-medium);
    border-top: 1px solid rgba(168, 218, 220, 0.1);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(168, 218, 220, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Components */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(168, 218, 220, 0.1);
    color: var(--icy-blue);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--icy-blue);
    color: var(--icy-blue);
    border-radius: 4px;
    font-weight: 700;
    margin-top: 2rem;
}

.btn-primary:hover {
    background: rgba(168, 218, 220, 0.1);
}

/* Tracking Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
}

/* --- New Maritime & Snowstorm Animations --- */

/* Snow Particles */
#snow-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.3;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Ocean Waves Overlay */
.ocean {
    height: 5%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: transparent;
    z-index: 2;
}

.wave {
    background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wave.svg) repeat-x;
    position: absolute;
    top: -198px;
    width: 6400px;
    height: 198px;
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.1;
}

.wave:nth-of-type(2) {
    top: -175px;
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -0.125s infinite, swell 7s ease -0.125s infinite;
    opacity: 0.2;
}

@keyframes wave {
    0% {
        margin-left: 0;
    }

    100% {
        margin-left: -1600px;
    }
}

@keyframes swell {

    0%,
    100% {
        transform: translate3d(0, -25px, 0);
    }

    50% {
        transform: translate3d(0, 5px, 0);
    }
}

/* Hero Content z-index fix */
.hero-content {
    position: relative;
    z-index: 5;
}

.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    border-left: 2px solid var(--icy-blue);
    margin-left: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 1.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--icy-blue);
    box-shadow: 0 0 10px var(--icy-blue);
}

.timeline-item.past::before {
    background: var(--accent);
    box-shadow: none;
}

/* FAQ Accordion */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(168, 218, 220, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background: var(--navy-medium);
}

.faq-question {
    padding: 1.5rem;
    background: var(--navy-medium);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    list-style: none;
    color: inherit;
}

.faq-question::-webkit-details-marker,
.faq-question::marker {
    display: none;
    content: none;
}

.faq-question h4 {
    margin: 0;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--icy-blue);
    flex-shrink: 0;
}

.faq-item[open] .faq-question i,
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    background: var(--navy-dark);
}

.faq-answer p {
    margin: 0;
    padding-top: 0.25rem;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: none;
}