/* ==================== OUR SERVICES SECTION STYLING ==================== */
.srv-services-section {
    background-color: #f8fafc;
    padding: 50px 20px;
    font-family: inherit;
    box-sizing: border-box;
}

.srv-services-section *, 
.srv-services-section *::before, 
.srv-services-section *::after {
    box-sizing: border-box;
}

.srv-container {
    max-width: 1200px;
    margin: 0 auto;
}

.srv-section-header {
    text-align: center;
    margin-bottom: 30px;
}

.srv-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.srv-sub-title {
    font-size: 15px;
    color: #64748b;
}

.srv-category-wrap {
    margin-bottom: 25px;
}

.srv-category-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    display: inline-block;
    padding-bottom: 6px;
    border-bottom: 2.5px solid #7c3aed;
}

/* Cards Grid (Desktop: 4 columns) */
.srv-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
    min-height: 320px;
}

/* Card Item Styling & Floating Animation */
.srv-card-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
    
    /* কার্ডগুলোর ওপর-নিচ ভাসমান অ্যানিমেশন (Floating Animation) */
    animation: srvCardFloat 4s ease-in-out infinite;
}

.srv-card-item:hover {
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.12);
    border-color: #d8b4fe;
}

/* Staggered Delay যাতে কার্ডগুলো আলাদা সময়ে দোলে */
.srv-card-item:nth-child(1) { animation-delay: 0s; }
.srv-card-item:nth-child(2) { animation-delay: 0.6s; }
.srv-card-item:nth-child(3) { animation-delay: 1.2s; }
.srv-card-item:nth-child(4) { animation-delay: 1.8s; }

@keyframes srvCardFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
    100% { transform: translateY(0px); }
}

.srv-img-box {
    width: 100%;
    height: 230px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.srv-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.srv-card-item:hover .srv-img-box img {
    transform: scale(1.05);
}

.srv-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    padding: 18px;
    margin: 0;
    border-top: 1px solid #f1f5f9;
}

/* Pagination Bar */
.srv-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.srv-page-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.srv-page-btn:hover {
    border-color: #7c3aed;
    color: #7c3aed;
}

.srv-page-btn.active {
    background: linear-gradient(135deg, #7c3aed 0%, #a21caf 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

