*{
    font-family: "Poppins", sans-serif;
}
body {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    padding-top: 80px;
}
.btn-primary{
    background-color: #00367e !important;
    color: white !important;
    border-color: #00367e !important;
    border-radius: 25px !important;
}
.bg-primary{
    background-color: #00367e !important;
}
.nav-item a:hover{
    color: #00367e !important;
}
.lcp-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}  
.btn-outline-primary{
    border-color: #00367e !important;
    color: #00367e !important;
}  
.btn-outline-primary:hover{
    color: #fff !important;
    background-color: #00367e !important;
}
.btn-secondary{
    background-color: #ddd !important;
    border-color: #ddd !important;
    color: #00367e !important;
    font-weight: 500 !important;
}
.btn-secondary:hover{
    background-color: #00367e !important;
    color: #ffffff !important;
}
.color-ucma{
    color: #00367e;
}
.text-primary{
    color: #00367e !important;
}
.odontologia-icon {
    width: 25px;
    height: 25px;
    display: inline-block;
    background-image: url('../icons/Odontologia-color.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}
.icon-btn-odontologia-alt:hover .odontologia-icon {
    background-image: url('../icons/Odontologia-blanco.svg');
}
.maestrias-icon {
    width: 25px;
    height: 25px;
    display: inline-block;
    background-image: url('../icons/Maestria-color.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}
.icon-btn-maestrias-alt:hover .maestrias-icon {
    background-image: url('../icons/Mestria-blanco.svg');
}
.licenciaturas-icon {
    width: 25px;
    height: 25px;
    display: inline-block;
    background-image: url('../icons/Licenciaturas-color.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}
.icon-btn-licenciaturas-alt:hover .licenciaturas-icon {
    background-image: url('../icons/Licenciaturas-blanco.svg');
}
.licenciaturas-online-icon {
    width: 25px;
    height: 25px;
    display: inline-block;
    background-image: url('../icons/Licenciaturas-online-color.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}

.icon-btn-licenciaturas-online-alt:hover .licenciaturas-online-icon {
    background-image: url('../icons/Licenciaturas-online-blanco.svg');
}
.licenciaturas-sabatinas-icon {
    width: 25px;
    height: 25px;
    display: inline-block;
    background-image: url('../icons/Licenciaturas-sabatinas-color.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}
.icon-btn-licenciaturas-sabatinas-alt:hover .licenciaturas-sabatinas-icon {
    background-image: url('../icons/Licenciaturas-sabatinas-blanco.svg');
}
.video-banner {
    height: 80vh;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    line-height: 0;
}
.video-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 992px) {
  .video-banner {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .video-banner video {
    height: auto;
    max-height: none;
  }
}
.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}  
.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.card-carreras{
    background: linear-gradient(to top, rgba(0,54,126,0.7), transparent);
}
.submenu-wrapper {
    position: relative;
}
.submenu-carreras {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.8s ease, max-height 0.8s ease;
    padding-left: 1.5rem;
}
.submenu-carreras a {
    display: block;
    margin-top: 0.5rem;
    color: #00367e;
    font-weight: 500;
    text-decoration: none;
}
.submenu-carreras a:hover {
    text-decoration: underline;
}
.submenu-carreras.show {
  opacity: 1;
  visibility: visible;
  max-height: 500px; /* Ajusta según el contenido */
}
.oferta-img img{
  object-position: top;
}
.instalacion-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
  }

.fade-out {
  opacity: 0;
}
@media (min-width: 992px) {
    .submenu-wrapper:hover .submenu-carreras {
      opacity: 1;
      visibility: visible;
      max-height: 500px;
    }
}
#imagenLicenciatura {
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}
#imagenLicenciatura.fade-out {
    opacity: 0;
}
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
  }

  .navbar .nav-link.dropdown-toggle:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 5px;
  }
}
.dropdown-menu {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.dropdown-menu .dropdown-item {
  padding: 10px 20px;
  transition: background-color 0.2s ease-in-out;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #f0f0f0;
  color: #0d6efd;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-menu .dropdown-item {
  white-space: normal;
  overflow-wrap: break-word;
  max-width: 100%;
  line-height: 1.3;
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    max-height: calc(100vh - 80px); /* 80px = altura aprox de la barra */
    overflow-y: auto;
    padding-bottom: 1rem;
  }

  .accordion-body {
    overflow-y: auto;
  }

  .navbar-brand.d-lg-block {
    display: none !important;
  }

  .navbar-brand.d-lg-none {
    display: block !important;
  }

  .navbar-nav {
    text-align: center;
  }

  .nav-item {
    margin: 0.5rem 0;
  }
}
li.section-title {
  font-weight: bold;
  padding-top: 1rem;
  border-top: 2px solid #ddd;
}
.animate__animated {
  will-change: transform;
  backface-visibility: hidden;
}
@media (max-width: 576px) {
  .lcp-heading {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .fa-user-graduate {
    font-size: 2rem !important;
  }

  .btn-sm {
    font-size: 1rem;
    padding: 0.5rem 1.25rem;
  }

  .fs-6 {
    font-size: 0.9rem !important;
  }
}
.beca-title {
  font-size: 1.5rem;
}
@media (min-width: 768px) {
  .beca-title {
    font-size: 2.5rem;
  }
}
.small-mobile {
  font-size: 0.75rem;
}

@media (max-width: 576px) {
  .small-mobile {
    font-size: 0.625rem;
  }
}
.card-img {
  height: auto;
  aspect-ratio: 16 / 10;
}
.lcp-heading {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
@media (max-width: 991.98px) {
  .navbar-brand.d-lg-block {
    display: none !important;
  }

  .navbar-brand.d-lg-none {
    display: block !important;
  }

  .navbar-nav {
    text-align: center;
  }

  .nav-item {
    margin: 0.5rem 0;
  }

  .navbar-brand img {
    max-height: 45px;
    height: auto;
  }
}
