.h-150 {
    height: 750px;
}

.blue-logo {
    color: #086e84;
}

.carousel-dim {
    height: 326px;
    width: 600px;
}

.bg-trans {
    background-color: black;
    opacity: 0.2;
}

.carousel-item {
    position: relative;
}

.carousel-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* noir avec 50% d'opacité */
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    color: #fff;
    text-align: center;
}

.carousel.header-bg {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.25), 0 1.5px 8px rgba(41, 128, 185, 0.12);
    margin-bottom: 48px;
}

.carousel.header-bg .carousel-item img {
    height: 420px;
    object-fit: cover;
    filter: brightness(0.75) saturate(1.2);
    transition: filter 0.4s;
}

.carousel.header-bg .carousel-item.active img {
    filter: brightness(0.85) saturate(1.3);
}

.carousel.header-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.65) 0%, rgba(41, 128, 185, 0.55) 100%);
    z-index: 1;
}

.carousel.header-bg .carousel-caption {
    z-index: 2;
    text-shadow: 0 2px 16px #222, 0 1px 4px #2980b9;
}

.carousel.header-bg .carousel-caption h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #f1c40f;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 16px #222, 0 1px 4px #2980b9;
}

.carousel.header-bg .carousel-caption p {
    font-size: 1.25rem;
    color: #fff;
    background: rgba(44, 62, 80, 0.55);
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    margin-top: 0.5rem;
    box-shadow: 0 1px 8px #2222;
}

.carousel.header-bg .carousel-indicators [data-bs-target] {
    background-color: #f1c40f;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 0 6px;
    opacity: 0.85;
    border: 2px solid #fff;
    transition: background 0.2s;
}

.carousel.header-bg .carousel-indicators .active {
    background-color: #2980b9;
    border-color: #f1c40f;
    opacity: 1;
}

.carousel.header-bg .carousel-control-prev-icon,
.carousel.header-bg .carousel-control-next-icon {
    filter: drop-shadow(0 2px 8px #222);
    background-color: #2c3e50;
    border-radius: 50%;
    padding: 8px;
}

@media (max-width: 768px) {
    .carousel.header-bg .carousel-item img {
        height: 220px;
    }

    .carousel.header-bg .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel.header-bg .carousel-caption p {
        font-size: 1rem;
    }
}

