:root {
    --primary: #005BBB;
    --primary-hover: #004494;
    --secondary: #0ea5e9;
    --dark: #1e293b;
    --light: #ffffff;
    --bg-light: #f8fafc;
    --gray: #64748b;
    --steel: #cbd5e1;
    --card-width: 290px;
    --card-gap: 20px;
    --success: #10b981;
    --danger: #ef4444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-light);
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 60px; /* Offset for header height */
}

header {
    background-color: var(--light);
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

nav a.active {
    border-bottom-color: var(--primary);
}

/* Master Layout Slot Rules */
main {
    flex-grow: 1;
}

/* Base Utility Layout Elements */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #002d62 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 20px;
    font-weight: 300;
}

.badge {
    background-color: var(--light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

footer {
    background-color: #0f172a;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
    font-size: 13px;
    border-top: 4px solid var(--primary);
}

@media (max-width: 768px) {
    .nav-container { padding: 10px 15px; }
    .logo { font-size: 16px; }
    .brand-logo-img { height: 26px; }
    nav { gap: 10px; }
    nav a { font-size: 12px; }
    .hero { padding: 45px 15px; }
    .hero h1 { font-size: 24px; }
}