.section-0 {
    width: 100%;
    z-index: 1000;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    position: relative;
}

.header-logo {
    width: 100px;
    z-index: 2;
}

.hamburger-menu {
    width: 32px;
    cursor: pointer;
    z-index: 2;
}

.line {
    fill: #000;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-box: fill-box;
    transform-origin: center;
}

.hamburger-menu.active .line1 {
    transform: translateY(5px) rotate(45deg);
}

.hamburger-menu.active .line2 {
    opacity: 0;
}

.hamburger-menu.active .line3 {
    transform: translateY(-5px) rotate(-45deg);
}

.nav-links {
    position: absolute;
    top: 100%;
    right: 20px;

    display: flex;
    flex-direction: column;
    gap: 15px;

    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);

    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: 0.25s ease;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #000;
}

.nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.g-translate {
    position: absolute;
    right: 20px;
    top: 10px;
    /* bottom: 20px; */
}
@media (min-width: 768px) {
    .g-translate {
        position: absolute;
        right: 140px;
        top: 20px;
        width: auto;
        margin: 0;
    }
    .main-header {
        justify-content: center;
        padding: 40px 0;
        padding-top: 60px;
    }

    .nav-links {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        flex-direction: row;
        align-items: center;
        gap: 30px;
        padding-block: 25px;
        padding-inline: 160px 100px;
        border-radius: 80px;
        background: rgba(255, 255, 255, 0.05); /* needed for backdrop blur */
        backdrop-filter: blur(69.93px);
        -webkit-backdrop-filter: blur(69.93px);
        box-shadow:
                inset -34.97px 34.97px 34.97px 0 rgba(255, 255, 255, 0.027),
                inset 34.97px -34.97px 34.97px 0 rgba(70, 128, 182, 0.027);
        opacity: 1;
        pointer-events: auto;
    }

    .header-logo {
        position: absolute;
        left: 0;
        translate: -50%;
        width: 126px;
        background: #f4f4f4;
        border-radius: 50%;
    }

    .hamburger-menu {
        display: none;
    }
}

/*mama salam popoup*/
.audience-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.audience-box {
    width: 100%;
    max-width: 620px;
    background: #fff;
    border-radius: 26px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    animation: popupFade .35s ease;
}

.audience-box h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #1E76BA, #FD679A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-text {
    color: #555;
    font-size: 16px;
    margin-bottom: 25px;
}

.audience-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.audience-card {
    border: 2px solid #eee;
    background: #fff;
    border-radius: 22px;
    padding: 25px 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.audience-card:hover {
    border-color: #FD679A;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(253,103,154,0.18);
}

.audience-card img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    margin-bottom: 14px;
}

.audience-card span {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #1E76BA;
}

.terms-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 12px;
}

#termsTitle {
    font-size: 25px;
    font-weight: 800;
    color: #1E76BA;
    margin-bottom: 5px;
}

#termsStep h4 {
    font-size: 20px;
    font-weight: 700;
    color: #FD679A;
    margin-bottom: 14px;
}

#termsText {
    font-size: 15.5px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.continue-btn {
    border: none;
    border-radius: 50px;
    padding: 13px 28px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(90deg, #1E76BA, #FD679A);
    cursor: pointer;
    transition: 0.3s ease;
    margin: 5px;
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(30,118,186,0.25);
}

@keyframes popupFade {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media(max-width: 576px) {
    .audience-box {
        padding: 28px 18px;
        border-radius: 20px;
    }

    .audience-box h2 {
        font-size: 24px;
    }

    .audience-options {
        grid-template-columns: 1fr;
    }

    .audience-card {
        padding: 20px 12px;
    }
}

.terms-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.back-btn {
    border: 2px solid #ccc;
    background: #fff;
    border-radius: 50px;
    padding: 12px 22px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.back-btn:hover {
    border-color: #1E76BA;
    color: #1E76BA;
}

.nav-links a {
    position: relative;
    padding-bottom: 6px;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 20px;
    background: linear-gradient(90deg, #1E76BA, #FD679A);
}



