/* Hero */

main {
    /* margin-top: 75px; */
}
.em-hero {
    /* margin-top: 76px; */
    height: 440px;
    background-image: url('../images/engagement-models.jpg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 60px;
}

.em-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/map.png');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.em-hero::before {
    content: '';
    position: absolute;
    inset: 0;
}

.em-hero-overlay {
    position: relative;
    z-index: 1;
    text-align: left;
    padding: 0;
}

.em-hero-overlay h1 {
    color: #333333;
    font-family: 'Sailec Bold';
    /* font-size: 60px; */
    font-size: 4vw;
    line-height: 1.3;
    margin: 0 0 16px;
}

span.em-green {
    color: #2A98D4;
}
span.em-blue {
    color: #14B4FB;
}
.em-hero-overlay .em-hero-line {
    width: 90px;
    height: 5px;
    background: #4A4A4A;
    border-radius: 2px;
}

/* CTA Section */
.em-cta-section {
    display: flex;
    justify-content: center;
    padding-top: 100px;
}

.em-cta-btn {
    background: #0191EF;
    color: #fff;
    font-family: 'Sailec Bold';
    font-size: 19px;
    padding: 18px 35px 18px 35px;
    border-radius: 0px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    border-radius:18px;
}



/* Intro Section */
.em-intro-section {
    text-align: center;
    padding: 36px 20px;
    max-width: 90%;
    margin: 0 auto;
}

.em-intro-section h2 {
    font-family: 'Sailec Bold';
    /* font-size: 40px; */
    font-size: 2.5vw;
    color: #333333;
    margin: 0;
    line-height: 1.6;
}

.em-intro-section p {
    font-family: 'Sailec Light';
    font-size: 17px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Cards Section */
.em-models {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 40px 80px;
    max-width: 90%;
    margin: 0 auto;
}

.em-model-card {
    border: 2px solid rgb(50 48 48 / 7%);
    border-radius: 12px;
    background: transparent;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.em-card-icon {
    width: 48px;
    background: #ECF6FC;
    height: 48px;
    object-fit: contain;
    margin-bottom: 20px;
    padding: 13px;
    border-radius: 50px;
}

.em-card-eyebrow {
    font-family: 'Sailec Medium';
    font-size: 12px;
    color: #0185EE;
    text-transform: none;
    margin-bottom: 0;
}

.em-card-title {
    font-family: 'Sailec Medium';
    /* font-size: 32px; */
    font-size: 20px;
    color: #0F0F33;
    margin: 10px 0;
}

.em-card-line {
    width: 90px;
    height: 5px;
    background: #4A4A4A;
    border-radius: 2px;
    margin-bottom: 16px;
}

.em-card-desc {
    font-family: 'Sailec light';
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-weight: 600;
}

.em-card-bottom {
    margin-top: auto;
}

.em-card-bottom p {
    background: #FAFDFF;
    padding: 30px 15px;
    font-size: 17px;
    border-radius: 16px;
    font-family: 'Sailec light';
    color: #696969;
    line-height: 1.6;
    font-weight: 600;
}

.em-card-bottom p span {
    font-family: 'Sailec Bold';
}


/* Responsive */

@media (min-width: 1500px) {
    .em-card-eyebrow {
        font-size: 17px;
    }
    .em-card-title {
        font-size: 26px;
    }
    .em-card-desc,
    .em-card-bottom p {
        font-size: 20px;
    }
}
@media (max-width: 970px) {
    .em-hero-overlay h1 {
        font-size: 30px;
    }

    .em-models {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 24px 60px;
    }
}

@media (max-width: 767px) {
    .em-hero {
        height: 320px;
    }

    .em-hero-overlay h1 {
        font-size: 24px;
    }

    .em-intro-section {
        padding: 40px 20px;
        max-width: 100%;
    }

    .em-intro-section h2 {
        font-size: 24px;
    }

    .em-models {
        grid-template-columns: 1fr;
        padding: 0 20px 40px;
        max-width: 100%;
    }
    .em-model-card {
        padding: 20px;
    }
    .em-card-title {
        font-size: 22px;
    }
    .em-card-eyebrow {
        font-size: 14px;
    }
    .em-card-desc,
    .em-card-bottom p {
        font-size: 17px;
    }
}
