/* ===== PRESENTATION/SLIDE PAGE STYLES ===== */
/* Extracted from: how-wal-is-different.html, how-wal-is-different-4.html, how-wal-is-different-5.html */

/* ===========================================
   BASE STYLES
   =========================================== */

/* Nav override for transparent mode - links always white on dark slides */
.nav.transparent .nav-links a {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.nav.transparent .nav-links a:hover,
.nav.transparent .nav-links a.active {
    color: white;
    text-decoration: underline;
    text-decoration-color: var(--gold-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.nav.transparent .mobile-menu-btn span {
    background: #ffffff;
}


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

html {
    scroll-behavior: auto;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--near-black);
    color: white;
    line-height: 1.6;
}

/* ===========================================
   SLIDES WRAPPER
   =========================================== */
.slides-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem 2rem;
    padding-top: 6rem;
    padding-bottom: 4rem;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide.active {
    display: flex;
}

/* ===========================================
   PROGRESS BAR
   =========================================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--gold-accent));
    width: 0%;
    z-index: 1000;
    transition: width 0.3s ease;
}

/* Navigation dots - Hidden */
.nav-dots {
    display: none;
}

/* ===========================================
   TYPOGRAPHY
   =========================================== */
h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: white;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.3;
    color: white;
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ===========================================
   ANIMATIONS
   =========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.slide.visible .reveal {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(1) {
    transition-delay: 0.1s;
}
.reveal:nth-child(2) {
    transition-delay: 0.2s;
}
.reveal:nth-child(3) {
    transition-delay: 0.3s;
}
.reveal:nth-child(4) {
    transition-delay: 0.4s;
}
.reveal:nth-child(5) {
    transition-delay: 0.5s;
}
.reveal:nth-child(6) {
    transition-delay: 0.6s;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.slide.visible .reveal-scale {
    opacity: 1;
    transform: scale(1);
}

/* ===========================================
   SLIDE BACKGROUNDS
   =========================================== */
.slide-dark {
    background: var(--near-black);
}

.slide-lighter {
    background: var(--charcoal);
}

.slide-darker {
    background: #000000;
}

/* Ensure slide-darker works on mobile */
@media (max-width: 768px) {
    .slide-darker {
        background: #000000;
        background-color: #000000;
    }

    /* Slide 12 specific fixes */
    #slide-12 {
        padding-top: 5rem !important;
    }

    /* Ensure slide-12 content is visible */
    #slide-12 .slide-content {
        width: 100%;
        padding: 0 1rem;
    }

    #slide-12 .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin: 1rem 0;
    }
}

/* Title slide */
.title-slide {
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, var(--near-black) 100%);
}

/* Title slide H1 styling - matching page-header h1 style */
.title-slide h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 1rem;
}

/* Title slide spans get gold gradient */
.title-slide h1 span,
.title-slide h1 em {
    background: linear-gradient(135deg, var(--gold-accent), #f4e4a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}

/* Theme B: Presentation page heading colors */
[data-theme="themeB"] .title-slide h1 {
    color: white;
}

[data-theme="themeB"] .title-slide .title-tag {
    background: var(--gold-accent);
    color: var(--near-black);
}

/* All slide titles H2 styling - matching page-header h2 style */
.slide-title,
.reveal h2,
.section-slide h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 1rem;
}

/* Slide title spans get gold gradient */
.slide-title span,
.slide-title em,
.reveal h2 span,
.reveal h2 em,
.section-slide h2 span,
.section-slide h2 em {
    background: linear-gradient(135deg, var(--gold-accent), #f4e4a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}

/* Theme B: Slide titles */
[data-theme="themeB"] .slide-title,
[data-theme="themeB"] .reveal h2,
[data-theme="themeB"] .section-slide h2 {
    color: white;
}

[data-theme="themeB"] .section-number {
    color: var(--gold-accent);
}

.title-tag {
    display: inline-block;
    background: var(--gold-accent);
    color: var(--near-black);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.gold-divider {
    width: 100px;
    height: 4px;
    background: var(--gold-accent);
    margin: 1.5rem auto;
}

/* Section divider */
.section-slide {
    text-align: center;
    background: #000000;
}

.section-number {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    color: var(--gold-accent);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.6;
}

/* Content layout */
.content-slide {
    justify-content: flex-start;
}

.slide-content {
    max-width: 1200px;
    width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.slide-title {
    margin-bottom: 1rem;
}

.slide-subtitle {
    margin-bottom: 1.5rem;
}

/* ===========================================
   CARDS
   =========================================== */
.card-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.card-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background: var(--charcoal);
    border-left: 4px solid var(--gold-accent);
    padding: 1.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.card:hover {
    border-left-color: var(--gold-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 57, 43, 0.4);
}

/* Slide 13: Minimal color design */
#slide-13 .card {
    border-left: 2px solid rgba(212, 175, 55, 0.3);
    background: rgba(38, 38, 38, 0.6);
}

#slide-13 .card:hover {
    border-left-color: var(--gold-accent);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.card h3 {
    margin-bottom: 0.75rem;
}

/* Theme B: Card h3 text */
[data-theme="themeB"] .card h3 {
    color: #ffffff;
}

/* Theme B: Card background */
[data-theme="themeB"] .card {
    background: var(--bg-card);
    border-color: var(--border-light);
}

[data-theme="themeB"] .title-slide h1 {
    color: white;
}

[data-theme="themeB"] .title-slide h3,
[data-theme="themeB"] .title-slide p {
    color: rgba(255, 255, 255, 0.9);
}

.card p {
    margin-bottom: 0.5rem;
}

.card p:last-child {
    margin-bottom: 0;
}

/* ===========================================
   HELPER CLASSES
   =========================================== */
.card-note {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.note-text {
    font-size: 0.85rem;
    opacity: 0.7;
}

.card-label {
    color: var(--gold-accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pill {
    padding: 0.5rem 1rem;
    background: var(--charcoal);
    font-size: 0.9rem;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: inline-block;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-tag-crimson {
    color: #1a1a1a;
    background: var(--gold-accent);
}

.simple-list li {
    background: transparent;
    padding: 0.5rem 0;
    border: none;
}

/* ===========================================
   TOC CARDS
   =========================================== */
.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    max-width: 1200px;
    width: 100%;
    margin-top: 2.5rem;
}

.toc-card {
    background: var(--charcoal);
    border: 1px solid rgba(192, 57, 43, 0.3);
    border-top: 3px solid var(--gold-accent);
    padding: 1.25rem;
    border-radius: 4px;
    text-align: left;
    transition: all 0.3s ease;
}

.toc-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-accent);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.2);
}

.toc-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.toc-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================================
   QUOTE BLOCK
   =========================================== */
.quote-block {
    background: var(--charcoal);
    border-left: 5px solid var(--gold-accent);
    padding: 1.25rem 1.75rem;
    margin: 1rem 0;
    border-radius: 4px;
    max-width: 900px;
}

.quote-block p {
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.quote-block .bold-part {
    color: var(--gold-accent);
    font-weight: 700;
}

/* ===========================================
   TABLE
   =========================================== */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    margin: 1.25rem 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--gold-accent);
}

.comparison-table th {
    background: var(--gold-accent);
    color: #1a1a1a;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    word-wrap: break-word;
}

.comparison-table th:first-child {
    border-radius: 4px 0 0 4px;
}

.comparison-table th:last-child {
    border-radius: 0 4px 4px 0;
}

.comparison-table td {
    background: rgba(255, 255, 255, 0.09);
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.9rem;
    line-height: 1.4;
}

.comparison-table tbody tr:hover td {
    background: rgba(212, 165, 116, 0.15);
    transition: background 0.2s ease;
}

/* Theme B: Comparison table */
[data-theme="themeB"] .comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="themeB"] .comparison-table th {
    background: var(--gold-accent);
    color: #1a1a1a;
}

[data-theme="themeB"] .comparison-table td {
    background: var(--bg-secondary);
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border-light);
}

[data-theme="themeB"] .comparison-table tbody tr:hover td {
    background: rgba(212, 165, 116, 0.15);
}

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

.stat-box {
    text-align: center;
    padding: 1.25rem;
    background: var(--charcoal);
    border-radius: 4px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--gold-accent);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===========================================
   FEATURE LIST
   =========================================== */
.feature-list {
    list-style: none;
    margin: 1.25rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.feature-list li {
    padding: 1rem;
    background: var(--charcoal);
    border-left: 3px solid var(--gold-accent);
    margin-bottom: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* ===========================================
   ARROW NAVIGATION
   =========================================== */
.arrow-nav {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 0.5rem 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1001;
    background: rgba(26, 10, 10, 0.85);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.slide-counter {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    min-width: 2.75rem;
    text-align: center;
    user-select: none;
}

.arrow-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1;
}

.arrow-btn:hover:not(:disabled) {
    background: var(--gold-accent);
    border-color: var(--gold-accent);
    color: var(--near-black);
}

.arrow-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ===========================================
   AUDIO CONTROL
   =========================================== */
.audio-control {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1001;
}

.audio-play-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(26, 10, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.audio-play-btn:hover:not(:disabled) {
    background: var(--gold-accent);
    border-color: var(--gold-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(192, 57, 43, 0.4);
}

.audio-play-btn.playing {
    background: var(--gold-accent);
    border-color: var(--gold-accent);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.audio-play-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.audio-icon,
.audio-icon-playing {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.audio-text {
    white-space: nowrap;
}

/* ===========================================
   SLIDE-SPECIFIC STYLES
   =========================================== */
#slide-4 .card-grid {
    margin-top: 1rem;
}

#slide-4 .card p:last-child {
    margin-bottom: 0;
}

#slide-8 .card-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

#slide-9 .feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.25rem 0;
}

#slide-9 .feature-list li {
    margin-bottom: 0;
    padding: 1rem;
}

#slide-9 .feature-list li:nth-child(4),
#slide-9 .feature-list li:nth-child(5) {
    grid-column: span 1;
}

#slide-9 .feature-list li:nth-child(4) {
    grid-column: 1 / 2;
    margin-left: calc(50% + 0.75rem);
}

#slide-9 .feature-list li:nth-child(5) {
    grid-column: 2 / 3;
}

#slide-11 > div > div {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#slide-11 .card-grid {
    margin-top: 0;
}

#slide-14 .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (min-width: 1025px) {
    .slide {
        justify-content: center;
    }
}

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

    #slide-13 div[style*="display: grid"][style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    #slide-13 div[style*="width: 2px"] {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .audio-control {
        bottom: 1rem;
        left: 1rem;
    }

    .audio-play-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .audio-icon,
    .audio-icon-playing {
        width: 16px;
        height: 16px;
    }

    .arrow-nav {
        gap: 0.5rem;
    }

    .slide {
        padding: 2rem 1.25rem;
        padding-top: 5rem;
        overflow: hidden;
    }

    .slides-wrapper {
        height: auto;
        min-height: 100vh;
    }

    .slide.active {
        min-height: 100vh;
    }

    .slide-content {
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
        flex: 1;
    }

    #slide-12 .history-box-lg {
        padding: 1.25rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .arrow-nav {
        bottom: 1rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        padding: 0.4rem 0.75rem;
    }

    .arrow-btn {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .slide-counter {
        font-size: 0.7rem;
        min-width: 2.5rem;
    }

    .card-grid-2,
    .card-grid-3,
    .stats-grid,
    .toc-grid,
    .cert-grid,
    .cert-item,
    #slide-8 .card-grid-2,
    #slide-14 .card-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cert-item {
        padding: 1rem;
    }

    .stat-box {
        padding: 1rem;
    }

    .card-grid {
        gap: 1.25rem;
    }

    .card {
        padding: 1.25rem;
    }

    .toc-card {
        padding: 1.25rem;
    }

    .quote-block {
        padding: 1.25rem 1.5rem;
        margin: 1.5rem 0;
    }

    .comparison-table {
        border-spacing: 0;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table tbody,
    .comparison-table tr {
        display: block;
    }

    .comparison-table tr {
        margin-bottom: 1.5rem;
        background: var(--charcoal);
        border-radius: 4px;
        overflow: hidden;
    }

    .comparison-table td {
        display: block;
        padding: 1rem;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        position: relative;
    }

    .comparison-table td:last-child {
        border-bottom: none;
    }

    .comparison-table td:before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--gold-accent);
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .stat-box {
        padding: 1.25rem;
    }

    #slide-9 .feature-list {
        grid-template-columns: 1fr;
    }

    #slide-9 .feature-list li:nth-child(4),
    #slide-9 .feature-list li:nth-child(5) {
        grid-column: 1;
        margin-left: 0;
    }

    #slide-11 .slide-content,
    #slide-11 .slide-content > div {
        overflow-x: hidden !important;
        max-width: 100%;
    }

    #slide-11 div[style*="gap: 3rem"] {
        gap: 2rem !important;
    }

    #slide-11 div[style*="display: flex"][style*="flex-wrap: wrap"] > div {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.85rem !important;
        white-space: nowrap !important;
    }

    #slide-12 .card-grid-2[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    #slide-12 .cert-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Slide 12 mobile adjustments */
    #slide-12 .slide-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: flex-start;
        padding-top: 1rem;
    }

    #slide-12 .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        margin: 1rem 0;
    }

    #slide-12 .slide-content {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        max-height: calc(100vh - 8rem);
        flex: 1;
        -webkit-overflow-scrolling: touch;
    }

    #slide-12 {
        justify-content: flex-start !important;
        align-items: stretch !important;
        padding-bottom: 2rem !important;
    }

    #slide-12 .slide-content {
        padding: 1rem;
    }

    #slide-12 .slide-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    #slide-12 .subtitle {
        font-size: 0.9rem;
    }

    #slide-12 .history-box-lg {
        display: flex;
        flex-direction: column;
    }

    #slide-13 .slide-content,
    #slide-13 .slide-content > div,
    #slide-12 .slide-content,
    #slide-12 .slide-content > div {
        overflow-x: hidden !important;
        max-width: 100%;
    }

    #slide-13 div[style*="display: grid"][style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: stretch !important;
        grid-template-columns: unset !important;
    }

    #slide-13 div[style*="width: 2px"] {
        display: none !important;
    }

    #slide-13 .card {
        max-width: 100%;
        width: 100%;
    }

    #slide-13 .card ul.feature-list {
        margin: 0 !important;
    }

    #slide-13 .card ul.feature-list li {
        padding: 0.5rem 0 !important;
        font-size: 0.85rem !important;
        background: transparent !important;
        border: none !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        margin-bottom: 0 !important;
    }

    #slide-13 .card ul.feature-list li::before {
        font-size: 1rem !important;
        margin-top: 0.1rem;
    }

    /* Slide 12 mobile adjustments */
    #slide-12 .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin: 1rem 0;
    }

    #slide-12 .stat-box {
        padding: 0.75rem;
        background: rgba(60, 60, 60, 0.95);
        border: 1px solid rgba(212, 165, 116, 0.5);
    }

    #slide-12 .stat-label {
        color: rgba(255, 255, 255, 0.8);
    }

    #slide-12 .history-box,
    #slide-12 .history-box-lg,
    #slide-12 .cert-item {
        color: rgba(255, 255, 255, 0.9);
    }

    #slide-12 .cert-item-name {
        color: var(--gold-accent);
    }

    /* Ensure content is visible */
    #slide-12 .slide-content {
        visibility: visible !important;
    }

    /* Slide-12 specific fixes */
    #slide-12 {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
    }

    #slide-12 .slide-content {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
        overflow-y: auto !important;
    }

    #slide-12 .stat-number {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    #slide-12 .history-box,
    #slide-12 .history-box-lg {
        padding: 1rem;
        margin-top: 1rem;
        background: rgba(60, 60, 60, 0.95);
    }

    #slide-12 .cert-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    #slide-12 .cert-item {
        padding: 0.75rem;
        background: rgba(40, 40, 40, 0.9);
        border: 1px solid rgba(212, 165, 116, 0.3);
    }

    #slide-12 .cert-item-name {
        font-size: 0.85rem;
    }

    #slide-12 .card-note {
        font-size: 0.75rem;
    }

    .title-tag {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1.5rem;
    }

    .gold-divider {
        width: 80px;
        height: 3px;
        margin: 1.5rem auto;
    }

    .section-number {
        font-size: 3rem;
    }

    .feature-list li {
        padding: 1rem;
    }

    .history-box,
    .history-box-lg {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .slide {
        padding: 1.5rem 1rem;
        padding-top: 4.5rem;
    }

    .arrow-nav {
        bottom: 0.75rem;
        padding: 0.35rem 0.65rem;
        gap: 0.4rem;
    }

    .arrow-btn {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }

    .card {
        padding: 1.25rem;
    }

    .quote-block {
        padding: 1.25rem;
    }

    #slide-11 div[style*="display: flex"][style*="flex-wrap: wrap"] > div {
        font-size: 0.8rem !important;
        padding: 0.35rem 0.75rem !important;
    }

    .audio-control {
        bottom: 0.75rem;
        left: 0.75rem;
    }

    .audio-play-btn {
        padding: 0.45rem 0.875rem;
        font-size: 0.75rem;
    }

    .audio-icon,
    .audio-icon-playing {
        width: 14px;
        height: 14px;
    }
}

/* ===========================================
   ADDITIONAL COMPONENT STYLES
   =========================================== */

/* Card with gold deep background */
.card-involve {
    background: rgba(139, 90, 0, 0.3);
    border-left-color: var(--gold-accent);
}

/* Card note with margin */
.card-note-top {
    margin-top: 0.75rem;
}

/* Quote block margin */
.quote-block-mt {
    margin: 0.5rem auto;
}

/* Card grid margin top */
.card-grid-mt-1 {
    margin-top: 1.25rem;
}

.card-grid-mt-15 {
    margin-top: 1.5rem;
}

/* Methodology icons */
.methodology-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.methodology-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.methodology-icon svg.crimson {
    color: var(--gold-accent);
}

.methodology-icon svg.gold {
    color: var(--gold-accent);
}

/* Note text */
.note-text-center {
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.note-text-center-lg {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

/* Regions section */
.regions-grid {
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.regions-title {
    color: var(--gold-accent);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.regions-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* History/Academic boxes */
.history-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--charcoal);
    border-radius: 4px;
}

.history-box-lg {
    margin-top: 1.5rem;
    padding: 1.75rem;
    background: var(--charcoal);
    border-radius: 4px;
}

.history-box h3 {
    color: var(--gold-accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Certification grid */
.cert-grid {
    display: grid;
    margin-top: 1rem;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.cert-item {
    text-align: center;
    padding: 0.875rem;
    background: var(--charcoal);
    border-radius: 4px;
}

.cert-item p {
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 0.5rem;
}

.cert-item p:last-child {
    margin-top: 0;
}

/* Delivery model grid */
.delivery-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1.25rem;
    margin-top: 1.25rem;
    align-items: stretch;
}

.delivery-divider {
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
    align-self: stretch;
}

.delivery-note {
    margin-top: 1.25rem;
    padding: 1rem;
    background: rgba(38, 38, 38, 0.5);
    border-radius: 4px;
    border-left: 2px solid var(--gold-accent);
}

.delivery-note p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0;
}

/* Closing slide */
.closing-title {
    margin-bottom: 2rem;
}

.closing-subtitle {
    margin-top: 2rem;
}

/* SVG hidden utility */
.svg-hidden {
    display: none;
}

/* Feature list with margin 0 */
.feature-list-m0 {
    margin: 0;
}

/* Card grid single column */
.card-grid-1 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Regions pills container */
.regions-container {
    gap: 1.5rem;
    margin-top: 1.25rem;
}

/* History/Academic boxes */
.history-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--charcoal);
    border-radius: 4px;
}

.history-box-lg {
    margin-top: 1.5rem;
    padding: 1.75rem;
    background: var(--charcoal);
    border-radius: 4px;
}

.history-box h3 {
    color: var(--gold-accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* History box with title color */
.history-title-crimson {
    color: var(--gold-accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Phase number styling */
.phase-number {
    color: var(--gold-accent);
    font-weight: 700;
}

/* Theme B: History box */
[data-theme="themeB"] .history-box {
    background: var(--bg-card);
}

[data-theme="themeB"] .history-box h3 {
    color: var(--gold-accent);
}

/* Card note margin top 0 */
.card-note-m0 {
    margin-top: 0;
}

/* Simple list margin 0 */
.simple-list-m0 {
    margin: 0;
}

/* Delivery model grid */
.delivery-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1.25rem;
    margin-top: 1.25rem;
    align-items: stretch;
}

.delivery-divider {
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
    align-self: stretch;
}

.delivery-note {
    margin-top: 1.25rem;
    padding: 1rem;
    background: rgba(38, 38, 38, 0.5);
    border-radius: 4px;
    border-left: 2px solid var(--gold-accent);
}

/* Footer CTA section */
.cta-section-dark {
    background: var(--gold-accent);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 12px;
}

.cta-section-dark h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section-dark p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-section-dark .btn-primary {
    background: white;
    color: var(--gold-accent);
}

.cta-section-dark .btn-outline-light {
    border-color: white;
    color: white;
}

/* Stat box with custom styles */
.stat-box-custom {
    background: var(--charcoal);
    border: 1px solid rgba(192, 57, 43, 0.3);
    border-radius: 8px;
    text-align: center;
    padding: 1.5rem;
}

.stat-number-custom {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-accent);
}

.stat-label-custom {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Feature list max width */
.feature-list-max {
    max-width: 400px;
}

/* OC2 Steps max width */
.oc2-steps-max {
    max-width: 400px;
}

/* Hero demo */
.hero-demo-dark {
    background: var(--gold-accent);
}

/* Slide demo grid */
.slide-demo-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.slide-demo-sidebar {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 8px;
}

.slide-demo-content {
    font-size: 0.85rem;
    color: var(--text-grey);
    margin-top: 0.5rem;
}

/* Card white with border left */
.card-border-left {
    border: 1px solid #e8e4de;
    border-left: 3px solid var(--gold-accent);
}

/* Navbar override for transparent */
.nav-transparent .nav-links a {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-transparent .nav-links a:hover,
.nav-transparent .nav-links a.active {
    color: white;
    text-decoration: underline;
    text-decoration-color: var(--gold-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.nav-transparent .mobile-menu-btn span {
    background: #ffffff;
}

/* Color swatch previews */
.color-swatch {
    width: 100%;
    height: 60px;
    border-radius: 8px;
}

.color-crimson-dark {
    background: #d4af37;
}
.color-crimson-deep {
    background: #b8962e;
}
.color-crimson-bright {
    background: #d4af37;
}
.color-gold {
    background: #c9a84c;
}
.color-charcoal {
    background: #1a1a1a;
}
.color-dark-grey {
    background: #262626;
}
.color-cream {
    background: #faf6f6;
}
.color-white {
    background: #ffffff;
    border: 1px solid #ddd;
}
.color-bg-dark {
    background: #2c1a1a;
}
.color-text-muted {
    background: #5c4f4f;
}

/* Card demo max width */
.card-demo-max {
    max-width: 400px;
}

/* Team card demo */
.team-card-demo {
    max-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.team-avatar-demo {
    width: 100px;
    height: 100px;
    background: var(--cream);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* Quote max */
.quote-max {
    max-width: 600px;
}

/* Stats strip custom */
.stats-strip-custom {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--charcoal);
    border-radius: 12px;
}

/* Text color crimson bright */
.text-crimson-bright {
    color: var(--gold-accent);
}
.text-charcoal {
    color: var(--charcoal);
}
.text-white {
    color: white;
}

/* Font sizes */
.fs-lg {
    font-size: 1.1rem;
}

/* Timeline demo */
.timeline-demo {
    position: relative;
    padding-left: 2rem;
}

.timeline-item-demo {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-dot-demo {
    position: absolute;
    left: -2rem;
    width: 12px;
    height: 12px;
    background: var(--gold-accent);
    border-radius: 50%;
}

/* Tags */
.tags-flex {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tag-primary {
    background: var(--gold-accent);
    color: white;
}

.tag-gold {
    background: var(--gold-accent);
    color: var(--charcoal);
}

.tag-light {
    background: var(--cream);
    color: var(--charcoal);
}

/* Section demos */
.section-demos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.section-demo-item {
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

/* Demo card max width */
.card-demo-max {
    max-width: 400px;
}

/* Demo team card */
.team-card-demo {
    max-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.team-avatar-demo {
    width: 100px;
    height: 100px;
    background: var(--cream);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* Quote max width */
.quote-max {
    max-width: 600px;
}

/* Stats strip */
.stats-strip-custom {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--charcoal);
    border-radius: 12px;
}

/* Timeline */
.timeline-demo {
    position: relative;
    padding-left: 2rem;
}

.timeline-item-demo {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-dot-demo {
    position: absolute;
    left: -2rem;
    width: 12px;
    height: 12px;
    background: var(--gold-accent);
    border-radius: 50%;
}

/* Tags flex */
.tags-flex {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Section backgrounds demo */
.section-demos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.section-demo-item {
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

/* Text color utilities */
.text-crimson {
    color: var(--gold-accent);
}
.text-gold {
    color: var(--gold-accent);
}
.text-white {
    color: white;
}
.text-grey {
    color: var(--text-grey);
}

/* Font size utilities */
.fs-sm {
    font-size: 0.85rem;
}
.fs-md {
    font-size: 0.9rem;
}
.fs-lg {
    font-size: 1.1rem;
}

/* Pill styles */
.pill {
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Section tag */
.section-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-tag-crimson {
    background: var(--gold-accent);
    color: #1a1a1a;
    border: 1px solid rgba(212, 165, 116, 0.5);
}

/* Theme B: Section tag crimson (now gold) */
[data-theme="themeB"] .section-tag-crimson {
    background: var(--gold-accent);
    color: #1a1a1a;
}

/* Certification item */
.cert-item {
    text-align: center;
    padding: 0.875rem;
    background: var(--charcoal);
    border-radius: 4px;
}

.cert-item-name {
    font-weight: 700;
    color: var(--gold-accent);
    margin-bottom: 0.5rem;
}

/* Note text center */
.note-text-center {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

/* Slide demo */
.slide-demo {
    background: #0d0d0d;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.slide-demo .pill {
    background: var(--gold-accent);
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

/* Hero demo dark */
.hero-demo-dark {
    background: var(--gold-accent);
}
