:root {
    --main: #e9bb32;
    --second: #b22725;
}

.bg-main {
    background-color: var(--main) !important;
}

.bg-second {
    background-color: var(--second);
}

.text-main {
    color: var(--main);
}

.text-second {
    color: var(--second);
}

.custom-page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    /* background: url(../../../img/header/header.jpg) top right no-repeat; */
    /* background: rgba(234, 188, 51, 255) top right no-repeat; */
    background: url(../../customer/img/header/header-image.jpg) top right
        no-repeat;
    background-size: cover;
}

.header-margin-custom {
    margin-top: 2rem;
}

.nav-link.text-second {
    color: var(--second) !important;
}

#headerCarousel .carousel-inner {
    height: 200px; /* or any fixed height you want */
    overflow: hidden;
}

#headerCarousel .carousel-item img {
    height: 100%;
    object-fit: cover; /* or contain depending on your preference */
    width: 100%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--main);
    border: 10px solid var(--main);
    border-radius: 3rem;
}

.header-bg {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.header-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/header/header-bg.jpg") center center / cover
        no-repeat;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none; /* ✅ THIS FIXES YOUR ISSUE */
}

/* Make sure the content stays above the overlay */
.header-bg > .container {
    position: relative;
    z-index: 2;
}

span.text-main {
    color: var(--main);
}
