:root {
    --background: #09090b;
    --foreground: #fafafa;
    --muted-foreground: #a1a1aa;
    --card: #18181b;
    --card-light: #27272a;
    --border: #27272a;
    --accent: #fafafa;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
}

.presentation-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: scale(0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 5vw;
    box-sizing: border-box;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 1;
}

.slide-content {
    width: 100%;
    max-width: 1700px;
}

.slide-content-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    max-width: 1700px;
}

.slide-content-split .text-content {
    flex: 1;
}

.slide-content-split img {
    flex-shrink: 0;
    max-width: 45%;
    height: auto;
    border-radius: 12px;
}


.text-center {
    text-align: center;
}

.text-center p {
    margin-left: auto;
    margin-right: auto;
}


h1,
h2 {
    font-weight: 900;
    margin: 0 0 24px 0;
}

h1.title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
}

p {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    color: var(--muted-foreground);
    line-height: 1.7;
    margin: 0 0 24px 0;
}

p.subtitle {
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    color: var(--muted-foreground);
}


/* Generic Grid Layout Styles */
.content-grid {
    list-style: none;
    padding: 0;
    margin: 3rem 0 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.content-grid.single-column {
    grid-template-columns: 1fr;
    max-width: 1000px;
    gap: 1rem;
}

.content-grid li {
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 0;
    font-size: 1.1rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.content-grid li>div {
    color: var(--muted-foreground);
}

.content-grid li span {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--foreground);
    margin-right: 1.5rem;
    line-height: 1.5;
}

.content-grid li strong {
    color: var(--foreground);
    display: block;
    margin-bottom: 0.5rem;
}

/* Page Layouts */

.top-banner-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.two-column-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.three-column-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.slide-image {
    display: block;
    margin: 1.5rem auto;
    max-height: 40vh;
    width: auto;
    border-radius: 12px;
}

.info-card,
.info-card-light {
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
}

.info-card {
    background-color: var(--card);
}

.info-card-light {
    background-color: var(--card-light);
}

.info-card p,
.info-card-light p {
    margin-bottom: 0;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.card-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.bottom-banner {
    background-color: var(--card-light);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    margin-top: 2rem;
}

.bottom-banner p {
    margin: 0;
    text-align: center;
    font-weight: 500;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.image-pair {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.image-pair img {
    border-radius: 12px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* LAYOUT FIXES FOR OVERFLOWING SLIDES */

#slide9 .slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 1.5rem;
}

#slide9 .image-pair {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#slide9 .image-pair img {
    max-height: 100%;
    object-fit: contain;
    width: auto;
}

#slide9 .three-column-layout {
    flex-shrink: 0;
}


/* Navigation & Progress Bar */
.navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--card);
    padding: 8px;
    border-radius: 99px;
    border: 1px solid var(--border);
}

.navigation button {
    background: transparent;
    border: none;
    color: var(--muted-foreground);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: color 0.2s, background-color 0.2s;
}

.navigation button:hover {
    color: var(--foreground);
    background-color: var(--border);
}

#slideCounter {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    min-width: 50px;
    text-align: center;
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--border);
    z-index: 5;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: var(--accent);
    transition: width 0.3s ease-out;
}