
.section-custom {
    padding: 2rem;
    max-width: 1140px;
    margin: auto;
    background: #fff;
}

.intro {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.intro .text {
    flex: 1;
}

.intro .video {
    flex: 1;
}

.selectii {
    margin-bottom: 2rem;
}

.material, .tipuri {
    margin-bottom: 1rem;
}

button {
    background-color: #a52a2a;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    margin: 0.3rem;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #8b1f1f;
}

.etape {
    background: #f5f5f5;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
}

.etape h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.etape-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    text-align: center;
}

.etape-grid div {
    flex: 1;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.etape-grid strong {
    display: block;
    font-size: 2rem;
    color: #a52a2a;
    margin-bottom: 0.5rem;
}

.formular {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
}

.formular h3 {
    text-align: center;
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-direction: column;
}

form input, form textarea {
    margin-bottom: 1rem;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    align-self: start;
    background-color: #a52a2a;
    padding: 0.8rem 2rem;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


@media (max-width: 992px) {
    .intro {
        flex-direction: column;
        text-align: center;
    }

    iframe {
        width: 100%;
        height: auto;
    }

    .etape-grid {
        flex-direction: column;
    }

    .etape-grid div {
        margin-bottom: 1rem;
    }

    .butoane {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .section-custom {
        padding: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .formular form input,
    .formular form textarea {
        font-size: 0.9rem;
    }

    .formular button {
        width: 100%;
        text-align: center;
    }

    .etape h3 {
        font-size: 1.4rem;
    }

    .etape-grid strong {
        font-size: 1.6rem;
    }

    .material h4, .tipuri h4 {
        font-size: 1.1rem;
    }

    .material button, .tipuri button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}