body {
    background-image: url('/img/bg.avif'); /* adjust path if needed */
    background-size: cover; /* fills screen */
    background-position: center; /* keeps it centered */
    background-repeat: no-repeat; /* no tiling */
    background-attachment: fixed; /* parallax-style effect */
}

/* Optional overlay for readability */
.overlay {
    min-height: 100%;
    background: rgba(0, 0, 0, 0.5); /* dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.content {
    max-width: 600px;
}

.petition-hero,
.petition-form-card {
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    box-shadow: 0 0.125rem 0.5rem rgba(15, 23, 42, 0.04);
}

.petition-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 1rem;
}

.petition-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}

footer {
    background: #0f172a;
    color: #cbd5f5;
}

    footer a {
        color: #93c5fd;
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }


.youtube-link {
    display: inline-block;
    position: relative;
    width: 480px;
    max-width: 100%;
    text-decoration: none;
}

    .youtube-link img {
        width: 100%;
        width: 480px;
        display: block;
        border-radius: 12px;
        position: center;
    }

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 56px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 16px;
}

    .play-button::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 54%;
        transform: translate(-50%, -50%);
        border-style: solid;
        border-width: 12px 0 12px 20px;
        border-color: transparent transparent transparent white;
    }


.faq-header {
    background: #0d6efd;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.faq-container {
    margin-top: 30px;
    margin-bottom: 50px;
}

.faq-question {
    cursor: pointer;
}

.infographic-step {
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    height: 100%;
}

    .infographic-step .icon {
        font-size: 2rem;
    }

.arrow {
    font-size: 1.8rem;
    color: #94a3b8;
    text-align: center;
}

.infographic-step {
    transition: transform 0.2s ease;
}

    .infographic-step:hover {
        transform: translateY(-5px);
    }

.menuup {
    z-index: 1030;
}

.letterspace {
    letter-spacing: 0.18em;
}


.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.5s ease-in-out;
    z-index: -1;
}

#bg1 {
    opacity: 1;
}

#bg2 {
    opacity: 0;
}