/* ========================================
   COLORFUL UI DESIGN SYSTEM
   ======================================== */

:root {
    /* Vibrant Color Palette */
    --color-purple: #8b5cf6;
    --color-pink: #ec4899;
    --color-blue: #3b82f6;
    --color-cyan: #06b6d4;
    --color-green: #10b981;
    --color-yellow: #f59e0b;
    --color-orange: #f97316;
    --color-red: #ef4444;
    
    /* Gradients */
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-orange: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --gradient-rainbow: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 25%, #06b6d4 50%, #10b981 75%, #f59e0b 100%);
}

/* ========================================
   HERO SECTION - COLORFUL
   ======================================== */

.hero-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.85) 0%, 
        rgba(59, 130, 246, 0.85) 50%, 
        rgba(6, 182, 212, 0.85) 100%);
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.carousel-item:nth-child(2) .hero-overlay {
    background: linear-gradient(135deg, 
        rgba(236, 72, 153, 0.85) 0%, 
        rgba(239, 68, 68, 0.85) 50%, 
        rgba(249, 115, 22, 0.85) 100%);
}

.carousel-item:nth-child(3) .hero-overlay {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.85) 0%, 
        rgba(6, 182, 212, 0.85) 50%, 
        rgba(59, 130, 246, 0.85) 100%);
}

.carousel-item:nth-child(4) .hero-overlay {
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.85) 0%, 
        rgba(249, 115, 22, 0.85) 50%, 
        rgba(239, 68, 68, 0.85) 100%);
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons .btn-primary {
    background: #ffffff;
    color: #8b5cf6;
    border: none;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
    background: #f8f9fa;
}

.hero-buttons .btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.hero-buttons .btn-outline-light:hover {
    background: #ffffff;
    color: #8b5cf6;
    transform: translateY(-3px);
}

/* ========================================
   FEATURES SECTION - COLORFUL
   ======================================== */

.features-section-ultra {
    background: linear-gradient(180deg, #ffffff 0%, #fef3c7 50%, #fef3c7 100%);
}

.feature-card-ultra:nth-child(1) .feature-icon-ultra {
    background: var(--gradient-purple);
}

.feature-card-ultra:nth-child(2) .feature-icon-ultra {
    background: var(--gradient-blue);
}

.feature-card-ultra:nth-child(3) .feature-icon-ultra {
    background: var(--gradient-green);
}

.feature-card-ultra:nth-child(1):hover .feature-card-inner {
    border-color: var(--color-purple);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3);
}

.feature-card-ultra:nth-child(2):hover .feature-card-inner {
    border-color: var(--color-blue);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.feature-card-ultra:nth-child(3):hover .feature-card-inner {
    border-color: var(--color-green);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3);
}

.stat-card-ultra:nth-child(4) .feature-card-inner {
    background: var(--gradient-orange);
}

.stat-card-ultra:nth-child(5) .feature-card-inner {
    background: var(--gradient-purple);
}

.stat-card-ultra:nth-child(6) .feature-card-inner {
    background: var(--gradient-blue);
}

/* ========================================
   ABOUT SECTION - COLORFUL
   ======================================== */

.about-section-ultra {
    background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 50%, #ddd6fe 100%);
}

.about-ultra-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.badge-ultra {
    background: var(--gradient-rainbow);
    border: none;
    color: #ffffff;
}

.title-ultra {
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   SERVICES SECTION - COLORFUL
   ======================================== */

.services-section {
    background: linear-gradient(180deg, #ddd6fe 0%, #fce7f3 50%, #fef3c7 100%);
}

.service-card {
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.service-card:nth-child(1) {
    border-color: rgba(139, 92, 246, 0.2);
}

.service-card:nth-child(1):hover {
    border-color: var(--color-purple);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3);
    transform: translateY(-10px);
}

.service-card:nth-child(2) {
    border-color: rgba(59, 130, 246, 0.2);
}

.service-card:nth-child(2):hover {
    border-color: var(--color-blue);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
    transform: translateY(-10px);
}

.service-card:nth-child(3) {
    border-color: rgba(16, 185, 129, 0.2);
}

.service-card:nth-child(3):hover {
    border-color: var(--color-green);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3);
    transform: translateY(-10px);
}

.service-card:nth-child(4) {
    border-color: rgba(249, 115, 22, 0.2);
}

.service-card:nth-child(4):hover {
    border-color: var(--color-orange);
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.3);
    transform: translateY(-10px);
}

.service-overlay {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.9) 0%, 
        rgba(59, 130, 246, 0.9) 100%);
}

.service-card:nth-child(2) .service-overlay {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.9) 0%, 
        rgba(6, 182, 212, 0.9) 100%);
}

.service-card:nth-child(3) .service-overlay {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.9) 0%, 
        rgba(52, 211, 153, 0.9) 100%);
}

.service-card:nth-child(4) .service-overlay {
    background: linear-gradient(135deg, 
        rgba(249, 115, 22, 0.9) 0%, 
        rgba(251, 146, 60, 0.9) 100%);
}

/* ========================================
   BUTTONS - COLORFUL
   ======================================== */

.btn-primary {
    background: var(--gradient-purple);
    border: none;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* ========================================
   FLOATING ELEMENTS
   ======================================== */

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 80px;
    height: 80px;
    background: var(--gradient-purple);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 120px;
    height: 120px;
    background: var(--gradient-blue);
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.floating-shape:nth-child(3) {
    width: 100px;
    height: 100px;
    background: var(--gradient-green);
    bottom: 20%;
    left: 20%;
    animation-delay: 6s;
}

.floating-shape:nth-child(4) {
    width: 90px;
    height: 90px;
    background: var(--gradient-orange);
    top: 30%;
    right: 25%;
    animation-delay: 9s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(0, -60px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, -30px) rotate(270deg);
    }
}

/* ========================================
   SCROLLBAR - COLORFUL
   ======================================== */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-rainbow);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}

/* ========================================
   SECTION DIVIDERS
   ======================================== */

.section-divider {
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.1), transparent);
    position: relative;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 2px;
    background: var(--gradient-rainbow);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.rainbow-animation {
    animation: rainbow 10s linear infinite;
}

/* ========================================
   GLOW EFFECTS
   ======================================== */

.glow-purple {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.glow-blue {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.glow-green {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.glow-orange {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}


/* ========================================
   SECTION BADGES - COLORFUL
   ======================================== */

.section-badge {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #06b6d4 100%);
    background-size: 200% 200%;
    animation: gradientMove 5s ease infinite;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.section-badge:hover::before {
    left: 100%;
}

/* ========================================
   CONTACT SECTION - COLORFUL
   ======================================== */

.contact-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 50%, #ddd6fe 100%);
}

/* ========================================
   CARDS - COLORFUL BORDERS
   ======================================== */

.card-colorful-1 {
    border-left: 4px solid #8b5cf6;
}

.card-colorful-2 {
    border-left: 4px solid #3b82f6;
}

.card-colorful-3 {
    border-left: 4px solid #10b981;
}

.card-colorful-4 {
    border-left: 4px solid #f59e0b;
}

/* ========================================
   TEXT GRADIENTS
   ======================================== */

.text-gradient-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-rainbow {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 25%, #06b6d4 50%, #10b981 75%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   HOVER EFFECTS - COLORFUL
   ======================================== */

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
}

.hover-glow-purple:hover {
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.5);
}

.hover-glow-blue:hover {
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.5);
}

.hover-glow-green:hover {
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.5);
}

.hover-glow-orange:hover {
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.5);
}

/* ========================================
   LOADING ANIMATION - COLORFUL
   ======================================== */

.loading-rainbow {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f4f6;
    border-top: 5px solid #8b5cf6;
    border-right: 5px solid #3b82f6;
    border-bottom: 5px solid #10b981;
    border-left: 5px solid #f59e0b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   BACKGROUND PATTERNS
   ======================================== */

.bg-pattern-dots {
    background-image: radial-gradient(circle, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.bg-pattern-grid {
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* ========================================
   COLORFUL SHADOWS
   ======================================== */

.shadow-purple {
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.shadow-blue {
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.shadow-green {
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.shadow-orange {
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.shadow-rainbow {
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.3),
        0 0 40px rgba(59, 130, 246, 0.2),
        0 0 60px rgba(16, 185, 129, 0.1);
}
