/* Color Palette */
:root {
    --primary-dark-blue: #02084B;
    --secondary-blue: #1A2C5C;
    --accent-blue: #3A4E7A;
    --light-blue: #5D6E9E;
    --text-color: #FFFFFF;
    --input-bg: #141B3D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #212121;
    font-family: 'Times New Roman', Times, serif, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: #25d366;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}

.logo {
    position: absolute;
    top: 50px;
    left: 80px;
    width: 250px;
    z-index: 100;
}

.logo img {
    width: 250px;
    border: 2px solid white;
}

nav {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-left: 30px;
    margin-right: 30px;
}

nav a {
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.header {
    width: 100%;
    position: relative;
    top: 0;
    z-index: 50;
    background-color: #02084B;
}

.headerContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: 200px;
    padding: 10px 20px;
}

nav a:hover {
    color: var(--light-blue);
}

main {
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 120px 1rem 2rem;
    background-color: #212121;
}

.sectionForm {
    width: 100%;
    max-width: 500px;
    background-color: var(--secondary-blue);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.comment-form {
    display: flex;
    flex-direction: column;
}

.comment-notes {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--light-blue);
}

.required {
    color: red;
    margin-left: 0.25rem;
}

.comment-form__field {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    background-color: var(--input-bg);
    border: 1px solid var(--accent-blue);
    border-radius: 5px;
    color: var(--text-color);
}

.comment-form__field::placeholder {
    color: var(--light-blue);
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.submit {
    background-color: var(--accent-blue);
    color: var(--text-color);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.submit:hover {
    background-color: var(--light-blue);
}

.contacto {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    padding: 40px 20px;
    place-items: center;
    background-color: black;
}

.logoBottom img{
    width: 250px;
    border: 2px solid white;
}

.contactoInfomacion{
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
}

.contactoButton{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.contacto-item {
    background-color: #128C7E;
    padding: 15px 20px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: background-color 0.3s ease; /* Transición suave al pasar el mouse */
    text-align: center;
}
  
.contacto-item:hover {
    background-color: #02344b;
}
  
.contacto-item i {
    margin-right: 10px;
    font-size: 1.2em; /* Tamaño de los iconos */

}

.redes h2{
    margin-bottom: 20px;
}

.redes-iconos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    cursor: pointer;
}

.redes a{
    text-decoration: none;
}

.derechos {
    text-align: left;    
    padding: 20px;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}



@media screen and (max-width: 768px) {

    nav a {
        font-size: 1rem;
    }
}

@media screen and (max-width: 670px) {

    .logo img {
          width: 150px;
          position: absolute;
          top: 110px;
          left: 100%;
          transform: translateX(-50%);
          z-index: 100;
    }

    .contacto-info {
        grid-template-columns: repeat(1, 1fr);  
    }    
}



@media screen and (max-width: 550px) {

    .logo img {
          width: 150px;
          position: absolute;
          top: 110px;
          left: 59%;
          transform: translateX(-50%);
          z-index: 100;
    }

    .banner {
        height: 700px;
    }

    .contactoButton{
        grid-template-columns: 1fr;
    }

    .redes-iconos {
        grid-template-columns: 1fr;
    }

}

@media screen and (max-width: 430px) {

    .logo img {
          width: 150px;
          top: 110px;
          left: 53%;

    }

    .contacto {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 425px) {

    .logo img {
          width: 150px;
          position: absolute;
          top: 110px;
          left: 55%;
          transform: translateX(-50%);
          z-index: 100;
    }

}

@media screen and (max-width: 390px) {

    .logo img {
        width: 150px;
        top: 110px;
        left: 44%;

      }
}

@media screen and (max-width: 375px) {

    .logo img {
          width: 150px;
          position: absolute;
          top: 110px;
          left: 45%;
          transform: translateX(-50%);
          z-index: 100;
      }
}

@media screen and (max-width: 320px) {
    nav a {
        font-size: 0.5rem;
    }

    .logo img {
          width: 150px;
          position: absolute;
          top: 110px;
          left: 35%;
          transform: translateX(-50%);
          z-index: 100;
      }
}