/* Modern Technology & IT Hero Carousel - Professional & Innovative */
.elegant-hero-carousel {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

@media (max-width: 768px) {
    .elegant-hero-carousel {
        height: 550px;
    }
}

.elegant-hero-carousel .elegantHeroSwiper {
    width: 100%;
    height: 100%;
}

.elegant-hero-carousel .elegant-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.elegant-hero-carousel .elegant-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.elegant-hero-carousel .elegant-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(79, 70, 229, 0.08) 0%, transparent 40%),
        url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="tech-dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="rgba(37,99,235,0.15)"/><circle cx="0" cy="0" r="1" fill="rgba(79,70,229,0.1)"/><circle cx="60" cy="0" r="1" fill="rgba(79,70,229,0.1)"/><circle cx="0" cy="60" r="1" fill="rgba(79,70,229,0.1)"/><circle cx="60" cy="60" r="1" fill="rgba(79,70,229,0.1)"/></pattern></defs><rect width="60" height="60" fill="url(%23tech-dots)"/></svg>');
    z-index: 2;
    opacity: 0.7;
    animation: techPattern 20s linear infinite;
}

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

.elegant-hero-carousel .elegant-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 20s ease-out infinite alternate;
    filter: brightness(0.85) contrast(1.1);
}

@keyframes kenburns {
    0% {
        transform: scale(1) translateX(0);
    }
    100% {
        transform: scale(1.08) translateX(-15px);
    }
}

.elegant-hero-carousel .elegant-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(26, 32, 44, 0.88) 40%, rgba(79, 70, 229, 0.7) 100%),
        radial-gradient(ellipse at top left, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(124, 58, 237, 0.2) 0%, transparent 50%);
    z-index: 1;
    backdrop-filter: blur(3px) saturate(120%);
}

.elegant-hero-carousel .elegant-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.elegant-hero-carousel .elegant-text-wrapper {
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.elegant-hero-carousel .elegant-text-wrapper::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #2563eb 30%, #4f46e5 70%, transparent 100%);
    border-radius: 2px;
    animation: slideIn 1s ease-out 0.3s forwards, glow 2s ease-in-out infinite;
    opacity: 0;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
    }
    50% {
        box-shadow: 0 0 30px rgba(79, 70, 229, 0.8);
    }
}

.elegant-hero-carousel .elegant-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5), 
        0 2px 10px rgba(37, 99, 235, 0.4),
        0 0 40px rgba(79, 70, 229, 0.3);
    line-height: 1.2;
    opacity: 1;
    visibility: visible;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

@media (max-width: 992px) {
    .elegant-hero-carousel .elegant-title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .elegant-hero-carousel .elegant-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
}

.elegant-hero-carousel .elegant-button-wrapper {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.elegant-hero-carousel .elegant-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(37, 99, 235, 0.4), 
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    opacity: 1;
    visibility: visible;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.elegant-hero-carousel .elegant-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.elegant-hero-carousel .elegant-btn:hover::before {
    left: 100%;
}

.elegant-hero-carousel .elegant-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 50%, #6d28d9 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(37, 99, 235, 0.5), 
        0 6px 15px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: white;
}

.elegant-hero-carousel .elegant-btn i {
    font-size: 1.4rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.elegant-hero-carousel .elegant-btn:hover i {
    transform: translateX(8px) rotate(-5deg);
}

@media (max-width: 576px) {
    .elegant-hero-carousel .elegant-btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}

/* Navigation Buttons - Technology Theme */
.elegant-hero-carousel .elegant-nav {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px) saturate(180%);
    color: white;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.elegant-hero-carousel .elegant-nav:hover {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    border-color: rgba(37, 99, 235, 0.5);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5), 0 0 40px rgba(79, 70, 229, 0.3);
}

.elegant-hero-carousel .elegant-nav::after {
    display: none;
}

.elegant-hero-carousel .elegant-nav i {
    font-size: 1.8rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .elegant-hero-carousel .elegant-nav {
        width: 48px;
        height: 48px;
    }
    
    .elegant-hero-carousel .elegant-nav i {
        font-size: 1.4rem;
    }
}

.elegant-hero-carousel .swiper-button-prev {
    left: 30px;
}

.elegant-hero-carousel .swiper-button-next {
    right: 30px;
}

/* Pagination Dots - Technology Theme */
.elegant-hero-carousel .elegant-dots {
    bottom: 40px !important;
    z-index: 20;
}

.elegant-hero-carousel .elegant-dots .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.elegant-hero-carousel .elegant-dots .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    width: 40px;
    border-radius: 7px;
    border-color: rgba(37, 99, 235, 0.8);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.6), 0 0 30px rgba(79, 70, 229, 0.4);
}

/* Technology Badge Animation */
.tech-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(180%);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: pulse-badge 2s infinite;
    z-index: 15;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7), 0 4px 15px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0), 0 4px 15px rgba(37, 99, 235, 0.3);
    }
}

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

/* Digital Particle Effect Background */
.elegant-hero-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(79, 70, 229, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
    z-index: 5;
    pointer-events: none;
    animation: digitalPulse 8s ease-in-out infinite;
}

@keyframes digitalPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.9;
    }
}

/* Floating Tech Elements */
.tech-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(37, 99, 235, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.8);
    animation: float 15s infinite ease-in-out;
    z-index: 6;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}
