@media (min-width: 768px){
    [id] {
        scroll-margin-top: 175px;
    }
}

/* Header Logo */
.navbar-brand img {
    width: 80px;
}

/* Bootstrap dropdowns with dynamic columns */

/* --- Base dropdown styles --- */
.dropdown-menu {
    min-width: 14rem;
    padding: 0;
    border: none;
}

/* --- Row inside dropdown --- */
.dropdown-menu .row {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

/* --- Individual column wrapper --- */
.dropdown-menu .col {
    padding: 0.25rem;
}

/* --- 1 column by default --- */
.dropdown-menu .col {
    width: 100%;
}

/* --- Column count by menu type (only target the ul) --- */
@media (min-width: 992px) {
    .dropdown-menu.mega-2 > .row > div.col-12 {
        width: 50%;
  }

    .dropdown-menu.mega-3 > .row > div.col-12 {
        width: 33.3333%;
    }
}

/* --- Wider containers based on menu type --- */
@media (min-width: 992px) {
    .dropdown-menu.mega-2 {
        width: 32rem;
    }

    .dropdown-menu.mega-3 {
        width: 48rem;
    }
}

/* --- Full width on mobile --- */
@media (max-width: 991.98px) {
    .dropdown-menu.mega-2,
    .dropdown-menu.mega-3 {
        width: 100%;
    }
}

/* --- Dropdown item styles --- */
.dropdown-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 0;
    background-color: #fff;
}

.dropdown-item:hover {
    background-color: #f2f2f2;
    text-decoration: none;
}


/* Slider - color on skewed background */
.slide-outer {
    background: rgba(0,85,164,0.85);
}

/* Lists */
ul.list-icon-check>li::before {
    content: "\e080";
}

.list-group-item.active, .list-group .list-group-item.active:hover {
    background: #0055a4;
    border-color: #00407B;
}

ul.no-indent, ol.no-indent {
    padding: 0;
    margin-left: 1em;
    list-style-type: square;
}

/* Buttons */

.btn-primary {
    background: #1f396c;
    border-color:#00407B;
}

.btn-primary:hover {
    background: #00407B;
    border-color:#0055a4;
}

/* Colors */
a {
    color: #1f396c;
}
a:hover {
    color: #00407B;
}
.text-primary {
    color: #1f396c!important;
}

.bg-primary {
    background-color: #1f396c!important;
}

.border-primary {
    border-color: #1f396c!important;
}

.email.text-white a {
    color: white !important ;
}

/* Text */
.text-decoration-underline {
    text-decoration: underline;
}

/* Contact Form */

.form-control {
    background-color: #fbfbfb;
}

@media (min-width: 768px) {
    .schulz-contact fieldset {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
  
    #field489_wrap {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }
    #field485_wrap, #field486_wrap, #field487_wrap, #field488_wrap {
        flex-basis: 49%;
        margin-bottom: 1rem;
    }
}

#field489 {
    height: 175px;
}

/* ************************* */
/* Video Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
}

/* Background video */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Semi-transparent overlay */
.overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Centered content */
.content {
    text-align: center;
    color: white;
    padding: 0 1rem;
    box-sizing: border-box;
    max-width: 100%;
    animation: fadeIn 1s ease-in forwards;
}

.content h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Limit content width on larger screens */
@media (min-width: 992px) {
    .content {
        max-width: 850px;
    }
} 

/* Override aspect ratio on large screens with fixed height */
@media (min-width: 1200px) {
    .video-container {
        aspect-ratio: auto;
        height: 60vh;
    }
}

/* Fade-in animation */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Background Overlay */
.text-column {
    position: relative;
}

.text-bg-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 1;
    pointer-events: none;
    border-radius: 0.5rem;
}

.text-content {
    position: relative;
    z-index: 2;
}