/* Functional Tabs Styles */
.functional-tabs-container {
    padding: 80px 40px;
    border-radius: 30px;
    color: #fff;
}

.functional-tabs-header {
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-pill {
    padding: 12px 30px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tab-pill.active {
    background: #fff;
    color: #3b82f6;
}

.tab-pill:hover:not(.active) {
    background: rgb(39 170 94);
}

.tabs-content {
    background: #fff;
    border-radius: 25px;
    padding: 60px;
    color: #333;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.tab-text {
    flex: 1;
}

.tab-visual {
    flex: 1.2;
}

.tab-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tab-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
}

.tab-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background: #3b82f6;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    gap: 10px;
    transition: background 0.3s ease;
}

.tab-button:hover {
    background: #1F8A4C;
    color: #fff !important;
}

.tab-button .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #3b82f6;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.main-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.main-preview-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    z-index: 5;
}

.video-badge img {
    width: 100%;
}

@media (max-width: 991px) {
    .tab-pane-inner {
        flex-direction: column;
    }

    .section-title {
        font-size: 32px;
    }
}