/* Main Wrapper */
.rfv-about-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.rfv-about-left {
    flex: 1;
    min-width: 300px;
}

.rfv-about-right {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Typography & Titles */
.rfv-subtitle {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.rfv-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

/* Tabs Navigation */
.rfv-tab-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #eee;
}

.rfv-tab-link {
    cursor: pointer;
    padding-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    color: #666;
    transition: color 0.3s;
}

.rfv-tab-link.active {
    color: #000;
}

.rfv-tab-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: transparent;
    transition: width 0.3s;
}

.rfv-tab-link.active::after {
    width: 100%;
    /* Background color set by Elementor control */
}

/* Tab Content */
.rfv-tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.rfv-tab-content.active {
    display: block;
}

.rfv-tab-desc {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
    font-size: 15px;
}

.rfv-tab-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rfv-list-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #333;
}

.rfv-list-item i {
    /* Color set by Elementor control */
}

/* Images Section */
.rfv-image-group {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.rfv-main-img img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.rfv-sec-img {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    border: 5px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rfv-sec-img img {
    width: 100%;
    display: block;
}

/* Decorative Dots */
.rfv-shape-dots {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#1ab69d 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: -1;
    opacity: 0.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .rfv-about-wrapper {
        flex-direction: column-reverse;
        /* Images on top usually look better or stick to standard stacking */
    }

    .rfv-sec-img {
        width: 150px;
        bottom: -20px;
        left: -10px;
    }

    .rfv-tab-nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .rfv-tab-link {
        font-size: 15px;
        padding-bottom: 5px;
    }
}