/* ===================================
   Banner Section Styles
   =================================== */

.banner-section {
    padding: 0;
    margin: 60px 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    height: auto;
}

/* Banner Item */
.banner-item {
    position: relative;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
}
.marginLeft {
    margin-left: 10px;
}
.banner-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
    transition: all 0.4s ease;
}

.banner-item:hover::before {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

/* Banner Image */
.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.banner-item:hover .banner-image {
    transform: scale(1.08);
}

/* Banner Content */
.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 60px 40px;
    z-index: 2;
    color: #ffffff;
    text-align: center;
    width: 90%;
}

/* .banner-item:hover .banner-content {
    transform: translateY(-10px);
} */

/* Banner Title */
.banner-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-family: "Poppins", sans-serif;
}

/* Banner Description */
.banner-description {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.5px;
    max-width: 400px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

/* Responsive Design */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .banner-grid {
        height: 500px;
    }

    .banner-content {
        padding: 40px 30px;
    }

    .banner-title {
        font-size: 36px;
    }

    .banner-description {
        font-size: 15px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .banner-section {
        margin: 40px 0;
    }

    .banner-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .banner-item {
        height: auto;
    }

    .banner-content {
        padding: 40px 25px;
    }

    .banner-title {
        font-size: 32px;
        letter-spacing: 1.5px;
    }

    .banner-description {
        font-size: 14px;
        max-width: 90%;
    }
}

/* Mobile Portrait (< 576px) */
@media (max-width: 575px) {
    .banner-section {
        margin: 30px 0;
    }

    .banner-item {
        height: auto;
    }
    .marginLeft {
        margin-left: 0px;
        margin-top: 5px;
    }
    .banner-content {
        padding: 30px 20px;
    }

    .banner-title {
        font-size: 28px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }

    .banner-description {
        font-size: 13px;
        line-height: 1.5;
    }
}
