/* Modern Blocks - Why Us Section - FINAL HORIZONTAL CENTERED */

.why-us-modern {
    padding: 15px 0;
    background: #f8f9fa;
    font-family: 'Open Sans', sans-serif;
}

.why-us-modern .auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Flex Layout - Centered Grid */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* CENTER ALIGNMENT */
    gap: 20px;
    margin-top: 30px;
}

/* Feature Card Wrapper (Link) */
a.feature-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: calc(33.333% - 14px);
    min-width: 300px;
    flex-grow: 1;
    /* Allow growing to fill center space */
    max-width: 380px;
}

/* Feature Card */
.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    /* Compact padding */
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(156, 46, 54, 0.1);
    border-color: rgba(156, 46, 54, 0.2);
}

/* Header: Icon + Title Horizontal Row */
.feature-header {
    display: flex;
    /* HORIZONTAL */
    align-items: center;
    margin-bottom: 12px;
}

/* Icon */
.feature-icon-wrapper {
    width: 48px;
    /* Compact Size */
    height: 48px;
    background: rgba(156, 46, 54, 0.08);
    border-radius: 50%;
    display: flex;
    /* Centering icon */
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    /* Space Right */
    margin-bottom: 0px;
    /* Reset bottom margin */
    flex-shrink: 0;
    transition: 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: #9c2e36;
    transform: rotate(15deg);
}

.feature-icon {
    font-size: 20px;
    color: #9c2e36;
    transition: 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: #ffffff;
}

/* Typography */
.feature-title {
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

.feature-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Tooltip / Extra Info */
.feature-extra {
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
    font-size: 13px;
    color: #777;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-extra {
    opacity: 1;
    max-height: 200px;
    margin-top: 12px;
    padding-top: 12px;
    border-top-color: #eee;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    a.feature-card-link {
        width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    a.feature-card-link {
        width: 100%;
        max-width: none;
    }
}