.gallery-section {
    min-height: 70vh;
    width: 100%;
    overflow: hidden;
}

/* Left side */
.gallery-left {
    position: relative;
    flex: 0 0 35%;
    /* 40% width */
    background-image: url('/assets/images/background/CC-2.png');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    color: rgb(255, 255, 255);
    overflow: hidden;
}

/* Overlay with reduced opacity */
.gallery-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #967a50f6;
    /* Dark overlay */
    backdrop-filter: brightness(90%);
    /* Slight darkening of background */
    z-index: 0;
    /* Keep it behind the text */
}

/* Ensure text stays on top */
.gallery-content {
    position: relative;
    z-index: 1;
}


/* Right side */
.gallery-right {
    flex: 0 0 65%;
    /* 70% width */
}

.gallery-right img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Optional: text animation */
.gallery-content h2 {
    color: #0f2453;
}

.gallery-content h2,
.gallery-content p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards;
    padding-left: 5%;
}

.gallery-content p {
    animation-delay: 0.3s;
    margin-top: 15% !important;
}

.underline {
    width: 100px;
    /* Half-line effect — adjust as needed */
    height: 3px;
    /* Line thickness */
    background-color: #0f2453;
    /* Gold-ish accent color */
    margin-top: 10%;
    /* Closer to heading */
    margin-bottom: 10px;
    /* Space before paragraph */
    border-radius: 2px;
    /* Smooth ends */
    margin-left: 5%;
}

.gallery-text {
    font-weight: 500;
    font-size: 22px;
    line-height: 2;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive (stacked on small screens) */
@media (max-width: 768px) {

    .gallery-left,
    .gallery-right {
        flex: 0 0 100%;
        min-height: 40vh;
    }
}