/* Modern Services Section CSS */
.modern-services-area {
    padding: 120px 0 80px;
    background: #f8fafc;
}

.services-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-header-section {
    text-align: center;
    margin-bottom: 60px;
}

.services-subtitle {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.services-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0;
    line-height: 1.2;
}

.services-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card-box {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.service-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
}

.service-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 20px;
    opacity: 0.2;
    transform: scale(1.2);
    z-index: -1;
}

.service-icon-wrapper i {
    font-size: 2.2rem;
    color: white;
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-card-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-card-title a:hover {
    color: #2563eb;
}

.service-card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 25px;
}

.service-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2563eb;
    color: white !important;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-contact-link:hover {
    background: #1e40af;
    transform: translateX(5px);
    color: white;
    text-decoration: none;
}

.service-contact-link i {
    font-size: 1rem;
}

/* Service Card Variations */
.service-card-box:nth-child(1) .service-icon-wrapper {
    background: linear-gradient(135deg, #10b981, #059669);
}

.service-card-box:nth-child(1) .service-icon-wrapper::after {
    background: linear-gradient(135deg, #10b981, #059669);
}

.service-card-box:nth-child(1):hover {
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.service-card-box:nth-child(2) .service-icon-wrapper {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.service-card-box:nth-child(2) .service-icon-wrapper::after {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.service-card-box:nth-child(2):hover {
    border-color: #f59e0b;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

.service-card-box:nth-child(3) .service-icon-wrapper {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.service-card-box:nth-child(3) .service-icon-wrapper::after {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.service-card-box:nth-child(3):hover {
    border-color: #8b5cf6;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.service-card-box:nth-child(4) .service-icon-wrapper {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.service-card-box:nth-child(4) .service-icon-wrapper::after {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.service-card-box:nth-child(4):hover {
    border-color: #ef4444;
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.15);
}

.service-card-box:nth-child(5) .service-icon-wrapper {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.service-card-box:nth-child(5) .service-icon-wrapper::after {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.service-card-box:nth-child(5):hover {
    border-color: #06b6d4;
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.service-card-box:nth-child(6) .service-icon-wrapper {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.service-card-box:nth-child(6) .service-icon-wrapper::after {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.service-card-box:nth-child(6):hover {
    border-color: #ec4899;
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.15);
}

@media (max-width: 768px) {
    .services-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-main-title {
        font-size: 2.2rem;
    }
    
    .service-card-box {
        padding: 30px 20px;
    }
}