@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');

body {
    font-family: 'Instrument Sans', sans-serif;
    background-color: #e9e4e3;
    color: #18274a;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(24, 39, 74, 0.8) 0%, rgba(24, 39, 74, 0.3) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.text-brand-glow {
    text-shadow: 0 0 20px rgba(0, 113, 188, 0.5);
}

.text-accent-glow {
    text-shadow: 0 0 25px rgba(229, 184, 66, 0.6), 0 0 10px rgba(229, 184, 66, 0.3);
}

.glass-panel {
    background: rgba(24, 39, 74, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background-color: #0071BC;
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #005a96;
    box-shadow: 0 0 15px rgba(0, 113, 188, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(24, 39, 74, 0.2);
    color: #18274a;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: #18274a;
    background-color: rgba(24, 39, 74, 0.05);
}

.btn-accent {
    background-color: #e5b842;
    color: #18274a;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #d4a331;
    box-shadow: 0 0 15px rgba(229, 184, 66, 0.5);
}

/* Editorial Lines and Accents */
.editorial-line {
    position: relative;
    padding-left: 2rem;
}
.editorial-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #e5b842, transparent);
    border-radius: 4px;
}

.editorial-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem 0;
    opacity: 0.3;
}
.editorial-divider::before {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #18274a, transparent);
}
.editorial-divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #e5b842;
    transform: rotate(45deg);
}

.dynamic-overlay-box {
    position: relative;
    z-index: 1;
}
.dynamic-overlay-box::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    border-top: 3px solid #e5b842;
    border-left: 3px solid #e5b842;
    border-radius: 12px 0 0 0;
    z-index: -1;
    opacity: 0.6;
    transition: all 0.5s ease;
}
.dynamic-overlay-box::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    border-bottom: 3px solid #0071BC;
    border-right: 3px solid #0071BC;
    border-radius: 0 0 12px 0;
    z-index: -1;
    opacity: 0.6;
    transition: all 0.5s ease;
}
.dynamic-overlay-box:hover::before,
.dynamic-overlay-box:hover::after {
    width: 100%;
    height: 100%;
    opacity: 0.2;
}
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-content {
    display: flex;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin: 0 3rem;
    filter: grayscale(100%) opacity(60%);
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 150px; /* Force minimum width so empty/loading images don't collapse */
}

.marquee-logo:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.05);
}

.marquee-logo img {
    display: block;
    height: 40px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.marquee-logo:hover img {
    filter: none;
}

.marquee-logo span {
    font-weight: 700;
    font-size: 1.5rem;
    color: #18274a;
}
