/* Futuristic Service Cards Design */

/* Main container styling */
.service-box-area {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 50%, #34495e 100%);
    position: relative;
    overflow: hidden;
    padding: 1rem 1rem;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Cards container */
.service-cards-container {
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
}

.service-box-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(112, 191, 84, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(58, 162, 202, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(112, 191, 84, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Section title styling */
.service-box-area .section-title h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}



/* Futuristic card container */
.futuristic-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    margin: 0 auto 1.5rem auto;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: auto;
    min-height: 120px;
    max-height: 150px;
    width: 600px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.futuristic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}


.futuristic-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    /* box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(120, 119, 198, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2); */
}

/* Icon container with holographic effect */
.futuristic-icon {
    width: 70px;
    height: 70px;
    margin: 0;
    margin-right: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #7c77c6);
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.5),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.futuristic-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    
    border-radius: 50%;
    z-index: -1;
    /* animation: rotate 3s linear infinite; */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.futuristic-card:hover .futuristic-icon::before {
    opacity: 1;
}

.futuristic-card:hover .futuristic-icon {
    transform: scale(1.1);
    box-shadow: 
        0 0 50px rgba(0, 212, 255, 0.8),
        inset 0 2px 15px rgba(255, 255, 255, 0.4);
}

.futuristic-icon i {
    font-size: 2rem;
    color: #ffffff;
    z-index: 2;
    position: relative;
}

/* Card content styling */
.futuristic-content {
    text-align: left;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.futuristic-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.futuristic-card:hover .futuristic-title {
    color: #70BF54;
    text-shadow: 0 0 10px rgba(112, 191, 84, 0.5);
}

.futuristic-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.futuristic-card:hover .futuristic-description {
    color: rgba(255, 255, 255, 0.95);
}

/* Feature list styling */
.futuristic-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none; /* Hide features list in horizontal layout */
}

.futuristic-features li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.futuristic-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #70BF54;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.futuristic-card:hover .futuristic-features li {
    color: rgba(255, 255, 255, 0.9);
}

.futuristic-card:hover .futuristic-features li::before {
    color: #3AA2CA;
    transform: translateX(3px);
}

/* Futuristic button */
.futuristic-btn {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #70BF54, #3AA2CA);
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(112, 191, 84, 0.3);
    margin-left: 1rem;
    text-align: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.futuristic-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.futuristic-btn:hover::before {
    left: 100%;
}

.futuristic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(112, 191, 84, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #5da045, #2e8bb5);
}

/* Particle effect */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #70BF54;
    border-radius: 50%;
    opacity: 0;
    animation: float 6s infinite linear;
}

.particle:nth-child(2) { animation-delay: 1s; background: #3AA2CA; }
.particle:nth-child(3) { animation-delay: 2s; background: #70BF54; }
.particle:nth-child(4) { animation-delay: 3s; background: #3AA2CA; }
.particle:nth-child(5) { animation-delay: 4s; background: #70BF54; }
.particle:nth-child(6) { animation-delay: 2.5s; background: #9b59b6; }
.particle:nth-child(7) { animation-delay: 3.5s; background: #e67e22; }
.particle:nth-child(8) { animation-delay: 4.5s; background: #e74c3c; }
.particle:nth-child(9) { animation-delay: 5s; background: #3AA2CA; }

/* Animations */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .service-box-area .section-title h2 {
        font-size: 1.8rem;
    }
    
    .futuristic-card {
        width: 95%;
        max-width: 500px;
        padding: 1rem 1.5rem;
        margin-bottom: 1rem;
        flex-direction: column;
        text-align: center;
        min-height: 140px;
        max-height: 180px;
    }
    
    .futuristic-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 0.5rem auto;
    }
    
    .futuristic-icon i {
        font-size: 1.2rem;
    }
    
    .futuristic-title {
        font-size: 1.1rem;
    }
    
    .futuristic-content {
        text-align: center;
    }
    
    .futuristic-btn {
        margin: 0.5rem auto 0 auto;
        font-size: 0.75rem;
        padding: 6px 16px;
    }
}

/* Special card variants hover effects */
.futuristic-card.variant-1:hover {
    border-color: rgba(112, 191, 84, 0.6);
    /* box-shadow: 
        0 20px 40px rgba(112, 191, 84, 0.3),
        0 0 30px rgba(112, 191, 84, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2); */
    background: linear-gradient(135deg, rgba(112, 191, 84, 0.15), rgba(112, 191, 84, 0.08));
}

.futuristic-card.variant-2:hover {
    border-color: rgba(58, 162, 202, 0.6);
    /* box-shadow: 
        0 20px 40px rgba(58, 162, 202, 0.3),
        0 0 30px rgba(58, 162, 202, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2); */
    background: linear-gradient(135deg, rgba(58, 162, 202, 0.15), rgba(58, 162, 202, 0.08));
}

.futuristic-card.variant-3:hover {
    border-color: rgba(155, 89, 182, 0.6);
    /* box-shadow: 
        0 20px 40px rgba(155, 89, 182, 0.3),
        0 0 30px rgba(155, 89, 182, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2); */
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(155, 89, 182, 0.08));
}

.futuristic-card.variant-4:hover {
    border-color: rgba(230, 126, 34, 0.6);
    /* box-shadow: 
        0 20px 40px rgba(230, 126, 34, 0.3),
        0 0 30px rgba(230, 126, 34, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2); */
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.15), rgba(230, 126, 34, 0.08));
}

.futuristic-card.variant-5:hover {
    border-color: rgba(231, 76, 60, 0.6);
    /* box-shadow: 
        0 20px 40px rgba(231, 76, 60, 0.3),
        0 0 30px rgba(231, 76, 60, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2); */
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(231, 76, 60, 0.08));
}

/* Additional enhancements */
.futuristic-card {
    will-change: transform;
    backface-visibility: hidden;
}

/* Glowing border animation */
.futuristic-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #70BF54, #3AA2CA, #9b59b6, #70BF54);
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: borderGlow 3s linear infinite;
}

.futuristic-card:hover::after {
    opacity: 0.7;
}

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

/* Enhanced icon variants with brand colors */
.futuristic-card.variant-1 {
    background: linear-gradient(135deg, rgba(112, 191, 84, 0.1), rgba(112, 191, 84, 0.05));
    border-color: rgba(112, 191, 84, 0.2);
}

.futuristic-card.variant-1 .futuristic-icon {
    background: linear-gradient(135deg, #70BF54, #5da045);
    box-shadow: 0 0 30px rgba(112, 191, 84, 0.4);
}

.futuristic-card.variant-2 {
    background: linear-gradient(135deg, rgba(58, 162, 202, 0.1), rgba(58, 162, 202, 0.05));
    border-color: rgba(58, 162, 202, 0.2);
}

.futuristic-card.variant-2 .futuristic-icon {
    background: linear-gradient(135deg, #3AA2CA, #2e8bb5);
    box-shadow: 0 0 30px rgba(58, 162, 202, 0.4);
}

.futuristic-card.variant-3 {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(155, 89, 182, 0.05));
    border-color: rgba(155, 89, 182, 0.2);
}

.futuristic-card.variant-3 .futuristic-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad) !important;
    box-shadow: 0 0 30px rgba(155, 89, 182, 0.4);
}

.futuristic-card.variant-4 {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(230, 126, 34, 0.05));
    border-color: rgba(230, 126, 34, 0.2);
}

.futuristic-card.variant-4 .futuristic-icon {
    background: linear-gradient(135deg, #e67e22, #d35400);
    box-shadow: 0 0 30px rgba(230, 126, 34, 0.4);
}

.futuristic-card.variant-5 {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
    border-color: rgba(231, 76, 60, 0.2);
}

.futuristic-card.variant-5 .futuristic-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.4);
}

/* Pulse effect for icons */
.futuristic-icon {
    animation: iconPulse 2s ease-in-out infinite alternate;
}

@keyframes iconPulse {
    0% {
        box-shadow: 0 0 30px rgba(112, 191, 84, 0.5);
    }
    100% {
        box-shadow: 0 0 40px rgba(112, 191, 84, 0.8);
    }
}

/* Text glow effect on hover */
.futuristic-card:hover .futuristic-title {
    animation: textGlow 1.5s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(112, 191, 84, 0.5);
    }
    100% {
        text-shadow: 0 0 20px rgba(112, 191, 84, 0.8), 0 0 30px rgba(112, 191, 84, 0.6);
    }
}

/* Enhanced button with gradient border */
.futuristic-btn {
    position: relative;
    overflow: hidden;
}

.futuristic-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.futuristic-btn:hover::after {
    transform: translateX(100%);
}

/* Improved mobile responsiveness */
@media (max-width: 992px) {
    .futuristic-card {
        margin-bottom: 2rem;
    }
    
    .service-box-area .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .service-box-area {
        padding: 1rem 0.5rem;
    }
    
    .futuristic-card {
        width: 98%;
        padding: 0.8rem 1rem;
        min-height: 120px;
        max-height: 160px;
    }
    
    .futuristic-title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .futuristic-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 1;
    }
    
    .service-box-area .section-title h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }
    
    .futuristic-icon {
        width: 45px;
        height: 45px;
    }
    
    .futuristic-icon i {
        font-size: 1rem;
    }
    
    .futuristic-btn {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
} 