/* Text Only Service Cards - Orange & Black Theme */
.services-text-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.services-tab{
    background-color: #989C9F;
    color: #fff;
    font-size: 12px;
    text-align: center;
    padding-top: .9em;
    padding-bottom: 0.9em;
    margin-bottom: 12px;
    width: 141px;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .services-text-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-text-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-text-grid {
        grid-template-columns: 1fr;
    }
}

.service-text-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.service-text-card:hover {
    /*transform: translateY(-5px);*/
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.service-text-card-inner {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}

.service-text-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 140, 0, 0.4);
}

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

.service-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-category-text {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-title-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: #2c3e50;
}

.service-title-text a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title-text a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.service-description-text {
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 0.9rem;
    flex: 1;
}

.service-text-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Badge positioning only - using Bootstrap default styles */

/* Services Header Styles */
.services-section .services-header {
    margin-bottom: 3rem;
}

.services-section .services-tab {
    display: inline-block;
    margin-bottom: 1rem;
}

/* services-tab-badge uses default styles - no custom styling */

.services-section .services-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.services-section .services-description {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    line-height: 1.6;
}

.widget-more{
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.widget-more img {
    filter: brightness(0) saturate(100%) invert(72%) sepia(48%) saturate(1120%) hue-rotate(0deg) brightness(102%) contrast(102%);
}

.widget-more:hover {
    color: var(--color-black);
}
.widget-more:hover img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(91%) saturate(749%) hue-rotate(358deg) brightness(95%) contrast(92%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-section .services-main-title {
        font-size: 2rem;
    }

    .service-text-card {
        min-height: 180px;
    }

    .service-text-card-inner {
        padding: 1rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }

    .service-icon i {
        font-size: 1.2rem;
    }

    .service-title-text {
        font-size: 1rem;
    }
}
