/* 3D CAROUSEL SECTION STYLING */
.services-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.main-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    z-index: 2;
}

.header-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-heading {
    color: #ffffff;
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subheading {
    color: #94a3b8;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    max-width: 600px;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

.glow-1 {
    top: 15%;
    left: 20%;
    width: 350px;
    height: 350px;
    background: rgba(168, 85, 247, 0.15);
}

.glow-2 {
    bottom: 15%;
    right: 20%;
    width: 300px;
    height: 300px;
    background: rgba(0, 229, 255, 0.12);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    margin: 0.5rem 0;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.premium-3d-card {
    position: absolute;
    width: 240px;
    height: 310px;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    user-select: none;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    will-change: transform, opacity, box-shadow;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-thumb {
    width: 100%;
    height: 65px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 3px;
    flex-shrink: 0;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-header-content {
    text-align: center;
    margin-bottom: 3px;
    width: 100%;
}

.card-header-content h3 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: #ffffff;
    line-height: 1.2;
}

.card-subtitle {
    font-size: 0.65rem;
    color: #94a3b8;
    line-height: 1.2;
}

.card-features-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 3px 0;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    font-size: 0.68rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-row.no-border {
    border-bottom: none !important;
}

.feature-left {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #e2e8f0;
    font-weight: 500;
    text-align: left;
}

.feature-right {
    text-align: right;
    font-weight: 600;
}

.text-purple {
    color: #a855f7 !important;
}

.card-purple-accent {
    border: 2px solid #a855f7 !important;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #a855f7;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.nav-arrow.prev {
    left: 8px;
}

.nav-arrow.next {
    right: 8px;
}

.nav-arrow:hover {
    background: #a855f7;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.7);
    transform: translateY(-50%) scale(1.1);
}


.btn-purple-glass a {
    color: white !important;
}