/*
 * eldorado_custom.css — Innova People global Elementor overrides
 * Loaded after theme.css to override Elementor Kit and plugin defaults.
 */

/* ── Button global ────────────────────────────────────────────────────────── */
/* Ensure 4px radius + smooth transition on ALL Elementor buttons */
.elementor-button,
.elementor-button.elementor-size-xs,
.elementor-button.elementor-size-sm,
.elementor-button.elementor-size-md,
.elementor-button.elementor-size-lg,
.elementor-button.elementor-size-xl {
    border-radius: 4px !important;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out, border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out !important;
}

/* ── Typography ───────────────────────────────────────────────────────────── */
/* Prevent forced uppercase on h3 from older kit styles */
.elementor-widget-heading h3.elementor-heading-title {
    text-transform: none;
}

/* Hero H1: override site-wide uppercase rule for Elementor headings */
.ip-hero-heading h1.elementor-heading-title {
    text-transform: none;
    letter-spacing: -1.5px;
}

/* ── Cards & shadows ──────────────────────────────────────────────────────── */
/* Soften any hard box-shadow set inline by Elementor */
.elementor-element[style*="box-shadow: 0px 0px 10px"] {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
}

/* ── Innova section vertical rhythm ──────────────────────────────────────── */
/* Standard section padding for homepage redesign sections */
.ip-section {
    padding-top: 80px;
    padding-bottom: 80px;
}
@media (max-width: 1024px) {
    .ip-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}
@media (max-width: 768px) {
    .ip-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

/* ── Stats bar dividers ───────────────────────────────────────────────────── */
.ip-stats-item + .ip-stats-item {
    border-left: 1px solid #E9E9E9;
}
@media (max-width: 768px) {
    .ip-stats-item + .ip-stats-item {
        border-left: none;
        border-top: 1px solid #E9E9E9;
    }
}

/* ── Gravity Forms submit button ─────────────────────────────────────────── */
.gform_footer input[type=submit],
.gform_page_footer input[type=submit] {
    border-radius: 4px !important;
    transition: background-color 0.25s ease-in-out !important;
}

/* ── Elementor Kit h1/h2 color: allow white on dark backgrounds ───────────── */
/* When inside a dark-bg container, headings should inherit color not green */
.ip-split-dark .elementor-heading-title,
.ip-cta-banner .elementor-heading-title {
    color: #ffffff !important;
}
.ip-split-green .elementor-heading-title {
    color: #ffffff !important;
}
