/* Scroll-Triggered Sequence Canvas CSS */
#scroll-sequence-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
    overflow: hidden;
    z-index: 10;
}

#scroll-sequence-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

/* Gradient Blending Overlays */
#scroll-sequence-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(180deg, #011e2c 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

#scroll-sequence-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(0deg, #002142 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Floating Overlay Story Cards */
.sequence-overlays-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sequence-overlay-text {
    position: absolute;
    max-width: 850px;
    padding: 20px;
    text-align: center;
    color: #ffffff;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.sequence-overlay-text.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.sequence-overlay-text h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
    text-shadow: 0 2px 4px #000000, 0 4px 15px #000000, 0 0 30px rgba(0, 0, 0, 0.95);
}

.sequence-overlay-text h2 {
    font-family: 'GT Super Ds Trial Rg', 'GT Super Ds Trial Lt', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 3px 8px #000000, 0 6px 25px #000000, 0 0 45px rgba(0, 0, 0, 0.98), 0 0 70px rgba(0, 0, 0, 0.95);
}

.sequence-overlay-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.98);
    margin: 0;
    text-shadow: 0 2px 6px #000000, 0 4px 18px #000000, 0 0 30px rgba(0, 0, 0, 0.95);
}

/* 7 Reasons Sequence Card Custom Styling - EXACT MATCH TO ORIGINAL SECTION */
.sequence-overlay-text.sequence-7-reasons-card {
    max-width: 1000px !important;
    width: 100% !important;
    padding: 0 !important;
}

.sequence-7-reasons-card .h7r {
    color: #fff;
    position: relative;
    text-align: center;
    width: 100%;
}

.sequence-7-reasons-card .h7r_ {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.sequence-7-reasons-card .h7r-big-num {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 200px !important;
    font-weight: 500 !important;
    line-height: 84px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin: 0 0 10px 0 !important;
    text-shadow: 0 4px 12px #000000, 0 8px 35px rgba(0, 0, 0, 0.95), 0 0 50px #000000 !important;
}

.sequence-7-reasons-card h2 {
    font-family: 'GT Super Ds Trial Rg', serif !important;
    font-size: 120px !important;
    font-weight: 400 !important;
    font-style: italic !important;
    color: #ffffff !important;
    margin-left: -10px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    line-height: 1 !important;
    text-align: left !important;
    text-shadow: 0 4px 12px #000000, 0 8px 35px rgba(0, 0, 0, 0.98), 0 0 55px #000000 !important;
}

.sequence-7-reasons-card h3 {
    font-family: 'GT Super Ds Trial Lt', serif !important;
    font-size: 24px !important;
    font-weight: 300 !important;
    color: #ffffff !important;
    margin-top: 35px !important;
    margin-bottom: 30px !important;
    text-shadow: 0 2px 8px #000000, 0 4px 22px rgba(0, 0, 0, 0.95), 0 0 35px #000000 !important;
}

.sequence-7-reasons-card h3 span {
    font-weight: 400 !important;
}

@media (max-width: 768px) {
    .sequence-7-reasons-card .h7r-big-num {
        font-size: 120px !important;
        line-height: 60px !important;
    }
    .sequence-7-reasons-card h2 {
        font-size: 60px !important;
        margin-left: 0 !important;
        text-align: center !important;
    }
    .sequence-7-reasons-card h3 {
        font-size: 18px !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
}

/* Boxed Cards for New Build & Fleet in Scroll Sequence */
.sequence-overlay-text.sequence-box-card {
    max-width: 880px !important;
    width: 92% !important;
    padding: 0 !important;
}

.sequence-card-box {
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(1, 31, 59, 0.85), rgba(2, 2, 2, 0.90));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 35px 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    text-align: left;
}

.sequence-card-box h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
    text-align: left !important;
    text-shadow: none !important;
}

.sequence-card-box p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 0 !important;
    text-shadow: none !important;
}

.sequence-card-box .list-item-photo img {
    border-radius: 15px;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .sequence-card-box {
        padding: 25px 20px;
        text-align: center;
    }
    .sequence-card-box h2 {
        text-align: center !important;
        font-size: 24px !important;
    }
}

/* Side-by-Side Cards Container for New Build & Fleet */
.sequence-overlay-text.sequence-side-by-side-card {
    max-width: 1100px !important;
    width: 95% !important;
    padding: 0 !important;
}

.sequence-side-by-side-card .sequence-card-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 30px;
}

.sequence-side-by-side-card .list-item-photo img {
    height: 180px;
    object-fit: cover;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* Sequence Progress Indicator Dots */
.sequence-progress-indicator {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sequence-progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.sequence-progress-dot.active {
    background: #ffffff;
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .sequence-overlay-text {
        max-width: 90%;
        padding: 20px 24px;
    }
    
    .sequence-overlay-text h6 {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .sequence-overlay-text h2 {
        font-size: 28px;
    }
    
    .sequence-overlay-text p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .sequence-progress-indicator {
        right: 15px;
    }
}

/* Ensure Logo & Social Media Icons Stay Fixed */
header#header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    display: block !important;
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
}

.menuBtn, .menuBtn2 {
    position: fixed !important;
    z-index: 10001 !important;
}

/* Luxury Interactive Preloader & Begin Experience */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000511;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: background 1.2s cubic-bezier(0.23, 1, 0.32, 1),
                backdrop-filter 1.2s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
                visibility 0.9s ease;
}

/* Glass state — shown when BEGIN EXPERIENCE button appears */
#preloader.glass-mode {
    background: rgba(0, 8, 20, 0.35);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

#preloader.loaded {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.preloader-content {
    text-align: center;
    max-width: 550px;
    padding: 30px;
}

.preloader-logo img {
    height: 90px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.25));
}

.preloader-title {
    font-family: 'GT Super Ds Trial Rg', 'GT Super Ds Trial Lt', serif;
    font-size: 34px;
    letter-spacing: 6px;
    color: #ffffff;
    margin-bottom: 6px;
}

.preloader-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 35px;
    text-transform: uppercase;
}

.preloader-bar-bg {
    width: 280px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 auto 15px auto;
    border-radius: 3px;
    overflow: hidden;
}

#preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: #ffffff;
    box-shadow: 0 0 12px #ffffff;
    transition: width 0.2s ease-out;
}

#preloader-percentage {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
}

.preloader-status {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.begin-container {
    animation: fadeInBegin 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes fadeInBegin {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.begin-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.begin-btn {
    padding: 16px 45px !important;
    font-size: 13px !important;
    letter-spacing: 3px !important;
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 40px !important;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease !important;
}

.begin-btn:hover {
    transform: scale(1.06) !important;
    background: #f0f0f0 !important;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.5) !important;
}
