/* ============================================
   SERVICES PAGE - 2026 3D HORIZONTAL CAROUSEL
   Liquid Glass, 3D Tilt, Card Flip
   ============================================ */

/* Hero Section */
.services-hero-3d {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
    padding: 6rem 0;
}

.hero-mesh-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.12) 0%, transparent 50%);
    animation: meshFloat 20s ease infinite;
}

@keyframes meshFloat {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(3deg);
    }
}

.hero-content-3d {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge-glow {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 9999px;
    color: #a78bfa;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    animation: badgePulse 3s ease infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 50px rgba(139, 92, 246, 0.5);
    }
}

.hero-title-3d {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text-3d {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-3d {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.5);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(139, 92, 246, 0.7);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Carousel Section */
.carousel-section-3d {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
}

.container-full {
    max-width: 100%;
    padding: 0;
}

.carousel-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.carousel-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.carousel-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.scroll-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 9999px;
    color: #8b5cf6;
    font-weight: 600;
    animation: bounceX 2s ease infinite;
}

@keyframes bounceX {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

/* Horizontal Scroll Wrapper */
.horizontal-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2rem 0;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.service-cards-3d {
    display: flex;
    gap: 2rem;
    padding: 0 max(2rem, calc((100vw - 1400px) / 2));
    min-width: min-content;
}

/* 3D Service Card */
.service-card-3d {
    flex: 0 0 450px;
    height: 600px;
    perspective: 1000px;
    transition: transform 0.3s ease;
}

.card-3d-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-3d.flipped .card-3d-inner {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 2rem;
    padding: 2.5rem;
    overflow: hidden;
}

.card-front {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.3);
}

.card-back {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    transform: rotateY(180deg);
    color: #fff;
}

/* Liquid Glass Background */
.liquid-glass-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.card-glow-3d {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    filter: blur(30px);
}

.service-card-3d:hover .card-glow-3d {
    opacity: 1;
}

/* Card Icon */
.card-icon-3d {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 2rem;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 15px 40px -15px rgba(139, 92, 246, 0.5);
}

.icon-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 2rem;
    border: 2px solid #8b5cf6;
    opacity: 0.5;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.card-title-3d {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    text-align: center;
}

.card-summary-3d {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

/* Card Features */
.card-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #475569;
}

.feature-item i {
    color: #8b5cf6;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Flip Button */
.btn-flip,
.btn-flip-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -10px rgba(139, 92, 246, 0.4);
}

.btn-flip:hover,
.btn-flip-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(139, 92, 246, 0.6);
}

.btn-flip-back {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Card Back Content */
.benefits-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.benefit-item i {
    color: #fbbf24;
    margin-top: 0.25rem;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-card-action {
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-card-action:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Navigation Dots */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #8b5cf6;
    width: 40px;
    border-radius: 6px;
}

/* SLAs Section */
.slas-section-3d {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}

.slas-header {
    text-align: center;
    margin-bottom: 4rem;
}

.slas-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.slas-header p {
    font-size: 1.25rem;
    color: #94a3b8;
}

.slas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sla-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.sla-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.5);
}

.sla-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 50%;
    font-size: 2rem;
    color: #fff;
}

.sla-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.sla-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-card-3d {
        flex: 0 0 400px;
    }
}

@media (max-width: 992px) {
    .hero-title-3d {
        font-size: 3rem;
    }

    .carousel-title {
        font-size: 2.5rem;
    }

    .slas-grid {
        grid-template-columns: 1fr;
    }

    .service-card-3d {
        flex: 0 0 350px;
        height: 550px;
    }
}

@media (max-width: 768px) {
    .hero-title-3d {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .service-card-3d {
        flex: 0 0 300px;
        height: 500px;
    }

    .card-face {
        padding: 2rem;
    }

    .card-icon-3d {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}