@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;600;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #4f4f4f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: #eee;
  padding: 1px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}

.logo img {
  height: 75px;
  width: auto;
}

.menu_hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.menu {
  display: flex;
  list-style: none;
  gap: 25px;
}

.menu li {
  position: relative;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  line-height: 65px;
  text-decoration: none;
  color: #1f1f1f;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
}

.menu a:hover {
  background: #133392;
  color: #fff;
}

/* Submenú */
.dropdown {
  position: relative;
}

/* Submenú estilo base */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 15px 0;
  list-style: none;
  border-radius: 5px;
  min-width: 200px;
  box-shadow: 3px 10px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #2c2c2c;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #133392;
  color: #fff;
}

/* Mostrar submenu en escritorio con hover */
.dropdown:hover .dropdown-menu {
  display: block;
}
/* Main section */
.contact-main {
  position: relative;
  flex: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0,0,0,0.7)),url('../img/conta.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

/* Overlay oscuro */
.overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.211);
  z-index: 1;
}

/* Contenedor del contenido */
.content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  color: #fff;
  text-align: center;
}

.content-wrapper h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* Columnas */
.columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  color: #fff;
}

.column {
  flex: 1 1 45%;
  background: rgba(9, 46, 150, 0.652);
  border-radius: 10px;
  padding: 25px 30px;
  text-align: left;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  min-height: 350px;
}

.column h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  text-align: center;
}
.contact-list a,
.contact-list i {
  color: white;
  text-decoration: none;
}
.cta-buttons a {
  color: white;
  background-color: #1873be; 
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

.cta-buttons a:hover {
  background-color: #01335d;
}

.column p, .column ul{
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
}

.column p i, .contact-list li i {
  margin-right: 10px;
  color: #bb1b1b;
  text-align: center;
  
}

.contact-list {
  list-style: none;
  padding-left: 0;
}

.contact-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

/* Mapa */
.map-container iframe {
  border-radius: 8px;
  width: 100%;
  height: 250px;
  border: none;
  box-shadow: 0 0 10px rgba(4, 28, 148, 0.695);
}

/* Redes sociales fijas */
.contenedor {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.redes {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.redes a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #333;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.redes a:hover {
  transform: scale(1.1) translateY(-5px);
}

.redes a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.apptiktok { background: #000000; }
.appgmail { background: #D44638; }
.appinstagram { background: #E1306C; }
.appfacebook { background: #3b5998; }

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  font-size: 16px;
  color: #000000;
  font-weight: bolder;
}


/* Responsive */
@media (max-width: 900px) {
  .columns {
    flex-direction: column;
  }
  .column {
    flex: 1 1 100%;
  }
  .social-fixed {
    right: 10px;
  }

  /* Menú hamburguesa */
  .menu_hamburger {
    display: flex;
    margin-left: auto;
    align-items: center;
  }

  .menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 10px;
    width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    border-radius: 8px;
  }

  .menu.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    background-color: #fff;
    box-shadow: none;
    padding: 0;
    display: none;
  }

  .dropdown-menu.active {
    display: block;
  }

  .dropdown-toggle {
    width: 100%;
    text-align: center;
  }

  .btn-call {
    width: 70%;
    text-align: center;
    padding: 15px 0;
    margin-bottom: 20px;
    justify-content: center;
  }

  .btn-mail {
    width: 70%;
    text-align: center;
    padding: 15px 0;
  }
}

