/* Flex Layout Container */
.frb-container {
    display: flex;
    flex-direction: row;
    align-items: center;  /*Center vertically */
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.frb-content {
    flex: 1;
    min-width: 300px; /* Prevent shrinking too much */
}

.frb-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px; /* Keep card contained */
    margin: 0 auto; /* Center if wraps */
    text-align: center;
    box-sizing: border-box;
}

/* Heading */
.frb-heading {
    margin-bottom: 30px;
    line-height: 1.3;
}

/* List Items */
.frb-list {
    display: flex;
    flex-direction: column;
}

.frb-list-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.frb-list-icon {
    flex-shrink: 0;
    margin-top: 3px; /* Align icon with first line of text */
    font-size: 20px;
}

.frb-list-text {
    line-height: 1.5;
}

/* Card Styling */
.frb-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.frb-card-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 10px;
}

.frb-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.frb-card-desc {
    color: #666;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.5;
    max-width: 80%; /* Constrain width for better readability */
}

/* Button */
.frb-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.frb-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 767px) {
    .frb-container {
        flex-direction: column;
        gap: 40px !important; /* Override gap control on mobile if needed */
    }
    
    .frb-content, .frb-card {
        width: 100%;
        max-width: 100%;
    }

    .frb-heading {
        font-size: 24px;
    }
}
