/* ==========================================================================
   TNB BIOSECURITY SERVICES SECTION
   ========================================================================== */
.tnb-service-page {
    padding: 100px 0;
    background-color: #F8FAFD;
}

.tnb-sp-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 70px auto;
}

.tnb-sp-header .sub-title {
    color: #3764EB;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.tnb-sp-header .title {
    color: #142441;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.tnb-sp-header p {
    color: #6B778C;
    font-size: 17px;
    line-height: 1.8;
}

/* Service Grid Layout */
.tnb-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Service Card Design */
.tnb-svc-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 45px 35px;
    position: relative;
    border: 1px solid #EAEFEF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Animated Bottom Border on Hover */
.tnb-svc-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #3764EB;
    transition: width 0.4s ease;
}

.tnb-svc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(55, 100, 235, 0.08);
    border-color: transparent;
}

.tnb-svc-card:hover::after {
    width: 100%;
}

/* Service Icon */
.tnb-svc-icon {
    width: 75px;
    height: 75px;
    background: rgba(55, 100, 235, 0.05);
    color: #3764EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.tnb-svc-card:hover .tnb-svc-icon {
    background: #3764EB;
    color: #FFFFFF;
    transform: scale(1.1);
}

/* Service Typography */
.tnb-svc-title {
    color: #142441;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Arimo', sans-serif;
    margin-bottom: 15px;
}

.tnb-svc-desc {
    color: #6B778C;
    font-size: 15px;
    line-height: 1.7;
    flex-grow: 1;
    /* Pushes content down to align evenly */
}