/* Reset global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

header {
  background: #5191fa;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

header.scrolled {
  background: rgba(0, 0, 0, 0);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-direction: row;
}

.nav-left {
  flex-grow: 1;
}

.nav-items {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-items li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 6px;
  background-color: rgba(1, 49, 88, 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.nav-items li a:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* Logo */
.logo img {
  height: 100px;
}

/* Botón de menú hamburguesa */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
}

/* Responsive: dispositivos pequeños */
@media (max-width: 768px) {
  .navbar {
    padding: 10px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }

  .nav-items {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #5191fa;
    width: 100%;
    height: 100vh;
    padding-top: 120px;
    z-index: 1001;
  }

  .nav-items.active {
    display: flex;
  }

  .nav-items li {
    text-align: center;
    margin: 10px 0;
  }

  .nav-items li a {
    display: block;
    padding: 15px;
    font-size: 18px;
    background: none;
    width: 100%;
  }

  .logo img {
    height: 60px;
  }
}
/* Main */
main {
  padding-top: 90px;
}

/* Banners */
.banners {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px; 
  padding: 40px 20px;
  background-image: url('../Assets/svg/fondo.png'); 
  background-repeat: repeat-y;
  background-size: contain;
  background-position: center top;
/* Capa semitransparente encima de la imagen de fondo */
  background-color: rgba(255, 255, 255, 0.7); /* Blanco con opacidad del 70% */

  z-index: 1;
}

/* Banner images */
.banners img {
  width: 80%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, opacity 1s ease;
  opacity: 0; 
  transform: translateY(30px);
  z-index: 2;
}

/* Visible images with animation */
.banners img.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Misión y Visión */
.mision-vision {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
  padding: 50px 20px;
  background-color: #f5f5f5;
}

.card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 650px;
  min-width: 300px;
  padding: 30px;
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.card img {
  width: 180px;
  height: 180px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}

.text {
  flex: 1;
}

.card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #004080;
}

.card p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .mision-vision {
    flex-direction: column;
    gap: 30px;
  }

  .card {
    padding: 20px;
  }

  .card-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card img {
    width: 140px;
    height: 140px;
  }

  .card h2 {
    font-size: 1.5rem;
  }

  .card p {
    font-size: 1rem;
  }
}

/* Footer */
footer {
  background-color: #004080;
  color: white;
  padding: 20px;
  text-align: center;
}

.redes {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-top: 10px;
}

.redes li a {
  color: white;
  text-decoration: none;
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  justify-content: flex-start;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.card img {
  width: 80%;
  height: auto;
  max-width: 300px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.text {
  max-width: 300px;
}

.card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #004080;
}

.card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Media Queries for responsiveness */

/* Small screens (up to 600px) */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .nav-items {
    flex-direction: column;
    gap: 10px;
  }

  .banners img {
    width: 90%;
  }

  .mision-vision {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    max-width: 100%;
    padding: 15px;
  }

  .card img {
    width: 40%;
    max-width: 120px;
  }

  .card h2 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.9rem;
  }
}

/* Tablets and medium screens (601px to 900px) */
@media (min-width: 601px) and (max-width: 900px) {
  .mision-vision {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    max-width: 80%;
  }

  .card img {
    width: 45%;
    max-width: 130px;
  }

  .card h2 {
    font-size: 1.3rem;
  }

  .card p {
    font-size: 1rem;
  }
}

/* Large screens (more than 900px) */
@media (min-width: 901px) {
  .mision-vision {
    display: flex;
    justify-content: space-around;
    gap: 40px;
  }

  .card img {
    width: 50%;
    max-width: 150px;
  }
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
}

/* Display hamburger on small screens */
@media (max-width: 768px) {
  .navbar {
    padding: 10px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }

  .nav-items {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #5191fa;
    width: 100%;
    height: 100vh;
    padding-top: 120px;
    z-index: 1001;
  }

  .nav-items.active {
    display: flex;
  }

  .nav-items li {
    text-align: center;
    margin: 10px 0;
  }

  .nav-items li a {
    display: block;
    padding: 15px;
    font-size: 18px;
    background: none;
    width: 100%;
  }

  .logo img {
    height: 60px;
  }
}

/* Main */
main {
  padding-top: 90px;
}

/* Banners */
.banners {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px; 
  padding: 40px 20px;
  background-image: url('../Assets/svg/fondo.png'); 
  background-repeat: repeat-y;
  background-size: contain;
  background-position: center top;
/* Capa semitransparente encima de la imagen de fondo */
  background-color: rgba(255, 255, 255, 0.7); /* Blanco con opacidad del 70% */

  z-index: 1;
}

/* Banner images */
.banners img {
  width: 80%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, opacity 1s ease;
  opacity: 0; 
  transform: translateY(30px);
  z-index: 2;
}

/* Visible images with animation */
.banners img.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Misión y Visión */
.mision-vision {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
  padding: 50px 20px;
  background-color: #f5f5f5;
}

.card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 650px;
  min-width: 300px;
  padding: 30px;
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.card img {
  width: 180px;
  height: 180px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}

.text {
  flex: 1;
}

.card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #004080;
}

.card p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .mision-vision {
    flex-direction: column;
    gap: 30px;
  }

  .card {
    padding: 20px;
  }

  .card-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card img {
    width: 140px;
    height: 140px;
  }

  .card h2 {
    font-size: 1.5rem;
  }

  .card p {
    font-size: 1rem;
  }
}

/* Footer */
footer {
  background-color: #004080;
  color: white;
  padding: 20px;
  text-align: center;
}

.redes {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-top: 10px;
}

.redes li a {
  color: white;
  text-decoration: none;
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  justify-content: flex-start;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.card img {
  width: 80%;
  height: auto;
  max-width: 300px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.text {
  max-width: 300px;
}

.card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #004080;
}

.card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Media Queries for responsiveness */

/* Small screens (up to 600px) */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .nav-items {
    flex-direction: column;
    gap: 10px;
  }

  .banners img {
    width: 90%;
  }

  .mision-vision {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    max-width: 100%;
    padding: 15px;
  }

  .card img {
    width: 40%;
    max-width: 120px;
  }

  .card h2 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.9rem;
  }
}

/* Tablets and medium screens (601px to 900px) */
@media (min-width: 601px) and (max-width: 900px) {
  .mision-vision {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    max-width: 80%;
  }

  .card img {
    width: 45%;
    max-width: 130px;
  }

  .card h2 {
    font-size: 1.3rem;
  }

  .card p {
    font-size: 1rem;
  }
}

/* Large screens (more than 900px) */
@media (min-width: 901px) {
  .mision-vision {
    display: flex;
    justify-content: space-around;
    gap: 40px;
  }

  .card img {
    width: 50%;
    max-width: 150px;
  }
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
}

/* Display hamburger on small screens */
@media (max-width: 768px) {
  .navbar {
    padding: 10px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }

  .nav-items {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #5191fa;
    width: 100%;
    height: 100vh;
    padding-top: 120px;
    z-index: 1001;
  }

  .nav-items.active {
    display: flex;
  }

  .nav-items li {
    text-align: center;
    margin: 10px 0;
  }

  .nav-items li a {
    display: block;
    padding: 15px;
    font-size: 18px;
    background: none;
    width: 100%;
  }

  .logo img {
    height: 60px;
  }
}

/* Main */
main {
  padding-top: 90px;
}

/* Banners */
.banners {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px; 
  padding: 40px 20px;
  background-image: url('../Assets/svg/fondo.png'); 
  background-repeat: repeat-y;
  background-size: contain;
  background-position: center top;
/* Capa semitransparente encima de la imagen de fondo */
  background-color: rgba(255, 255, 255, 0.7); /* Blanco con opacidad del 70% */

  z-index: 1;
}

/* Banner images */
.banners img {
  width: 80%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, opacity 1s ease;
  opacity: 0; 
  transform: translateY(30px);
  z-index: 2;
}

/* Visible images with animation */
.banners img.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Misión y Visión */
.mision-vision {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
  padding: 50px 20px;
  background-color: #f5f5f5;
}

.card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 650px;
  min-width: 300px;
  padding: 30px;
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.card img {
  width: 180px;
  height: 180px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}

.text {
  flex: 1;
}

.card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #004080;
}

.card p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .mision-vision {
    flex-direction: column;
    gap: 30px;
  }

  .card {
    padding: 20px;
  }

  .card-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card img {
    width: 140px;
    height: 140px;
  }

  .card h2 {
    font-size: 1.5rem;
  }

  .card p {
    font-size: 1rem;
  }
}

/* Footer */
footer {
  background-color: #004080;
  color: white;
  padding: 20px;
  text-align: center;
}

.redes {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-top: 10px;
}

.redes li a {
  color: white;
  text-decoration: none;
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  justify-content: flex-start;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.card img {
  width: 80%;
  height: auto;
  max-width: 300px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.text {
  max-width: 300px;
}

.card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #004080;
}

.card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Media Queries for responsiveness */

/* Small screens (up to 600px) */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .nav-items {
    flex-direction: column;
    gap: 10px;
  }

  .banners img {
    width: 90%;
  }

  .mision-vision {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    max-width: 100%;
    padding: 15px;
  }

  .card img {
    width: 40%;
    max-width: 120px;
  }

  .card h2 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.9rem;
  }
}

/* Tablets and medium screens (601px to 900px) */
@media (min-width: 601px) and (max-width: 900px) {
  .mision-vision {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    max-width: 80%;
  }

  .card img {
    width: 45%;
    max-width: 130px;
  }

  .card h2 {
    font-size: 1.3rem;
  }

  .card p {
    font-size: 1rem;
  }
}

/* Large screens (more than 900px) */
@media (min-width: 901px) {
  .mision-vision {
    display: flex;
    justify-content: space-around;
    gap: 40px;
  }

  .card img {
    width: 50%;
    max-width: 150px;
  }
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
}

/* Display hamburger on small screens */
@media (max-width: 768px) {
  .navbar {
    padding: 10px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }

  .nav-items {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #5191fa;
    width: 100%;
    height: 100vh;
    padding-top: 120px;
    z-index: 1001;
  }

  .nav-items.active {
    display: flex;
  }

  .nav-items li {
    text-align: center;
    margin: 10px 0;
  }

  .nav-items li a {
    display: block;
    padding: 15px;
    font-size: 18px;
    background: none;
    width: 100%;
  }

  .logo img {
    height: 60px;
  }
}

/* Main */
main {
  padding-top: 90px;
}

/* Banners */
.banners {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px; 
  padding: 40px 20px;
  background-image: url('../Assets/svg/fondo.png'); 
  background-repeat: repeat-y;
  background-size: contain;
  background-position: center top;
/* Capa semitransparente encima de la imagen de fondo */
  background-color: rgba(255, 255, 255, 0.7); /* Blanco con opacidad del 70% */

  z-index: 1;
}

/* Banner images */
.banners img {
  width: 80%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, opacity 1s ease;
  opacity: 0; 
  transform: translateY(30px);
  z-index: 2;
}

/* Visible images with animation */
.banners img.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Misión y Visión */
.mision-vision {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
  padding: 50px 20px;
  background-color: #f5f5f5;
}

.card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 650px;
  min-width: 300px;
  padding: 30px;
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.card img {
  width: 180px;
  height: 180px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}

.text {
  flex: 1;
}

.card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #004080;
}

.card p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .mision-vision {
    flex-direction: column;
    gap: 30px;
  }

  .card {
    padding: 20px;
  }

  .card-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card img {
    width: 140px;
    height: 140px;
  }

  .card h2 {
    font-size: 1.5rem;
  }

  .card p {
    font-size: 1rem;
  }
}

/* Footer */
footer {
  background-color: #004080;
  color: white;
  padding: 20px;
  text-align: center;
}

.redes {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-top: 10px;
}

.redes li a {
  color: white;
  text-decoration: none;
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  justify-content: flex-start;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.card img {
  width: 80%;
  height: auto;
  max-width: 300px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.text {
  max-width: 300px;
}

.card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #004080;
}

.card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Media Queries for responsiveness */

/* Small screens (up to 600px) */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .nav-items {
    flex-direction: column;
    gap: 10px;
  }

  .banners img {
    width: 90%;
  }

  .mision-vision {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    max-width: 100%;
    padding: 15px;
  }

  .card img {
    width: 40%;
    max-width: 120px;
  }

  .card h2 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.9rem;
  }
}

/* Tablets and medium screens (601px to 900px) */
@media (min-width: 601px) and (max-width: 900px) {
  .mision-vision {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    max-width: 80%;
  }

  .card img {
    width: 45%;
    max-width: 130px;
  }

  .card h2 {
    font-size: 1.3rem;
  }

  .card p {
    font-size: 1rem;
  }
}

/* Large screens (more than 900px) */
@media (min-width: 901px) {
  .mision-vision {
    display: flex;
    justify-content: space-around;
    gap: 40px;
  }

  .card img {
    width: 50%;
    max-width: 150px;
  }
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
}

/* Display hamburger on small screens */
@media (max-width: 768px) {
  .navbar {
    padding: 10px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }

  .nav-items {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #5191fa;
    width: 100%;
    height: 100vh;
    padding-top: 120px;
    z-index: 1001;
  }

  .nav-items.active {
    display: flex;
  }

  .nav-items li {
    text-align: center;
    margin: 10px 0;
  }

  .nav-items li a {
    display: block;
    padding: 15px;
    font-size: 18px;
    background: none;
    width: 100%;
  }

  .logo img {
    height: 60px;
  }
}

/* SECCION TRABAJEMOS JUNTOS */
.banner-con-botones {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Alineación común con otras imágenes */
  margin: 0 auto; /* Centra horizontalmente */
}

.banner-con-botones img {
  width: 100%;
  height: auto;
  display: block; /* Elimina espacio extra debajo de imagen */
}

.registro-botones {
  position: absolute;
  bottom: 65px;           /* Subir los botones (antes estaba en 20px) */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 250px;              /* Más separación entre botones (antes 30px) */
  justify-content: center;
}

.btn-registro {
  white-space: nowrap; /* Evita que el texto se vaya a segunda línea */
  min-height: 80px;
  min-width: 180px;  /* Botones más anchos (antes 120px) */
  background-color: #0051a1;
  color: white;
  padding: 16px 32px;     /* Botones más grandes (antes 12px 24px) */
  border: none;
  border-radius: 42px;
  font-size: 25px;        /* Texto más grande (antes 16px) */
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-registro:hover {
  background-color: #012a53;
}
/* ------------------------------- */
/* Estilos especiales para botones-imagen en el primer banner */

/* Selecciona el primer .banner-con-botones dentro de .banners */
.banners > .banner-con-botones:nth-of-type(1) .registro-botones {
  bottom: auto;       /* Quitamos bottom porque ya no estarán abajo */
  top: 70%;           /* Centramos verticalmente */
  left: 45px;         /* Pegados al lado izquierdo con un poco de margen */
  transform: translateY(-50%); /* Centrar verticalmente */
  flex-direction: column;     /* Columna vertical */
  gap: 60px;                  /* Espacio vertical entre botones */
  justify-content: flex-start; /* Alineación arriba */
  border: none;  
   outline: none;            /* Sin outline cuando se haga focus */
  cursor: pointer;
}

/* Botones imagen más grandes */
.imagenes-botones button img {
  width: 250px;  /* Más grandes, ajusta según gustes */
  height: auto;
  display: block;
  transition: transform 0.3s ease;
    border: none;  
   outline: none;            /* Sin outline cuando se haga focus */
  cursor: pointer;
}

.imagenes-botones button:hover img {
  transform: scale(1.1);
}
 
/* ✅ Responsividad para pantallas pequeñas (móviles) */
/* ✅ Responsividad para pantallas pequeñas (móviles) */
@media (max-width: 768px) {
  .banner-con-botones {
    max-width: 100%;
  }
  
  /* Primer banner (App Store y Google Play) */
  .imagenes-botones button img {
    width: 10px; /* Reducido solo un poco, lo mantenemos bastante similar */
    height: auto;
    display: block;
    transition: transform 0.3s ease;
  }

  /* Segundo banner (Registro) */
  .banners > .banner-con-botones:nth-of-type(2) .registro-botones {
    flex-direction: row; /* Aseguramos que los botones de registro estén lado a lado */
    gap: 20px; /* Reducimos el espacio entre ellos */
    bottom: 30px; /* Ajustamos un poco más el bottom */
  }

  .btn-registro {
    min-height: 60px;
    min-width: 80px; /* Hacemos los botones de registro un poco más pequeños */
    font-size: 18px; /* Texto un poco más pequeño */
    padding: 12px 24px; /* Ajustamos el padding para que los botones no estén tan grandes */
  }
}

/* ✅ Extra: para pantallas muy pequeñas (<480px) */
@media (max-width: 480px) {
  /* Botones App Store y Google Play */
  .imagenes-botones {
    gap: 5px; 
  }
  .imagenes-botones button img {
    width: 70px; /* Más pequeños en pantallas muy pequeñas */
  }

  /* Botones de registro más pequeños */
  .btn-registro {
    min-width: 55px; /* Aún más pequeños */
    min-height: 30px; /* Aún más pequeños */
    font-size: 10px;
    padding: 10px 20px; /* Más ajuste */
  }
}

/* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER */
footer {
  background: rgba(0, 0, 0, 0.5) url('../Assets/svg/POGGO\ 1.svg') no-repeat center center; 
  background-size: cover; /* Asegura que la imagen cubra todo el fondo */
  color: white;
  padding: 40px 20px; /* Espaciado */
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Tres columnas en pantallas grandes */
  gap: 20px; /* Espacio entre las columnas */
  text-align: center;
}

footer .footer-column {
    background-color: rgba(0, 0, 0, 0.4); /* Fondo blanco semi-transparente */
  display: flex;
  padding: 20px; /* Agregar un margen interno */
  border-radius: 10px; /* Redondear los bordes */
  flex-direction: column;
  gap: 10px;
}
/* Resto de la configuración para las redes sociales */
.footer-column.footer-social {
  background-color: rgba(0, 0, 0, 0.4); /* Fondo opaco más oscuro para las redes sociales */
  padding: 20px; /* Agregar un margen interno */
  border-radius: 10px; /* Redondear los bordes */
}

footer h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 8px;
}

footer .footer-social a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .footer-social img {
  width: 20px; /* Ajusta el tamaño de los íconos */
  height: 20px;
}

footer .footer-social a:hover {
  color: #8195FF; /* Cambio de color al pasar el ratón */
}

/* Estilos para los enlaces */
footer a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

footer a:hover {
  color: #8195FF;
}

/* Responsividad */

/* Para pantallas pequeñas, las tres columnas se reorganizan en una sola columna */
@media (max-width: 768px) {
  footer {
    grid-template-columns: 1fr; /* Una sola columna */
    padding: 20px;
    background-position: right center; /* Mueve la imagen de fondo más hacia la izquierda */
    padding: 20px; /* Reducir padding en pantallas móviles */
  }

  footer .footer-column {
    text-align: left; /* Alineación a la izquierda para dispositivos pequeños */
  }

  footer h4 {
    font-size: 1rem;
  }

  footer ul li {
    font-size: 0.9rem; /* Reducir tamaño de los textos en pantallas pequeñas */
  }

  footer .footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  footer .footer-social a {
    padding-left: 0;
  }

  footer .footer-social img {
    width: 18px; /* Ajusta el tamaño de los íconos en móviles */
    height: 18px;
  }
   
}
