.service-form-container {
    display: flex;
    // flex-wrap: wrap;
    // gap: 30px;
    overflow-x: auto; //for scrolling
    // justify-content: flex-start;
    padding: 15px;
    box-sizing: border-box;
    display: block;
    height: 100vh;
    overflow-x: hidden;
}

/* Card */
.sr-card {
    width: 350px;
    // max-width: 460px;
    height: 195px;
    gap: 20px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid hsl(240 5% 84%);
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* stack content vertically */

}



/* Title */
.sr-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    min-width: 30px;
    display: inline-flex;
    align-items: center;
    gap: 50px;
    color: #2563eb;
}

/* Badge */
.sr-badge {
    display: inline-flex;
    align-items: center;
    width: 75px;
    height: 20px;
    padding: 0 8px;
    font-size: 12px;
    background: hsl(240 4.8% 95%);
    color: black;
    border-radius: 10px;
    border: 1px solid hsl(240 5% 84%);
    white-space: nowrap;
    overflow: hidden;
}

/* Subtext */
.sr-subtext {
    font-size: 0.875rem;
    color: hsl(240 5% 46%);
    margin: 0;
}

// All cards style 
.srcardstyle {
    // width: 70%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    padding: 10px;
    box-sizing: border-box;
    flex-direction: row;
}


.reqservicebtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* full width of the card */
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    background-color: #3b82f6;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.reqservicebtn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px);
}

.submitrequestbtn {
    background-color: #3b82f6;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #ffffff;
}

.submitrequestbtn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px);
}





.tabs-container {
    width: 100%;
    // margin-top: 1rem;
}

.tabs-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 tabs */
    width: 100%;
    background-color: #f8fafc;
    /* light gray */
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2px;
    // margin-bottom: 1.25rem;
}

.tab-trigger {
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: #64748b;
    /* slate-500 */
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.tab-trigger:hover {
    background-color: #e2e8f0;
    /* slate-200 */
    color: #334155;
    /* slate-700 */
}

.tab-trigger.active {
    background-color: #ffffff;
    color: #0f172a;
    /* slate-900 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Optional: add subtle border to separate tabs */
.tab-trigger+.tab-trigger {
    border-left: 1px solid rgba(226, 232, 240, 0.6);
}

.tab-content {
    padding: 1rem 0;
}

.tab-icon {
    font-size: 1rem;
    margin-right: 0.25rem;
    opacity: 0.8;
    vertical-align: middle;
}

.tab-trigger.active .tab-icon {
    opacity: 1;
}

/* Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* semi-transparent dark */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in;
}

/* Lightbox Content */
.lightbox-content {
    position: relative;
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    max-width: 845px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.3s ease-in;
}

/* Close icon */
.closeicon {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    color: #555;
    transition: color 0.2s ease;
}

.closeicon:hover {
    color: #000;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Optional: form container padding */
.form-container {
    margin-top: 24px;
}

.sr-wrapper {
    // width: 360px;
    // max-width: 460px;
    width: 100%;
    gap: 20px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid hsl(240 5% 84%);
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}