/* Services Showcase Widget Styles (Simplified) */
.services-showcase-widget {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
}

.service-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    padding: 40px 30px;
    background-color: #f8f9fa;
    color: #333333;
    position: relative;
    transition: all 0.3s ease;
}

/* Divider Styles */
.service-divider {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.service-divider-line {
    width: 40px;
    height: 3px;
    background-color: #1e40af;
    border-radius: 2px;
}

.service-divider-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-divider-icon i {
    font-size: 24px;
    color: #1e40af;
}

.service-divider-image {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-divider-image img {
    width: 40px;
    height: auto;
    object-fit: contain;
}

/* Content Styles */
.service-content {
    flex: 1;
    margin-bottom: 25px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
    color: #333333;
}

.service-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    color: #666666;
}

/* Button Styles */
.service-button-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #1e40af;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Button Icon (default state) */
.service-button .button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Button Text (hover state) - initially hidden */
.service-button .button-text {
    position: absolute;
    top:0;
    left:0;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}



 

 

/* Responsive Design */
@media (max-width: 1024px) {
    .services-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-item {
        min-height: 250px;
        padding: 30px 25px;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .service-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .services-showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-item {
        min-height: 220px;
        padding: 25px 20px;
        border-radius: 8px;
    }
    
    .service-title {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .service-description {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .service-divider {
        margin-bottom: 20px;
    }
    
    .service-content {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .service-item {
        min-height: 200px;
        padding: 20px 15px;
    }
    
    .service-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .service-description {
        font-size: 13px;
    }
    
    .service-button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .service-divider-line {
        width: 30px;
        height: 2px;
    }
    
    .service-divider-icon i {
        font-size: 20px;
    }
    
    .service-divider-image img {
        width: 30px;
    }
}

/* Animation Effects */
/*@keyframes fadeInUp {*/
/*    from {*/
/*        opacity: 0;*/
/*        transform: translateY(30px);*/
/*    }*/
/*    to {*/
/*        opacity: 1;*/
/*        transform: translateY(0);*/
/*    }*/
}

.service-item {
    animation: fadeInUp 0.6s ease forwards;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }

/* Focus and Accessibility */
.service-button:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .services-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-item {
        background: white !important;
        color: black !important;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
    
     
}