/* Custom Services Tabs Styles */
.service-category-tabs {
    margin-bottom: 40px;
    z-index: 10;
    position: relative;
}

.service-tab-btn {
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.1);
    background: #fff;
    color: #061153;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-tab-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.service-tab-btn.active {
    background: #1053f3; /* Theme color */
    color: #fff;
    border-color: #1053f3;
    box-shadow: 0 10px 20px rgba(16, 83, 243, 0.2);
}

.service-tab-content {
    display: none;
    width: 100%;
}

.service-tab-content.active {
    display: block;
    animation: serviceFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes serviceFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Ensure the cards look good in the grid */
.service-tab-content .row {
    margin-bottom: 0;
}

.tv-service-single-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff !important; /* Force white background for cards */
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.tv-service-single-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 83, 243, 0.1);
    border-color: rgba(16, 83, 243, 0.2) !important;
}

.tv-service-single-box .inner-box {
    flex-grow: 1;
}

.tv-service-single-box .inner-box .title {
    color: #061153 !important; /* Dark navy for titles */
}

.tv-service-single-box .inner-box .text {
    color: #4b5563 !important; /* Muted gray for descriptions */
    font-size: 15px;
    line-height: 1.6;
}

.tv-service-single-box .inner-box .theme-btn {
    color: #1053f3 !important; /* Theme color for button text */
    border-color: rgba(16, 83, 243, 0.2) !important;
    background: transparent !important;
}

.tv-service-single-box .inner-box .theme-btn .link-effect .effect-1,
.tv-service-single-box .inner-box .theme-btn .link-effect span,
.tv-service-single-box .inner-box .theme-btn i {
    color: #1053f3 !important;
}

.tv-service-single-box:hover .inner-box .theme-btn {
    color: #fff !important;
    background: #1053f3 !important;
    border-color: #1053f3 !important;
}

.tv-service-single-box:hover .inner-box .theme-btn .link-effect .effect-1,
.tv-service-single-box:hover .inner-box .theme-btn .link-effect span,
.tv-service-single-box:hover .inner-box .theme-btn i {
    color: #fff !important;
}

.tv-service-single-box .inner-box .border2 {
    background-color: rgba(0,0,0,0.08) !important;
}

/* RTL Support for tabs */
[dir="rtl"] .service-tab-btn {
    font-family: 'Noto Sans Arabic', sans-serif;
}

/* Service Icon Styles */
.tv-service-single-box .inner-box .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #f0f4ff;
    border-radius: 50%;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.tv-service-single-box .inner-box .icon i {
    font-size: 32px;
    color: #1053f3;
    transition: all 0.4s ease;
}

.tv-service-single-box:hover .inner-box .icon {
    background: #1053f3;
}

.tv-service-single-box:hover .inner-box .icon i {
    color: #fff;
}
