/* Clean UI/UX Design - CCTV & IT Services */

/* Glassmorphism Main Service Cards */
.main-service-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.main-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.main-service-card:hover::before {
    opacity: 1;
}

.main-service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(31, 38, 135, 0.5);
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.35);
}

/* Service Icons */
.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.service-icon-large i {
    font-size: 2.8rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.main-service-card:hover .service-icon-large {
    transform: scale(1.2) rotate(360deg);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 51, 234, 0.2));
}

.main-service-card:hover .service-icon-large i {
    transform: scale(1.3);
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255,255,255,0.4);
}

/* Service Item Cards */
.service-item-card {
    background: #f0f0f3;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 9px 9px 16px #a3a3a3, -9px -9px 16px #ffffff;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    position: relative;
    overflow: hidden;
}

.service-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-item-card:hover::before {
    transform: scaleX(1);
}

.service-item-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 15px 15px 30px #a3a3a3, -15px -15px 30px #ffffff;
}

/* Service Icons */
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #20b2aa, #008b8b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 16px rgba(32, 178, 170, 0.3);
}

.service-icon i {
    font-size: 1.6rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.service-item-card:hover .service-icon {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 12px 24px rgba(32, 178, 170, 0.5);
}

.service-item-card:hover .service-icon i {
    transform: scale(1.3);
    text-shadow: 0 0 6px rgba(255,255,255,0.4);
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24, #ff9ff3, #54a0ff);
    background-size: 400% 400%;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    animation: gradientPulse 3s ease-in-out infinite, bounce 2s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Trust Badges */
.trust-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin: 5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(45deg, #ff6b35, #f7931e, #20b2aa, #008b8b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    font-weight: 800;
}

/* Interactive Elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.interactive-element:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.magnetic-hover:hover {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

/* Liquid Button Effect */
.liquid-btn {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.liquid-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.liquid-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Neon Glow Effect */
.neon-glow {
    text-shadow: 0 0 3px currentColor, 0 0 6px currentColor;
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from { text-shadow: 0 0 3px currentColor, 0 0 6px currentColor; }
    to { text-shadow: 0 0 5px currentColor, 0 0 8px currentColor; }
}

/* Glassmorphism Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(32, 178, 170, 0.1) 0%, transparent 50%);
    animation: parallaxFloat 8s ease-in-out infinite;
    pointer-events: none;
}

/* Morphing Shapes */
.morph-shape {
    border-radius: 50%;
    animation: morphShape 4s ease-in-out infinite;
}

/* Particle System */
.particle-system {
    position: relative;
    overflow: hidden;
}

.particle-system::before,
.particle-system::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 107, 53, 0.6);
    border-radius: 50%;
    animation: particleMove 6s linear infinite;
}

.particle-system::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-system::after {
    top: 60%;
    right: 15%;
    animation-delay: -3s;
}

/* Enhanced Button Effects */
.btn-outline-danger,
.btn-outline-primary,
.btn-outline-success {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-width: 2px;
}

.btn-outline-danger:hover,
.btn-outline-primary:hover,
.btn-outline-success:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gradientPulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

@keyframes parallaxFloat {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(5px) translateX(-5px); }
    75% { transform: translateY(-5px) translateX(10px); }
}

@keyframes morphShape {
    0%, 100% { border-radius: 50%; }
    25% { border-radius: 30% 70% 70% 30%; }
    50% { border-radius: 70% 30% 30% 70%; }
    75% { border-radius: 40% 60% 60% 40%; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .main-service-card {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .service-item-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .service-icon-large {
        width: 70px;
        height: 70px;
    }
    
    .service-icon-large i {
        font-size: 2.2rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 1.4rem;
    }
    
    .urgency-banner {
        font-size: 0.85rem;
        padding: 12px 24px;
        border-radius: 40px;
    }
    
    .trust-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
        border-radius: 20px;
    }
    
    .main-service-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .service-item-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

/* Performance Optimizations */
.service-item-card,
.main-service-card {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .main-service-card,
    .service-item-card,
    .urgency-banner,
    .trust-badge {
        animation: none;
        transition: none;
    }
    
    .main-service-card:hover,
    .service-item-card:hover {
        transform: none;
    }
}