@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --color-bg-light: #f7f9fb;
    --color-bg-white: #ffffff;
    --color-primary: #3a4354;       /* Deep slate/navy */
    --color-primary-light: #4c576d;
    --color-accent: #cea993;        /* Warm gold/bronze */
    --color-accent-dark: #b8927b;
    --color-accent-light: #f4eade;
    --color-text-dark: #2c353f;     /* Slate charcoal */
    --color-text-muted: #626d7a;
    --color-border: #e6e7e9;
    --color-alert-out: #fde8e9;     /* Soft red for Out-Scope */
    --color-alert-out-border: #f8c2c4;
    --color-alert-in: #e6f4ea;      /* Soft green for In-Scope */
    --color-alert-in-border: #c2e7c9;
    --font-title: 'Outfit', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 12px 30px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
    --shadow-strong: 0 20px 40px rgba(58, 67, 84, 0.08);
}

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

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(206, 169, 147, 0.1) 0%, rgba(206, 169, 147, 0) 70%);
    top: -100px;
    right: -100px;
    z-index: -1;
    filter: blur(50px);
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(58, 67, 84, 0.08) 0%, rgba(58, 67, 84, 0) 70%);
    bottom: -150px;
    left: -150px;
    z-index: -1;
    filter: blur(60px);
    pointer-events: none;
}

/* Slide Container */
#presentation-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1333px; /* 16:9 Aspect Ratio */
    max-height: 750px;
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-strong);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 16 / 9;
}

@media (max-width: 1333px), (max-height: 750px) {
    /* Scale container on smaller screens */
    #presentation-container {
        transform: scale(var(--scale-factor, 1));
        transform-origin: center center;
    }
}

/* Slider viewport */
.slider-viewport {
    position: relative;
    flex: 1;
    width: 100%;
    overflow: hidden;
    background-image: 
        linear-gradient(to right, rgba(58, 67, 84, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(58, 67, 84, 0.02) 1px, transparent 1px);
    background-size: 45px 45px;
}

/* Single Slide style */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
    padding: 48px 64px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 10;
}

/* Header Slide Styles */
.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    border-bottom: 1.5px solid var(--color-border);
    padding-bottom: 16px;
    position: relative;
}

.slide-header::after {
    content: '';
    position: absolute;
    bottom: -1.5px;
    left: 0;
    width: 100px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    border-radius: 2px;
}

.slide-category {
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
}

.slide-title {
    font-family: var(--font-title);
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light) 60%, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    line-height: 1.25;
    position: relative;
    letter-spacing: -0.5px;
}







/* Slide Content area */
.slide-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

/* Widescreen Columns Grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    height: 100%;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    height: 100%;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    height: 100%;
}

/* Common slide elements */
.paragraph-lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-dark);
    margin-bottom: 16px;
    font-weight: 400;
}

.paragraph-body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Slide 1 - Cover layout */
.cover-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    height: 100%;
    align-items: center;
    padding: 0;
}

.cover-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cover-tagline {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 800;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.cover-title {
    font-family: var(--font-title);
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 30%, var(--color-primary-light) 70%, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.cover-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.cover-meta {
    display: flex;
    gap: 32px;
    align-items: center;
}

.meta-item {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.meta-item strong {
    color: var(--color-primary);
}

.cover-right {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Premium Card / Box Styles */
.premium-card {
    background: linear-gradient(135deg, var(--color-bg-white) 0%, #fafbfc 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23cea993' stroke-width='0.8' stroke-opacity='0.07' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px bottom 18px;
    background-size: 84px;
    border: 1px solid rgba(58, 67, 84, 0.06);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.01),
        0 10px 20px -5px rgba(58, 67, 84, 0.06);
    transition: 
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.premium-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 35px -10px rgba(58, 67, 84, 0.12),
        0 0 0 1.5px rgba(206, 169, 147, 0.3);
    border-color: rgba(206, 169, 147, 0.4);
}

.premium-card-title {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-card-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 18px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-dark));
    border-radius: 2px;
}

/* Tables style */
.presentation-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(58, 67, 84, 0.08);
    background-color: var(--color-bg-white);
}

.presentation-table th {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-bg-white);
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    padding: 18px 24px;
    border-bottom: 2px solid var(--color-accent);
}

.presentation-table td {
    padding: 16px 24px;
    font-size: 13.5px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(58, 67, 84, 0.06);
    background-color: var(--color-bg-white);
    transition: background-color 0.2s ease;
}

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

.presentation-table tr:hover td {
    background-color: rgba(206, 169, 147, 0.03);
}

.presentation-table td strong {
    color: var(--color-primary);
}

/* Process Timeline (Slide 8 & 11) */
.timeline-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
    position: relative;
    width: 100%;
    padding: 0 20px;
}

.timeline-flow::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-border) 0%, var(--color-accent) 50%, var(--color-border) 100%);
    z-index: 1;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--color-bg-white);
    border: 3.5px solid var(--color-accent);
    color: var(--color-primary);
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    box-shadow: 0 0 0 0 rgba(206, 169, 147, 0.4), 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.timeline-step:hover .step-number {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-bg-white);
    border-color: transparent;
    transform: scale(1.15);
    box-shadow: 0 0 15px 4px rgba(206, 169, 147, 0.3);
}

.step-title {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-text-muted);
    padding: 0 10px;
}

/* Phase Roadmap (Slide 11 style) */
.roadmap-container {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    height: 100%;
    align-items: center;
}

.roadmap-phase {
    flex: 1;
    background-color: var(--color-bg-white);
    border: 1px solid rgba(58, 67, 84, 0.06);
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 
        0 8px 20px -6px rgba(0, 0, 0, 0.02),
        0 12px 30px -10px rgba(58, 67, 84, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.roadmap-phase:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 45px -12px rgba(58, 67, 84, 0.12),
        0 0 0 1.5px var(--color-accent);
}

.roadmap-phase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 12px 12px 0 0;
}

.roadmap-phase:nth-child(2)::after {
    background-color: var(--color-primary);
}

.roadmap-phase:nth-child(3)::after {
    background-color: var(--color-text-dark);
}

.phase-time {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.roadmap-phase:nth-child(2) .phase-time {
    color: var(--color-primary);
}

.roadmap-phase:nth-child(3) .phase-time {
    color: var(--color-text-dark);
}

.phase-title {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.phase-bullets {
    list-style: none;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.phase-bullets li {
    margin-bottom: 10px;
    padding-left: 16px;
    position: relative;
}

.phase-bullets li::before {
    content: '•';
    color: var(--color-accent);
    font-size: 18px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* AWS Split accounts layout (Slide 5 and 7 style) */
.aws-accounts-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    height: 100%;
}

.aws-account {
    border-radius: 14px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 25px -10px rgba(0, 0, 0, 0.03),
        0 4px 6px -2px rgba(0, 0, 0, 0.01);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.aws-account.out-scope {
    background: linear-gradient(135deg, #fffcfc 0%, var(--color-alert-out) 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c5221f' stroke-width='0.7' stroke-opacity='0.05' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 24px bottom 24px;
    background-size: 110px;
    border: 1.5px solid rgba(248, 194, 196, 0.4);
}

.aws-account.in-scope {
    background: linear-gradient(135deg, #fffefe 0%, var(--color-alert-in) 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23137333' stroke-width='0.7' stroke-opacity='0.05' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 24px bottom 24px;
    background-size: 110px;
    border: 1.5px solid rgba(194, 231, 201, 0.4);
}

.aws-account.out-scope:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(245, 0, 0, 0.3);
    box-shadow: 
        0 20px 40px -15px rgba(245, 0, 0, 0.1),
        0 0 0 1px rgba(245, 0, 0, 0.1);
}

.aws-account.in-scope:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(19, 115, 51, 0.3);
    box-shadow: 
        0 20px 40px -15px rgba(19, 115, 51, 0.1),
        0 0 0 1px rgba(19, 115, 51, 0.1);
}

.account-badge {
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 16px;
    display: inline-block;
    align-self: flex-start;
}

.out-scope .account-badge {
    background-color: rgba(253, 232, 233, 0.8);
    color: #c5221f;
    border: 1px solid #f8c2c4;
}

.in-scope .account-badge {
    background-color: rgba(230, 244, 234, 0.8);
    color: #137333;
    border: 1px solid #c2e7c9;
}

.account-title {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.account-bullets {
    list-style: none;
    font-size: 13px;
    line-height: 1.6;
}

.account-bullets li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.out-scope .account-bullets li::before {
    content: '✕';
    color: #c5221f;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.in-scope .account-bullets li::before {
    content: '✓';
    color: #137333;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Half Layout with image on right/left */
.media-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    height: 100%;
    align-items: center;
}

.media-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.media-right {
    height: 100%;
    max-height: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 10px 25px -5px rgba(58, 67, 84, 0.08),
        0 5px 10px -5px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(58, 67, 84, 0.06);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.media-right:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px -10px rgba(58, 67, 84, 0.15),
        0 0 0 1.5px var(--color-accent);
}

.media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Control footer bar */
#control-bar {
    height: 56px;
    width: 100%;
    background-color: var(--color-bg-light);
    border-top: 1.5px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    z-index: 100;
}

.controls-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.control-btn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.control-btn:hover {
    background-color: var(--color-accent-light);
    color: var(--color-primary-light);
}

.slide-indicator {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.slide-dots {
    display: flex;
    gap: 8px;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-border);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slide-dot.active {
    background-color: var(--color-accent);
    transform: scale(1.3);
}

.controls-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Highlight boxes */
.highlight-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--color-accent-light);
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

/* Bullet list standard styling */
.bullet-list {
    list-style: none;
    margin-top: 10px;
}

.bullet-list li {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
    padding-left: 24px;
    position: relative;
    color: var(--color-text-dark);
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 1px;
    transform: rotate(45deg);
    box-shadow: 0 0 8px var(--color-accent);
    transition: var(--transition-smooth);
}

.bullet-list li:hover::before {
    transform: rotate(135deg) scale(1.3);
    background-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

.bullet-list li strong {
    color: var(--color-primary);
}

.bullet-list li p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 4px;
}


/* ==========================================================================
   MOTION AND ANIMATION DESIGN (STAGGER ENTRANCE INTERACTIVE FX)
   ========================================================================== */

/* Slide Content stagger entrance animation */
.slide.active .premium-card,
.slide.active .aws-account,
.slide.active .presentation-table,
.slide.active .timeline-step,
.slide.active .roadmap-phase,
.slide.active .media-left,
.slide.active .media-right {
    animation: premiumEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.slide.active .premium-card:nth-child(1),
.slide.active .aws-account:nth-child(1),
.slide.active .roadmap-phase:nth-child(1),
.slide.active .timeline-step:nth-child(1) {
    animation-delay: 0.1s;
}

.slide.active .premium-card:nth-child(2),
.slide.active .aws-account:nth-child(2),
.slide.active .roadmap-phase:nth-child(2),
.slide.active .timeline-step:nth-child(2) {
    animation-delay: 0.2s;
}

.slide.active .premium-card:nth-child(3),
.slide.active .roadmap-phase:nth-child(3),
.slide.active .timeline-step:nth-child(3) {
    animation-delay: 0.3s;
}

.slide.active .premium-card:nth-child(4),
.slide.active .timeline-step:nth-child(4) {
    animation-delay: 0.4s;
}

.slide.active .timeline-step:nth-child(5) {
    animation-delay: 0.5s;
}

.slide.active .slide-title {
    animation: slideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.slide.active .slide-category {
    animation: fadeIn 0.8s ease both;
    animation-delay: 0.1s;
}

@keyframes premiumEntrance {
    from {
        opacity: 0;
        transform: translateY(32px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* BRAND LOGO RECREATION */
.slide-logo {
    font-family: var(--font-title);
    font-weight: 800;
    font-style: italic;
    font-size: 26px;
    letter-spacing: -0.8px;
    color: #002060; /* Official deep Alodiga Navy */
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    text-transform: none;
    position: relative;
    padding: 2px 0;
}

.slide-logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 24px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.slide-logo:hover {
    transform: scale(1.05) skewX(-2deg);
    color: #002c84;
}

.slide-logo:hover::after {
    width: 100%;
    background-color: #002c84;
}

/* ==========================================================================
   ELITE DESIGN DEPARTMENT ENHANCEMENTS (PORTADA BRANDING & TECH EFFECTS)
   ========================================================================== */

.cover-logo-container {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
}

.cover-logo-brand {
    font-size: 44px !important;
    letter-spacing: -1.5px !important;
    padding: 0 !important;
    color: #002060 !important;
}

.cover-logo-brand::after {
    height: 4.5px !important;
    width: 44px !important;
    background-color: var(--color-accent) !important;
    bottom: -6px !important;
}

.cover-right {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s;
    border-radius: 12px;
}

.cover-right:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 30px 60px -15px rgba(58, 67, 84, 0.15);
}

.cover-right:hover .cover-image {
    transform: scale(1.025);
}

.cover-image {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-right {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s;
    border-radius: 12px;
}

.media-right:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 30px 60px -15px rgba(58, 67, 84, 0.15);
}

.media-right:hover .media-image {
    transform: scale(1.025);
}

.media-image {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ==========================================================================
   FULLSCREEN PCI VIDEO PLAYBACK OVERLAY & INTERACTION BUTTON
   ========================================================================== */

.pci-video-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #002060 0%, #002c84 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 
        0 4px 6px -1px rgba(0, 32, 96, 0.2),
        0 10px 20px -5px rgba(0, 32, 96, 0.1);
    transition: var(--transition-smooth);
}

.pci-video-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 
        0 10px 20px -5px rgba(0, 32, 96, 0.35),
        0 0 0 1.5px var(--color-accent);
    background: linear-gradient(135deg, #002c84 0%, #003db8 100%);
}

.pci-video-btn:active {
    transform: translateY(0) scale(1);
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(6, 10, 18, 0.96);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}

.video-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-container {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #000000;
}

.video-overlay.active .video-container {
    transform: scale(1);
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.video-close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10001;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.video-close-btn:hover {
    background-color: #c5221f;
    border-color: #c5221f;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 20px rgba(197, 34, 31, 0.4);
}

.video-close-btn:active {
    transform: scale(0.95);
}


/* ==========================================================================
   TOP FLOATING GLASSMORPHIC NAVIGATION BAR
   ========================================================================== */

.top-nav-header {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1333px;
    height: 64px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    box-shadow: 
        0 10px 30px -10px rgba(58, 67, 84, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.02);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.top-nav-header:hover {
    border-color: rgba(206, 169, 147, 0.25);
    box-shadow: 
        0 20px 40px -15px rgba(58, 67, 84, 0.08),
        0 1px 4px rgba(206, 169, 147, 0.05);
}

.nav-brand-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand-logo {
    font-family: var(--font-title);
    font-weight: 800;
    font-style: italic;
    font-size: 22px;
    color: #002060;
    letter-spacing: -0.5px;
    cursor: default;
}

.nav-brand-divider {
    color: var(--color-border);
    font-weight: 300;
    cursor: default;
}

.nav-brand-suite {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    cursor: default;
}

.nav-menu {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-item {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-item:hover {
    color: #002060;
    background: rgba(0, 32, 96, 0.04);
}

.nav-item.active {
    color: #002060;
    background: rgba(0, 32, 96, 0.06);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 18px;
    right: 18px;
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 1px;
}

/* Offset to center the slide presentation container when nav is present */
#presentation-container {
    margin-top: 56px;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 768px) {
    body {
        overflow: auto;
        height: auto;
        min-height: 100vh;
        padding: 10px 0;
        background-color: var(--color-bg-light);
    }

    #presentation-container {
        max-width: 100%;
        max-height: none;
        height: auto;
        min-height: calc(100vh - 70px);
        aspect-ratio: auto;
        transform: none !important;
        margin-top: 50px !important;
        border-radius: 0;
        box-shadow: none;
    }

    .slide {
        padding: 20px 16px 80px 16px; /* Space for the fixed footer controls */
        position: relative;
        height: auto;
        min-height: calc(100vh - 120px);
        opacity: 0;
        display: none;
    }

    .slide.active {
        opacity: 1;
        display: flex;
        flex-direction: column;
    }

    .slide-header {
        margin-bottom: 16px;
        padding-bottom: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .slide-logo {
        align-self: flex-end;
        font-size: 14px;
        margin-top: -18px;
    }

    .slide-title {
        font-size: 24px !important;
        line-height: 1.3;
    }

    .slide-body {
        overflow-y: visible;
        height: auto;
        flex: none;
    }

    /* Grids stack vertically */
    .grid-two, .grid-2, .grid-3, .grid-4, .cover-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        height: auto !important;
    }

    /* Column-specific style overrides */
    div[style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        height: auto !important;
    }

    /* Image adjustments */
    img {
        max-height: 150px !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    /* Button and badge spacing */
    .pci-video-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    /* Text resizing */
    .paragraph-lead {
        font-size: 15px !important;
        line-height: 1.5;
        text-align: left !important;
    }

    .paragraph-body {
        font-size: 12.5px !important;
        line-height: 1.5;
    }

    /* Card styling */
    .premium-card {
        padding: 12px 16px !important;
        margin-top: 8px !important;
    }

    /* Footer styling */
    #control-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-white);
        border-top: 1px solid var(--color-border);
        z-index: 1000;
        padding: 10px 12px;
        height: 60px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .controls-left {
        flex: 1;
        justify-content: space-between;
        gap: 8px;
    }

    .control-btn {
        padding: 6px 12px !important;
        font-size: 11px !important;
        height: 34px !important;
    }

    #autoplay-btn, #fullscreen-btn {
        display: none !important; /* Hide autoplay/fullscreen on mobile */
    }

    .slide-dots {
        display: none !important; /* Hide dots on mobile to save space */
    }

    .slide-indicator {
        font-size: 11px;
    }

    /* Navigation top bar */
    .nav-bar {
        height: 50px;
        padding: 0 12px;
    }

    .nav-logo {
        font-size: 16px;
    }

    .nav-menu {
        gap: 8px;
    }

    .nav-item {
        font-size: 10.5px;
        padding: 4px 8px;
    }
}
