/* Footer Features Section - Exact Flex Template Style */
#features-footer {
    padding: 80px 0 60px;
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
}

.ff-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Main 3-Column Grid */
.ff-content-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* Center-align all columns vertically */
    justify-content: space-between;
}

/* ===== LEFT COLUMN: Horizontal Tabs at Top + Content Below ===== */
.ff-tabs-col {
    width: 33%;
    padding-right: 30px;
}

/* HORIZONTAL tabs row at top */
.ff-tabs-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 25px;
}

.ff-tab-item {
    cursor: pointer;
}

.ff-tab-button {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 2px solid transparent;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: transparent;
    white-space: nowrap;
}

.ff-tab-button:hover {
    color: #22a9e1;
}

/* Active tab - BLUE border and text (NOT filled) */
.ff-tab-item.active .ff-tab-button {
    background-color: transparent;
    color: #22a9e1;
    box-shadow: inset 0 0 0 1px #22a9e1;
    border-color: transparent;
}

.ff-tab-icon {
    margin-right: 8px;
    font-size: 14px;
}

/* Tab Content Panel - description below tabs */
.ff-tab-content {
    padding: 0;
}

.ff-desc-text {
    font-size: 14px;
    line-height: 1.9;
    color: #666;
    text-align: left;
}

/* ===== CENTER COLUMN: Icon + Rotating Text ===== */
.ff-center-col {
    width: 34%;
    text-align: center;
    padding: 0 20px;
}

.ff-center-icon-wrapper {
    width: 160px;
    height: 160px;
    border: 2px solid #ffc5c5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px; /* Reset margin - columns now align at top */
    background-color: rgba(255, 240, 238, 0.4);
}

.ff-center-icon {
    font-size: 70px;
    color: #38b2e4;
    line-height: 1;
}

.ff-center-title {
    font-size: 26px;
    color: #333;
    font-weight: 300;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.4;
}

.ff-center-title .txt-rotate {
    color: #38b2e4;
    font-weight: 400;
}

/* Typewriter cursor for rotating text */
.ff-center-title .txt-rotate .wrap {
    border-right: 2px solid #38b2e4;
    padding-right: 3px;
}

.ff-center-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #888;
    max-width: 400px;
    margin: 0 auto;
}

/* ===== RIGHT COLUMN: Device Image ===== */
.ff-image-col {
    width: 33%;
    text-align: right;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.ff-image {
    max-width: 100%;
    max-height: 400px;
    height: auto;
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .ff-content-area {
        flex-direction: column;
        align-items: center;
    }
    
    .ff-tabs-col,
    .ff-center-col, 
    .ff-image-col {
        width: 100%;
        max-width: 500px;
        margin-bottom: 40px;
        padding: 0;
        text-align: center;
    }
    
    .ff-tabs-row {
        justify-content: center;
    }
    
    .ff-desc-text {
        text-align: center;
    }
    
    .ff-image-col {
        justify-content: center;
    }
    
    .ff-center-icon-wrapper {
        width: 140px;
        height: 140px;
    }
    
    .ff-center-icon {
        font-size: 55px;
    }
}

@media (max-width: 576px) {
    .ff-tab-button {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .ff-center-title {
        font-size: 22px;
    }
    
    #features-footer {
        padding: 50px 0;
    }
}
