/**
 * DealEdge - Premium Hero Carousel Styles
 * Trust-building, professional carousel for real estate & finance
 */

/* ===== Carousel Container ===== */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    padding: 0;
    position: relative;
}

.carousel-slide.active {
    opacity: 1;
}

/* Image Enhancement Overlay */
.carousel-slide > .carousel-container {
    position: relative;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(15, 53, 87, 0.15) 0%, rgba(26, 77, 127, 0.1) 50%, transparent 100%),
        url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.04"/></svg>');
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* Enhanced readability gradient */
.carousel-slide .container {
    position: relative;
    z-index: 2;
}

.carousel-slide .slide-content {
    position: relative;
    z-index: 3;
}

/* Left side text area enhancement for readability */
.carousel-slide .slide-text {
    position: relative;
    padding: 35px 40px;
    background: linear-gradient(90deg, rgba(15, 53, 87, 0.88) 0%, rgba(15, 53, 87, 0.65) 70%, transparent 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border-left: 4px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 100%;
}

/* ===== Slide Background Themes with Images ===== */

/* Slide 1: Real Estate - Cityscape Theme */
.carousel-slide[data-slide="1"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(15, 53, 87, 0.92) 0%, rgba(26, 77, 127, 0.88) 50%, rgba(37, 99, 168, 0.85) 100%),
        url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1920&q=80') center/cover no-repeat;
    z-index: 0;
    animation: slideBackgroundIn 1s ease, subtleZoom 30s ease-in-out infinite;
}

@keyframes subtleZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.carousel-slide[data-slide="1"] .container::before {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    height: 40%;
    background: 
        linear-gradient(to top, rgba(15, 53, 87, 0.8) 0%, transparent 100%),
        linear-gradient(to top, rgba(212, 175, 55, 0.1) 0%, transparent 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path d="M0,100 L50,90 L100,100 L150,85 L200,95 L250,80 L300,90 L350,75 L400,85 L450,70 L500,80 L550,65 L600,75 L650,60 L700,70 L750,55 L800,65 L850,50 L900,60 L950,45 L1000,55 L1050,40 L1100,50 L1150,35 L1200,45 L1200,200 L0,200 Z" fill="rgba(212,175,55,0.15)"/></svg>') repeat-x bottom;
    background-size: auto 100%;
    z-index: 0;
    animation: cityscape 30s linear infinite;
    pointer-events: none;
}

@keyframes cityscape {
    0% {
        background-position: 0 bottom;
    }
    100% {
        background-position: 1200px bottom;
    }
}

/* Slide 2: Finance - Modern Tech Theme */
.carousel-slide[data-slide="2"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(10, 31, 46, 0.93) 0%, rgba(15, 53, 87, 0.90) 50%, rgba(26, 77, 127, 0.87) 100%),
        url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?w=1920&q=80') center/cover no-repeat;
    z-index: 0;
    animation: slideBackgroundIn 1s ease, subtleZoom 30s ease-in-out infinite;
}

.carousel-slide[data-slide="2"] .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 70% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(37, 99, 168, 0.12) 0%, transparent 50%);
    z-index: 0;
    animation: ambientMove 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ambientMove {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}

.carousel-slide[data-slide="2"] .container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(212, 175, 55, 0.03) 48%, rgba(212, 175, 55, 0.03) 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(212, 175, 55, 0.03) 48%, rgba(212, 175, 55, 0.03) 52%, transparent 52%);
    background-size: 60px 60px;
    z-index: 0;
    animation: techGrid 20s linear infinite;
    pointer-events: none;
}

@keyframes techGrid {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 60px 60px, -60px 60px;
    }
}

/* Slide 3: Investment - Growth Theme */
.carousel-slide[data-slide="3"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(15, 53, 87, 0.94) 0%, rgba(26, 77, 127, 0.91) 50%, rgba(37, 99, 168, 0.88) 100%),
        url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1920&q=80') center/cover no-repeat;
    z-index: 0;
    animation: slideBackgroundIn 1s ease, subtleZoom 30s ease-in-out infinite;
}

.carousel-slide[data-slide="3"] .container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: 
        linear-gradient(to top, rgba(212, 175, 55, 0.15) 0%, transparent 100%),
        linear-gradient(to top, rgba(16, 185, 129, 0.08) 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.carousel-slide[data-slide="3"] .container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(212, 175, 55, 0.02) 35px,
            rgba(212, 175, 55, 0.02) 70px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 35px,
            rgba(37, 99, 168, 0.02) 35px,
            rgba(37, 99, 168, 0.02) 70px
        );
    z-index: 0;
    animation: growthPattern 25s linear infinite;
    pointer-events: none;
}

@keyframes growthPattern {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 70px 70px, -70px 70px;
    }
}

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

/* Decorative Elements for Each Slide */

/* Slide 1: Building Silhouettes */
.carousel-slide[data-slide="1"] .slide-content::before {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -5%;
    width: 600px;
    height: 600px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><rect x="50" y="150" width="60" height="250" fill="rgba(212,175,55,0.08)"/><rect x="120" y="100" width="70" height="300" fill="rgba(212,175,55,0.1)"/><rect x="200" y="80" width="50" height="320" fill="rgba(212,175,55,0.06)"/><rect x="260" y="120" width="65" height="280" fill="rgba(212,175,55,0.09)"/><rect x="335" y="140" width="55" height="260" fill="rgba(212,175,55,0.07)"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    animation: floatBuildings 8s ease-in-out infinite;
}

@keyframes floatBuildings {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Slide 2: Circuit Pattern */
.carousel-slide[data-slide="2"] .slide-content::before {
    content: '';
    position: absolute;
    right: -5%;
    top: 10%;
    width: 500px;
    height: 500px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="50" cy="50" r="3" fill="rgba(212,175,55,0.3)"/><circle cx="150" cy="50" r="3" fill="rgba(212,175,55,0.3)"/><circle cx="50" cy="150" r="3" fill="rgba(212,175,55,0.3)"/><circle cx="150" cy="150" r="3" fill="rgba(212,175,55,0.3)"/><line x1="50" y1="50" x2="150" y2="50" stroke="rgba(212,175,55,0.15)" stroke-width="1"/><line x1="50" y1="150" x2="150" y2="150" stroke="rgba(212,175,55,0.15)" stroke-width="1"/><line x1="50" y1="50" x2="50" y2="150" stroke="rgba(212,175,55,0.15)" stroke-width="1"/><line x1="150" y1="50" x2="150" y2="150" stroke="rgba(212,175,55,0.15)" stroke-width="1"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
    z-index: 0;
    animation: circuitPulse 4s ease-in-out infinite;
}

@keyframes circuitPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Slide 3: Growth Arrows */
.carousel-slide[data-slide="3"] .slide-content::before {
    content: '';
    position: absolute;
    right: -8%;
    bottom: 5%;
    width: 550px;
    height: 550px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M20,180 L60,140 L100,160 L140,100 L180,120 L180,80" fill="none" stroke="rgba(212,175,55,0.2)" stroke-width="3"/><polygon points="180,80 175,95 185,95" fill="rgba(212,175,55,0.2)"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 0;
    animation: growthArrow 3s ease-in-out infinite;
}

@keyframes growthArrow {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) scale(1.05);
        opacity: 0.8;
    }
}

/* ===== Slide Content ===== */
.carousel-slide .container {
    position: relative;
    z-index: 2;
}

.slide-content {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.slide-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.slide-text {
    color: var(--white);
    animation: slideInLeft 0.8s ease-out;
}

.carousel-slide.active .slide-text {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Slide Badge ===== */
.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.slide-badge i {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* ===== Slide Title ===== */
.slide-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.text-highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    opacity: 0.5;
}

/* ===== Slide Subtitle ===== */
.slide-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.92;
    max-width: 650px;
}

/* ===== Feature Badges ===== */
.slide-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.feature-badge i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* ===== Slide CTA Buttons ===== */
.slide-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.05rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-large:hover::before {
    width: 400px;
    height: 400px;
}

.btn-large span,
.btn-large i {
    position: relative;
    z-index: 1;
}

.btn-large i {
    transition: transform 0.3s;
}

.btn-large:hover i {
    transform: translateX(5px);
}

.btn-primary.btn-large {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--primary-dark);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.35);
    border: none;
}

.btn-primary.btn-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(212, 175, 55, 0.45);
}

.btn-secondary.btn-large {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary.btn-large:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-4px);
}

/* ===== Slide Visual ===== */
.slide-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    animation: slideInRight 0.8s ease-out 0.2s both;
    position: relative;
}

.slide-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 53, 87, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.visual-icon-wrapper {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-icon {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-dark);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4);
    position: relative;
    z-index: 2;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

.icon-ring,
.icon-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.icon-ring {
    width: 170px;
    height: 170px;
    animation: ringPulse 3s ease-in-out infinite;
}

.icon-ring-2 {
    width: 200px;
    height: 200px;
    animation: ringPulse 3s ease-in-out infinite 1.5s;
}

@keyframes ringPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.1;
    }
}

/* ===== Visual Stats (Mini) ===== */
.visual-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.mini-stat {
    background: rgba(15, 53, 87, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.mini-stat:hover {
    background: rgba(15, 53, 87, 0.95);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.3);
}

.mini-stat i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ===== Carousel Controls ===== */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 3;
    pointer-events: none;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.carousel-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

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

/* ===== Carousel Indicators ===== */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.indicator {
    width: 40px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

.indicator.active {
    background: var(--secondary-color);
    width: 60px;
    box-shadow: 0 2px 15px rgba(212, 175, 55, 0.5);
}

/* ===== Carousel Trust Badges ===== */
.carousel-trust-badges {
    position: absolute;
    top: 90px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
    animation: fadeIn 1s ease 1s both;
}

.carousel-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.carousel-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    transform: translateX(-5px);
}

.carousel-badge i {
    color: var(--secondary-color);
    font-size: 1rem;
}

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

/* ===== Ambient Light Effects ===== */

/* Slide 1: Warm Glow */
.carousel-slide[data-slide="1"] .slide-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: ambientGlow1 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes ambientGlow1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 0.8;
    }
}

/* Slide 2: Cool Tech Glow */
.carousel-slide[data-slide="2"] .slide-text::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 168, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: ambientGlow2 10s ease-in-out infinite;
    z-index: -1;
}

@keyframes ambientGlow2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-40px, 40px) scale(1.3);
        opacity: 0.7;
    }
}

/* Slide 3: Success Green-Gold Glow */
.carousel-slide[data-slide="3"] .slide-text::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(70px);
    animation: ambientGlow3 12s ease-in-out infinite;
    z-index: -1;
}

@keyframes ambientGlow3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(50px, -50px) scale(1.15);
        opacity: 0.9;
    }
}

/* Floating Particles Overlay */
.carousel-slide .slide-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(2px 2px at 80% 10%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 90% 60%, rgba(212, 175, 55, 0.3), transparent);
    background-size: 300% 300%;
    animation: particlesFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes particlesFloat {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 100% 0%, 0% 100%;
    }
    25% {
        background-position: 25% 25%, 75% 75%, 60% 40%, 80% 20%, 20% 80%;
    }
    50% {
        background-position: 50% 50%, 50% 50%, 70% 30%, 60% 40%, 40% 60%;
    }
    75% {
        background-position: 75% 25%, 25% 75%, 40% 60%, 40% 80%, 80% 20%;
    }
}

/* Enhanced Visual Depth */
.carousel-slide .slide-text {
    position: relative;
}

.carousel-slide .visual-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    animation: iconGlow 4s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .carousel-slide {
        padding: 0;
    }
    
    .slide-content {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 0 25px;
    }
    
    .slide-text {
        padding: 30px 25px;
        background: linear-gradient(180deg, rgba(15, 53, 87, 0.92) 0%, rgba(15, 53, 87, 0.75) 100%);
        max-width: 100%;
    }
    
    .slide-title {
        font-size: 2.6rem;
        line-height: 1.2;
    }
    
    .slide-subtitle {
        font-size: 0.98rem;
        max-width: 100%;
    }
    
    .visual-icon-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .visual-icon {
        width: 120px;
        height: 120px;
        font-size: 3.5rem;
    }
    
    .carousel-trust-badges {
        position: relative;
        top: auto;
        right: auto;
        flex-direction: row;
        margin-top: 20px;
        justify-content: center;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        padding: 0;
    }
    
    .slide-text {
        padding: 20px;
        background: rgba(15, 53, 87, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .slide-badge {
        padding: 6px 16px;
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .slide-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .slide-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .slide-features {
        margin-bottom: 25px;
        gap: 8px;
    }
    
    .feature-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .slide-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .slide-visual {
        display: none;
    }
    
    .carousel-controls {
        padding: 0 15px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .carousel-trust-badges {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .carousel-badge {
        font-size: 0.75rem;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        padding: 0;
    }
    
    .slide-text {
        padding: 18px;
    }
    
    .slide-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
        margin-bottom: 12px;
    }
    
    .slide-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .text-highlight::after {
        height: 3px;
        bottom: 2px;
    }
    
    .slide-subtitle {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    
    .slide-features {
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .feature-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .carousel-indicators {
        bottom: 12px;
    }
    
    .indicator {
        width: 25px;
        height: 5px;
    }
    
    .indicator.active {
        width: 40px;
    }
    
    .trust-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}