:root {
    --primary: #0056b3;
    --primary-light: #e7f1ff;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --container-max-width: 1100px;
    --body-bg: #f0f2f5;
    --card-bg: #ffffff;
    --header-bg: #ffffff;
}

[data-theme="dark"] {
    --primary: #4da3ff;
    --primary-light: #1a2a3a;
    --text-main: #e0e0e0;
    --text-muted: #b0b0b0;
    --body-bg: #121212;
    --card-bg: #1e1e1e;
    --header-bg: #1a1a1a;
    --gray-100: #2c2c2c;
    --gray-200: #333333;
    --gray-300: #444444;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --dark: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--body-bg);
    padding-bottom: 4rem;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--gray-300);
    padding: 1.5rem 0;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s, border-color 0.3s;
}

header h1 {
    font-size: 1.875rem;
    color: var(--primary);
    font-weight: 700;
}

header .breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

header .breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

header .breadcrumb a:hover {
    text-decoration: underline;
}

.layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Nav */
.sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.nav-menu {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.nav-menu ul {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.9375rem;
    font-weight: 500;
}

.nav-menu a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Cards & Content */
.content-section {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.content-section p {
    margin-bottom: 1rem;
}

.resource-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.resource-card {
    border: 1px solid var(--gray-300);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.resource-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    background: var(--gray-200);
    border-radius: 999px;
    color: var(--text-muted);
}

.resource-card .contact-info {
    margin-top: auto;
    font-size: 0.875rem;
    border-top: 1px solid var(--gray-200);
    padding-top: 0.75rem;
}

.resource-card .btn {
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
    border: none;
    font-size: 0.875rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #004494;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-item {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: 6px;
}

.info-item strong {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

/* Typography Helpers */
.highlight {
    background: #fff3cd;
    padding: 0 0.2rem;
    border-radius: 2px;
}

.text-sm {
    font-size: 0.875rem;
}

.text-muted {
    color: var(--text-muted);
}

/* Golden Ticket Styles */
.golden-ticket-banner {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 1px solid #ffe69c;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15);
}

.golden-ticket-banner i {
    color: #d4a017;
    font-size: 1.5rem;
}

.golden-ticket-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffc107;
    color: #000;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Home Grid */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h2 {
    margin-bottom: 1rem;
}