/* Partners Page Styles - Video Background */

/* Hero section - contains video background */
.partners-hero.hero {
    background: #000000 !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 100vh;
    z-index: 1;
}

/* Hide old background elements */
.partners-hero .hero-background {
    display: none !important;
}

.partners-hero .hero-particles {
    display: none !important;
}

/* Hero background video - positioned behind hero content */
.hero-background-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 0 !important; /* Behind content */
    object-fit: cover !important;
    object-position: center !important;
    pointer-events: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 0; /* Start hidden for fade-in - allow JS to override */
    animation: videoFadeIn 2s ease-in-out forwards;
    background: #000000 !important;
    /* Maintain quality - no blur */
    filter: none !important;
    -webkit-filter: none !important;
    /* No borders */
    border: none !important;
    outline: none !important;
    /* Maintain aspect ratio and quality */
    min-width: 100% !important;
    max-width: 100% !important;
}

/* When video is playing, ensure it's visible */
.hero-background-video.playing {
    opacity: 1 !important;
}

/* Fade-in animation for video */
@keyframes videoFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Dark overlay on video for text readability (40-50% black) */
.hero-video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important; /* Above video, below text */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.5) 100%
    ) !important;
    pointer-events: none !important;
}

/* Hero content - above video and overlay */
.partners-hero .container,
.partners-hero .hero-content,
.partners-hero .hero-text,
.partners-hero .hero-title,
.partners-hero .hero-description,
.partners-hero .hero-actions {
    position: relative !important;
    z-index: 2 !important; /* Above video and overlay */
}

/* Ensure all containers are transparent */
.partners-hero .container {
    background: transparent !important;
}

/* Main content - above video */
.main {
    position: relative;
    z-index: 1; /* Above video and overlay */
    background: #000000 !important;
}

/* Ensure all sections are above video */
section {
    position: relative;
    z-index: 1; /* Above video */
}

/* All text white */
h1, h2, h3, h4, h5, h6,
p, span, a, li,
.hero-title, .hero-description,
.section-title, .section-description,
.partnership-title, .partnership-description,
.benefit-title, .benefit-description,
.cta-title, .cta-description {
    color: #ffffff !important;
}

/* Cards and containers - dark with white text */
.partnership-card,
.partner-card,
.benefit-card {
    background: #0a0a0a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.partnership-card h3,
.partnership-card p,
.partner-card h3,
.partner-card p,
.benefit-card h3,
.benefit-card p {
    color: #ffffff !important;
}

