


/* Responsive Design */                     
@media (max-width: 768px) {
    .contact-section {
        height: 40vh; /* Reduce altura en móviles */
    }

    .contact-box {
        padding: 15px 30px;
    }

    .contact-box h1 {
        font-size: 2rem; /* Reduce el tamaño del texto */
    }
}

@media (max-width: 480px) {
    .contact-section {
        height: 35vh; /* Ajuste extra para móviles pequeños */
    }

    .contact-box h1 {
        font-size: 1.5rem; /* Texto más pequeño */
    }
} /* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        height: 40vh; /* Reduce altura en móviles */
    }

    .contact-box {
        padding: 15px 30px;
    }

    .contact-box h1 {
        font-size: 2rem; /* Reduce el tamaño del texto */
    }
}

@media (max-width: 480px) {
    .contact-section {
        height: 35vh; /* Ajuste extra para móviles pequeños */
    }

    .contact-box h1 {
        font-size: 1.5rem; /* Texto más pequeño */
    }
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 2px;
}

.title {
    color: #FFA500;
    font-size: 24px;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.icon {
    width: 40px;
    height: 40px;
    background-color: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #FFA500;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #FF8C00;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}  

.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    width: 95%; /* Más ancho */
    max-width: 1200px; /* Límite para pantallas grandes */
    padding-bottom: 40%; /* Reduce la altura (ajústalo según necesidad) */
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 60vh;
    background: black;
    z-index: -1;
}

.hero {
    position: relative;
    width: 90%;
    height: 60vh;
    background: url('/images/contac.jpg') no-repeat center center/cover;
    margin-left: 15%;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.text {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

@media (max-width: 1024px) {
    .hero {
        width: 100%;
        margin-left: 0;
        height: 70vh;
    }
    .overlay {
        width: 50%;
    }
    .text {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }
    .overlay {
        width: 60%;
    }
    .text {
        font-size: 1.8rem;
        left: 10%;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
    }
    .overlay {
        width: 100%;
    }
    .text {
        font-size: 1.5rem;
        left: 5%;
    }
}
