/* ===== HERO HOME ===== */

.highlight {
    color: #0cc0df;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.text-background {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 30px;
    border-radius: 15px;
    display: inline-block;
}

.cta-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: #0097b2;
}

/* Secțiune important cu fundal */

.fullscreen-auto.important-bg {
    min-height: 100vh;
    background: url('../images/important.png') center center / cover no-repeat;
    color: white;
}


/* Adăugăm spațiu suplimentar în secțiunea Important pentru a permite overlap */
#important {
    padding-bottom: 140px;
    /* ajustează până arată perfect */
    position: relative;
}


/* Ridicăm secțiunea Educatie peste fundalul albastru */
#educatie {
    position: relative;
    margin-top: -120px;
    /* sau cât ai acum */
    z-index: 5;
    background-color: #ffffff;
    /* sau culoarea de fundal a paginii */
}



/* Secțiune fraude cu fundal */

.fullscreen-auto.fraude-bg {
    min-height: 100vh;
    background: url('../images/fraude.png') center center / cover no-repeat;
    color: white;
}

/* Contact + newsletter fundal */

.fullscreen-auto.contact-bg {
    min-height: 100vh;
    background: url('../images/Contact.png') center center / cover no-repeat;
    color: white;
}

.contact-box {
    display: block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    color: white;
}

.contact-box input,
.contact-box textarea {
    background-color: rgba(255, 255, 255, 0.9);
    color: #545454;
}

.contact-box label,
.contact-box a {
    color: #fff;
}

/* Newsletter */

.newsletter-box {
    display: block;
    width: 100%;
    margin: 40px auto 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    color: white;
    text-align: center;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.newsletter-box h3,
.newsletter-box p {
    color: #fff;
}

.newsletter-box input[type="email"] {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    margin: 10px 0;
}

.newsletter-box label,
.newsletter-box a {
    color: #fff;
}


.newsletter-box .btn {
    background-color: #0cc0df;
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-box .btn:hover {
    color: #545454;
}


/* Evidențiere checkbox termeni când este eroare (Contact + Newsletter) */
/* Evidențiere doar a căsuței de bifat când e eroare */
.terms-checkbox.field-error input[type="checkbox"] {
    outline: 2px solid #d93025;
    outline-offset: 2px;
    border-radius: 3px;
}




/* Blog mic de pe home */

.blog-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.blog-container article {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Linii roșii de debug pe container (poți șterge dacă nu le mai vrei) 
.container::before,
.container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: red;
    opacity: 0.5;
    z-index: 9999;
    pointer-events: none;
}*/

.container::before {
    left: 0;
}

.container::after {
    right: 0;
}

/* Responsive home */

@media (max-width: 768px) {

    .text-background {
        padding: 10px 15px;
        border-radius: 10px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .cta-link {
        display: inline-block;
        margin: 3px 0;
        font-size: 16px;
    }

    .fullscreen-auto.fraude-bg {
        min-height: auto;
        background-attachment: scroll;
    }

    .blog-container {
        flex-direction: column;
        align-items: center;
    }

    .blog-container article {
        width: 90%;
    }
}