/* Enhanced Sections Styles */

/* Sector Cards */
.sector-card {
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sector-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.sector-card:hover img {
    transform: scale(1.15) rotate(2deg);
}

/* Accordion */
.accordion-content {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    opacity: 1;
}

.accordion-item.active .icon-rotate {
    transform: rotate(180deg);
}

/* Marquee */
.marquee-wrap {
    overflow: hidden;
    display: flex;
}

.marquee {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
    white-space: nowrap;
}

.marquee span {
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

/* Glass Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.glass-dark {
    background: rgba(17, 25, 40, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3D Shadow */
.shadow-3d {
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Neon Shadow */
.shadow-neon {
    box-shadow: 0 0 20px rgba(212, 0, 246, 0.3);
}

/* Service Cards Hover */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -8px rgba(67, 19, 135, 0.2);
}

/* Stats Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 0.8s ease-out forwards;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.15);
}

/* CTA Section */
.cta-gradient {
    background: linear-gradient(135deg, #431387 0%, #D400F6 100%);
}

/* Feature Icon Animation */
.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(67, 19, 135, 0.3);
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Pulse Slow */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

/* Spin Slow */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* Background Dots Pattern */
.bg-dots {
    background-image: radial-gradient(circle, rgba(67, 19, 135, 0.3) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Skew Sections */
.skew-section {
    transform: skewY(-2deg);
}

.skew-section > * {
    transform: skewY(2deg);
}
