body {
  font-family: Roboto, sans-serif;
}

p {
  font-size: 1.3rem;
}

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

/* Sticky Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: background-color 0.3s ease;
}

#navbarNav ul li a {
  margin-left: 12px !important;
}

.nav-link-iniciar-sesion {
  border-radius: 20px;
  border: 1px solid #163e5b;
}

.nav-link-iniciar-sesion:hover {
  background-color: #163e5b;
  color: #ffffff;
}

.navbar.scrolled {
  background-color: rgba(
    248,
    249,
    250,
    0.9
  ) !important; /* Semi-transparent background when scrolled */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-active-enlace {
  font-weight: 700;
}

.logo-uped-navbar {
  width: auto;
  height: 100px;
}

.hero {
  margin-top: 100px;
  background-color: #f8f9fa;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /**background: repeating-linear-gradient(
    45deg,
    rgba(255, 196, 6, 0.1),
    rgba(255, 196, 6, 0.1) 10px,
    rgba(255, 196, 6, 0.2) 10px,
    rgba(255, 196, 6, 0.2) 20px
  );**/

  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/*** Banner SIEL Index **/

.banner-siel-index {
  background-image: url("../images/banner-index2.png");
  min-height: 300px;
  background-repeat: no-repeat;
  background-size: cover;
}

.container-proceso-inscripcion {
  background-image: url("../images/bg_call_to_action.webp");
  min-height: 400px;
  background-position: center;
  background-size: cover;
}

.banner-proceso-inscripcion h2,
.banner-proceso-inscripcion h3,
.banner-proceso-inscripcion p {
  color: #fff;
}

/*** Beneficios UPED ***/

.section-beneficios {
  margin-top: 40px;
}

/*** Beneficios UPED ***/

.titulo-section-beneficios {
  margin-top: 80px;
  font-weight: 700;
}

.span-header {
  background-color: #ffc406;
  color: #000;
  border-radius: 8px;
  padding: 4px 20px;
  border: 4px solid #163e5b;
}

.span-header:hover {
  background-color: #163e5b;
  color: #ffffff;
  cursor: pointer;
}

/*** Cards Proceso de Inscripcion ***/

.card-proceso-inscripcion {
  min-height: 390px;
  max-height: 430px;
  padding: 8px 20px;
}

/*** Cards Beneficios ***/

.card-beneficios {
  min-height: 500px;
}

.card-beneficios .titulo {
  font-weight: 600;
  min-height: 60px;
}

/*** Call To Action ***/

/**.call-to-action-siel {
  background-color: #163e5b;
}**/

.call-to-action-siel {
  background-image: url("../images/bg_call_to_action.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.call-to-action-siel h3 {
  font-size: 2.6rem;
  color: #ffffff;
  text-align: center;
}

.container-btn-call-to-action {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.btn-call-to-action-registro {
  width: 400px;
  font-size: 1.4rem;
}

.lema-ingreso-hero p {
  text-transform: uppercase;
  color: #ffffff;
  text-align: left;
  margin-bottom: 0;
  font-size: 2.4rem;
  font-weight: 900;
}

.lema-ingreso-hero p > span {
  text-transform: uppercase;
  color: #ff9b00;
  font-weight: 900;
}

.lema-ingreso p {
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0;
  font-size: 2.4rem;
  font-weight: 900;
}

.lema-ingreso p > span {
  text-transform: uppercase;
  color: #ff9b00;
  font-weight: 900;
}

/*** Call To Action  ***/

.three-columns,
.two-columns {
  background-color: #ffffff;
}

.three-columns h2,
.two-columns h2 {
  margin-bottom: 1rem;
}

footer {
  margin-top: auto;
}

footer .copyright p {
  font-size: 1rem !important;
}

footer .background-informacion-interes {
  background-color: #f3f3f3;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-mision {
  color: rgb(77, 77, 77);
  font-size: 1.3rem;
  text-align: justify;
  line-height: 1.3;
}

.informacion-interes {
  padding: 30px 0;
}

.informacion-interes {
  color: rgb(77, 77, 77);
}

.enlaces-de-interes {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.enlaces-de-interes h4 {
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 24px !important;
}

.enlaces-de-interes ul {
  list-style: none;
  margin-left: 0;
  padding-left: 20px;
}

.enlaces-de-interes ul li {
  padding: 6px 0;
}

.enlaces-de-interes ul li a {
  color: rgb(77, 77, 77);
  font-size: 1.2rem;
  font-weight: 500;
}

.enlaces-de-interes ul li a:hover {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

@media screen and (max-width: 520px) {
  .image-call-to-action {
    display: none;
  }

  .call-to-action-siel {
    margin-top: 0;
  }
}

/* Media query for smaller screens */
@media (max-width: 991.98px) {
  body {
    padding-top: 56px; /* Adjust padding for smaller screens if needed */
  }

  .navbar-nav {
    background-color: rgba(248, 249, 250, 0.9);
    padding: 10px;
  }

  .nav-link-iniciar-sesion {
    border: none;
    font-weight: 600;
  }

  .nav-link-iniciar-sesion:hover {
    background-color: #163e5b;
    color: #ffffff;
  }
}


/* destello en boton de registro */
@keyframes destello {
    0%, 100% {
        box-shadow: 0 0 0px rgba(255, 255, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
}

.btn-destello {
    position: relative;
    transition: all 0.3s ease;
}

.btn-destello:hover {
    transform: scale(1.05);
}

.btn-destello::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 5px;
    background: transparent;
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.6);
    animation: destello 2s infinite ease-in-out;
    pointer-events: none;
}



.hero-banner-section {
  color: #fff;
  background: linear-gradient(135deg, #000428 0%, #004e92 50%, #ffc837 100%);
}

.banner-siel-index {
  background: url("../images/banner-index2.png");
}

.hero-section {
  min-height: 150px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: visible;
}

.hero-content {
  color: white;
  padding: 60px 0;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-hero {
  padding: 12px 35px;
  font-size: 1.1rem;
  border-radius: 50px;
  background-color: white;
  color: #667eea;
  border: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-image-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  position: relative;
  bottom: -15%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Sección siguiente para demostrar el overflow */
.next-section {
  background-color: #f8f9fa;
  padding: 150px 0 80px;
  min-height: 50vh;
}

.footer {
  background: linear-gradient(135deg, #0f2027 0%, #163e5b 50%, #2c5364 100%);
  color: white;
  padding-top: 60px;
}

.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  background: white;
  padding: 15px;
  border-radius: 10px;
}

.footer h5 {
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ffed4e);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  padding: 8px 0;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: #ffd700;
  padding-left: 10px;
}

.footer-address {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
  font-size: 0.95rem;
}

.footer-address i {
  color: #ffd700;
  margin-right: 10px;
  width: 20px;
}

.social-section {
  background: rgba(0, 0, 0, 0.2);
  padding: 30px 0;
  margin-top: 40px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: #fff;
  color: #0f2027;
  transform: translateY(-5px);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px 0;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: #ffd700;
}

.divider {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    bottom: 0px;
    max-width: 100%;
  }

  .next-section {
    padding: 100px 0 60px;
  }
}
