.services-container {
    background: linear-gradient(135deg, #e3f2fd, #fce4ec);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    /* min-height: 100vh; */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 1rem;
}

.service-vertical-tabs {
    background: #fff;
    max-width: 1000px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 255, 0, 0.15),
        0 8px 10px rgb(0 0 0 / 0.05);
    display: flex;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.service-vertical-tabs:hover {
    box-shadow: 0 25px 40px rgba(0, 255, 42, 0.25),
        0 15px 20px rgb(0 0 0 / 0.1);
}

h2.section-title {
    width: 100%;
    text-align: center;
    padding: 2rem 0 1rem;
    font-weight: 800;
    font-size: 2.4rem;
    color: #40ab49;
    /* darkish blue */
    text-shadow: 0 3px 8px rgba(21, 192, 29, 0.3);
    user-select: none;
}

/* Nav tabs vertical styling */
.nav-tabs {
    flex-direction: column;
    overflow: hidden;
    border-radius: 0 0 0 20px;
    border-right: none;
    padding: 1rem 0.5rem;
    width: 100%;
    background: linear-gradient(180deg, #e2ffe0, #bbfbc2);
    box-shadow: inset -4px 0 15px rgb(0 0 0 / 0.05);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #90f9a8 transparent;
    gap: 0.25rem;
}

/* Scrollbar styling for Webkit */
.nav-tabs::-webkit-scrollbar {
    width: 8px;
}

.nav-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.nav-tabs::-webkit-scrollbar-thumb {
    background-color: #90caf9;
    border-radius: 4px;
    border: 2px solid transparent;
}

.nav-tabs .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    border-radius: 12px 0 0 12px;
    padding: 1.1rem 1.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease,
        box-shadow 0.3s ease, transform 0.3s ease;
    user-select: none;
    position: relative;
}

.nav-tabs .nav-link:hover {
    background-color: #ffffff;
    color: #1ca10d;
    transform: translateX(8px);
    box-shadow: 3px 4px 12px rgb(32 192 21 / 30%);
    z-index: 2;
}

.nav-tabs .nav-link i {
    font-size: 1.6rem;
    color: #0d47a1;
    transition: color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    filter: drop-shadow(0 0 1px rgb(13 71 161 / 0.3));
}

.nav-tabs .nav-link.active {
    background-color: #40ab49;
    color: #e7fde3;
    box-shadow: 4px 0 20px rgb(21 192 46 / 60%);
    font-weight: 800;
    transform: translateX(12px);
    z-index: 3;
    width: 100%;
}

.nav-tabs .nav-link.active i {
    color: #bbfbc4;
    transform: scale(1.3) rotate(5deg);
    filter: drop-shadow(0 0 5px rgb(255 255 255 / 0.7));
}

/* Tab content styling */
.tab-content {
    flex-grow: 1;
    padding: 2.75rem 3rem;
    background: #fefefe;
    border-radius: 0 20px 20px 0;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #34495e;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    min-height: 300px;
    overflow-wrap: break-word;
    box-shadow: inset 0 0 15px rgb(0 0 0 / 0.02);
    /* subtle fade in animation */
    animation: fadeInContent 0.4s ease forwards;
}

.tab-content img{
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 5px 5px 15px #000;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .service-vertical-tabs {
        flex-direction: column;
        border-radius: 20px;
        box-shadow: 0 15px 30px rgba(0, 255, 34, 0.1);
    }

    h2.section-title {
        font-size: 1.9rem;
        padding-bottom: 1.25rem;
    }

    .nav-tabs {
        flex-direction: row;
        width: 100%;
        border-radius: 20px 20px 0 0;
        border-right: none;
        box-shadow: inset 0 -4px 15px rgb(0 0 0 / 0.05);
        padding: 0.25rem 0.3rem;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: #90caf9 transparent;
        gap: 0.4rem;
    }

    .nav-tabs .nav-link {
        border-radius: 20px 20px 0 0;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        transform: translateX(0);
    }

    .nav-tabs .nav-link:hover {
        background-color: #bbdefb;
        color: #0d47a1;
        transform: translateY(-4px);
        box-shadow: 0 6px 12px rgb(21 101 192 / 0.3);
        z-index: 3;
    }

    .nav-tabs .nav-link.active {
        box-shadow: inset 0 -6px 0 #15c036;
        background-color: transparent;
        transform: translateY(-6px);
    }

    .nav-tabs .nav-link i {
        font-size: 1.2rem;
    }

    .tab-content {
        padding: 2rem 1.5rem 2.75rem 1.5rem;
        min-height: auto;
        font-size: 1.1rem;
        border-radius: 0 0 20px 20px;
        box-shadow: inset 0 3px 7px rgb(0 0 0 / 0.03);
    }
}