/* Multi-image Section Styles */
.mgt-section {
    display: flex;
    height: 100vh;
    width: 100%;
    margin: 2rem 0;
    padding: 0 1rem;
    overflow: hidden;
    box-sizing: border-box;
}

.mgt-left-container, 
.mgt-right-container {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    padding: 0 4px;
    box-sizing: border-box;
}

.mgt-top-container, 
.mgt-bottom-container {
    position: relative;
    height: 50%;
    overflow: hidden;
    box-sizing: border-box;
}

.mgt-top-container {
    padding-bottom: 4px;
}

.mgt-bottom-container {
    padding-top: 4px;
}

.mgt-full-img, 
.mgt-half-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.mgt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 2;
    border-radius: 4px;
}

.mgt-left-container .mgt-overlay {
    background-color: rgba(0, 0, 0, 0.3);
    left: 4px;
    right: 4px;
}

.mgt-top-container .mgt-overlay {
    background-color: rgba(21, 71, 32, 0.8); /* Green overlay */
    bottom: 4px;
}

.mgt-bottom-container .mgt-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    top: 4px;
}

.mgt-content {
    color: white;
    text-align: center;
    max-width: 100%;
    padding: 0.5rem;
}

.mgt-content h2 {
    padding: 0 1rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.mgt-content p {
    margin: 0;
    color:white;
    padding: 0 6rem;
}

/* 
@media (max-width: 991px) {
    .mgt-section {
        margin: 1.5rem 0;
    }
    
    .mgt-left-container, 
    .mgt-right-container {
        padding: 0 6px;
    }
    
    .mgt-top-container {
        padding-bottom: 6px;
    }
    
    .mgt-bottom-container {
        padding-top: 6px;
    }
    
    .mgt-left-container .mgt-overlay {
        left: 6px;
        right: 6px;
    }
    
    .mgt-top-container .mgt-overlay {
        bottom: 6px;
    }
    
    .mgt-bottom-container .mgt-overlay {
        top: 6px;
    }
    
    
} */

@media (max-width: 991px) {
    .mgt-section {
        flex-direction: column;
        height: auto;
        margin: 0.5rem 0;
        padding: 0 0.5rem;
    }
    
    .mgt-left-container, 
    .mgt-right-container {
        width: 100%;
        height: auto;
        padding: 0 3px;
        margin-bottom: 6px;
    }
    
    .mgt-right-container {
        margin-bottom: 0;
    }
    
    .mgt-full-img,
    .mgt-half-img {
        width: 100%;
        height: 70vh;
        object-fit: cover;
    }
    
    .mgt-top-container, 
    .mgt-bottom-container {
        height: auto;
        margin-bottom: 6px;
    }
    
    .mgt-bottom-container {
        margin-bottom: 0;
    }
    
    .mgt-top-container {
        padding-bottom: 0;
    }
    
    .mgt-bottom-container {
        padding-top: 0;
    }
    
    .mgt-left-container .mgt-overlay {
        left: 3px;
        right: 3px;
    }
    
    .mgt-top-container .mgt-overlay,
    .mgt-bottom-container .mgt-overlay {
        top: 0;
        bottom: 0;
    }
    
   
    
    .mgt-content p {
        padding: 0 3rem;
    }
}

@media (max-width: 576px) {
    .mgt-left-container, 
    .mgt-right-container {
        padding: 0 2px;
        margin-bottom: 4px;
    }
    
    .mgt-top-container, 
    .mgt-bottom-container {
        margin-bottom: 4px;
    }
    
    .mgt-left-container .mgt-overlay {
        left: 2px;
        right: 2px;
    }
    
    .mgt-full-img,
    .mgt-half-img {
        height: 60vh;
    }
    
    .mgt-content {
        max-width: 100%;
        padding: 0.5rem;
    }
    
    .mgt-content h2 {
        padding: 0;
        margin-bottom: 0.8rem;
    }
    .mgt-content p {
        padding: 0 1rem;
    }
  
}

@media (max-width: 480px) {
    .mgt-left-container, 
    .mgt-right-container {
        padding: 0;
        margin-bottom: 3px;
    }
    
    .mgt-top-container, 
    .mgt-bottom-container {
        margin-bottom: 3px;
    }
    
    .mgt-left-container .mgt-overlay {
        left: 0;
        right: 0;
    }
    
    .mgt-full-img,
    .mgt-half-img {
        height: 50vh;
    }
    
    
    
    .mgt-content h2 {
        margin-bottom: 0.6rem;
    }
    .mgt-content p {
        padding: 0 0.5rem;
    }
}