/* Main Container */
        .slideshow-container {
            position: relative;
            width: 100%;
            min-height: 100vh;
            overflow: hidden;
        }

        /* Video Background */
        .slideshow-video-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .slideshow-background-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1;
        }

        .slideshow-background-video.active {
            opacity: 1;
            z-index: 2;
        }

        /* Overlay for better text visibility */
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.4) 100%);
            z-index: 3;
        }

        /* Content Layout - Mobile First */
        .slideshow-content {
            position: relative;
            z-index: 4;
            width: 100%;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 80px 20px 40px;
        }

        /* Phone Container - Mobile */
        .slideshow-phone-container {
            width: 100%;
            max-width: 320px;
            margin: 0 auto;
            position: relative;
            z-index: 4;
        }

        .slideshow-phone-frame {
            position: relative;
            width: 100%;
            margin: 0 auto;
        }

        .phone-image-wrapper {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 200%;
        }

        .phone-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 40px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
            opacity: 0;
            transform: translateY(30px) scale(0.95);
            transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
            object-fit: cover;
        }

        .phone-image.active {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        /* Phone Screen Overlays */
        .fan-control-overlay {
            position: absolute;
            top: 5%;
            left: 5%;
            right: 5%;
            bottom: 5%;
            background: #181818;
            border-radius: 30px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            opacity: 0;
            transform: scale(0.95);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
        }

        .ac-control-overlay {
            position: absolute;
            top: 5%;
            left: 5%;
            right: 5%;
            bottom: 5%;
            background: #181818;
            border-radius: 30px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            opacity: 0;
            transform: scale(0.95);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
        }

        .fan-control-overlay.active,
        .ac-control-overlay.active {
            opacity: 1;
            transform: scale(1);
        }

        /* Control Header */
        .control-header {
            text-align: center;
            margin-bottom: 15px;
        }

        .control-title {
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .control-subtitle {
            font-size: 14px;
            opacity: 0.8;
        }

        /* Temperature Display */
        .temperature-display {
            text-align: center;
            margin: 15px 0;
        }

        .temperature-value {
            font-size: 56px;
            font-weight: 300;
            line-height: 1;
        }

        .temperature-unit {
            font-size: 24px;
            vertical-align: super;
        }

        /* Fan Speed Controls - Mobile Grid */
        .fan-speed-controls {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin: 15px 0;
        }

        .speed-level {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 15px 0;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .speed-level.active {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
            transform: scale(1.05);
        }

        .speed-level span {
            font-size: 20px;
            font-weight: 600;
            display: block;
        }

        .speed-level p {
            font-size: 11px;
            opacity: 0.8;
            margin-top: 5px;
        }

        /* AC Mode Controls - Mobile Grid */
        .ac-mode-controls {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin: 15px 0;
        }

        .mode-button {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 15px 0;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mode-button.active {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
            transform: scale(1.05);
        }

        .mode-icon {
            font-size: 24px;
            margin-bottom: 5px;
        }

        .mode-label {
            font-size: 12px;
            opacity: 0.9;
        }

        /* Power Control - Mobile */
        .power-control {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            margin-top: auto;
        }

        .power-button {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            border-radius: 12px;
            padding: 15px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            width: 100%;
        }

        .power-button.active {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
        }

        /* Temperature Controls */
        .temperature-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin: 15px 0;
        }

        .temp-button {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .temp-button:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }

        .current-temp {
            font-size: 24px;
            font-weight: 500;
            min-width: 60px;
            text-align: center;
        }

        /* Scene Indicator */
        .scene-indicator {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 100;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px 15px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
            opacity: 0;
            transform: translateY(-20px);
            transition: all 0.5s ease;
            display: none;
        }

        .scene-indicator.active {
            opacity: 1;
            transform: translateY(0);
        }

        .scene-name {
            font-size: 14px;
            font-weight: 500;
            color: white;
        }

        /* Animations */
        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
        }

        /* Desktop View */
        @media (min-width: 1024px) {
            .slideshow-content {
                flex-direction: row;
                align-items: center;
                justify-content: center;
                padding: 0 5%;
            }

            .slideshow-phone-container {
                max-width: 400px;
                margin-left: -40px;
            }

            .slideshow-phone-frame {
                max-width: 320px;
                top: 10px;
            }

            .fan-speed-controls {
                grid-template-columns: repeat(4, 1fr);
            }

            .ac-mode-controls {
                grid-template-columns: repeat(3, 1fr);
            }

            .power-control {
                grid-template-columns: repeat(2, 1fr);
            }

            .temperature-value {
                font-size: 64px;
            }

            .video-overlay {
                background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
            }
        }

        /* Tablet View */
        @media (min-width: 768px) and (max-width: 1023px) {
            .slideshow-content {
                padding: 100px 40px;
            }

            .slideshow-phone-container {
                max-width: 350px;
            }

            .fan-speed-controls {
                grid-template-columns: repeat(2, 1fr);
            }

            .ac-mode-controls {
                grid-template-columns: repeat(3, 1fr);
            }

            .power-control {
                grid-template-columns: repeat(2, 1fr);
            }
            .mode-button {
                background: rgba(255, 255, 255, 0.1);
                border-radius: 12px;
                padding: 0px 0;
                text-align: center;
                cursor: pointer;
                transition: all 0.3s ease;
                backdrop-filter: blur(10px);
                border: 1px solid rgba(255, 255, 255, 0.1);
            }
            
            .slideshow-content {
              position: relative;
              z-index: 1;
              width: 100%;
              min-height: 100vh;
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              padding: 80px 20px 40px;
            }
        }

        /* Small Mobile */
        @media (max-width: 375px) {
            .slideshow-phone-frame {
                max-width: 280px;
            }

            .phone-image {
                border-radius: 30px;
            }

            .fan-control-overlay,
            .ac-control-overlay {
                padding: 15px;
                border-radius: 25px;
            }

            .temperature-value {
                font-size: 48px;
            }

            .control-title {
                font-size: 20px;
            }

            .scene-indicator {
                top: 15px;
                right: 15px;
                padding: 8px 12px;
            }
            .mode-button {
                background: rgba(255, 255, 255, 0.1);
                border-radius: 12px;
                padding: 0px 0;
                text-align: center;
                cursor: pointer;
                transition: all 0.3s ease;
                backdrop-filter: blur(10px);
                border: 1px solid rgba(255, 255, 255, 0.1);
            }
            
            .slideshow-content {
              position: relative;
              z-index: 1;
              width: 100%;
              min-height: 100vh;
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              padding: 80px 20px 40px;
            }
        }

        /* Very Small Mobile */
        @media (max-width: 320px) {
            .slideshow-phone-frame {
                max-width: 250px;
            }

            .fan-speed-controls,
            .ac-mode-controls {
                grid-template-columns: 1fr;
            }

            .speed-level,
            .mode-button {
                padding: 12px 0;
            }

            .temperature-controls {
                gap: 10px;
            }

            .temp-button {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }

            .control-title {
                font-size: 18px;
            }

            .temperature-value {
                font-size: 42px;
            }
            .mode-button {
                background: rgba(255, 255, 255, 0.1);
                border-radius: 12px;
                padding: 0px 0;
                text-align: center;
                cursor: pointer;
                transition: all 0.3s ease;
                backdrop-filter: blur(10px);
                border: 1px solid rgba(255, 255, 255, 0.1);
            }
        }

        /* Performance Optimizations */
        .will-change {
            will-change: transform, opacity;
        }

        /* Loading State */
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }

        .loading.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        
        @media only screen and (max-width: 600px) {
            .mode-button {
              background: rgba(255, 255, 255, 0.1);
              border-radius: 12px;
              padding: 0px 0;
              text-align: center;
              cursor: pointer;
              transition: all 0.3s ease;
              backdrop-filter: blur(10px);
              border: 1px solid rgba(255, 255, 255, 0.1);
            }
            
            .power-button {
              background: rgba(255, 255, 255, 0.1);
              border: none;
              border-radius: 12px;
              padding: 10px;
              color: white;
              font-size: 16px;
              font-weight: 600;
              cursor: pointer;
              transition: all 0.3s ease;
              backdrop-filter: blur(10px);
              border: 1px solid rgba(255, 255, 255, 0.1);
                border-top-color: rgba(255, 255, 255, 0.1);
                border-right-color: rgba(255, 255, 255, 0.1);
                border-bottom-color: rgba(255, 255, 255, 0.1);
                border-left-color: rgba(255, 255, 255, 0.1);
              width: 100%;
            }
        }
        
        
        /* Added Middle Content Styles */
.slideshow-middle-content {
    flex: 1;
    max-width: 600px;
    padding: 20px 40px;
    color: white;
    z-index: 4;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.content-wrapper {
    width: 100%;
}

.main-heading {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #a0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.main-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 500px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.feature-text {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

.cta-section {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.cta-button {
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 150px;
}

.cta-button.primary {
    background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for New Content */
@media (max-width: 1023px) {
    .slideshow-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .slideshow-middle-content {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
        text-align: center;
    }
    
    .main-heading {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
    }
    
    .cta-section {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .slideshow-phone-container {
        margin-left: 0;
    }
}

@media (min-width: 1024px) {
    .slideshow-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 5%;
        gap: 60px;
    }
    
    .slideshow-phone-container {
        flex-shrink: 0;
    }
    
    .slideshow-middle-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .main-heading {
        font-size: 32px;
    }
    
    .main-description {
        font-size: 16px;
    }
    
    .feature-item {
        padding: 20px 15px;
    }
    
    .cta-button {
        padding: 12px 24px;
        min-width: 130px;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 28px;
    }
    
    .features-grid {
        gap: 15px;
    }
    
    .cta-section {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-button {
        width: 100%;
    }
}