/* Multi Grid Four Layout */
.office-features-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0.5rem;
    background-color: #f9f9f9;
    margin: 0 auto;
    max-width: 100%;
    height: 150vh;
    box-sizing: border-box;
}

.features-grid-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0.25rem;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.features-grid-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Dark overlay with 30% opacity - matching stadium section */
    z-index: 1;
}

/* Decorative top line */
.features-grid-item .decorative-line-top {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #FFFFFF;
    z-index: 2;
}

/* Decorative bottom line */
.features-grid-item .decorative-line-bottom {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width:40px;
    height: 2px;
    background-color: #FFFFFF;
    z-index: 2;
}

.features-grid-item:after {
    content: '';
    display: none; /* Remove the second overlay - matching stadium section */
}

.features-grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: grayscale(100%); /* Adding grayscale filter to match stadium section */
}

.features-grid-left-column,
.features-grid-right-column {
    width: 50%;
    padding: 0 0.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.features-grid-big {
    height: 70%;
}

.features-grid-small {
    height: 30%;
}

.features-item-content {
    position: relative;
    z-index: 5;
    color: #FFFFFF;
    text-align: center;
    max-width: 90%;
    padding: 2rem;
}

.features-item-headline {
    
    line-height: 1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.features-item-content h3 {
    font-family: 'Archivo', sans-serif;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Add specific selector to target the left top description and right bottom description */
.features-grid-big .features-item-content h3 {
    font-size: 1.75rem;
}

.features-item-content p {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-top: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Responsive styles */
@media (max-width: 991px) {
    .features-item-headline {
        font-size: 2rem;
    }
    
    
    .features-item-content p {
        font-size: 1rem;
    }
    .features-grid-big .features-item-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .office-features-grid {
        height: auto;
    }
    
    .features-grid-left-column,
    .features-grid-right-column {
        width: 100%;
        padding: 0;
        margin: 0;
        height: auto;
    }
    
    .features-grid-big,
    .features-grid-small {
        height: 50vh;
    }
    
    .features-item-headline {
        font-size: 1.5rem;
    }
    .features-grid-big .features-item-content h3 {
        font-size: 1rem;
    }
    
    .features-item-content p {
        font-size:1rem;
    }
    .features-grid-item .decorative-line-top {
        width: 30px;
    }
    .features-grid-item .decorative-line-bottom {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .features-item-headline {
        font-size: 1rem;
    }
    
    .features-grid-big .features-item-content h3 {
        font-size: 0.8rem;

    }
    
    .features-item-content p {
        font-size: 0.8rem;

    }
    
    
}
.pink-text{
    color: #F7AFC9;
}