.tab-container {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    align-items: flex-start;
}

.tab-buttons {
    width: 260px;
    background: #f8f9fa;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    height: 100%;
    flex-shrink: 0;
}

.tab-button {
    padding: 15px 20px;
    text-align: left;
    border: none;
    background: none;
    font-weight: 600;
    color: #2e2e2e;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.tab-button i {
    color: #4e893f;
}

.tab-button:hover,
.tab-button.active {
    background: #fff;
    border-left: 4px solid #4e893f;
    color: #4e893f;
}

.subtab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.subtab-button {
    padding: 8px 18px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    transition: 0.2s;
}

.subtab-button:hover,
.subtab-button.active {
    background-color: #4e893f;
    color: #fff;
    border-color: #4e893f;
}

.tab-content-area {
    flex-grow: 1;
    padding: 30px;
    min-height: 300px;
    background-color: #fff;
}

.product-card {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

@media (max-width: 768px) {
    .tab-container {
        flex-direction: column;
    }

    .tab-buttons {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .tab-button {
        flex: 1;
        white-space: nowrap;
        border-left: none;
        border-bottom: 4px solid transparent;
    }

    .tab-button.active {
        border-left: none;
        border-bottom: 4px solid #4e893f;
    }
}

#tabContent {
    flex-grow: 1;
    overflow: auto;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
}

/* Section with background */
.vision-section {
    position: relative;
    background: url('img/product/agro-dairy.png') center/cover no-repeat;
    color: white;
    overflow: hidden;
}

.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.vision-container {
    position: relative;
    z-index: 2;
}

.glass-card {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease-in-out;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.icon-wrap {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4E893F, #3b6c2d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(78, 137, 63, 0.3);
}

.icon-wrap i {
    color: #fff;
    font-size: 1.75rem;
}

.glass-card h5 {
    color: #fff;
}

.glass-card p {
    color: #dcdcdc;
}

/*  */
.btn-gradient {
    background: linear-gradient(135deg, #4E893F, #3b6c2d);
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(78, 137, 63, 0.3);
    border: none;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #3b6c2d, #4E893F);
    box-shadow: 0 8px 24px rgba(78, 137, 63, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

.btn-gradient i {
    transition: transform 0.3s ease;
}

.btn-gradient:hover i {
    transform: translateX(4px);
}

/* Optional for consistent box height */
.shadow-sm {
    transition: 0.3s;
}

.shadow-sm:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(78, 137, 63, 0.2);
}