:root {
    --primary: #0b2545;
    /* Dark Navy */
    --primary-dark: #06152a;
    --primary-light: #1a4d7d;
    --secondary: #ff8c00;
    /* Vibrant Orange */
    --accent: #3a86ff;
    /* Blue Accent */
    --danger: #e74c3c;
    --warning: #f39c12;
    --success: #2ecc71;
    --text-main: #333333;
    --text-muted: #6c757d;
    --bg-body: #f7f9fc;
    --bg-card: #ffffff;
    --border-color: #eaeaea;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --primary-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Container --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Header --- */
.site-header {
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand svg {
    fill: var(--secondary);
}

/* --- Navigation --- */
.main-nav {
    margin-left: auto;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary);
    /* Dark Navy */
    transition: all 0.2s;
    font-size: 1rem;
    text-decoration: none;
    opacity: 0.9;
}

.nav-links a:hover {
    color: var(--secondary);
    /* Orange */
    opacity: 1;
}

.nav-links a.active {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 2px;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav {
        margin-left: 0;
        width: 100%;
    }

    .nav-links {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
}

/* --- Hero Section --- */
.hero-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-md);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Gradient Overlay to make text readable */
.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 37, 69, 0.7), rgba(11, 37, 69, 0.9));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    max-width: 800px;
}

/* Original hero-section (not used in index.html anymore for this part, but kept for compatibility if needed) */
.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* --- Main Content --- */
.main-content {
    margin-top: -30px;
    /* Overlap hero */
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

/* --- Cards --- */
.section-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0;
    position: relative;
}

.card-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin-top: 8px;
    border-radius: 2px;
}

/* --- Stat Boxes --- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-top: 5px solid var(--secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 140px;
}

.stat-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 10px 0;
}

/* --- Forms & Inputs --- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.form-control {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.2s;
    width: 100%;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

/* --- Checkbox Pills --- */
.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.check-pill {
    display: block;
    cursor: pointer;
    background: var(--bg-body);
    padding: 12px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 1px solid transparent;
    user-select: none;
}

.check-pill:hover {
    background: #e6eef5;
}

.check-pill input {
    margin-right: 8px;
    transform: scale(1.2);
}

/* --- Tables --- */
.table-responsive {
    overflow-x: auto;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: #fff;
    font-size: 0.95rem;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.styled-table th {
    background: var(--primary);
    color: #fff;
    text-align: left;
    font-weight: 600;
}

.styled-table tr:hover {
    background-color: #f1f8ff;
}

/* --- Benefits Chart --- */
.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefit-row {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    color: #333;
}

.benefit-pct {
    padding: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-items {
    flex-grow: 1;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.row-1 {
    background: #ffebee;
    border-left: 5px solid #ef5350;
}

.row-1 .benefit-pct {
    background: #ffcdd2;
    color: #b71c1c;
}

.row-2 {
    background: #fff3e0;
    border-left: 5px solid #ffa726;
}

.row-2 .benefit-pct {
    background: #ffe0b2;
    color: #e65100;
}

.row-3 {
    background: #fffde7;
    border-left: 5px solid #ffee58;
}

.row-3 .benefit-pct {
    background: #fff9c4;
    color: #f57f17;
}

.row-4 {
    background: #e8f5e9;
    border-left: 5px solid #66bb6a;
}

.row-4 .benefit-pct {
    background: #c8e6c9;
    color: #1b5e20;
}

.tag {
    background: rgba(255, 255, 255, 0.6);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- 5A Model --- */
.five-a-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.step-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s;
    position: relative;
}

.step-circle:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--secondary);
    color: white;
}

.step-circle span {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.step-circle small {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Footer --- */
.site-footer {
    background: var(--primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #e67e00;
}

/* Print Overrides */
@media print {
    body {
        background: white;
    }

    .hero-section,
    .btn,
    .site-footer {
        display: none !important;
    }

    .section-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .main-content {
        margin-top: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .benefits-container {
        font-size: 0.9rem;
    }

    .benefit-row {
        flex-direction: column;
    }

    .benefit-pct {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    }

    .header-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}