﻿
/* GRID SECTION STYLES */

 h2.section-title{
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom:1rem;
}

.background-grid .background {
    position: relative;
    height: 375px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}
.background-grid .background::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* dark transparent overlay */
    z-index: 1;
}
.background-grid .background > * {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
}
.background-grid .title {
    font-size: 1.375rem;
    font-weight:600;
    margin-bottom: 1rem;
}
.background-grid .background p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.custom-banner {
    position: relative;
    height: 375px;
    max-height: 375px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    overflow: hidden;
}
.custom-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.custom-banner__content {
    color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 90%;
    animation: fadeInUp 1s ease both;
}
.custom-banner__content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.custom-banner__text {
    font-size: 1.2rem;
}
.custom-banner__fallback {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
