/* Professional Our Solutions Section Styling */

.services-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 66, 114, 0.1), transparent);
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.services-header .section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    padding: 8px 20px;
    background: rgba(20, 66, 114, 0.1);
    border-radius: 30px;
}

.services-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.services-header h2 .highlight {
    color: var(--secondary-color);
    position: relative;
}

.services-header h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--logo-yellow), var(--logo-turquoise));
    border-radius: 2px;
}

.services-header p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* Services Grid - Professional Card Layout */
.services-showcase .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-showcase .service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    aspect-ratio: auto;
    width: auto;
    margin: 0;
}

.services-showcase .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--highlight));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-showcase .service-card:hover::before {
    transform: scaleX(1);
}

.services-showcase .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(20, 66, 114, 0.15);
    border-color: var(--secondary-color);
}

/* Service Icon Styling */
.services-showcase .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--highlight));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.services-showcase .service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-showcase .service-card:hover .service-icon::before {
    transform: translate(-50%, -50%) scale(2);
}

.services-showcase .service-icon i {
    font-size: 2rem;
    color: #ffffff;
    z-index: 1;
    position: relative;
}

.services-showcase .service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(20, 66, 114, 0.3);
}

/* Service Card Content */
.services-showcase .service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.services-showcase .service-card>p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-left: 0;
    line-height: 1.5;
}

.service-features li i {
    color: #28a745;
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Service Link Button */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 0;
    border-top: 1px solid #eee;
    margin-top: auto;
    transition: all 0.3s ease;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--highlight);
    gap: 12px;
}

.service-link:hover i {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-showcase .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .services-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .services-showcase {
        padding: 60px 0;
    }

    .services-showcase .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services-header h2 {
        font-size: 1.75rem;
    }

    .services-header p {
        font-size: 1rem;
    }

    .services-showcase .service-card {
        padding: 30px 25px;
    }

    .services-showcase .service-icon {
        width: 60px;
        height: 60px;
    }

    .services-showcase .service-icon i {
        font-size: 1.75rem;
    }

    .services-showcase .service-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .services-showcase {
        padding: 40px 0;
    }

    .services-header h2 {
        font-size: 1.5rem;
    }

    .services-showcase .service-card {
        padding: 25px 20px;
    }

    .service-features li {
        font-size: 0.9rem;
    }
}

/* Animation on scroll (optional enhancement) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-showcase .service-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.services-showcase .service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.services-showcase .service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.services-showcase .service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.services-showcase .service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.services-showcase .service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.services-showcase .service-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .services-showcase .service-card {
        animation: none;
    }
}