.banner {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.banner img {
    width: 110%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.linea-blanca {
    width: 100%;
    height: 3px;
    background-color: white;
    margin: 0;
}

.background-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: rgb(19, 30, 48);
    overflow: hidden;
}

.background-container .overlay img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    opacity: 0.9;
    z-index: 0;
}

.grid-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 80%;
    margin: 0 auto;
    padding: 50px 0;
}

.left-column p li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    text-align: justify;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 10px;
}

.right-column h3 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: white;
}

.grid-item {
    color: white;
    background-color: transparent;
    padding: 20px;
    border-radius: 8px;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #173e5a;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #ae7429;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container input,
.form-container select,
.form-container textarea {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    border: 1px solid white;
}

.form-container input::placeholder,
.form-container select::placeholder,
.form-container textarea::placeholder {
    color: #ccc;
}

.form-container button {
    background-color: white;
    color: rgb(19, 30, 48);
    border: none;
    transition: background-color 0.3s;
}

.form-container button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: rgb(19, 30, 48);
}

.btn-submit {
    padding: 10px 20px;
    background-color: #1e90ff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: #00bfff;
    color: black;
    transform: scale(1.05);
}

.map-section {
    background-color: #131e30;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.map-title h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.map-container {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    overflow: hidden;
    max-width: 600px;
    padding: 15px;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        width: 90%;
        margin: 20px auto;
        gap: 15px;
    }

    .banner-text {
        font-size: 2rem;
        white-space: normal;
        line-height: 1.2;
    }

    .grid-item {
        padding: 15px;
    }

    .form-container {
        padding: 20px;
        border-radius: 8px;
    }

    .form-container input,
    .form-container select,
    .form-container textarea {
        font-size: 0.9rem;
        padding: 8px;
    }

    .btn-submit {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}
