/*
|--------------------------------------------------------------------------
| Full-bleed: remove Elementor's default gap around the widget
|--------------------------------------------------------------------------
*/

.elementor-widget-ecc_hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.elementor-widget-ecc_hero > .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}

/*
|--------------------------------------------------------------------------
| ECC Hero
|--------------------------------------------------------------------------
*/

.cew-ecc-hero {
    position: relative;
    height: 70vh;
    min-height: 420px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

/*
|--------------------------------------------------------------------------
| Background
|--------------------------------------------------------------------------
*/

.cew-ecc-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: #2d6a4f;
}

.cew-ecc-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(75%);
}

.cew-ecc-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.30);
}

/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

.cew-ecc-hero-container {
    position: relative;
    z-index: 10;

    width: 100%;
    max-width: 1200px;
    margin: auto;

    padding-left: 48px;
    padding-right: 48px;
}

.cew-ecc-hero-content {
    color: #ffffff;
}

.cew-ecc-hero-content--center {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.cew-ecc-hero-content--left {
    max-width: 640px;
    text-align: left;
}

/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
*/

.cew-ecc-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;

    color: #ffffff;
    margin: 0 0 16px 0;
}

/*
|--------------------------------------------------------------------------
| Subtitle
|--------------------------------------------------------------------------
*/

.cew-ecc-hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.90);
    margin: 0;
}

/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.cew-ecc-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.cew-ecc-hero-content--center .cew-ecc-hero-buttons {
    justify-content: center;
}

.cew-ecc-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 16px 32px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;

    text-decoration: none;
    border: 2px solid transparent;

    transition: all 0.3s ease;
}

.cew-ecc-hero-btn--primary {
    background-color: #2D6A4F;
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.20);
}

.cew-ecc-hero-btn--primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.cew-ecc-hero-btn--secondary {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.cew-ecc-hero-btn--secondary:hover {
    background-color: rgba(255,255,255,0.15);
}

.cew-ecc-hero-btn .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 20px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1024px) {

    .cew-ecc-hero-title {
        font-size: 40px;
    }

    .cew-ecc-hero-subtitle {
        font-size: 20px;
    }

}

@media (max-width: 768px) {

    .cew-ecc-hero-container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .cew-ecc-hero-title {
        font-size: 30px;
    }

    .cew-ecc-hero-subtitle {
        font-size: 17px;
    }

    .cew-ecc-hero-btn {
        width: 100%;
    }

}
