.container-xs {
    margin: auto;
    width: 720px;
    max-width: calc(100% - 40px);
}

.container-lg,
.container-md,
.container-sm,
.container {
    width: calc(88% - 0px)
}

.hidden {
    display: none;
}

.grecaptcha-badge {
    display: none !important;
}

.g-recaptcha {
    overflow: hidden !important;
    filter: invert(1) hue-rotate(180deg) brightness(0.85) contrast(0.9);
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    height: auto !important;
}

/* Form message containers - collapse when hidden */
#form-messages,
#contact-form-messages,
#sidebar-form-messages {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin 0.3s ease-out, padding 0.3s ease-out;
    margin: 0 !important;
    padding: 0 !important;
}

/* Show messages with smooth animation */
#form-messages[style*="display: block"],
#contact-form-messages[style*="display: block"],
#sidebar-form-messages[style*="display: block"] {
    max-height: 200px;
    margin-bottom: 1rem !important;
    padding: 0 !important;
    transition: max-height 0.4s ease-in, margin 0.4s ease-in;
}

/* Ensure alert messages inside have proper spacing */
.alert {
    margin-bottom: 0 !important;
}


h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    line-height: 1 !important;
    color: unset;
}

a {
    color: var(--si-info);
}

.btn-outline-info {
    color: var(--si-info-emphasis) !important;
}

.btn-outline-info:hover,
.btn-outline-info:active {
    color: #fff !important;
}

.page-wrapper {
    position: relative;
}

.page-wrapper>section {
    position: relative;
    z-index: 2;
}

.page-wrapper:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 1;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}




.jarallax-img.video {
    position: relative;
}
.jarallax-container:before{
    content: '';
    width: 100%;
    height: 100%;
}

.jarallax-img.video video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

form label {
    font-weight: bold;
    color: #fff;
}

form .checkbox label {
    font-weight: normal;
}

form .checkbox label:hover {
    cursor: pointer;
}

form .checkbox input {
    margin-right: 0.5rem;
}

.form-group {
    display: block;
    margin-bottom: 16px;
}

.lead {
    line-height: 1.25;
}

.sidebar {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
}

.banner.jarallax.bg-dark {
    position: relative;
    min-height: 50vh;
    align-items: center;
    display: flex;
}

.banner.jarallax.bg-dark h1 {
    padding-bottom: 25vh;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}

.page-wrapper section.first-section {
    margin-top: -30vh;
    position: relative;
    z-index: 1;
}

.page-wrapper section p.lead {
    color: #fff;
}

.banner.jarallax.bg-dark:before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 70%;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0), var(--si-dark));
}


#brands-slides a {
    pointer-events: none;
}

#brands-slides img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: invert(1) grayscale(100%);
}

#brands-slides img.invert {
    filter: invert(0) grayscale(100%);
}

/* Adjust reCAPTCHA container to fit within parent */
.recaptcha-container {
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}
