:root {
    --primary-teal: #71D7CB;
    --dark-teal: #006666;
    --cta-bg: #004d4d;
    --logo-red: #c62828;
    --text-dark: #333;
    --white: #ffffff;
    --highlight-bg: #e8f8f6;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-teal);
    overflow-x: hidden;
}

/* Header - Stays above Hero */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: var(--white);
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    z-index: 100;
}

.logo img {
    height: 90px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--logo-red);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    min-width: 160px;
}

/* Hero - Dynamic height to prevent overlap */
.hero {
    min-height: 200px;
    padding: 60px 20px;
    background-size: cover;
    background-position: top center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 40px;
    border-radius: 15px;
    max-width: 90%;
}

.container {
    width: 95%;
    max-width: 1100px;
    margin: 20px auto;
    padding: 40px;
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.highlight-box, .card {
    background-color: var(--highlight-bg);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    border-left: 10px solid var(--primary-teal);
}

.gateway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
    margin: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 4px; top: 0; bottom: 0;
    width: 3px; background: var(--primary-teal);
}

.timeline-item { position: relative; margin-bottom: 40px; }

.timeline-dot {
    position: absolute;
    left: -33px; top: 5px;
    width: 14px; height: 14px;
    background: var(--dark-teal);
    border-radius: 50%;
    border: 3px solid var(--white);
}

/* CTA & Footer */
.pre-footer-cta {
    background: var(--cta-bg);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
    border-radius: 30px 30px 0 0;
}

footer {
    background: #222;
    padding: 50px 20px;
    text-align: center;
    color: var(--white);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 25px;
    list-style: none;
}

.footer-nav a {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero { min-height: 250px; }
}