/* --- GLOBAL STYLES --- */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #ffffff;
}

/* --- REVEAL.JS OVERRIDES --- */
.reveal .slides {
    text-align: left;
}

.slide-container {
    width: 1280px;
    height: 720px;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    margin: 0 auto !important;
    transform: scale(1) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- COMMON SLIDE ELEMENTS --- */
.accent-border {
    position: absolute;
    top: 0;
    left: 0;
    height: 720px;
    width: 12px;
    background-color: #1e3a8a;
}

.content-wrapper {
    padding: 80px 120px 80px 160px;
}

.slide-title {
    font-weight: 700;
    color: #1e3a8a;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
}

.subtitle {
    font-weight: 400;
    color: #4b5563;
    line-height: 1.5;
}

.slide-number {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 16px;
    color: #9ca3af;
    font-weight: 500;
}

.section-indicator {
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.section-indicator::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: #1e3a8a;
    margin-right: 8px;
}

.key-highlight {
    font-weight: 600;
    color: #1e3a8a;
}

.decorative-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    border: 40px solid #1e3a8a;
    z-index: 0;
}

.decorative-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    border: 30px solid rgba(30, 58, 138, 0.05);
    z-index: 1;
}

/* --- SPECIFIC SLIDE STYLES --- */

/* Title Slide */
.main-title { font-size: 52px; margin-bottom: 24px; line-height: 1.2; }
.presenter-info { position: absolute; bottom: 80px; left: 160px; }
.presenter-name { font-size: 20px; font-weight: 600; color: #1e3a8a; margin-bottom: 6px; }
.presenter-company { font-size: 18px; color: #4b5563; margin-bottom: 6px; }
.presenter-contact { font-size: 16px; color: #6b7280; display: flex; align-items: center; }
.presenter-contact i { margin-right: 8px; color: #1e3a8a; }
.date { position: absolute; top: 80px; right: 120px; font-size: 16px; color: #6b7280; }
.logo-container { position: absolute; top: 160px; right: 120px; display: flex; flex-direction: column; align-items: center; }
.logo { font-size: 32px; font-weight: 700; color: #1e3a8a; margin-bottom: 12px; letter-spacing: -1px; }
.tagline { font-size: 16px; color: #6b7280; font-weight: 500; }

/* Table of Contents */
.toc-container { display: flex; flex-direction: column; gap: 36px; }
.toc-item { display: flex; align-items: flex-start; }
.toc-number { font-size: 28px; font-weight: 700; color: #1e3a8a; width: 80px; padding-top: 2px; }
.toc-content { flex: 1; }
.toc-title { font-size: 28px; font-weight: 600; color: #1e3a8a; margin-bottom: 12px; }
.toc-description { font-size: 18px; font-weight: 400; color: #4b5563; line-height: 1.5; max-width: 700px; }
.page-indicator { position: absolute; bottom: 40px; left: 160px; display: flex; align-items: center; font-size: 16px; color: #6b7280; }
.page-indicator-icon { color: #1e3a8a; margin-right: 8px; }

/* Data & Charts Slide */
.data-container { display: flex; gap: 40px; margin-bottom: 32px; }
.chart-container { flex: 3; height: 320px; background-color: #f9fafb; border-radius: 8px; padding: 16px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); border: 1px solid #e5e7eb; display: flex; flex-direction: column; }
.chart-title { font-size: 18px; font-weight: 600; color: #1e3a8a; margin-bottom: 8px; }
.chart-area { flex: 1; position: relative; }
.metrics-container { flex: 2; display: flex; flex-direction: column; gap: 20px; }
.metric-card { background-color: #f9fafb; border-radius: 8px; padding: 16px 20px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); border: 1px solid #e5e7eb; display: flex; flex-direction: column; flex: 1; }
.metric-title { font-size: 16px; font-weight: 500; color: #4b5563; margin-bottom: 8px; }
.metric-value { font-size: 32px; font-weight: 700; color: #1e3a8a; margin-bottom: 8px; }
.metric-subtitle { font-size: 14px; font-weight: 400; color: #6b7280; }
.key-insights { margin-top: 24px; }
.key-insights-title { font-size: 18px; font-weight: 600; color: #1e3a8a; margin-bottom: 16px; display: flex; align-items: center; }
.key-insights-title i { margin-right: 10px; }
.insights-list { list-style-type: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.insights-list li { position: relative; padding-left: 24px; font-size: 16px; color: #4b5563; line-height: 1.5; }
.insights-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background-color: #1e3a8a; border-radius: 50%; }
.source { font-size: 12px; color: #9ca3af; margin-top: 12px; font-style: italic; }

/* Quote Slide */
.quote-container { margin-bottom: 40px; }
.quote-mark { font-size: 80px; font-weight: 700; color: #1e3a8a; opacity: 0.2; height: 40px; line-height: 0; margin-bottom: 10px; display: block; }
.quote-text { font-size: 42px; font-weight: 600; line-height: 1.3; color: #1e3a8a; margin-bottom: 30px; }
.quote-attribution { font-size: 18px; font-weight: 500; color: #4b5563; display: flex; align-items: center; }
.quote-attribution::before { content: ""; display: inline-block; width: 40px; height: 2px; background-color: #1e3a8a; margin-right: 16px; }
.supporting-text { font-size: 20px; font-weight: 400; color: #4b5563; line-height: 1.6; max-width: 800px; margin-top: 20px; }
.icon-accent { color: #1e3a8a; margin-right: 10px; }
.key-metrics { display: flex; gap: 40px; margin-top: 30px; }
.metric { display: flex; flex-direction: column; align-items: center; }

/* General Content/Bullet Slide */
.content-area { font-size: 22px; line-height: 1.6; margin-bottom: 40px; }
.bullet-list { list-style-type: none; padding: 0; margin: 0 0 40px 0; }
.bullet-list li { position: relative; padding-left: 32px; margin-bottom: 20px; font-size: 22px; color: #4b5563; line-height: 1.5; }
.bullet-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 10px; background-color: #1e3a8a; border-radius: 50%; }

/* --- CUSTOM CONTROLS --- */
#custom-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

#custom-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

#custom-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}