/* contactanos.css */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

.navbar-section {
    background: linear-gradient(135deg, #000000 0%, #0f2066 100%);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #0dd30e;
}

.list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    margin: 0 15px;
}

.nav-link a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link a:hover {
    background-color: rgba(13, 211, 14, 0.1);
    color: #0dd30e;
    transform: translateY(-2px);
}

.Tittle {
    margin-bottom: 1rem;
    text-align: center;
    color: #0f2066;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: bold;
}

.main-section {
    background-image: url(img/Contacttanos.png);
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 165vh;
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
}

.main-section .Tittle {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 10px;
}

.main-section p {
    color: #ffffff;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    max-width: 700px;
    margin-top: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form, .contact-info {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-form h2, .contact-info h2 {
    color: #0dd30e;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
}

.contact-form h3, .contact-info h3 {
    color: #0dd30e;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 2px solid #0dd30e;
    border-radius: 8px;
    background-color: #ffffff;
    color: #000000;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #0f2066;
    box-shadow: 0 0 8px rgba(15, 32, 102, 0.3);
    outline: none;
}

.contact-form button {
    padding: 12px;
    background-color: #0dd30e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background-color: #0f2066;
    transform: scale(1.05);
}

.contact-info p {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-info strong {
    color: #0dd30e;
}

.submain-section {
    background-color: #ffffff;
    padding: 60px 20px;
    border-bottom: 5px solid #0f2066;
}

.submain-section .Subtitle {
    color: #0f2066;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 30px;
}

.submain-section iframe {
    width: 100%;
    height: 400px;
    border: 3px solid #0dd30e;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    display: block;
    margin: 0 auto;
}

.footer-section {
    background: linear-gradient(135deg, #000000 0%, #0f2066 100%);
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-info, .footer-social, .footer-legal {
    flex: 1;
    min-width: 200px;
}

.footer-info h3, .footer-social h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #0dd30e;
}

.footer-info p, .footer-social a, .footer-legal p, .footer-legal a {
    margin: 5px 0;
    font-size: 14px;
    text-decoration: none;
    color: #ffffff;
}

.footer-social a:hover {
    color: #0dd30e;
}

.footer-legal a {
    color: #cccccc;
}

.footer-legal a:hover {
    color: #0dd30e;
}

/* ===== RESPONSIVE ===== */

/* Tablets grandes / laptops chicas */
@media (max-width: 1024px) {
    .main-section {
        min-height: 130vh;
    }

    .contact-grid {
        gap: 25px;
    }

    .submain-section iframe {
        height: 350px;
    }
}

/* Tablets / móviles horizontales */
@media (max-width: 768px) {

    .navbar-container {
        flex-direction: column;
        gap: 15px;
    }

    .list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .nav-link {
        margin: 0 8px;
    }

   .main-section {
        width: 100%;
        min-height: unset;
        height: auto;
        aspect-ratio: 1080 / 1159;
        padding: 30px 20px 40px;
        background-image: url(img/Contactanos_mobile.jpeg);
        background-size: cover;
        background-position: center center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form, .contact-info {
        padding: 20px;
    }

    .contact-form input, .contact-form textarea, .contact-form button {
        font-size: 0.9rem;
    }

    .submain-section {
        padding: 40px 15px;
    }

    .submain-section iframe {
        height: 300px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {

    .logo a {
        font-size: 20px;
    }

    .nav-link a {
        padding: 8px 10px;
        font-size: 14px;
    }

    .main-section {
        padding: 20px 15px 30px;
    }

    .main-section p {
        margin-bottom: 25px;
    }

    .contact-form, .contact-info {
        padding: 15px;
    }

    .contact-form h3, .contact-info h3 {
        font-size: 1.1rem;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .submain-section {
        padding: 30px 10px;
    }

    .submain-section iframe {
        height: 220px;
    }

    .footer-section {
        padding: 25px 15px;
    }

    .footer-info p, .footer-social a, .footer-legal p, .footer-legal a {
        font-size: 13px;
    }
}