/* Fuente y colores */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
}
a { color: #0056b3; text-decoration: none; }
h1, h2, h3, h4 { color: #222; }
.info-educativa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.icono-educacion {
    width: 2%;
    height: 2%;
}

.contenedor-video{
  position: relative;

}

.contenedor-video::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,.5);
}

.texto-video{
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 78%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.texto-video h1{
  color: #fff;
  font-size: 2rem;
}

@media(min-width: 768px){
  .texto-video h1{
    font-size: 4.5rem;
  }
}

.texto-video a{
  font-size: 1rem;
  text-transform: capitalize;
  color: #fff;
  padding: 0.5rem 4rem;
  border-radius: 2px;
  transition: all .3s ease-in-out;
}

.border{
  border: 2px solid #fff;
}

.border:hover{
  color: #0056b3;
  background-color: #fff;
}

video{
  width: 100%;
  height: 100%;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.8);
}
.logo { font-weight: 600; font-size: 1.5rem; color: #0056b3; }
.menu { list-style: none; display: flex; gap: 1.5rem; }
.menu li a:hover { text-decoration: underline; }
.hero-content {
  position: absolute;
  bottom: 15%;
  left: 10%;
  color: #fff;
  max-width: 500px;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.btn-primary {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.btn-primary:hover { background: #0056b3; }

/* Footer minimalista */
.footer {
  background: #0056b3;
  padding: 2rem 1rem;
  text-align: center;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1000px;
  margin: 0 auto;
}
.footer-seccion {
  flex: 1 1 200px;
  margin: 1rem;
}
.footer-seccion h4 {
  margin-bottom: 0.5rem;
}
.footer-seccion ul {
  list-style: none;
  padding: 0;
}
.footer-seccion ul li {
  margin: 0.5rem 0;
}
.social-icons .icon {
  margin: 0 0.5rem;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 50%;
  display: inline-block;
  color: #ccc;
  transition: background 0.3s;
}
.social-icons .icon:hover {
  background: #007bff;
  color: #fff;
}
.footer-bottom {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #ccc;
}
h5{
    color: #ccc;
    font-size: 100%;
}

.about {
    background-color: #ffffff;
    padding: 4rem 0;
    color: #333;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.about-1,
.about-2 {
    flex: 1 1 45%;
    align-self: center;
}

.about-1 h3,
.about-2 h3 {
    font-size: 1.8rem;
    color: #1565c0;
    margin-bottom: 1rem;
}

.about-1 p {
    font-size: 1rem;
    line-height: 1.6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
}

.about-card {
    text-align: center;
    background-color: #f1f6fb;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card img {
    width: 60px;
    margin-bottom: 0.5rem;
}

.about-text p {
    font-size: 0.9rem;
    color: #555;
}

.services {
    background-color: #e3f2fd;
    padding: 4rem 0;
    text-align: center;
}

.services-text h2 {
    font-size: 2rem;
    color: #0d47a1;
    margin-bottom: 1rem;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
}

.card {
    position: relative;
    width: 280px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    background-color: rgba(255,255,255,0.95);
    padding: 1.2rem;
    text-align: left;
}

.overlay h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #1565c0;
}

.overlay p {
    margin: 0.5rem 0 1rem;
    font-size: 0.95rem;
    color: #333;
}

.overlay a {
    color: #0d47a1;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.overlay a:hover {
    color: #003c8f;
}
.about-content {
    padding: 4rem 0 2rem;
}

.about-services {
    margin-top: 2rem;
}

.about-services h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1565c0;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.about-services-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-services-inner h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1565c0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    width: 100%;
    max-width: 900px;
}

.about-creativos-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.about-creativos-inner h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1565c0;
}

.about-creativos-inner p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #333;
}

.about-creativos-inner a {
    margin-top: 1rem;
    color: #1565c0;
    text-decoration: none;
    font-weight: 600;
}
.container {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-creativos-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-creativos-inner h3 {
  font-size: 2rem;
  color: #1565c0;
  margin-bottom: 1rem;
}

.about-creativos-inner p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.about-creativos-inner a {
  display: inline-block;
  margin-top: 1rem;
  color: #1565c0;
  font-weight: bold;
  text-decoration: none;
}

.separador {
  height: 60px;
  background: #e3f2fd; /* azul claro */
}

.servicios {
  text-align: center;
}

.servicios h3 {
  font-size: 2rem;
  color: #1565c0;
  margin-bottom: 2rem;
}

.servicios-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.servicio-card {
  background-color: #f4f8fc;
  padding: 1.5rem;
  border-radius: 12px;
  width: 180px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.servicio-card:hover {
  transform: translateY(-5px);
}

.servicio-card img {
  width: 50px;
  margin-bottom: 0.5rem;
}

.servicio-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.servicio-card p {
  font-size: 0.9rem;
  color: #666;
}



/*   */
/* body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    text-align: center;
    margin: 0;
    padding: 20px;
}

h1 {
    font-size: 2rem;
    color: #111;
    margin-bottom: 30px;
} */

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    width: 280px;
    height: 320px;
    color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.card h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.boton {
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
}

.boton:hover {
    background-color: white;
    color: black;
}

.azul {
    background-image: linear-gradient(
    rgba(18, 52, 173, 0.6),
    rgba(18, 52, 174, 0.6)
    ), url(../Imagenes/admisionesMano.jpg);
}

.rojo {
    background-image: linear-gradient(
    rgba(18, 52, 173, 0.6),
    rgba(18, 52, 174, 0.6)
    ), url(../Imagenes/quienesSomos.jpg);
}

.amarillo {
    background-image: linear-gradient(
    rgba(18, 52, 173, 0.6),
    rgba(18, 52, 174, 0.6)
    ), url(../Imagenes/fotoColegioOriginal.jpg);
}

@media (max-width: 900px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
}