.hero {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding-top: 0px; /* Agregar margen superior */
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}
.form-container {
    position: absolute;
    top: 50%;
    right: 7%;
    transform: translateY(-50%);
    background: white;
    padding: 6px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    width: 290px;
}
.form-container h2 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
.btn-primary {
    text-align: center;
    background: #cc0000;
    color: white;
    padding: 6px;
    border-radius: 10px;
    width: 100%;
}

.form-label{
font-size: 14px;
}

.form-check-label{
    top: 70%;
    font-size: 12px;
}


.hero_modal img {
max-width: 100%;
height: auto;
object-fit: cover;
display: block;
margin: 0;
border-radius: 10px 0 0 10px; /* Bordes redondeados en la esquina izquierda */
}

.card {
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra elegante */
}

.card-body {
padding: 30px;
}

.offer {
text-align: center;
background: #cc0000;
color: white;
padding: 6px;
border-radius: 10px;
margin-bottom: 2px;
}

.offer h3 {
margin: 0;
font-size: 16px;
}

.offer p {
margin: 5px 0 0;
font-size: 18px;
font-weight: bold;
}


/* Responsividad */
@media (max-width: 768px) {


.form-container {
    position: absolute;
    top: 190%;
    right: 13%;
    transform: translateY(-50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    width: 300px;
}
}

@media (max-width: 480px) {


.form-container {
    position: absolute;
    top: 190%;
    right: 9%;
    transform: translateY(-50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    width: 300px;
}
}