/* Bottom Features Section CSS - Extracted from home.css */
/* This file contains ONLY Bottom Features section styles */
/* Animation updated to match Features Grid Section */

/* --- SECTION 10: BOTTOM FEATURES (Big Pop-Up Animation) --- */
body.home-page .bottom-features-section {
    background: var(--footer-beige);
    padding: 80px 0;
    width: 100%;
}

body.home-page .bottom-features-container {
    width: 95%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

body.home-page .bf-item {
    text-align: center;
    padding: 30px 20px 20px; 
    border-radius: 12px;
    background-color: #f8f7f3;
    margin-top: 75px;
    position: relative;
    transition: all 0.3s ease;
    overflow: visible; 
}

/* Card lift on hover - matches Features Grid */
body.home-page .bf-item:hover {
    transform: translateY(-5px);
}

body.home-page .bf-icon {
    font-size: 32px;
    width: 80px;
    height: 80px;
    background: #fff;
    color: var(--primary-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -40px; 
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

/* Icon animation on hover - matches Features Grid style */
/* Icon grows, lifts up with transform, and gets shadow */
body.home-page .bf-item:hover .bf-icon {
    width: 100px;
    height: 100px;
    font-size: 40px;
    /* Use transform for smooth lift animation instead of top position */
    transform: translateX(-50%) translateY(-20px);
    /* Subtle shadow like Features Grid */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    /* Keep the color change for visual distinction */
    background: var(--primary-brown);
    color: #fff;
}

body.home-page .bf-item h4 {
    font-size: 14px;
    color: var(--dark-brown);
    margin-top: 40px;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.home-page .bf-item p {
    font-size: 13px;
    color: #6b5b4b;
    line-height: 1.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    body.home-page .bottom-features-container { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    body.home-page .bottom-features-container { 
        grid-template-columns: 1fr; 
    }
}

