/* Enhanced "What We Do" Section - 2×2 Grid */
.services-section {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); */
    position: relative;
    overflow: hidden;
}

.services-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-card-2x2 {
    background: rgba(255, 255, 255, 0.95);
    z-index: 2;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 35px rgba(10, 36, 99, 0.1);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(10, 36, 99, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.service-card-2x2:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 25px 50px rgba(10, 36, 99, 0.2);
    border-color: var(--accent-gold);
}

.service-card-2x2:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-2x2:hover:before {
    opacity: 1;
}

.service-icon-container-2x2 {
    width: 80px;
    height: 80px;
    /* background: linear-gradient(135deg, var(--primary-blue), #1a3a8a); */
    border: 1px solid gray;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.service-icon-container-2x2:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
}

.service-card-2x2:hover .service-icon-container-2x2:before {
    animation: shine 0.8s ease;
}

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

.service-icon-2x2 {
    font-size: 2.2rem;
    color: white;
    width: 100% ;
    height: 100% ;
    object-fit: cover;
}

.service-card-2x2 h4 {
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-size: 1.5rem;
    min-height: 3.5rem;
}

.service-card-2x2 p {
    color: var(--text-gray);
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.7;
}

.service-tags-2x2 {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.service-tag-2x2 {
    padding: 6px 14px;
    background: rgba(10, 36, 99, 0.05);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-card-2x2:hover .service-tag-2x2 {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
}

.service-number-2x2 {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(10, 36, 99, 0.05);
    line-height: 1;
    opacity: 0.5;
    z-index: 0;
}

.service-card-2x2:hover .service-number-2x2 {
    opacity: 0.2;
}

/* Responsive adjustments for 2×2 grid */
@media (max-width: 992px) {
    .services-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 600px;
    }

    .service-card-2x2 {
        padding: 40px 30px;
    }

    .service-card-2x2 h4 {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .services-grid-2x2 {
        gap: 25px;
    }

    .service-card-2x2 {
        padding: 35px 25px;
    }

    .service-icon-container-2x2 {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }

    .service-icon-2x2 {
        font-size: 2rem;
    }

    .service-number-2x2 {
        top: 25px;
        right: 25px;
        font-size: 3rem;
    }
}