/* Feature Boxes Section Styles */

.feature-boxes-section {
    padding: 30px 0;
    background-color: #fff;
}

.feature-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.feature-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 200px;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Background images for features */
.bg-feature1 {
    background-image: url('../images/feature1.jpg');
}

.bg-feature2 {
    background-image: url('../images/feature2.jpg');
}

.bg-feature3 {
    background-image: url('../images/feature3.jpg');
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.feature-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .feature-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .feature-box {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .feature-box {
        height: 150px;
    }
    
    .feature-title {
        font-size: 1rem;
    }
}
