/* =============================================
   REGO — Section background colors
   Matches PDF design exactly
   ============================================= */

/* Tagline — white */
#rego-tagline.elementor-section,
#rego-tagline {
    background-color: #ffffff !important;
}

/* About — white */
#rego-about.elementor-section,
#rego-about {
    background-color: #ffffff !important;
}

/* Full-width image — no color (image fills it) */
#rego-image.elementor-section,
#rego-image {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Expertise — light gray ← the only gray section */
#rego-expertise.elementor-section,
#rego-expertise {
    background-color: #f5f5f5 !important;
}

/* CTA — white */
#rego-cta.elementor-section,
#rego-cta {
    background-color: #ffffff !important;
}

/* =============================================
   REGO — Hero Video Section
   Forces 66vh height + cover-fit (no distortion)
   Targets any Elementor section/container that
   has a background video (works on all viewports).
   If the hero has a CSS ID set in Elementor,
   replace the comment below with e.g. #rego-hero.
   ============================================= */

/* Section height */
.elementor-section:has(.elementor-background-video-container),
.e-con:has(.elementor-background-video-container) {
    min-height: 66vh !important;
    height: 66vh !important;
}

/* Video container fills the section */
.elementor-background-video-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

/* Video/iframe — cover without distortion */
.elementor-background-video-container video,
.elementor-background-video-embed {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Mobile: same 66vh */
@media (max-width: 960px) {
    .elementor-section:has(.elementor-background-video-container),
    .e-con:has(.elementor-background-video-container) {
        min-height: 66vh !important;
        height: 66vh !important;
    }
}

/* elementor-22 — gradient top #A4AFA1 → bottom #F2F4F1, height 43px */
#below-hero-message {
    background: linear-gradient(to bottom, #A4AFA1, #F2F4F1) no-repeat !important;
    background-size: 100% 53px !important;
    height: auto !important;
}
@media (maxnv -width: 768px) {
    #below-hero-message {
        background-size: 100% 26px !important;
    }
}