/* ========================================================
   BGC FOUNDATION - 4 ANIMATED CARDS SECTION (#000000 & #ed2227)
   ======================================================== */

.bgc-features-section {
    background-color: #000000;
    margin-top: -30px; /* Slight overlap with hero section for seamless flow */
    z-index: 5;
}

/* Background Ambient Radial Glow */
.features-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 300px;
    background: radial-gradient(circle, rgba(237, 34, 39, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

/* Feature Card Glassmorphism Base */
.bgc-feature-card {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Card Hover Elevation & 3D Lighting */
.bgc-feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #ed2227;
    background: rgba(28, 28, 28, 0.95);
    box-shadow: 0 20px 45px rgba(237, 34, 39, 0.28);
}

/* Glow Sweep Effect on Hover */
.card-glow-overlay {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(237, 34, 39, 0.12) 0%, rgba(0, 0, 0, 0) 60%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.bgc-feature-card:hover .card-glow-overlay {
    top: -50%;
    left: -50%;
}

/* Icon Container & Pulse Animation */
.feature-icon-wrapper {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #ed2227 0%, #990B0F 100%);
    color: #FFFFFF;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(237, 34, 39, 0.35);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.bgc-feature-card:hover .feature-icon-wrapper {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(237, 34, 39, 0.6);
    background: linear-gradient(135deg, #FF5257 0%, #ed2227 100%);
}

/* Typography */
.feature-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    transition: color 0.3s ease;
}

.bgc-feature-card:hover .feature-title {
    color: #FF5257 !important;
}

.feature-desc {
    font-size: 13.5px;
    line-height: 1.65;
    z-index: 2;
}

/* Animated Bottom Red Accent Bar */
.card-bottom-accent {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ed2227 0%, #FF5257 100%);
    transition: width 0.4s ease;
}

.bgc-feature-card:hover .card-bottom-accent {
    width: 100%;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991.98px) {
    .bgc-features-section {
        margin-top: 0;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    .feature-icon-wrapper {
        width: 62px;
        height: 62px;
        font-size: 24px;
    }
    .feature-title {
        font-size: 18px;
    }
}