* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --page-bg: #f1ede4;
    --surface: rgba(255, 252, 246, 0.92);
    --surface-muted: rgba(242, 235, 222, 0.88);
    --surface-strong: #fffaf1;
    --text-primary: #17212b;
    --text-muted: #56606b;
    --brand: #1f5663;
    --brand-strong: #133844;
    --brand-soft: rgba(31, 86, 99, 0.12);
    --accent: #b06b2d;
    --accent-soft: rgba(176, 107, 45, 0.14);
    --line-soft: rgba(23, 33, 43, 0.12);
    --line-mid: rgba(31, 86, 99, 0.3);
    --shadow-soft: 0 18px 45px rgba(23, 33, 43, 0.08);
    --shadow-hover: 0 22px 50px rgba(23, 33, 43, 0.14);
    --warning-soft: rgba(176, 107, 45, 0.12);
    --warning-strong: #8f571f;
}
html {
    height: 100%;
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(31, 86, 99, 0.14), transparent 30%),
        radial-gradient(circle at top right, rgba(176, 107, 45, 0.12), transparent 34%),
        linear-gradient(180deg, #faf6ef 0%, var(--page-bg) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.slideshow-mode {
    overflow: hidden;
    height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin: 0;
    padding: 0;
    font-family: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
}

/* Standalone presentation slideshow styling - Light Theme */
body.slideshow-mode .slideshow-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

body.slideshow-mode .slide {
    background: #ffffff;
    border: 2px solid rgba(0, 76, 151, 0.2);
    color: #212529;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
}

body.slideshow-mode .slide h1,
body.slideshow-mode .slide h2 {
    color: #000000;
}

body.slideshow-mode .slide h3 {
    color: #004C97;
}

body.slideshow-mode .slide p,
body.slideshow-mode .slide li {
    color: #212529;
}

body.slideshow-mode .box {
    background: rgba(0, 76, 151, 0.08);
    border-left: 5px solid #004C97;
    color: #212529;
}

body.slideshow-mode .highlight {
    background: rgba(0, 76, 151, 0.05);
    border-left: 5px solid #004C97;
    color: #212529;
}

body.slideshow-mode .card {
    background: rgba(0, 76, 151, 0.05);
    border: 1px solid rgba(0, 76, 151, 0.15);
    color: #212529;
}

body.slideshow-mode .key-point {
    color: #212529;
    border-left-color: #004C97;
}

body.slideshow-mode .slide-counter {
    background: rgba(255, 255, 255, 0.95);
    color: #004C97;
    border: 1px solid rgba(0, 76, 151, 0.2);
}

body.slideshow-mode .keyboard-hint {
    background: rgba(255, 255, 255, 0.95);
    color: #495057;
    border: 1px solid rgba(0, 76, 151, 0.2);
}

body.slideshow-mode .nav-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #004C97;
    border: 2px solid #004C97;
}

body.slideshow-mode .nav-btn:hover {
    background: #004C97;
    color: #ffffff;
}

body.slideshow-mode .info-box {
    background: rgba(220, 20, 60, 0.08);
    border-left: 5px solid #DC143C;
    color: #212529;
}

body.slideshow-mode .info-box strong {
    color: #C8102E;
}

body.slideshow-mode .info-box p,
body.slideshow-mode .info-box ul,
body.slideshow-mode .info-box li {
    color: #212529;
}

body.slideshow-mode .prompt {
    background: rgba(0, 76, 151, 0.06);
    border: 2px solid rgba(0, 76, 151, 0.25);
    border-left: 5px solid #004C97;
    color: #212529;
}

/* Modern Template Styles for Index Page */
.hero-section {
    margin: 32px 0 56px;
    padding: 52px 44px;
    background:
        radial-gradient(circle at 85% 20%, rgba(176, 107, 45, 0.18), transparent 22%),
        linear-gradient(138deg, rgba(255, 251, 245, 0.98) 0%, rgba(246, 240, 228, 0.96) 52%, rgba(233, 242, 243, 0.98) 100%);
    border: 1px solid var(--line-soft);
    border-radius: 34px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto -10% -25% auto;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(31, 86, 99, 0.14) 0%, transparent 68%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.9);
    border: 1px solid rgba(23, 33, 43, 0.12);
    color: var(--brand-strong);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.55rem);
    font-family: 'Space Grotesk', 'Source Sans 3', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.8vw, 1.75rem);
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 16px;
    line-height: 1.3;
    max-width: 30ch;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 400;
    max-width: 58ch;
}

.hero-badge {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.badge-date,
.badge-location,
.badge-format {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 252, 246, 0.76);
    color: var(--brand-strong);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--line-soft);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 28px 0 26px;
}

.hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

button.hero-action {
    cursor: pointer;
}

.hero-action.primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 86, 99, 0.24);
}

.hero-action.secondary {
    background: rgba(255, 251, 245, 0.84);
    color: var(--brand-strong);
    border-color: rgba(23, 33, 43, 0.14);
}

.hero-action:hover {
    transform: translateY(-1px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 620px;
}

.hero-stat {
    background: rgba(255, 252, 246, 0.72);
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    padding: 16px 18px;
    backdrop-filter: blur(12px);
}

.hero-stat-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-strong);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.25;
}

.hero-image {
    animation: fadeInRight 0.6s ease-out;
    position: relative;
    z-index: 1;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: #e9ecef;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ced4da;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-image-placeholder {
    height: 450px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-soft);
    background: #e9ecef;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hero-image-placeholder:hover .hero-img {
    transform: scale(1.02);
}

.content-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.box-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
}

.box-image:hover .content-img {
    transform: scale(1.05);
}

.image-placeholder.small {
    height: 250px;
}

.info-cards-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 60px 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.info-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line-soft);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    font-size: 36px;
    line-height: 1;
    flex-shrink: 0;
}

.card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.card-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.card-content a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

.card-content a:hover {
    text-decoration: underline;
}

.content-section {
    margin: 80px 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    scroll-margin-top: 110px;
}

.content-section.alt-bg {
    background: linear-gradient(130deg, #f3f8ff 0%, #edf4ff 100%);
    padding: 60px 40px;
    border-radius: 20px;
    margin: 80px auto;
    border: 1px solid var(--line-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    font-family: 'Space Grotesk', 'Source Sans 3', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.section-intro {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: left;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 76, 151, 0.35);
}

.feature-icon-label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--warning-strong);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.content-box-modern {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.box-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.box-content {
    padding: 32px;
}

.box-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.box-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.box-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.box-content li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 16px;
    color: var(--text-muted);
}

.box-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.nav-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--line-mid);
}

.nav-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.nav-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.nav-link {
    display: inline-block;
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    background: transparent;
    border: none;
    padding: 0;
}

.nav-link:hover {
    color: var(--brand-strong);
    text-decoration: underline;
}

.nav-link-button {
    cursor: pointer;
}

.content-band {
    background: linear-gradient(145deg, rgba(255, 250, 241, 0.88), rgba(237, 244, 246, 0.9));
    padding: 46px 40px;
    border-radius: 28px;
    border: 1px solid var(--line-soft);
}

.section-header-left {
    text-align: left;
}

.section-header-left .section-intro {
    margin-left: 0;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.path-card {
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.95), rgba(247, 241, 230, 0.96));
    border: 1px solid var(--line-soft);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.path-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(31, 86, 99, 0.22);
}

.path-card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.path-card h3 {
    font-family: 'Space Grotesk', 'Source Sans 3', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.path-card p {
    margin-bottom: 16px;
}

.path-card ul {
    margin: 0 0 20px 18px;
}

.path-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(31, 86, 99, 0.18);
    background: #fff;
    color: var(--brand-strong);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.path-link:hover {
    background: rgba(31, 86, 99, 0.08);
    transform: translateY(-1px);
}

.footer-section {
    padding: 16px 0;
    text-align: center;
    border-top: 1px solid var(--line-soft);
    background: rgba(255, 251, 245, 0.94);
    margin-top: auto;
    width: 100%;
    position: sticky;
    bottom: 0;
    z-index: 100;
}

.footer-text {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.01em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        margin: 20px 0 40px;
        padding: 34px 24px;
        border-radius: 26px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .info-cards-section,
    .feature-grid,
    .nav-cards {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        margin: 60px 0;
    }
    
    .content-section.alt-bg {
        padding: 40px 20px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-action {
        width: 100%;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .content-band {
        padding: 34px 22px;
    }
}
/* Dark theme for slideshow - Mining/Industrial palette with orange/amber accents */
#slides .slideshow-container {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    overflow: hidden;
}
#slides .slide {
    display: none;
    width: 90%;
    max-width: 1200px;
    padding: 60px 80px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    min-height: 70vh;
    max-height: calc(100vh - 150px);
    border: 1px solid rgba(255, 165, 0, 0.2);
    animation: fadeIn 0.5s;
    overflow-y: auto;
    overflow-x: hidden;
}
#slides .slide.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
#slides .slide h1 {
    font-size: 48px;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
#slides .slide h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: #fff;
    font-weight: 700;
    border-bottom: 3px solid rgba(255, 165, 0, 0.5);
    padding-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
#slides .slide h3 {
    font-size: 28px;
    margin: 24px 0 16px;
    color: #FFA500;
    font-weight: 600;
    line-height: 1.4;
}
#slides .slide p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
}
#slides .slide ul, #slides .slide ol {
    font-size: 20px;
    line-height: 1.9;
    margin-left: 30px;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
}
#slides .slide li {
    margin-bottom: 14px;
    padding-left: 8px;
}
#slides .slide-title {
    text-align: center;
    padding: 40px 0;
}
#slides .slide-title h1 {
    font-size: 56px;
    margin-bottom: 24px;
    line-height: 1.1;
    border: none;
}
#slides .slide-title .subtitle {
    font-size: 28px;
    color: rgba(255, 165, 0, 0.9);
    margin-top: 20px;
    font-weight: 500;
}
#slides .box {
    background: rgba(255, 165, 0, 0.12);
    border-left: 4px solid #FFA500;
    border-radius: 6px;
    padding: 24px 28px;
    margin: 24px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.2);
}
#slides .box strong {
    display: block;
    font-size: 22px;
    margin-bottom: 16px;
    color: #FFA500;
    font-weight: 700;
}
#slides .box p, #slides .box ul, #slides .box li {
    color: rgba(255,255,255,0.95);
    font-weight: 400;
}
#slides .highlight {
    background: rgba(255, 165, 0, 0.15);
    border-left: 4px solid #FFA500;
    border-radius: 6px;
    padding: 24px 28px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.2);
}
#slides .highlight strong {
    color: #FFA500;
    font-weight: 700;
    font-size: 20px;
    display: block;
    margin-bottom: 12px;
}
#slides .highlight p, #slides .highlight ul, #slides .highlight li {
    color: rgba(255,255,255,0.95);
    font-weight: 400;
}
#slides .prompt {
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-left: 4px solid #FFA500;
    border-radius: 6px;
    padding: 18px 22px;
    margin: 20px 0;
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: 17px;
    color: #fff;
    line-height: 1.7;
    font-weight: 500;
}
#slides .pill {
    display: inline-block;
    background: rgba(255, 165, 0, 0.25);
    color: #fff;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 15px;
    margin-right: 8px;
    font-weight: 600;
    border: 1px solid rgba(255, 165, 0, 0.3);
}
#slides .navigation {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}
#slides .nav-btn {
    background: rgba(255, 165, 0, 0.2);
    color: #fff;
    border: 2px solid #FFA500;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}
#slides .nav-btn:hover {
    background: rgba(255, 165, 0, 0.35);
    border-color: #FFA500;
    box-shadow: 0 6px 16px rgba(255, 165, 0, 0.4);
    transform: translateY(-2px);
}
#slides .nav-btn:active {
    transform: translateY(0);
}
#slides .slide-counter {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(0,0,0,0.5);
    color: #FFA500;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    z-index: 100;
    border: 1px solid rgba(255, 165, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
#slides .keyboard-hint {
    position: fixed;
    top: 30px;
    left: 30px;
    background: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.8);
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 13px;
    z-index: 100;
    display: none;
    border: 1px solid rgba(255, 165, 0, 0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    font-weight: 500;
}
/* Light theme styles for slideshow - using Google Fonts */
.slideshow-container {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-family: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
}
.slide {
    display: none;
    width: 90%;
    max-width: 1200px;
    padding: 60px 80px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    min-height: 70vh;
    max-height: calc(100vh - 150px);
    border: 2px solid rgba(0, 76, 151, 0.2);
    animation: fadeIn 0.5s;
    font-family: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
}
.slide.active {
    display: block;
}
.slide h1 {
    font-size: 48px;
    margin-bottom: 30px;
    color: #000000;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.slide h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: #000000;
    font-weight: 700;
    border-bottom: 4px solid #004C97;
    padding-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.slide h3 {
    font-size: 28px;
    margin: 24px 0 16px;
    color: #004C97;
    font-weight: 600;
    line-height: 1.4;
}
.slide p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #212529;
    font-weight: 400;
}
.slide ul, .slide ol {
    font-size: 20px;
    line-height: 1.9;
    margin-left: 30px;
    margin-bottom: 24px;
    color: #212529;
    font-weight: 400;
}
.slide li {
    margin-bottom: 14px;
    padding-left: 8px;
}
.slide-title {
    text-align: center;
    padding: 40px 0;
}
.slide-title h1 {
    font-size: 56px;
    margin-bottom: 24px;
    line-height: 1.1;
}
.slide-title .subtitle {
    font-size: 28px;
    color: #495057;
    margin-top: 20px;
    font-weight: 500;
}
.box {
    background: rgba(0, 76, 151, 0.08);
    border-left: 5px solid #004C97;
    border-radius: 8px;
    padding: 24px 28px;
    margin: 24px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 76, 151, 0.1);
}
.box strong {
    display: block;
    font-size: 22px;
    margin-bottom: 16px;
    color: #004C97;
    font-weight: 700;
}
.box p, .box ul, .box li {
    color: #212529;
    font-weight: 400;
}
.highlight {
    background: rgba(255, 215, 0, 0.15);
    border-left: 5px solid #FFD700;
    border-radius: 8px;
    padding: 24px 28px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}
.highlight strong {
    color: #B8860B;
    font-weight: 700;
    font-size: 20px;
    display: block;
    margin-bottom: 12px;
}
.highlight p, .highlight ul, .highlight li {
    color: #212529;
    font-weight: 400;
}
.prompt {
    background: rgba(0, 76, 151, 0.06);
    border: 2px solid rgba(0, 76, 151, 0.25);
    border-left: 5px solid #004C97;
    border-radius: 8px;
    padding: 18px 22px;
    margin: 20px 0;
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: 17px;
    color: #212529;
    line-height: 1.7;
    font-weight: 500;
}
.pill {
    display: inline-block;
    background: rgba(0, 76, 151, 0.15);
    color: #004C97;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 15px;
    margin-right: 8px;
    font-weight: 600;
    border: 1px solid rgba(0, 76, 151, 0.2);
}
.navigation {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}
.nav-btn {
    background: #004C97;
    color: #ffffff;
    border: 2px solid #004C97;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 76, 151, 0.3);
}
.nav-btn:hover {
    background: #003d7a;
    border-color: #003d7a;
    box-shadow: 0 6px 16px rgba(0, 76, 151, 0.4);
    transform: translateY(-2px);
}
.nav-btn:active {
    transform: translateY(0);
}
.slide-counter {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #ffffff;
    color: #004C97;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    z-index: 100;
    border: 2px solid rgba(0, 76, 151, 0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.keyboard-hint {
    position: fixed;
    top: 30px;
    left: 30px;
    background: #ffffff;
    color: #495057;
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 13px;
    z-index: 100;
    display: none;
    border: 2px solid rgba(0, 76, 151, 0.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-weight: 500;
}
@media (min-width: 1024px) {
    .keyboard-hint {
        display: block;
    }
}
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 24px 0;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 24px 0;
}
/* Dark theme cards for slideshow */
#slides .card {
    background: rgba(255, 165, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 165, 0, 0.2);
}
#slides .card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #FFA500;
}
#slides .card p, #slides .card ul, #slides .card li {
    color: rgba(255,255,255,0.95);
    font-weight: 400;
}
/* Light theme cards (keep existing) */
.card {
    background: rgba(0, 76, 151, 0.06);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 76, 151, 0.15);
    box-shadow: 0 2px 8px rgba(0, 76, 151, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 76, 151, 0.15);
}
.card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #004C97;
    font-weight: 600;
}
.card p, .card ul, .card li {
    color: #212529;
    font-weight: 400;
}
/* Dark theme key-point for slideshow */
#slides .key-point {
    font-size: 24px;
    font-weight: 600;
    margin: 16px 0;
    padding-left: 20px;
    border-left: 4px solid #FFA500;
    color: rgba(255,255,255,0.95);
}
/* Light theme key-point (keep existing) */
.key-point {
    font-size: 24px;
    font-weight: 600;
    margin: 20px 0;
    padding-left: 24px;
    border-left: 5px solid #FFD700;
    color: #000000;
    line-height: 1.5;
}
/* Removed duplicate .footer-text with fixed positioning - using sticky footer-section instead */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
}
.skip-link:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    padding: 12px 24px;
    background: #004C97;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 76, 151, 0.4);
    text-decoration: none;
}
/* Dark theme info-box for slideshow */
#slides .info-box {
    background: rgba(255, 165, 0, 0.12);
    border-left: 4px solid #FFA500;
    border-radius: 6px;
    padding: 20px 24px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.2);
}
#slides .info-box strong {
    color: #FFA500;
    font-weight: 700;
    font-size: 20px;
    display: block;
    margin-bottom: 12px;
}
#slides .info-box p, #slides .info-box ul, #slides .info-box li {
    color: rgba(255,255,255,0.95);
    font-weight: 400;
}
/* Light theme info-box (keep existing) */
.info-box {
    background: rgba(220, 20, 60, 0.08);
    border-left: 5px solid #DC143C;
    border-radius: 8px;
    padding: 22px 26px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.1);
}
.info-box strong {
    color: #C8102E;
    font-weight: 700;
    font-size: 20px;
    display: block;
    margin-bottom: 12px;
}
.info-box p, .info-box ul, .info-box li {
    color: #212529;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slide {
        padding: 40px 30px;
        width: 95%;
        max-height: calc(100vh - 125px);
    }
    .slide h1 {
        font-size: 36px;
    }
    .slide h2 {
        font-size: 28px;
    }
    .slide h3 {
        font-size: 22px;
    }
    .slide p, .slide ul, .slide ol {
        font-size: 18px;
    }
    .two-column {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /* Dark theme slideshow responsive */
    #slides .slide {
        padding: 40px 30px;
        width: 95%;
        max-height: calc(100vh - 125px);
    }
    #slides .slide h1 {
        font-size: 36px;
    }
    #slides .slide h2 {
        font-size: 28px;
    }
    #slides .slide h3 {
        font-size: 22px;
    }
    #slides .slide p, #slides .slide ul, #slides .slide ol {
        font-size: 18px;
    }
    #slides .two-column {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    #slides .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Tab Navigation Styles */
.tabs-container {
    padding: 18px 0;
    border-bottom: 1px solid rgba(23, 33, 43, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(23, 33, 43, 0.08);
    backdrop-filter: blur(10px);
    background: rgba(250, 246, 239, 0.94);
}
.tabs {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.page-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-right: 8px;
}

.page-kicker {
    margin: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    font-weight: 700;
    color: var(--warning-strong);
}

.page-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.page-brand-copy strong {
    font-family: 'Space Grotesk', 'Source Sans 3', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.page-brand-copy span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
}
.tab-button {
    background: rgba(255, 252, 246, 0.8);
    color: var(--text-primary);
    border: 1px solid rgba(23, 33, 43, 0.12);
    padding: 11px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Space Grotesk', 'Source Sans 3', sans-serif;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}
a.tab-button {
    text-decoration: none;
    color: var(--text-primary);
}
.tab-button:hover {
    background: rgba(31, 86, 99, 0.1);
    border-color: rgba(31, 86, 99, 0.28);
}
a.tab-button:hover {
    color: var(--text-primary);
    text-decoration: none;
}
.tab-button.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 86, 99, 0.22);
}
a.tab-button.active {
    color: #fff;
}
#main-content {
    flex: 1;
    padding-top: 0;
    min-height: calc(100vh - 200px); /* Account for header and footer */
}

.tab-content {
    display: none;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    padding-bottom: 40px;
}

#overview.tab-content {
    padding: 20px 40px 60px;
}
.tab-content.active {
    display: block;
}

/* Sub-navigation Styles */
.sub-nav {
    background: rgba(255, 250, 241, 0.92);
    padding: 16px 0;
    margin: -40px -40px 30px -40px;
    border-bottom: 1px solid rgba(23, 33, 43, 0.1);
    position: sticky;
    top: 80px;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.sub-nav-button {
    background: rgba(31, 86, 99, 0.08);
    color: var(--brand);
    border: 1px solid rgba(31, 86, 99, 0.16);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Space Grotesk', 'Source Sans 3', sans-serif;
    transition: all 0.3s;
    white-space: nowrap;
}

.sub-nav-button:hover {
    background: rgba(31, 86, 99, 0.14);
    border-color: rgba(31, 86, 99, 0.3);
    transform: translateY(-1px);
}

.sub-nav-button.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 600;
}

.sub-section {
    scroll-margin-top: 120px;
    padding: 24px 0 10px;
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(0, 76, 151, 0.1);
}

.sub-section:first-of-type {
    padding-top: 0;
}
.sub-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}
.tab-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-family: 'Space Grotesk', 'Source Sans 3', sans-serif;
    font-weight: 700;
}
.tab-content h2 {
    font-size: 28px;
    margin: 28px 0 16px;
    color: var(--text-primary);
    font-family: 'Space Grotesk', 'Source Sans 3', sans-serif;
    font-weight: 700;
    border-bottom: 3px solid rgba(31, 86, 99, 0.32);
    padding-bottom: 10px;
}
.tab-content h3 {
    font-size: 22px;
    margin: 20px 0 10px;
    color: var(--brand);
    font-family: 'Space Grotesk', 'Source Sans 3', sans-serif;
    font-weight: 700;
}
.tab-content p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 14px;
    color: var(--text-muted);
}
.tab-content ul, .tab-content ol {
    font-size: 16px;
    line-height: 1.65;
    margin-left: 26px;
    margin-bottom: 16px;
    color: var(--text-muted);
}
.tab-content li {
    margin-bottom: 8px;
}
.content-box {
    background: rgba(31, 86, 99, 0.09);
    border-left: 4px solid var(--brand);
    border-radius: 6px;
    padding: 20px 24px;
    margin: 24px 0;
}
.content-box strong {
    display: block;
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--brand);
}
.content-highlight {
    background: var(--warning-soft);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    padding: 20px 24px;
    margin: 24px 0;
}
.content-highlight strong {
    color: var(--warning-strong);
}

/* Shared content media blocks for tab pages */
.section-media {
    width: 100%;
    margin: 20px auto 26px;
    text-align: center;
}

.card .section-media {
    margin: 0 auto 12px;
}

.section-media.hero {
    max-width: 860px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.section-media .section-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.section-media.hero .section-image {
    border-radius: 0;
    box-shadow: none;
}

.section-media.inline-right,
.section-media.inline-left {
    max-width: min(42%, 420px);
    margin-top: 8px;
    margin-bottom: 16px;
    text-align: left;
}

.section-media.inline-right {
    float: right;
    clear: right;
    margin-left: 24px;
    margin-right: 0;
}

.section-media.inline-left {
    float: left;
    clear: left;
    margin-right: 24px;
    margin-left: 0;
}

.section-media.inline-right .section-image,
.section-media.inline-left .section-image {
    width: 100%;
    max-width: none;
}

.media-clear {
    clear: both;
}

.section-image.sm {
    max-width: 330px;
}

.section-image.md {
    max-width: 460px;
}

.section-image.lg {
    max-width: 520px;
}

.section-image.circle {
    max-width: 200px;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
}

.section-image.card-image {
    max-width: 280px;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.two-column.align-center {
    align-items: center;
}

.two-column.align-start {
    align-items: start;
}

.mt-16 {
    margin-top: 16px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-24 {
    margin-top: 24px;
}

.section-mini-title {
    margin-top: 16px;
    margin-bottom: 8px;
}

.mt-12 {
    margin-top: 12px;
}

.text-sm {
    font-size: 14px;
}

.list-compact {
    font-size: 16px;
}

.subtitle-text {
    font-size: 20px;
    color: #4a4a4a;
    margin-bottom: 30px;
}

.content-box.warning {
    margin-top: 30px;
    background: rgba(255, 165, 0, 0.1);
    border-left: 4px solid #ffa500;
}

.table-wrap {
    margin: 20px 0 28px;
    overflow-x: auto;
    border: 1px solid rgba(0, 76, 151, 0.2);
    border-radius: 10px;
    background: #fff;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.content-table thead th {
    background: rgba(0, 76, 151, 0.1);
    color: #003a76;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0, 76, 151, 0.2);
}

.content-table tbody td {
    font-size: 15px;
    line-height: 1.55;
    color: #2d2d2d;
    padding: 12px 14px;
    vertical-align: top;
    border-bottom: 1px solid rgba(0, 76, 151, 0.12);
}

.content-table tbody tr:last-child td {
    border-bottom: none;
}

.case-play-panel {
    margin: 24px 0 30px;
    padding: 20px 22px;
    border: 1px solid rgba(0, 76, 151, 0.22);
    border-radius: 10px;
    background: #ffffff;
}

.case-play-panel strong {
    display: block;
    color: var(--brand);
    margin-bottom: 6px;
    font-size: 20px;
}

.path-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 14px;
}

.path-chip {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 76, 151, 0.24);
    background: rgba(0, 76, 151, 0.08);
    color: #18406d;
    font-size: 13px;
    font-weight: 600;
}

.path-chip.complete {
    background: rgba(46, 125, 50, 0.14);
    border-color: rgba(46, 125, 50, 0.3);
    color: #1c5a25;
}

.path-chip.pending {
    background: rgba(0, 76, 151, 0.08);
    border-color: rgba(0, 76, 151, 0.24);
    color: #18406d;
}

.path-chip.locked {
    background: rgba(120, 130, 140, 0.14);
    border-color: rgba(120, 130, 140, 0.22);
    color: #5f6973;
}

.path-log {
    margin: 0 0 4px 20px;
}

.path-log li {
    margin-bottom: 4px;
}

.decision-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 26px;
}

.decision-btn,
.reset-btn,
.secondary-btn {
    border-radius: 8px;
    border: 1px solid rgba(0, 76, 151, 0.3);
    padding: 11px 16px;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease;
}

.decision-btn {
    background: rgba(0, 76, 151, 0.12);
    color: #05315d;
    font-weight: 600;
}

.decision-btn:hover {
    background: rgba(0, 76, 151, 0.2);
    border-color: rgba(0, 76, 151, 0.4);
}

.reset-btn {
    display: none;
    background: rgba(183, 28, 28, 0.08);
    border-color: rgba(183, 28, 28, 0.3);
    color: #8d1f1f;
    font-weight: 600;
}

.reset-btn:hover {
    background: rgba(183, 28, 28, 0.14);
}

.secondary-btn {
    background: #fff;
    color: var(--brand);
    font-weight: 600;
}

.secondary-btn:hover {
    background: rgba(0, 76, 151, 0.08);
}

.decision-outcome {
    display: none;
    margin: 18px 0 30px;
}

.outcome-title {
    color: #9c4f00;
    margin-bottom: 12px;
}

.decision-next {
    margin-top: 12px;
}

.path-summary-list {
    margin-top: 12px;
}

@media (max-width: 768px) {
    .section-media.hero {
        max-width: 100%;
    }

    .section-media.inline-right,
    .section-media.inline-left {
        float: none;
        clear: none;
        max-width: 100%;
        margin: 18px auto;
        text-align: center;
    }

    .section-image.circle {
        width: 160px;
        height: 160px;
    }

    .decision-buttons {
        flex-direction: column;
    }

    .decision-btn,
    .reset-btn,
    .secondary-btn {
        width: 100%;
    }
}
.code-example {
    background: rgba(31, 86, 99, 0.08);
    border: 2px solid rgba(31, 86, 99, 0.24);
    border-left: 4px solid var(--brand);
    border-radius: 6px;
    padding: 16px 20px;
    margin: 16px 0;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    color: var(--text-muted);
    overflow-x: auto;
}

/* Staggered reveal gives cards a coherent entrance rhythm as tabs load */
.info-cards-section .info-card,
.feature-grid .feature-card,
.two-column-layout .content-box-modern,
.nav-cards .nav-card {
    opacity: 0;
    animation: fadeInUp 0.55s ease-out forwards;
}

.info-cards-section > *:nth-child(2),
.feature-grid > *:nth-child(2),
.two-column-layout > *:nth-child(2),
.nav-cards > *:nth-child(2) {
    animation-delay: 90ms;
}

.info-cards-section > *:nth-child(3),
.feature-grid > *:nth-child(3),
.nav-cards > *:nth-child(3) {
    animation-delay: 180ms;
}

.info-cards-section > *:nth-child(4),
.feature-grid > *:nth-child(4),
.nav-cards > *:nth-child(4) {
    animation-delay: 270ms;
}
@media (max-width: 768px) {
    .tabs {
        padding: 0 20px;
    }
    .page-brand {
        width: 100%;
        margin-right: 0;
    }
    .page-kicker {
        writing-mode: initial;
        transform: none;
    }
    .tab-list {
        flex: 1 1 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        scrollbar-width: thin;
    }
    .slides-link {
        margin-left: 0;
    }
    .tab-content {
        padding: 20px;
    }
    .tab-button {
        font-size: 14px;
        padding: 10px 16px;
    }
}

.nav-actions {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.slides-link,
.download-link {
    margin-left: 0;
}

a:focus-visible,
button:focus-visible,
.tab-button:focus-visible,
.sub-nav-button:focus-visible,
.nav-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 76, 151, 0.25), 0 0 0 6px rgba(255, 255, 255, 0.95);
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .info-cards-section .info-card,
    .feature-grid .feature-card,
    .two-column-layout .content-box-modern,
    .nav-cards .nav-card {
        opacity: 1 !important;
    }
}

/* Tab-specific styles for slideshow */
#slides {
    padding: 0 !important;
    max-width: 100% !important;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

#slides .slideshow-container {
    overflow: hidden;
    height: 100vh;
    width: 100%;
    position: relative;
}

#slides .slide {
    width: 90%;
    max-width: 1200px;
}

/* Ensure body doesn't scroll when slides tab is active */
body.slides-tab-active {
    overflow: hidden;
    height: 100vh;
}
