/* Journey Alternate Page - Timeline Design */

/* Life at Visionary Brands Section */
.life-at-vb-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #e8f4f8 100%);
    padding: 80px 0 80px;
    margin-top: 70px;
}

.life-at-vb-content {
    max-width: 900px;
    margin: 0 auto;
}

.life-at-vb-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 25px;
    line-height: 1.2;
}

.life-at-vb-title .highlight-cyan {
    color: #1E98D7;
}

.life-at-vb-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .life-at-vb-section {
        padding: 60px 0 40px;
        margin-top: 70px;
    }
    
    .life-at-vb-title {
        font-size: 28px;
    }
    
    .life-at-vb-text {
        font-size: 15px;
        padding: 0 15px;
    }
}

/* Prevent horizontal scroll from slide-in animations */
html, body {
    overflow-x: hidden;
}

/* Ensure header stays above timeline elements */
.header_navbar.sticky {
    z-index: 1000 !important;
}

/* Logo Color Variables */
:root {
    --logo-blue: #1E98D7;
    --logo-blue-rgb: 30, 152, 215;
    --logo-green: #7AB929;
    --logo-green-rgb: 122, 185, 41;
    --logo-orange: #F7941D;
    --logo-orange-rgb: 247, 148, 29;
}

/* Timeline Container */
.journey-timeline {
    position: relative;
    padding: 0;
}

/* Hide timeline line in the final section */
#era-present::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 10px;
    transform: translateX(-50%);
    background-color: #ffffff;
    z-index: 60;
}

@media (max-width: 992px) {
    #era-present::before {
        left: 23px;
    }
}

/* Timeline Era Section */
.timeline-era {
    position: relative;
    padding: 0;
    overflow: visible !important;
}

/* Ensure dots are not clipped by parent containers */
.journey-timeline .timeline-era {
    overflow: visible !important;
    position: relative;
}

/* Era sections don't need elevated z-index since dots are now outside them */
.journey-timeline .era-section {
    overflow: visible !important;
}

/* Section Container with Side-by-Side Layout */
.era-section {
    display: flex;
    min-height: 520px;
    position: relative;
}

/* Content Side */
.era-content-side {
    width: 50%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Image Side */
.era-image-side {
    width: 50%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 696px;
}

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

.era-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 520px;
    background-color: #9E9E9E;
}

/* Timeline Line - runs along the vertical center border */
.timeline-line-container {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 7px;
    transform: translateX(-50%);
    z-index: 50;
}

.timeline-line-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: #d0d0d0;
}

.timeline-progress-line {
    position: absolute;
    top: 0;
    width: 100%;
    height: 0%;
    background: #0096DB;
    transition: height 0.1s ease-out;
}

/* Timeline Dot - at section boundaries */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 4.5px solid #d0d0d0;
    border-radius: 50%;
    z-index: 200;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-dot.top {
    top: 0;
}

.timeline-dot.bottom {
    top: 100%;
}

/* ========== LOGO CIRCLE DOT STYLES ========== */
/* Dots start simple and transform to colorful when reached */

.timeline-dot.dot-logo {
    background: #ffffff;
    border: 4.5px solid #d0d0d0;
    box-shadow: none;
    animation: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-dot.dot-logo.active {
    /* Fallback for browsers that don't support color-mix() (iOS Safari < 16.2) */
    /* Uses conic-gradient without color-mix for better logo color representation */
    background:
      radial-gradient(
        circle at center,
        rgba(255,255,255,0.85) 0%,
        rgba(255,255,255,0.5) 35%,
        transparent 55%
      ),
      conic-gradient(
        from 280deg,
        var(--logo-blue) 0deg,
        var(--logo-blue) 120deg,
        var(--logo-orange) 140deg,
        var(--logo-orange) 220deg,
        var(--logo-green) 240deg,
        var(--logo-green) 320deg,
        var(--logo-blue) 340deg
      );
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 8px rgba(var(--logo-blue-rgb), 0.3),
                0 0 8px rgba(var(--logo-green-rgb), 0.3),
                0 0 8px rgba(var(--logo-orange-rgb), 0.3);
}

/* Enhanced gradient only for browsers that support color-mix() */
@supports (background: color-mix(in srgb, red 50%, blue)) {
    .timeline-dot.dot-logo.active {
        background:
          /* Soft center light */
          radial-gradient(
            circle at center,
            rgba(255,255,253,0.9) 0%,
            rgba(255,255,253,0.85) 40%,
            rgba(255,255,253,0.6) 55%,
            transparent 60%
          ),

          /* Blended conic logo colors */
          conic-gradient(
            from 280deg,

            /* Blue → Orange blend */
            var(--logo-blue) 0deg,
            var(--logo-blue) 110deg,
            color-mix(in srgb, var(--logo-blue) 70%, var(--logo-orange)) 120deg,
            var(--logo-orange) 140deg,

            /* Orange → Green blend */
            var(--logo-orange) 210deg,
            color-mix(in srgb, var(--logo-orange) 70%, var(--logo-green)) 225deg,
            var(--logo-green) 245deg,

            /* Green → Blue blend */
            var(--logo-green) 300deg,
            color-mix(in srgb, var(--logo-green) 70%, var(--logo-blue)) 310deg,
            var(--logo-blue) 330deg
          );
    }
}

/* Constant pulsing animation for all logo dots */
@keyframes logoPulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(var(--logo-blue-rgb), 0.3),
                    0 0 8px rgba(var(--logo-green-rgb), 0.3),
                    0 0 8px rgba(var(--logo-orange-rgb), 0.3);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 0 15px rgba(var(--logo-blue-rgb), 0.5),
                    0 0 15px rgba(var(--logo-green-rgb), 0.5),
                    0 0 15px rgba(var(--logo-orange-rgb), 0.5),
                    0 0 25px rgba(var(--logo-blue-rgb), 0.2),
                    0 0 25px rgba(var(--logo-green-rgb), 0.2),
                    0 0 25px rgba(var(--logo-orange-rgb), 0.2);
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.timeline-dot.dot-logo.approaching {
    border-color: rgba(255, 255, 255, 1);
    animation: logoPulseApproaching 1.5s ease-in-out infinite;
}

@keyframes logoPulseApproaching {
    0%, 100% {
        box-shadow: 0 0 10px rgba(var(--logo-blue-rgb), 0.4),
                    0 0 10px rgba(var(--logo-green-rgb), 0.4),
                    0 0 10px rgba(var(--logo-orange-rgb), 0.4);
        transform: translate(-50%, -50%) scale(1.05);
    }
    50% {
        box-shadow: 0 0 20px rgba(var(--logo-blue-rgb), 0.6),
                    0 0 20px rgba(var(--logo-green-rgb), 0.6),
                    0 0 20px rgba(var(--logo-orange-rgb), 0.6),
                    0 0 35px rgba(var(--logo-blue-rgb), 0.3),
                    0 0 35px rgba(var(--logo-green-rgb), 0.3),
                    0 0 35px rgba(var(--logo-orange-rgb), 0.3);
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.timeline-dot.dot-logo.active {
    border-color: rgba(255, 255, 255, 1);
    animation: logoPulseActive 3s ease-in-out infinite;
}

@keyframes logoPulseActive {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25),
                    0 0 12px rgba(var(--logo-blue-rgb), 0.4),
                    0 0 12px rgba(var(--logo-green-rgb), 0.4),
                    0 0 12px rgba(var(--logo-orange-rgb), 0.4);
        transform: translate(-50%, -50%) scale(1.05);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2),
                    0 0 18px rgba(var(--logo-blue-rgb), 0.5),
                    0 0 18px rgba(var(--logo-green-rgb), 0.5),
                    0 0 18px rgba(var(--logo-orange-rgb), 0.5);
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.timeline-dot.dot-logo.completed {
    border-color: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(1);
    animation: logoPulse 2s ease-in-out infinite;
}

.timeline-dot.dot-logo::before {
    border-color: rgba(255, 255, 255, 0.5);
}

.timeline-dot.dot-logo.just-connected {
    /* Fallback for browsers that don't support color-mix() (iOS Safari < 16.2) */
    /* Uses conic-gradient without color-mix for better logo color representation */
    background:
      radial-gradient(
        circle at center,
        rgba(255,255,255,0.85) 0%,
        rgba(255,255,255,0.5) 35%,
        transparent 55%
      ),
      conic-gradient(
        from 280deg,
        var(--logo-blue) 0deg,
        var(--logo-blue) 120deg,
        var(--logo-orange) 140deg,
        var(--logo-orange) 220deg,
        var(--logo-green) 240deg,
        var(--logo-green) 320deg,
        var(--logo-blue) 340deg
      );
    border: 2px solid rgba(255, 255, 255, 0.9);
    animation: connectionFlashLogo 0.6s ease-out forwards;
}

/* Enhanced gradient only for browsers that support color-mix() */
@supports (background: color-mix(in srgb, red 50%, blue)) {
    .timeline-dot.dot-logo.just-connected {
        background:
          /* Soft center light */
          radial-gradient(
            circle at center,
            rgba(255,255,253,0.9) 0%,
            rgba(255,255,253,0.85) 40%,
            rgba(255,255,253,0.6) 55%,
            transparent 60%
          ),

          /* Blended conic logo colors */
          conic-gradient(
            from 280deg,

            /* Blue → Orange blend */
            var(--logo-blue) 0deg,
            var(--logo-blue) 110deg,
            color-mix(in srgb, var(--logo-blue) 70%, var(--logo-orange)) 120deg,
            var(--logo-orange) 140deg,

            /* Orange → Green blend */
            var(--logo-orange) 210deg,
            color-mix(in srgb, var(--logo-orange) 70%, var(--logo-green)) 225deg,
            var(--logo-green) 245deg,

            /* Green → Blue blend */
            var(--logo-green) 300deg,
            color-mix(in srgb, var(--logo-green) 70%, var(--logo-blue)) 310deg,
            var(--logo-blue) 330deg
          );
    }
}

@keyframes connectionFlashLogo {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9),
                    0 0 30px rgba(var(--logo-blue-rgb), 0.6),
                    0 0 30px rgba(var(--logo-green-rgb), 0.6),
                    0 0 30px rgba(var(--logo-orange-rgb), 0.6);
    }
    30% {
        transform: translate(-50%, -50%) scale(1.4);
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.7),
                    0 0 60px rgba(var(--logo-blue-rgb), 0.8),
                    0 0 60px rgba(var(--logo-green-rgb), 0.8),
                    0 0 60px rgba(var(--logo-orange-rgb), 0.8);
    }
    60% {
        transform: translate(-50%, -50%) scale(1.15);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0),
                    0 0 40px rgba(var(--logo-blue-rgb), 0.5),
                    0 0 40px rgba(var(--logo-green-rgb), 0.5),
                    0 0 40px rgba(var(--logo-orange-rgb), 0.5);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25),
                    0 0 12px rgba(var(--logo-blue-rgb), 0.4),
                    0 0 12px rgba(var(--logo-green-rgb), 0.4),
                    0 0 12px rgba(var(--logo-orange-rgb), 0.4);
    }
}

/* Expanding ring effect for section arrival */
.timeline-dot.dot-logo.just-connected::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%) scale(1);
    animation: arrivalRing 0.6s ease-out forwards;
}

@keyframes arrivalRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        border-color: rgba(255, 255, 255, 0.9);
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
        border-color: rgba(var(--logo-blue-rgb), 0);
    }
}

/* Inner glow pulse animation for active dot */
.timeline-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    animation: innerPulse 1.5s ease-in-out infinite;
}

@keyframes innerPulse {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.25);
    }
}

/* Ripple effect when dot becomes active */
.timeline-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(43, 43, 68, 0.4);
    border-radius: 50%;
    opacity: 0;
    transition: none;
}

.timeline-dot.active::before {
    animation: rippleEffect 1s ease-out forwards;
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Connection flash effect */
.timeline-dot.just-connected {
    animation: connectionFlash 0.5s ease-out;
}

@keyframes connectionFlash {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8),
                    0 0 30px rgba(43, 43, 68, 0.8);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0),
                    0 0 60px rgba(43, 43, 68, 0.6);
    }
    100% {
        box-shadow: 0 0 0 8px rgba(43, 43, 68, 0.25),
                    0 0 25px rgba(43, 43, 68, 0.5);
    }
}

/* Section Backgrounds - all white */
.era-bg-cream,
.era-bg-light-blue,
.era-bg-dark-blue,
.era-bg-white {
    background-color: #ffffff;
}

.era-bg-cream .era-content-side,
.era-bg-light-blue .era-content-side,
.era-bg-dark-blue .era-content-side,
.era-bg-white .era-content-side {
    background-color: #ffffff;
}

/* Content Styling */
.era-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2B2B44;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.era-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2B2B44;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.era-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #2B2B44;
    margin-top: 15px;
}

.era-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    padding-top: 10px;
}

/* Dark background text colors - now using standard dark text on white */
.era-bg-dark-blue .era-date,
.era-bg-dark-blue .era-title {
    color: #2B2B44;
}

.era-bg-dark-blue .era-title::after {
    background-color: #2B2B44;
}

.era-bg-dark-blue .era-text {
    color: #555;
}

/* Content alignment - content on left vs right */
.era-section.content-left .era-content-side {
    text-align: left;
    order: 1;
}

.era-section.content-left .era-image-side {
    order: 2;
}

.era-section.content-left .era-title::after {
    margin-left: 0;
    margin-right: auto;
}

.era-section.content-right .era-content-side {
    text-align: right;
    order: 2;
}

.era-section.content-right .era-image-side {
    order: 1;
}

.era-section.content-right .era-title::after {
    margin-left: auto;
    margin-right: 0;
}

/* Section animations */
.era-section {
    opacity: 0;
    transition: opacity 0.6s ease;
    position: relative;
    overflow: visible;
}

.era-section.visible {
    opacity: 1;
}

/* Content side slide-in animation */
.era-content-side {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.era-section.content-left .era-content-side {
    transform: translateX(-60px);
}

.era-section.content-right .era-content-side {
    transform: translateX(60px);
}

.era-section.visible .era-content-side {
    opacity: 1;
    transform: translateX(0);
}

/* Image side slide-in animation */
.era-image-side {
    opacity: 0;
    transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.era-section.content-left .era-image-side {
    transform: translateX(60px);
}

.era-section.content-right .era-image-side {
    transform: translateX(-60px);
}

.era-section.visible .era-image-side {
    opacity: 1;
    transform: translateX(0);
}

/* Section highlight sweep effect when active */
.era-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transform: translateX(-100%);
}

.era-section.highlight-sweep::after {
    animation: sweepHighlight 1s ease-out forwards;
}

@keyframes sweepHighlight {
    0% {
        opacity: 1;
        transform: translateX(-100%);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Staggered text animation */
.era-date {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.era-section.visible .era-date {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.era-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.era-section.visible .era-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.era-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.era-section.visible .era-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

/* Image reveal effect */
.era-image-placeholder {
    position: relative;
    overflow: hidden;
}

.era-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.3s;
    z-index: 2;
}

.era-section.content-left .era-image-placeholder::before {
    transform-origin: left;
}

.era-section.visible .era-image-placeholder::before {
    transform: scaleX(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .journey-timeline {
        padding-right: 20px;
    }
    
    .era-section {
        flex-direction: column;
    }
    
    .era-content-side,
    .era-image-side {
        width: 100%;
    }
    
    .era-content-side {
        padding: 40px 30px 40px 60px;
        order: 1 !important;
        text-align: left !important;
    }
    
    .era-image-side {
        order: 2 !important;
        min-height: auto;
        padding-left: 60px;
    }
    
    .era-title::after {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    
    .era-text {
        text-align: left !important;
    }
    
    .timeline-line-container {
        left: 23px;
        transform: none;
    }
    
    .timeline-dot {
        left: 26px;
        transform: translate(-50%, -50%);
    }
    
    .timeline-dot.active::after {
        display: none;
    }
    
    .era-title {
        font-size: 1.8rem;
    }
    
    .era-image-placeholder {
        min-height: 390px;
    }
    #era-present {
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .era-content-side {
        padding: 30px 20px 30px 55px;
    }
    
    .era-date {
        font-size: 0.95rem;
    }
    
    .era-title {
        font-size: 1.5rem;
    }
    
    .era-text {
        font-size: 14px;
    }
    
    .era-image-side {
        min-height: auto;
        padding-left: 55px;
    }
    
    .era-image-placeholder {
        min-height: 325px;
    }
    
    .timeline-dot {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 500px) {
    .era-content-side {
        padding: 25px 15px 25px 50px;
    }
    
    .era-title {
        font-size: 1.3rem;
    }
    
    .era-text {
        font-size: 13px;
    }
    
    .era-image-side {
        min-height: auto;
        padding-left: 50px;
    }
    
    .era-image-placeholder {
        min-height: 260px;
    }
    .timeline-dot.top {
        left: 26px;
    }
    #era-present::before {
        width: 15px;
    }
}

/* ========== SLIDESHOW STYLES ========== */
.basement-slideshow,
.ledglow-slideshow,
.glowshift-slideshow,
.first-warehouse-slideshow,
.expansion-slideshow,
.maxtow-slideshow,
.hq-slideshow,
.evolving-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 696px;
}

.basement-slideshow .basement-slide,
.ledglow-slideshow .ledglow-slide,
.glowshift-slideshow .glowshift-slide,
.first-warehouse-slideshow .first-warehouse-slide,
.expansion-slideshow .expansion-slide,
.maxtow-slideshow .maxtow-slide,
.hq-slideshow .hq-slide,
.evolving-slideshow .evolving-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.basement-slideshow .basement-slide.active,
.ledglow-slideshow .ledglow-slide.active,
.glowshift-slideshow .glowshift-slide.active,
.first-warehouse-slideshow .first-warehouse-slide.active,
.expansion-slideshow .expansion-slide.active,
.maxtow-slideshow .maxtow-slide.active,
.hq-slideshow .hq-slide.active,
.evolving-slideshow .evolving-slide.active {
    opacity: 1;
}

.basement-slideshow .basement-slide:first-child,
.ledglow-slideshow .ledglow-slide:first-child,
.glowshift-slideshow .glowshift-slide:first-child,
.first-warehouse-slideshow .first-warehouse-slide:first-child,
.expansion-slideshow .expansion-slide:first-child,
.maxtow-slideshow .maxtow-slide:first-child,
.hq-slideshow .hq-slide:first-child,
.evolving-slideshow .evolving-slide:first-child {
    position: relative;
}

.slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 13px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 13px 21px;
    border-radius: 26px;
    backdrop-filter: blur(4px);
}

.slideshow-dots .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.slideshow-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.slideshow-dots .dot.active {
    background: #fff;
    border-color: #fff;
}

/* Responsive adjustments for slideshow */
@media (max-width: 992px) {
    .basement-slideshow,
    .ledglow-slideshow,
    .glowshift-slideshow,
    .first-warehouse-slideshow,
    .expansion-slideshow,
    .maxtow-slideshow,
    .hq-slideshow,
    .evolving-slideshow {
        width: 100%;
        height: auto;
        min-height: auto;
        aspect-ratio: 952 / 696;

        img {
            border-radius: 8px;
        }
    }
}
