/* Hero Section */
.hero {
    margin-top: 125px;
    height: 524px;
    background: linear-gradient(to right, #5C068C 0%, #9958B6 90%, #C396D9 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 74px;
    gap: 40px;
    /* overflow: hidden; */
}

.hero-image {
    width: 600px;
    height: 500px;
    background: url('../images/MYFEMBREE_topbanner 1.png') no-repeat center center;
    background-size: contain;
    position: relative;
    z-index: 0;
    flex-shrink: 0;
}

.hero-text {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 656px;
    height: 223.097px;
    flex-shrink: 0;
}

.hero-title {
    color: #FFF;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: 'Mulish', sans-serif;
    font-size: calc(55px * var(--base-font-scale, 1));
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
    text-transform: uppercase;
}

.hero-subtitle {
    color: #FFF;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: 'Mulish', sans-serif;
    font-size: calc(88px * var(--base-font-scale, 1));
    font-style: normal;
    font-weight: 900;
    line-height: 100px;
    text-transform: uppercase;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 1289px;
    height: 38px;
    background: white;
    border-radius: 24px 24px 0 0;
    z-index: 2;
}

/* Hero Responsive Design */
@media (min-width: 768px) and (max-width: 1299px) {
    .hero {
        margin-top: 110px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 25px;
        padding: 0 40px;
        height: 375px;
        min-height: 375px;
        background: linear-gradient(to right, #5C068C 0%, #9958B6 85%, #C396D9 100%);
    }

    .hero-text {
        width: 50%;
        max-width: 480px;
        text-align: left;
        padding-left: 12px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 52px;
        line-height: 62px;
        text-align: left;
    }

    .hero-image {
        width: 420px;
        height: 380px;
        flex-shrink: 0;
    }

    .hero::after {
        width: 100%;
        max-width: 1000px;
        height: 30px;
        border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 100px;
        flex-direction: column;
        justify-content: flex-start;
        gap: 2px;
        padding: 20px 40px 0;
        height: auto;
        min-height: 524px;
        background: radial-gradient(ellipse at center, #C396D9 0%, #9958B6 50%, #5C068C 100%);
    }
    
    .hero::after {
        display: none;
    }

    .hero-text {
        width: 100%;
        max-width: 500px;
        text-align: center;
        text-align: center;
    }

    .hero-title {
        font-size: 40px;
        line-height: 48px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 60px;
        line-height: 70px;
    }

    .hero-image {
        width: 500px;
        height: 450px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 85px;
        padding: 15px 20px 0;
        min-height: 300px;
        background: radial-gradient(153.82% 93.96% at 49.87% 100%, #C396D9 0%, #9958B6 37.51%, #5C068C 100%);
        overflow-x: hidden;
    }
    
    .hero::after {
        display: none;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-title {
        font-size: 32px;
        line-height: 38px;
        margin-bottom: 1px;
    }

    .hero-subtitle {
        font-size: 48px;
        line-height: 56px;
    }

    .hero-image {
        width: 400px;
        height: 350px;
        flex-shrink: 0;
        margin-top: -132px;
    }
}
