.online-image {
    height: 300px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 2rem;
}
.online-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.online-section-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.nav-tabs {
    border-bottom: 0;
}

.nav-tabs .nav-link.active {
    background-color: transparent;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
}
.nav-tabs .nav-link:hover {
    border: 1px solid var(--primary-color);
    border-radius: 10px;
}
.nav-tabs .nav-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
    background-color: transparent;
    border: 1px solid #f2f2f2;
    border-radius: 10px;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.25);
}

.second-tap .nav-link {
    display: block; /* ensures full width */
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c !important;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
    border: 1px solid #f2f2f2;
    border-radius: 10px;
}
.second-tap .nav-link.active {
    background-color: #fff;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.25);
}
.second-tap .nav-link:hover {
    color: #2c2c2c !important;
    border: 1px solid var(--primary-color);
}
.left-content {
    padding-left: 4rem; /* optional: spacing between tabs and content */
}
.online-card {
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.25);
    border-radius: 22px;
    border: 1px solid #cacaca;
}

@media (max-width: 768px) {
    .left-content {
        padding-left: 0rem; /* optional: spacing between tabs and content */
    }
    .online-image {
        height: 100%;
        width: 100%;
        object-fit: contain;
        margin-bottom: 2rem;
    }
    .online-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
@media (max-width: 576px) {
    .left-content {
        padding-left: 0rem; /* optional: spacing between tabs and content */
    }
    .online-image {
        height: 100%;
        width: 100%;
        object-fit: contain;
        margin-bottom: 2rem;
    }
    .online-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
