/* --- Variables & Theming --- */
:root {
    /* Brand Colors */
    --primary-blue: #0A3D91; /* Royal/Electric Blue */
    --accent-orange: #F59E0B; /* High-contrast CTA */
    --accent-orange-hover: #D97706;
    
    /* Neutrals */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    
    /* Structure */
    --container-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
}

/* --- Typography & Utilities --- */
h1, h2, h3, h4 { color: var(--primary-blue); font-weight: 700; line-height: 1.2; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
p { color: var(--text-muted); font-size: 1.05rem; }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.bg-light { background-color: var(--bg-light); }
.max-w-md { max-width: 800px; margin: 0 auto; }

/* --- Layout --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-padding { padding: 5rem 0; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo h2 { margin: 0; font-size: 1.5rem; color: var(--primary-blue); letter-spacing: 1px;}
.logo span { color: var(--text-main); font-weight: 300;}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-orange);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-small { padding: 0.6rem 1.5rem; font-size: 0.95rem; }
.btn-block { width: 100%; display: block; text-align: center; }

/* --- Section 1: Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px; /* offset for fixed nav */
}

.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8ed7e66a5a?q=80&w=2070&auto=format&fit=crop'); /* Cargo ship placeholder */
    background-size: cover; background-position: center;
    animation: slowZoom 20s infinite alternate;
    z-index: -2;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(10, 61, 145, 0.9) 0%, rgba(10, 61, 145, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    color: white;
    max-width: 800px;
}

.hero-content h1 { color: white; font-size: 3.5rem; margin-bottom: 1.5rem; }
.hero-content p { color: #E2E8F0; font-size: 1.25rem; margin-bottom: 2.5rem; }

/* --- Section 2 & 3: Cards --- */
.card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-blue);
}

.icon-wrapper {
    font-size: 3rem; margin-bottom: 1.5rem;
}

.card h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.card-featured { border: 1px solid #E2E8F0; }

/* --- Section 4: Process --- */
.step-container { display: flex; flex-direction: column; gap: 2rem; }
.step {
    display: flex; align-items: flex-start; gap: 1.5rem;
    background: var(--bg-white); padding: 1.5rem; border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.step-number {
    background: var(--primary-blue); color: white;
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem; font-weight: bold; flex-shrink: 0;
}
.step-text h4 { margin-bottom: 0.5rem; }

/* --- Section 5: Forms --- */
.form-wrapper {
    background: var(--bg-white); padding: 3rem;
    border-radius: 16px; box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--primary-blue); }
.form-group input, .form-group textarea {
    width: 100%; padding: 1rem; border: 1px solid #CBD5E1;
    border-radius: 8px; font-size: 1rem; transition: var(--transition-smooth);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.1);
}

/* --- Footer --- */
footer { background: var(--text-main); color: white; padding: 2rem 0; }
footer p { color: #CBD5E1; font-size: 0.9rem; margin: 0; }

/* --- ANIMATIONS (Load & Scroll) --- */
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-load { opacity: 0; animation: fadeInUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Intersection Observer Classes */
.scroll-animate { opacity: 0; transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }
.slide-up { transform: translateY(40px); }
.fade-in { transform: translateY(0); }
.scale-in { transform: scale(0.95); }

.scroll-animate.is-visible {
    opacity: 1; transform: translateY(0) scale(1);
}

/* --- Responsive Media Queries --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    .section-padding { padding: 3rem 0; }
    .form-wrapper { padding: 2rem; }
}