@charset "utf-8";

.hero-section {
    height: 580px;
    /* Fixed height for desktop */
}

.hero-section .grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two columns layout */
    gap: 5px;
    /* Remove gap between columns */
    height: 100%;
    /* Full height for the grid container */
}

.hero-section .grid-item {
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Full height for grid items */
}

.hero-section .img-container {
    height: 100%;
    /* Full height for image container */
}

.hero-section .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    /* opacity: 0; */
}

.hero-section .img-container img[data-ll-status="loaded"] {
    opacity: 1;
}

.hero-section .img-container .img-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px 15px;
    color: white;
    width: 100%;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

.hero-section .img-container:hover .img-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    /* Adjust gradient colors and opacity as needed */
}

.hero-section .img-container .img-overlay .content-title {
    font-size: 1.5rem;
}

.hero-section .img-container .img-overlay .content-text {
    font-size: .8rem;
}

.hero-section .img-container:hover img {
    transform: scale(1.05);
}

.hero-section .right-section {
    display: flex;
    flex-direction: column;
}

.hero-section .right-bottom {
    grid-template-columns: 1fr 1fr;
}

/* Medium devices and below */
@media (max-width: 992px) {
    .hero-section {
        height: auto;
        /* Auto height for medium devices */
    }

    .hero-section .grid-container {
        grid-template-columns: 1fr 1fr;
        /* Single column layout */
    }
}

/* Small devices and below */
@media (max-width: 767.98px) {
    .hero-section {
        height: auto;
        /* Auto height for small devices */
    }

    .hero-section .grid-container {
        grid-template-columns: 1fr;
        min-height: 150px;
    }
}