/* Solutions Grid Section Styles */

.solutions-grid-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--principal);
    transform: translateX(-50%);
}

.section-header p {
    font-size: 18px;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Solution Card */
.solution-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.solution-link {
    display: block;
    height: 100%;
    color: var(--dark-gray);
    text-decoration: none;
}

.solution-link:hover {
    color: var(--dark-gray);
    text-decoration: none;
}

.solution-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.08);
}

.solution-tag {
    position: absolute;
    top: 15px;
    left: 0;
    background-color: var(--principal);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 15px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(239, 58, 67, 0.3);
}

.solution-info {
    padding: 20px;
    background-color: var(--white);
    border-top: 3px solid var(--principal);
}

.solution-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.4;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.solution-card:hover .solution-info h3 {
    color: var(--principal);
}

.service-description {
    text-align: justify;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .solutions-grid-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .solution-image {
        height: 180px;
    }
    
    .solution-info h3 {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .solutions-grid-section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .solution-image {
        height: 160px;
    }
    
    .solution-info {
        padding: 15px;
    }
    
    .solution-info h3 {
        font-size: 15px;
    }
}