

/* ===== BOTÓN "VER MÁS" ===== */
.btn-ver {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  background: #2c81f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-ver:hover {
  background: #2b8a85;
}

h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #be223b;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #000000;
}

/* ===== MODAL ===== */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  animation: aparecer 0.3s ease;
  text-align: center;
}

@keyframes aparecer {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cerrar {
  float: right;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.cerrar:hover {
  color: #be223b;
}

/* Botón dentro del modal */
.btn-ir {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: #2c81f6;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-ir:hover {
  background: #1d5fb8;
}



html {
  scroll-padding-top: 230px; /* Ajusta según la altura de tu header */
}
/* ===== BODY Y ESTRUCTURA ===== */
body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

main, section {
  width: 100%;
}

/* ===== HEADER ===== */
header {
  background-color: #ffffff;
  color: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* ===== NAVBAR ===== */
.navbar {
  background-color: #2c81f6;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.8rem 1rem;
}
.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
}
.navbar a:hover { color: #ffdd57; transform: translateY(-2px); }

/* ===== BANNER ===== */
.banner-container img { width: 100%; height: auto; display: block; }

/* ===== CARRUSEL ===== */
.carrusel { position: relative; width: 100vw; height: 60vh; overflow: hidden; margin-bottom: 2rem; }
.carrusel-inner { display: flex; transition: transform 0.5s ease-in-out; }
.carrusel img { width: 100vw; height: 60vh; object-fit: contain; flex-shrink: 0; }
.flecha { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2rem; background: rgba(0,0,0,0.3); color: white; border: none; padding: 0.5rem 1rem; cursor: pointer; z-index: 10; }
.flecha.prev { left: 10px; }
.flecha.next { right: 10px; }

/* ===== BIENVENIDA ===== */
.bienvenida {
  padding: 3rem 1.5rem;
}



.bienvenida-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}

.bienvenida-icon {
  font-size: 3rem;
  color: #2c81f6;
  margin-bottom: 1rem;
  display: block;
}

.bienvenida h1 {
  color: #be223b;
  margin-bottom: 1rem;
  font-size: 2.2rem;
  font-weight: 700;
}

.bienvenida p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}


/* ===== SECCIONES ===== */
.section-title { color:#be223b; text-align: center; margin-bottom: 1.5rem; }

/* ===== TARJETAS ===== */
.sequence { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

.card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover { transform: translateY(-5px); }

.card-img1 {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background: #fff;
  padding: 10px;
  border: 3px solid #be223b;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-img:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }

.card-img2 {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background: #fff;
  padding: 10px;
  border: 3px solid #2c81f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-img3 {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background: #fff;
  padding: 10px;
  border: 3px solid #00ff4c;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Esto empuja el botón al final */
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* importante para que todas las cards tengan la misma altura */
  text-align: center;
}

.card a {
  align-self: flex-end; /* Alinea el botón a la derecha */
  margin-top: 1rem;
  text-decoration: none;
  background-color: #2c81f6;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}



.card strong { display: block; font-size: 1.5rem; margin-bottom: 0.5rem; color: #2c81f6; }
.card small, .card p { color: #333; line-height: 1.5; }

/* Sombras de colores de Venezuela en cards Dimensiones Formativas */
.sequence .card:nth-child(1):hover { box-shadow: 0 0 30px 10px rgba(255, 0, 0, 0.315), 0 12px 25px rgba(255, 0, 0, 0.5); }
.sequence .card:nth-child(2):hover { box-shadow: 0 0 30px 10px rgba(0, 88, 183, 0.288), 0 12px 25px rgba(0, 87, 183, 0.5); }
.sequence .card:nth-child(3):hover { box-shadow: 0 0 30px 10px rgba(52, 255, 1, 0.274), 0 12px 25px rgba(21, 255, 0, 0.5); }

/* ===== QUIENES SOMOS ===== */
.main-content { 
    max-width: 800px; margin: 3rem auto; background: linear-gradient(to bottom right, #ffffff, #f0f7ff); 
    border-radius: 20px; padding: 3rem 2.5rem; text-align: center; box-shadow: 0 12px 30px rgba(87, 179, 255, 0.9); 
    transition: 0.4s ease; }
.main-content:hover { transform: translateY(-5px); }

/* ===== FOOTER ===== */
.difuminado {
  color: #ffffff; /* Color del texto */
  opacity: 0.6; /* Ajusta la opacidad para un efecto difuminado */
  transition: opacity 0.3s ease;
}
.footer { background-color: #2c81f6; color: #fff; padding: 3rem 1rem 1rem 1rem; font-family: sans-serif; margin-bottom: 0;}
.footer h3, .footer h4 { margin-left:10px; color:#fff; margin-bottom:0.8rem; }
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:2rem; margin-bottom:2rem; }
.footer-logo { display:block; height:auto; }
.footer a { text-decoration:none !important; border:none !important; color:#fff !important; }
.footer a:hover { color:#e2e2e2 !important; }
.footer-links ul { padding:0; margin:0; }
.footer-links ul li { margin:0.3rem 0; list-style:none !important; }
.footer-social ul { display:flex; gap:1rem; padding:0; margin:0; }
.footer-social ul li a { font-size:1.4rem; display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; background:#fff; border-radius:50%; transition:transform 0.3s ease; }
.footer-social ul li a:hover { transform:scale(1.2); }
.ri-instagram-line { color:#E1306C; }
.ri-facebook-box-fill { color:#003780; }
.ri-telegram-fill { color:#60c3f5; }
.ri-youtube-fill { color:#FF0000; }
.footer-bottom { text-align:center; font-size:0.9rem; border-top:1px solid rgba(255,255,255,0.3); padding-top:1rem; color:#f1f1f1; }


.footer-apps h4 {
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer-apps ul {
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-apps ul li a {
  display: inline-block;
}

.footer-apps ul li a img.app-icon {
  height: 40px; 
  transition: transform 0.3s ease;
}

.footer-apps ul li a img.app-icon:hover {
  transform: scale(1.05);
}
