* {
  box-sizing: border-box;
}

html,body{overflow-x:hidden;}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  color: #333;
  background: #F7F4EA;
}

/* ===== BARRA DE NAVEGACIÓN ===== */

.barra-navegadora{
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #2a8d00;
    padding: 15px 30px;
    border-radius: 40px;
    margin: 20px;
    font-size: 30px;
}

.barra-navegadora a{
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s;
}

.barra-navegadora a:not(.logo):hover{
    background-color: #f1f1f1;
    color: #2a8d00;
    font-size: 45px;
}

.barra-navegadora .logo img{
    height: 60px;
    transition: all 0.3s;
    font-size: 45px;

}

.logo-colegio{
    margin-left: 16px;
    border-radius: 50%;
}

.logo-colegio img{
    border-radius: 50%;
}

/* ===== SECCIÓN HERO ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 40px;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-texto {
  flex: 1;
  min-width: 300px;
}

.hero-texto h1 {
  text-align: center;
  font-size: 5rem;
  color: #1b4332;
  border-bottom: 3px solid #1b4332;
  padding-bottom: 15px;
  display: inline-block;
  padding-top: -25px;
  transform: translateX(15%);
  transform: translateY(-80%);
  margin-left: 120px;
  margin-top: 150px;
}

.hero-texto h1 .colegio-nombre{
  display: block;
  font-size: 0.32em;
  font-weight: 600;
  color: #2a8d00;
  letter-spacing: 0.02em;
  margin-top: 10px;
  line-height: 1.2;
}

.hero-texto h3 {
  font-weight: normal;
  line-height: 1.5;
  color: #333;
  margin: 25px 0;
  text-align: center;
  font-size: 2rem;
  margin-left: -5px;
  margin-top: -20%;
  width: 85%;
}

/* Botones Misión / Visión */
.mision-vision {
  display: flex;
  gap: 20px;
  
}

.btn-lleno,
.btn-borde {
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  margin-top: 3%;
  font-size: 1.5rem;
  transform: translateX(190%);
  
}

.btn-lleno {
  background-color: #2a8d00;
  color: white;
}

.btn-lleno:hover {
  background-color: #1b4332;
}

.btn-borde {
  background-color: white;
  color: #2a8d00;
  border: 2px solid #2a8d00;
}

.btn-borde:hover {
  background-color: #2a8d00;
  color: white;
}

/* Imagen del hero */
.hero-imagen {
  position: relative;
  background-color: #2a8d00;
  border-radius: 20px;
  width:50px;
  height: 500px;
  flex: 0 0 250px;
  transform: translateY(-7%);
}

.hero-imagen img {
    position: absolute;
  bottom: 0;
  left: -120%;
  transform: translateX(-60%);
  transform: translateY(8%) ;
  width: 600px;       
  z-index: 1;          
}

/* ===== SECCIÓN OBJETIVOS ===== */
.objetivos {
  padding: 35px;
  text-align: center;
}

.objetivos h2{
  font-size: 60px;
  transform: translateY(-30%);
  text-align: left;
  font-family: 'Times New Roman', Times, serif;
}

.objetivos h4{
font-size: 30px;
transform: translateY(-30%  );
text-align: left;
border-left: 4px solid #2a8d00 !important;
padding-left: 15px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-weight: normal;
color: #2a8d00;
}

#objetivos h4{color: #2a8d00;
border-left: 4px solid #2a8d00;
margin-bottom: 3%;}

.objetivos h3{
  margin-top:-2%;
  font-size:30px ;
}

.parrafo2{
  margin-top: 2%;
}

.tarjetas-objetivos {
  display: flex;
  flex-direction: column;
  align-items: stretch;   
  gap: 20px;
  margin-top: -30px;
  padding: 0;
}

p{font-size: 30px;
width: auto ;}

.caja {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  width: 100%;
}

.caja img {
  width: 75px;
  margin-bottom: 15px;
  transform: translateX(100%);
  transform: translateX(20%)
}

.corazon img {width: 100px;
margin: -1%;}

.numero {
  position: absolute;
  top: -12px;
  right: -12px;
  background-color: #2a8d00;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===== SECCIONES MISIÓN Y VISIÓN ===== */
.mision-seccion,
.vision-seccion {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 40px;
  flex-wrap: wrap;
}

.mision-seccion img,
.vision-seccion img {
  flex: 0 0 250px;
  max-width: 100%;
}

.texto-mision-vision {
  flex: 1;
  min-width: 300px;
}

.texto-mision-vision h2 {
  color: #2a8d00;
  font-size: 50px;
}

.texto-mision-vision p {
  line-height: 1.6;
}

.imagen-mision{
width: 25%;
height: 130%;
}

.imagen-vision{
width: 25%;
height: 130%;
}

/* ===================================== */
/* TABLETS (hasta 1024px) */
/* ===================================== */
@media (max-width: 1024px) {

  .hero {
    padding-top: 10px;
  }

  .hero-texto h1 {
    font-size: 3.5rem;
    margin-left: 0;
    transform: none;
    margin-top: 0px;
  }

  .hero-texto h1 .colegio-nombre{
    font-size: 0.5em;
  }

  .hero-texto h3 {
    font-size: 1.5rem;
    margin-left: 0;
    margin-top: 0;
    width: 100%;
  }

  .mision-vision {
    justify-content: center;
  }

  .btn-lleno,
  .btn-borde {
    transform: none;
  }

  .hero-imagen {
    width: 100%;
    max-width: 280px;
    height: 280px;
    margin: 20px auto 0;
    transform: none;
    overflow: hidden;
  }

  .hero-imagen img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 260px;
  }

  .objetivos h2 {
    font-size: 30px;
  }

  .objetivos h4 {
    font-size: 20px;
  }

  .tarjetas-objetivos {
    margin-top: 50px;
  }

  .caja {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .caja img {
    width: 45px;
  }

  .caja h3 {
    font-size: 1.2rem;
  }

  .caja p {
    font-size: 0.95rem;
  }

  .imagen-mision,
  .imagen-vision {
    max-width: 220px;
  }
}

/* ===================================== */
/* TABLETS PEQUEÑAS Y MÓVILES GRANDES  */
/* ===================================== */
@media (max-width: 768px) {

  .barra-navegadora {
    grid-template-columns: 1fr auto 1fr;
    padding: 10px 15px;
    border-radius: 20px;
    margin: 10px;
    font-size: 14px;
  }

  .nav-grupo {
    flex-direction: column;
    gap: 6px;
  }

  .barra-navegadora a {
    padding: 4px 8px;
    font-size: 13px;
  }

  .barra-navegadora a:not(.logo):hover {
    font-size: 13px;
  }

  .logo img {
    height: 35px;
  }

  .logo-colegio {
    margin-left: 10px;
  }

  .hero {
    padding: 10px 20px 30px;
    text-align: center;
  }

  .hero-texto h1 {
    font-size: 2.5rem;
    margin-top: 0;
    transform: none;
  }

  .hero-texto h3 {
    font-size: 1.2rem;
  }

  .mision-seccion,
  .vision-seccion {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 20px;
  }

  .imagen-mision,
  .imagen-vision {
    width: 100%;
    height: auto;
    max-width: 220px;
    margin: 0 auto;
  }

  .mision-seccion img,
  .vision-seccion img {
    width: 100%;
    max-width: 220px;
    height: auto;
  }

  .texto-mision-vision h2 {
    font-size: 1.5rem;
  }

  .texto-mision-vision p {
    font-size: 0.95rem;
  }
}

/* ===================================== */
/* MÓVILES */
/* ===================================== */
@media (max-width: 480px) {

  .barra-navegadora {
    padding: 8px 10px;
    font-size: 12px;
  }

  .nav-grupo {
    gap: 4px;
  }

  .barra-navegadora a {
    padding: 3px 6px;
    font-size: 11px;
  }

  .logo-colegio {
    margin-left: 6px;
  }

  .hero-texto h1 {
    font-size: 2rem;
  }

  .hero-texto h3 {
    font-size: 1rem;
  }

  .mision-vision {
    flex-direction: column;
    align-items: center;
  }

  .btn-lleno,
  .btn-borde {
    width: 80%;
    text-align: center;
  }

  .objetivos h2 {
    font-size: 22px;
     margin-bottom:40px
  }

  .objetivos h4 {
    font-size: 16px;
  }

  .tarjetas-objetivos {
    margin-top: 40px;
  }

  .caja {
    max-width: 100%;
    padding: 20px 15px;
  }

  .imagen-mision,
  .imagen-vision {
    max-width: 160px;
  }

  .mision-seccion img,
  .vision-seccion img {
    max-width: 160px;
  }
}

.foot{
  text-align: center;
  padding: 26px 24px 40px;
  color: #6B7A70;
  font-size: 0.85rem;
  display: flex;
  gap: 8px;
  justify-content: center;
}