/* Modern Services Page Styles */

/* Service Card Modern */
.service-card-modern {
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card-modern:hover {
    transform: translateY(-10px);
}

.service-card-modern .icon {
    width: 70px;
    height: 70px;
    background: rgba(41, 121, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 30px;
    color: #2979ff;
    transition: all 0.4s ease;
}

.service-card-modern:hover .icon {
    background: linear-gradient(135deg, #2979ff 0%, #00e5ff 100%);
    color: white;
    transform: rotateY(180deg);
    box-shadow: 0 10px 25px rgba(41, 121, 255, 0.4);
}

.service-card-modern h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card-modern p {
    margin-bottom: 25px;
    opacity: 0.8;
}

.service-card-modern .read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #2979ff;
    transition: all 0.3s ease;
}

.service-card-modern .read-more i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.service-card-modern:hover .read-more {
    color: #00e5ff;
}

.service-card-modern:hover .read-more i {
    margin-left: 12px;
}

/* Service Page Hero */
.services-hero-modern {
    background: radial-gradient(circle at center, #1a237e 0%, #000000 100%);
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
}

/* CTA Section */
.service-cta-area {
    background: linear-gradient(45deg, #000000 0%, #1a1a1a 100%);
    position: relative;
}

/* Ensure text is dark on white glass cards if we use white background mode, 
   but for "NextGen" we likely want Dark Mode cards. 
   If we use dark mode cards: */
/* Dark Mode Glass Card */
.glass-card-dark {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.glass-card-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(41, 121, 255, 0.5);
    box-shadow: 0 15px 40px rgba(41, 121, 255, 0.15);
    transform: translateY(-5px);
}

.glass-card-dark h3 a {
    color: white;
    transition: color 0.3s ease;
}

.glass-card-dark:hover h3 a {
    color: #2979ff;
    text-decoration: none;
}


/* Override for light sections if needed */
.bg-white .service-card-modern {
    color: #1a1a1a;
}