html {
      scroll-behavior: smooth; /* Efecto de desplazamiento suave */
    }


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: 	#075e54;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
}
 header.scrolled {
      background: url("fondo.jpg") no-repeat center/cover;
    }


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

.acciones {
  display: flex;
  gap: 15px;
}
nav h1{
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.btn {
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-cliente {
  background: transparent;
  color: #ffffff;
}
.btn-cliente:hover {
  background: #ffffff;
  color: #000000;
}

/* SECCIONES */
section {
  min-height: 100vh;
  padding: 120px 40px; /* espacio por header */
}

/* SOLO EL INICIO (LOGIN) centrado */
#inicio {
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(fondo.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* LOGIN BOX */
.container {
  width: 900px;
  height: 500px;
  background: url(fondo2.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  margin-top: 30px;
}

/* LEFT PANEL */
.left {
  flex: 1;
  color: #fff;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  backdrop-filter: blur(20px);
}
.left h1 {
      font-size: 20px;
      text-align: center;
    }

    .left p {
      margin-bottom: 30px;
      font-size: 14px;
      line-height: 1.6;
    }

/* RIGHT PANEL */
.right {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #ffffff;
}

.right h2 {
      margin-bottom: 30px;
      font-size: 28px;
      color: #ffffff;
      text-align: center;
    }

    .input-box {
      position: relative;
      margin-bottom: 20px;
    }

    .input-box input {
      width: 100%;
      padding: 12px 40px 12px 12px;
      border: none;
      background: transparent;
      border-bottom: 2px solid #ccc;
      outline: none;
      font-size: 16px;
      color: #ffffff;
    }

    .input-box input:focus{
      border-bottom: 2px solid 	#dcf8c6;
      color: #ffffff;
    }
    .input-box input::placeholder{
      color: #ffffff;
    }

    .acceso-btn{
      background: 	#075e54;
      color: #fff;
      padding: 12px;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      transition: 0.3s;
      width: 100%;
    
    }

    .acceso-btn:hover {
      background: #f1f1f1;
      color: #000000;
    }

    .signup h3{
        font-size: 13px;
        text-align: center;
    }

/* VALORES Y MENSAJE (TEMPORAL) */
#valores {
  background: #fff;
}
#mensaje {
  background: #ffffff;
}

/* SECCION VALORES*/

.mision-section {
  padding: 60px 20px;
  background: #fff;
  display: flex;
  justify-content: center;
}

.mision-container {
  max-width: 900px;
  text-align: center;
}

.subtitulo {
  font-size: 16px;
  color: #444;
  margin-bottom: 10px;
}

.titulo {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #000;
}

/* Tarjetas */
.mision-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 80px;
  margin-top: 80px;
}

.card {
  flex: 1;
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);

  transition: transform 0.3s ease;
}

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

.card h3 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
    text-align: center;
}

.card p {
  font-size: 16px;
  line-height: 1.6;
  color: #000000;

}

/* Colores de cada tarjeta */
.card1 { border-top: 30px solid #dcf8c6; } /* Naranja */
.card2 { border-top: 30px solid #dcf8c6 } /* Rojo */
.card3 { border-top: 30px solid #02c402; } /* Azul */
.card4 { border-top: 30px solid #bbcf06;}

/* Caja inferior */
.mision-box {
  background: #f5f6fa;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.mision-box h3 {
  font-size: 25px;
  margin-bottom: 15px;
  font-weight: bold;
}

.mision-box p {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .mision-cards {
    flex-direction: column;
  }
}

/* MENSAJE DEL RECTOR*/

.mensaje-rector {
  padding: 40px;
  background: #fff;
}

.mensaje-rector h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #222;
}

.contenido {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.imagen{
  display: flex;
  align-items: center;
  justify-content: center;
}

.imagen img {
  width: 150px;
  height: auto;
  border-radius: 150%;
  object-fit: cover;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
  text-align: center;
}

.contenido .texto {
  flex: 1;
  text-align: justify;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .contenido {
    flex-direction: column;
    text-align: center;
  }

  .contenido .imagen img {
    width: 75px;
    height: 35px;
  }

  .contenido .texto {
    text-align: justify;
  }
}
