/* --- CONTAINER --- */
.tsc-container {
    width: 100%;
    position: relative;
}

/* --- 1. FILTER TABS (Pill Style) --- */
.tsc-filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.tsc-tab-btn {
    background: transparent;
    border: 1px solid #AD3048; /* Main Color */
    color: #333;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    outline: none;
}

.tsc-tab-btn:hover {
    background: #f4f1ff;
    border-color: #6c5ce7;
}

.tsc-tab-btn.active {
    background: #AD3048;
    color: white !important;
    box-shadow: 0 4px 12px rgba(123, 104, 238, 0.4);
    border-color: #AD3048;
}

/* --- 2. SLIDER CARD --- */
.tsc-service-card {
    text-align: center;
    cursor: pointer;
    user-select: none;
    padding: 5px;
}

.tsc-card-box {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 10px;
    height: 140px; /* Default Height */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #fff;
    position: relative;
}

.tsc-card-box i { font-size: 40px; transition: transform 0.4s ease; }
.tsc-card-box svg { width: 72px; transition: transform 0.4s ease; }

.tsc-card-title {
    color: #AD3048;
    font-weight: 600;
    font-size: 16px;
    margin-top: 5px;
}

/* Hover Effects */
.tsc-service-card:hover .tsc-card-box {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #AD3048;
}

/* Horizontal Flip on Hover */
.tsc-service-card:hover .tsc-card-box i,
.tsc-service-card:hover .tsc-card-box svg {
    transform: scaleX(-1);
}

/* --- 3. UTILITIES --- */
.swiper-slide.tsc-hidden {
    display: none !important;
}
.tsc-container .swiper-pagination {
    position: relative !important;
    margin-top: 20px !important;
}
/* arrow css */
/* Container for the slider and arrows */
.tsc-swiper-inner {
    position: relative;
    padding: 0 50px; /* Gives room for arrows on the sides */
}

.tsc-swiper {
    position: static; /* Allows arrows to reference the 'inner' wrapper */
}

.swiper-button-prev,
.swiper-button-next {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    
    /* Perfect Vertical Centering */
    top: 40% !important; /* Adjust this % until it sits center of your red boxes */
    transform: translateY(-50%);
    margin-top: 0;
    transition: all 0.3s ease;
}

/* Hover effect for professional feel */
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #c62828;
}

/* Positioning */
.swiper-button-prev { left: 0; }
.swiper-button-next { right: 0; }

/* Arrow Size & Style */
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px;
    color: #c62828;
    font-weight: bold;
}