/* ============================================
   CBC BRAND STYLES
   Career Bootcamp – Reusable CSS Framework
   Version: 2.0 — Aligned to Brand Guidelines 2025
   Last Updated: February 2026
   ============================================ */

/* ============================================
   TABLE OF CONTENTS
   1. CSS Variables & Reset
   2. Typography
   3. Accessibility
   4. Header & Navigation
   5. Mobile Navigation
   6. Buttons & Links
   7. Hero Sections
   8. Section Layouts
   9. Cards & Containers
   10. Forms
   11. Tables
   12. FAQ Accordion
   13. Footer
   14. Utility Classes
   15. Responsive Breakpoints
   ============================================ */

/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ── Brand Palette (from Brand Guidelines 2025) ── */

    /* Primary — Deep Marine Navy */
    --cbc-navy: #1A3E73;

    /* Secondary — Electric Royal Blue (accents only, never large fills) */
    --cbc-royal-blue: #1503D5;

    /* Accent 1 — Gold (CTAs, premium badges, key words, highlight borders) */
    --cbc-gold: #CFB53B;
    --cbc-gold-hover: #BFA435;
    --cbc-gold-light: #faf5e4;

    /* Accent 2 — Caramel (testimonials, subtle backgrounds, underlines) */
    --cbc-caramel: #C58B4E;
    --cbc-caramel-light: #faf3eb;

    /* Neutral — Off-White */
    --cbc-off-white: #F7F7F5;

    /* Neutral — Black (body text, fine lines — use sparingly) */
    --cbc-black: #000000;

    /* ── Legacy aliases (backward-compat, map to brand values) ── */
    --cbc-dark: var(--cbc-navy);
    --cbc-dark-alt: #122C55;          /* darker navy shade for gradients */
    --cbc-accent: var(--cbc-gold);
    --cbc-accent-hover: var(--cbc-gold-hover);
    --cbc-accent-light: var(--cbc-gold-light);

    /* ── Text Colors ── */
    --cbc-text: #000000;              /* brand: black for body text */
    --cbc-text-light: #4a5568;
    --cbc-text-muted: #94a3b8;

    /* ── Background Colors ── */
    --cbc-bg-light: #F7F7F5;          /* brand: off-white */
    --cbc-bg-white: #ffffff;

    /* ── Border Colors ── */
    --cbc-border: #e2e8f0;
    --cbc-border-light: #f1f5f9;

    /* ── Status Colors (not in brand guidelines — see addendum) ── */
    --cbc-success: #10b981;
    --cbc-error: #ef4444;
    --cbc-warning: #f59e0b;
    --cbc-info: var(--cbc-royal-blue); /* mapped to brand secondary */

    /* ── Shadows ── */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-accent: 0 4px 12px rgba(207, 181, 59, 0.3);

    /* ── Border Radius ── */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;

    /* ── Spacing ── */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;

    /* ── Container Widths ── */
    --container-sm: 600px;
    --container-md: 800px;
    --container-lg: 1000px;
    --container-xl: 1200px;
    --container-2xl: 1400px;

    /* ── Transitions ── */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    /* Brand: Helvetica Neue → Helvetica → Arial → sans-serif for body */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;                  /* brand minimum: 16px for web */
    color: var(--cbc-text);
    line-height: 1.6;
    background: var(--cbc-bg-white);
    overflow-x: hidden;
}

/* ============================================
   2. TYPOGRAPHY
   Brand: Futura for headings, Helvetica Neue for body
   Fallbacks: Futura → Trebuchet MS → Arial → sans-serif
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
    line-height: 1.2;
    color: var(--cbc-navy);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;                /* brand: Bold / Demi */
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;                /* brand: Medium / Bold */
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;                /* brand: Medium */
    letter-spacing: 0.25px;          /* brand: optional increased tracking */
}

h4 {
    font-size: 1.1rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--cbc-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--cbc-gold-hover);
}

/* Key metrics & data points: Futura Bold per brand guidelines */
.stat-number,
.metric,
.data-point {
    font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
    font-weight: 700;
}

/* ============================================
   3. ACCESSIBILITY
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cbc-gold);
    color: var(--cbc-navy);
    padding: 12px 24px;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: top var(--transition-slow);
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 3px solid var(--cbc-gold);
    outline-offset: 2px;
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */
header {
    background: var(--cbc-navy);
    padding: 0.875rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--cbc-gold);
}

.logo img {
    height: 38px;
    width: auto;
}

/* Desktop Navigation */
nav {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: var(--space-sm) 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-item:hover {
    background: rgba(255,255,255,0.1);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.nav-dropdown-btn::after {
    content: "";
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform var(--transition-base);
}

.nav-dropdown:hover .nav-dropdown-btn::after {
    transform: rotate(180deg);
}

.nav-dropdown-content {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 220px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    padding: var(--space-sm) 0;
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-content a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--cbc-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.nav-dropdown-content a:hover {
    background: var(--cbc-gold-light);
    color: var(--cbc-navy);
}

.nav-dropdown-content a.new-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-dropdown-content a.new-badge::after {
    content: "NEW";
    background: var(--cbc-gold);
    color: var(--cbc-navy);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Nav CTA Button */
.nav-cta {
    background: var(--cbc-gold) !important;
    color: var(--cbc-navy) !important;
    padding: 0.625rem 1.25rem !important;
    margin-left: 0.75rem;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--cbc-gold-hover) !important;
    transform: translateY(-1px);
}

/* ============================================
   5. MOBILE NAVIGATION
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-base);
}

.hamburger:hover {
    background: rgba(255,255,255,0.1);
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition-slow);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cbc-navy);
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
    z-index: 999;
    flex-direction: column;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav > a {
    color: #fff;
    text-decoration: none;
    padding: var(--space-md) 0;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-section {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-section-title {
    color: var(--cbc-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: var(--space-sm) 0;
}

.mobile-nav-section a {
    display: block;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 0.625rem 0 0.625rem var(--space-md);
    font-size: 1rem;
    transition: color var(--transition-base);
}

.mobile-nav-section a:hover {
    color: #fff;
}

.mobile-nav-cta {
    text-align: center;
    margin-top: var(--space-lg);
    display: block;
    background: var(--cbc-gold);
    color: var(--cbc-navy);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
}

@media (max-width: 968px) {
    nav { display: none; }
    .hamburger { display: flex; }
}

/* ============================================
   6. BUTTONS & LINKS
   ============================================ */
.btn-primary {
    background: var(--cbc-gold);
    color: var(--cbc-navy);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    border: 2px solid var(--cbc-gold);
    display: inline-block;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--cbc-gold-hover);
    border-color: var(--cbc-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
    color: var(--cbc-navy);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all var(--transition-base);
    display: inline-block;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Secondary button on light backgrounds */
.btn-secondary-dark {
    background: var(--cbc-navy);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--cbc-navy);
    transition: all var(--transition-base);
    display: inline-block;
    cursor: pointer;
}

.btn-secondary-dark:hover {
    background: var(--cbc-dark-alt);
    border-color: var(--cbc-dark-alt);
    color: #fff;
}

/* Royal Blue accent button — AI features, progress elements */
.btn-accent-ai {
    background: var(--cbc-royal-blue);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--cbc-royal-blue);
    transition: all var(--transition-base);
    display: inline-block;
    cursor: pointer;
}

.btn-accent-ai:hover {
    background: #1102B0;
    border-color: #1102B0;
    color: #fff;
}

.btn-link {
    color: var(--cbc-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: color var(--transition-base);
}

.btn-link:hover {
    color: var(--cbc-gold-hover);
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   7. HERO SECTIONS
   Brand gradient rule: only black → navy
   ============================================ */
.hero {
    background: linear-gradient(135deg, #000000 0%, var(--cbc-navy) 100%);
    padding: 10rem var(--space-xl) 6rem;
    color: #fff;
    text-align: center;
    margin-top: 62px;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--cbc-gold);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.hero h1 {
    color: #fff;
    margin-bottom: var(--space-lg);
    line-height: 1.15;
}

.hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cbc-gold);
    display: block;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--cbc-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
    .hero { padding: 8rem var(--space-lg) 4rem; min-height: auto; }
}

/* ============================================
   8. SECTION LAYOUTS
   ============================================ */
section {
    padding: var(--space-4xl) var(--space-xl);
}

.container {
    max-width: var(--container-xl);
    margin: 0 auto;
}

.container-sm { max-width: var(--container-sm); margin: 0 auto; }
.container-md { max-width: var(--container-md); margin: 0 auto; }
.container-lg { max-width: var(--container-lg); margin: 0 auto; }

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--cbc-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Background Variations */
.bg-light { background: var(--cbc-off-white); }
.bg-white { background: var(--cbc-bg-white); }
.bg-dark { background: var(--cbc-navy); color: #fff; }
/* Brand gradient: black → navy only */
.bg-dark-gradient { background: linear-gradient(135deg, #000000 0%, var(--cbc-navy) 100%); color: #fff; }
.bg-accent-light { background: var(--cbc-gold-light); }
.bg-caramel-light { background: var(--cbc-caramel-light); }

/* ============================================
   9. CARDS & CONTAINERS
   ============================================ */
.card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cbc-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-featured {
    border-color: var(--cbc-gold);
    background: linear-gradient(180deg, var(--cbc-gold-light) 0%, #fff 100%);
}

/* Testimonial card — uses Caramel accent per brand */
.card-testimonial {
    border-color: var(--cbc-caramel);
    background: var(--cbc-caramel-light);
}

.card-testimonial .underline-accent {
    border-bottom: 2px solid var(--cbc-caramel);
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================
   10. FORMS
   ============================================ */
input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border: 2px solid var(--cbc-border);
    border-radius: var(--radius-md);
    width: 100%;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--cbc-gold);
    box-shadow: 0 0 0 3px rgba(207, 181, 59, 0.2);
}

input::placeholder {
    color: var(--cbc-text-muted);
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--cbc-navy);
}

.form-group {
    margin-bottom: var(--space-lg);
}

/* ============================================
   11. TABLES
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--cbc-border);
}

.comparison-table th {
    background: var(--cbc-off-white);
    font-weight: 700;
    color: var(--cbc-navy);
}

.comparison-table .highlight {
    background: var(--cbc-gold-light);
}

.comparison-table .check {
    color: var(--cbc-success);
    font-weight: bold;
}

.comparison-table .cross {
    color: var(--cbc-text-muted);
}

.comparison-table .partial {
    color: var(--cbc-text-light);
    font-size: 0.85rem;
}

/* ============================================
   12. FAQ ACCORDION
   ============================================ */
.faq-list {
    max-width: var(--container-md);
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cbc-border);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--cbc-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    transition: background var(--transition-base);
    user-select: none;
}

.faq-question:hover {
    background: var(--cbc-off-white);
}

.faq-question-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--cbc-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-slow);
}

.faq-question-icon::before {
    content: "+";
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cbc-gold);
    line-height: 1;
}

.faq-item.active .faq-question-icon {
    background: var(--cbc-gold);
    transform: rotate(45deg);
}

.faq-item.active .faq-question-icon::before {
    color: var(--cbc-navy);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--cbc-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============================================
   13. FOOTER
   ============================================ */
footer {
    background: var(--cbc-navy);
    color: rgba(255,255,255,0.8);
    padding: var(--space-4xl) var(--space-xl) var(--space-xl);
}

.footer-container {
    max-width: var(--container-xl);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}

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

.footer-brand p {
    color: var(--cbc-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-col h4 {
    font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    color: var(--cbc-gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.625rem;
}

.footer-col a {
    color: var(--cbc-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.footer-col a:hover {
    color: #fff;
}

.footer-newsletter form {
    display: flex;
    gap: var(--space-sm);
}

.footer-newsletter input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.footer-newsletter input::placeholder {
    color: var(--cbc-text-muted);
}

.footer-newsletter button {
    padding: 0.75rem 1.25rem;
    background: var(--cbc-gold);
    color: var(--cbc-navy);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-base);
}

.footer-newsletter button:hover {
    background: var(--cbc-gold-hover);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--cbc-text-muted);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--cbc-text-muted);
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* ============================================
   14. UTILITY CLASSES
   ============================================ */
/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Text Colors */
.text-dark { color: var(--cbc-navy); }
.text-light { color: var(--cbc-text-light); }
.text-muted { color: var(--cbc-text-muted); }
.text-accent { color: var(--cbc-gold); }
.text-royal { color: var(--cbc-royal-blue); }
.text-caramel { color: var(--cbc-caramel); }
.text-white { color: #fff; }

/* Font Weights */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Royal Blue accent utilities — AI features, progress bars, micro-details */
.accent-ai { color: var(--cbc-royal-blue); }
.bg-accent-ai { background: var(--cbc-royal-blue); color: #fff; }
.border-accent-ai { border-color: var(--cbc-royal-blue); }

/* Progress bar — Royal Blue per brand */
.progress-bar {
    background: var(--cbc-off-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 8px;
}

.progress-bar-fill {
    background: var(--cbc-royal-blue);
    height: 100%;
    border-radius: var(--radius-sm);
    transition: width var(--transition-slow);
}

/* Caramel accent utilities */
.border-caramel { border-color: var(--cbc-caramel); }
.underline-caramel { border-bottom: 2px solid var(--cbc-caramel); display: inline; }

/* Gold highlight border */
.highlight-border { border-left: 4px solid var(--cbc-gold); padding-left: var(--space-md); }

/* Spacing */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.py-1 { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-2 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-3 { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-4 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Flexbox */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: var(--space-sm); }
.gap-2 { gap: var(--space-md); }
.gap-3 { gap: var(--space-lg); }
.gap-4 { gap: var(--space-xl); }

/* ============================================
   15. RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1200px) {
    .container { padding: 0 var(--space-lg); }
}

@media (max-width: 968px) {
    section { padding: var(--space-3xl) var(--space-lg); }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 300px; text-align: center; }
}

@media (max-width: 600px) {
    section { padding: var(--space-2xl) var(--space-md); }
    .section-header { margin-bottom: var(--space-xl); }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    header, footer, .nav-cta, .btn-primary, .btn-secondary { display: none; }
    body { font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: underline; }
    .hero { min-height: auto; padding: 2rem; margin-top: 0; }
}
