body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Raleway', sans-serif; /* Corregido */
    background: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    background: white;
    color: #001f3f;
    padding: 10px 0;
    position: fixed;
	width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ddd;
}

.header .logo {
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}



.navbar {
    float: right;
}

.navbar a {
    color: #001f3f;
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
}
.navbar a {
    color: #001f3f;
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
}


.banner {
    background: url('images/fondo.png') no-repeat bottom;
    background-size: cover;
    color: white;
    height: 240px; /* Ajusta la altura según necesites */
    position: relative;
    text-align: left;
}

.banner-content {
    position: absolute;
    bottom: 40px;
    left: 20px;
    transform: translateX(0);
}

.banner-content h1 {
    margin: 0;
    font-size: 48px;
}

.banner-content p {
    margin: 20px 0 0;
    font-size: 24px;
}

/* Estilos de fuentes */
.cinzel {
    font-family: 'Cinzel', serif;
}

.playfair {
    font-family: 'Playfair Display', serif;
}

.merriweather {
    font-family: 'Merriweather', serif;
}

.greatvibes {
    font-family: 'Great Vibes', cursive;
}

.raleway {
    font-family: 'Raleway', sans-serif;
}

.about, .services, .contact {
    padding: 50px 20px; /* Eliminado duplicado y cambiado a 50px */
    text-align: center;
    background: white; /* Eliminado duplicado y cambiado a blanco */
    margin-bottom: 20px;
}

.about h2, .services h2, .contact h2 {
    margin-top:10;
    margin-bottom: 30px;
    font-size: 36px; /* Eliminado duplicado y cambiado a 36px */
}

.photos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.photo-container {
    text-align: center;
    width: 20%;

}

.photo-container img {
    width: 90%;
    height: auto;
    border-radius: 5px;
}

.position {
    color: #666;
}
.services ul {
    list-style: none;
    padding: 0;
}

.services ul li {
    font-size: 24px;
    margin: 10px 0;
}


.light-white-line1 {
    width: 100%;
    height: 4px;
    background-color: #fcfbfb; /* Color blanco */
    margin: 20px 0;
}  

.light-grey-line {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0; /* Color gris claro */
    margin: 20px 0;
}

.light-grey-line1 {
    width: 100%;
    height: 2px;
    background-color: #e0e0e0; /* Color gris claro */
    margin: 20px 0;
}

.logo a {
    text-decoration: none;
    color: inherit;

}
.logo a:hover {
    text-decoration: none;
    color: inherit;

}

/*  .logo a {
    text-decoration: none !important;
    color: inherit !important;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    }
   .logo a:hover {
    text-decoration: none;
    color: inherit;
    }*/

.consulta-container {
                margin: 80px auto 30px;
                padding: 20px 15px;
            }


.consult-link a:hover {
    background-color: #808080;
}

.consult-link {
    margin: 50px auto;
    text-align: center;
}

.consult-link a {
    background-color: #3498db;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
}


.footer {
    background: #001f3f;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }

.info-card {
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

.info-card:hover {
            transform: translateY(-5px);
        }

.info-card i {
            font-size: 2.5rem;
            color: #3498db;
            margin-bottom: 15px;
        }

.info-card h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.4rem;
            color: #2c3e50;
            margin-bottom: 15px;
        }

.info-card p {
            font-family: 'Raleway', sans-serif;
            color: #545d5d;
            line-height: 1.6;
        }
.justified-text {
    text-align: justify;
    line-height: 1.6; /* Mejora la legibilidad */
    margin: 20px 0; /* Espaciado superior e inferior */
    font-size: 16px; /* Ajusta el tamaño de la fuente si es necesario */
    color: #333; /* Color del texto */
}


.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.social-icons a {
    text-decoration: none;
    font-size: 20px;
    color: #000;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: #52a0f4; /* Cambia el color al pasar el mouse */
}
/* Enlaces iniciales en negro */
.name {
    color: black; /* Color negro para los nombres */
    text-decoration: none; /* Sin subrayado */
    font-weight: bold; /* Resaltar los nombres */
    transition: color 0.3s ease; /* Transición suave para cambios de color */
}

/* Enlaces al pasar el mouse */
.name:hover {
    color: rgb(104, 131, 145); /* Color azul oscuro al pasar el mouse */
    text-decoration: none;
}

/* Enlaces después de ser clickeados */
.name:visited {
    color: rgb(6, 59, 109); /* Color azul para enlaces visitados */
    text-decoration: none;
  
}

.language-selector {
    position: relative;
    display: inline-block;
    right:0%;
}

.language-selector {
    display: flex;
    gap: 10px;
     /* Los empuja a la derecha */
    right: 0;
    position: absolute;
   
}

.language-selector a {
    font-size: 12;
    text-decoration: none;
    padding: 5px;
    border-radius: 3px;
    transition: transform 0.2s;
}

.language-selector a:hover {
    transform: scale(1.1);
    background-color: rgba(0,0,0,0.1);
}

.language-button {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: white;
    color: black;
    border: 2px solid #555;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    gap: 8px;
    min-width: 120px;
    transition: all 0.2s ease;
}

.language-button:hover {
    background: rgba(255,255,255,0.1);
    border-color: #777;
}

.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #333;
    border: 1px solid #555;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 150px;
    margin-top: 5px;
}

.dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
}

.dropdown-item.selected {
    background: rgba(76, 175, 80, 0.2);
}


.arrow {
    margin-left: auto;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.arrow.rotated {
    transform: rotate(180deg);
}

 .flag {
    width: 20px;
    height: 14px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 2px;
}

.flag.es {
    
  width: 24px;
  height: 16px;
  background:
    linear-gradient(to bottom,
      #74ACDF 0%,      /* celeste */
      #74ACDF 33%,
      white 33%,       /* blanco */
      white 66%,
      #74ACDF 66%,
      #74ACDF 100%);
  border: 1px solid #ccc;
}

.flag.en {
   
  width: 24px;
  height: 16px;
  background:
    repeating-linear-gradient(to bottom, #B22234 0, #B22234 2px, white 2px, white 4px);
  position: relative;
  overflow: hidden;
  border: 1px solid #ccc;
}

.flag.en:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 7px;
  background: #3C3B6E;

}   
    

/* Media Query para dispositivos móviles (menor a 768px) */
@media screen and (max-width: 768px) {
    .social-icons {
        display: flex;
        justify-content: center;
        gap: 5px;
    }
    .social-icons a {
        font-size: 1px; /* Tamaño más pequeño de los íconos */
        margin: 4px; /* Espaciado más reducido entre íconos */
    }
    .light-white-line1 {
        display: none; /* Ocultar en dispositivos móviles */
    }
        
        .navbar .hide-on-mobile {
            display: none; /* Oculta los enlaces adicionales */
        }
    
        
        .banner {
            background-size: cover; /* Ajustar la imagen sin recortar */
            height: 130px; /* Reducir la altura */
        }
    
        /* Centrar y ajustar la sección "Inicio" (Banner) */
    .banner-content {
        text-align: center;
        left: 0; /* Alinear al centro */
        transform: none;
        padding: 10px;
    }

    .banner-content h1 {
        font-size: 24px; /* Tamaño de título más pequeño */
        margin-bottom: 10px;
    }

    .banner-content p {
        font-size: 16px; /* Texto más pequeño */
    }
  
    /* Centrar la sección "Quiénes Somos" */
    .about, .services, .contact {
        
        text-align: center; /* Centrar texto */
        padding: 10px 10px; /* Reducir padding */
    }

    .about h2, .services h2, .contact h2 {
        font-size: 20px; /* Reducir tamaño de título */
        margin-bottom: 5px;
    }

    .about p, .services ul li, .contact p {
        font-size: 16px; /* Tamaño de texto más pequeño */
        line-height: 1.4; /* Ajustar espaciado */
    }

    /* Ajustar la lista de servicios */
    .services ul {
        padding: 0;
    }

    .services ul li {
        font-size: 16px;
        margin: 8px 0;
    }
    .services ul li::before {
        content: "• "; /* Agrega un punto decorativo */
        color: #333; /* Color del punto */
        font-weight: bold;
        margin-right: 5px; /* Espaciado entre el punto y el texto */
    }
    /* Ajustar las fotos en "Quiénes Somos" */
    .photos {
        flex-direction: column; /* Fotos en columna */
        align-items: center;
        gap: 15px;
    }

    .photo-container {
        width: 90%; /* Fotos ocupan casi todo el ancho */
    }

    .photo-container img {
        width: 100%;
        max-width: 100px; /* Limitar el tamaño máximo */
        border-radius: 5px;
    }

    /* Ajustar la sección "Contacto" */
    .contact form input, .contact form textarea {
        padding: 8px; /* Ajustar padding */
    }

    .contact form button {
        padding: 10px;
        font-size: 16px;
    }

    /* Ajustar los iconos de redes sociales */
    .social-icons a {
        font-size: 16px; /* Íconos más pequeños */
    }

    section {
        scroll-margin-top: 100px; /* Asegura espacio suficiente para el header */
    }

    
            .container1 {
                padding: 10px;
            }
                    
            
            .formulario-container {
                padding: 25px;
            }
           
            .consulta-title {
                font-size: 1rem;
            }
            .process-title {
                font-size: 1rem;
            }
            .process-steps {
                flex-direction: column;
            }
            
            .consulta-container {
                margin: 80px auto 30px;
                padding: 20px 15px;
            }


            
}
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .whatsapp-button img {
    width: 60px; /* Tamaño del botón */
    height: 60px;
    transition: transform 0.3s;
  }
  
  .whatsapp-button img:hover {
    transform: scale(1.1); /* Efecto al pasar el cursor */
  }
  