* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: #ffffff;
  color: #110B11;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  display: flex;
  justify-content: center; /* Centramos el contenido principal */
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
}

.logo {
  position: absolute; /* Lo sacamos del flujo para que no afecte el centrado */
  left: 2rem;
}

.logo img {
  height: 60px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #0E3166;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: #E06D06;
}


/* BOTON CAMBIO DE IDIOMA ES */

.lang-selector {
  position: absolute;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  color: #0E3166;
  transition: opacity 0.3s;
}

.lang-selector img {
  height: 20px;
  width: 20px;
}

.lang-selector:hover {
  opacity: 0.7;
}

/* seccion 1 */

.hero {
  background: url('cover.jpg') center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 1px; /* para compensar el menú fijo si lo tienes */
}

.hero-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(14, 49, 102, 0.5);
  text-align: center;
  padding: 2rem;
  color: #ffffff;
  width: 100%;
  height: 640px;

  /* max-width: 1080px; */
  /* height: auto; ya no forzamos altura */
  box-sizing: border-box;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-buttons .btn {
  background-color: #E06D06;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border: none;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.hero-buttons .btn.secondary {
  background-color: #188FA7;
}



/* section 3 READY */
.cta-section {
  background-color: #EBF5EE;
  color: #0E3166;
  text-align: center;
  padding: 2rem 2rem;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.cta-btn {
  display: inline-block;
  background-color: #E06D06;
  color: #ffffff;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #c45c05;
}


/* Who we are */
/* Sección inferior en dos columnas */
.who-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  gap: 2rem;
  background-color: #ffffff;
}

h2 {
  color: #0E3166;
}
.who-text {
  flex: 1 1 50%;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #110B11;
}

.about-image {
  flex: 1 1 20%;
  text-align: right;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* WHY CHOOSE */
.services-section {
  background-color: #EBF5EE;
  padding: 4rem 2rem;
  text-align: center;
}

.services-header h2 {
  color: #003D73;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.services-header p {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #110B11;
  font-size: 1.1rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-box {
  background-color: #F5F9FC;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  border-top: 4px solid #E06D06;
  transition: transform 0.3s;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.service-box h3 {
  color: #c45c05;
  margin-bottom: 0.5rem;
}

.service-box {
  width: 280px;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  border-top: 4px solid #E06D06;
  transition: transform 0.3s;
}

/* footer */

.custom-footer {
  background-color: #0E3166;
  color: #ffffff;
  padding: 4rem 2rem;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand,
.footer-links,
.footer-contact {
  flex: 1 1 28%;
  min-width: 250px;
}

.footer-brand h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.footer-brand p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.social-icons a {
  display: inline-block;
  margin-right: 1rem;
}

.social-icons img {
  height: 28px;
  width: 28px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.footer-links h4,
.footer-contact h4 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.enlace {
  color: white;
}