@font-face {
  font-family: "Urbanist-ExtraBold";
  src:
    url("../webfont/Urbanist-ExtraBold.eot") format("embedded-opentype"),
    url("../webfont/Urbanist-ExtraBold.woff2") format("woff2"),
    url("../webfont/Urbanist-ExtraBold.woff") format("woff");
}

@font-face {
  font-family: "Urbanist-Medium";
  src:
    url("../webfont/Urbanist-Medium.eot") format("embedded-opentype"),
    url("../webfont/Urbanist-Medium.woff2") format("woff2"),
    url("../webfont/Urbanist-Medium.woff") format("woff");
}

html,
body {
  overflow-x: hidden;
}

body {
  overflow-y: hidden;
}

.ff-Urbanist-m {
  font-family: "Urbanist-Medium";
}

.ff-Urbanist-xb {
  font-family: "Urbanist-ExtraBold";
}

/* */

section.jumbotron {
  overflow: hidden;
  position: relative;
  height: 800px;
}

section.jumbotron::after {
  background: #f4fdff;
  border-radius: 50% 50% 0 0;
  bottom: -90px;
  content: "";
  height: 123px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 120%;
  z-index: 1;
}

section.jumbotron .jumbotron-container {
  height: 768px;
}

section.jumbotron video {
  left: 50%;
  position: absolute;
  bottom: 0%;
  transform: translateX(-50%);
  filter: brightness(0.7);
}

section.jumbotron .jumbotron-caption {
  bottom: 310px;
  position: absolute;
}

section.jumbotron .jumbotron-caption h1 {
  font-size: 10.5cqw !important;
}

section.jumbotron .jumbotron-caption label {
  font-size: 19px !important;
}

section.jumbotron .jumbotron-cta {
  bottom: 190px;
  position: absolute;
}

section.jumbotron .jumbotron-cta .btn {
  --bs-btn-bg: #004f99;
  font-size: 18px;
}

section.jumbotron .jumbotron-cta .btn .ico {
  background: #c62b28;
  font-size: 26px;
}

.hero-text-block {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.hero-text-block.is-hidden {
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
}

.jumbotron-caption {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.jumbotron-caption.fade-out-up {
  opacity: 0;
  transform: translateY(30px);
}

.hero-mini-title {
  position: relative;
  background: #0d76c9;
  bottom: 2rem;
  color: #fff;
  opacity: 0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  pointer-events: none;
  display: block;
  width: fit-content;
  margin: 0 auto;
  z-index: 10;
}

.hero-mini-title.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 576px) {
  section.jumbotron .jumbotron-cta .btn {
    font-size: 20px;
  }

  section.jumbotron .jumbotron-cta .btn .ico {
    background: #c62b28;
    font-size: 28px;
  }
}

@media (min-width: 768px) {
  section.jumbotron .jumbotron-caption label {
    font-size: 23px !important;
  }

  .hero-mini-title {
    display: inline-block;
    margin-left: auto;
    margin-right: 0;
    bottom: 18rem;
    padding: 7px 14px;
    border-radius: 9px;
    font-size: 0.85rem;
  }
}

@media (min-width: 992px) {
  section.jumbotron .jumbotron-caption {
    bottom: 244px;
  }

  section.jumbotron .jumbotron-caption h1 {
    font-size: 7cqw !important;
  }

  section.jumbotron .jumbotron-cta {
    bottom: 170px;
  }

  section.jumbotron .jumbotron-cta .btn {
    font-size: 21px;
  }

  section.jumbotron .jumbotron-cta .btn .ico {
    font-size: 30px;
  }

  .hero-mini-title {
    bottom: 23.5rem;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
  }
}

@media (min-width: 1400px) {
  section.jumbotron .jumbotron-caption h1 {
    font-size: 90px !important;
  }

  .hero-mini-title {
    bottom: 23rem;
    padding: 9px 18px;
    border-radius: 11px;
    font-size: 1.2rem;
  }
}

@media (min-width: 1500px) {
  section.jumbotron .jumbotron-caption,
  section.jumbotron .jumbotron-cta {
    margin-left: 100;
    padding-left: 0;
  }
}

.jumbotron-options {
  background: #f4fdff;
  margin-top: -45px;
}

.jumbotron-options .card,
.jumbotron-options .card a {
  color: #00529c;
}

.jumbotron-options .card {
  background: #eaf3fb;
  z-index: 2;
}

.jumbotron-options .card .col-12::before {
  border-bottom: 2px solid #004e9a;
  content: "";
  display: block;
  left: 10%;
  position: absolute;
  top: -0.5px;
  width: 80%;
}

.jumbotron-options .card .col-12:first-child:before {
  display: none;
}

.jumbotron-options .card .ico {
  height: 72px;
}

.jumbotron-options .desc {
  align-items: center;
  background: #004f99;
  color: #fff;
  display: flex;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0%;
  transition: all 0.3s ease-in;
  width: 100%;
}

.jumbotron-options .card .col-12:hover .desc {
  opacity: 1;
}

.hero-mini-title {
  max-width: calc(100% - (100% - 80%) / 2);
  margin-right: calc(20% - 2rem);
  margin-left: auto;
}

@media (min-width: 1400px) {
  .hero-mini-title {
    max-width: calc(100% - (100% - 60%) / 2);
  }
}

@media (min-width: 576px) {
  .jumbotron-options .card .col-12:nth-child(2)::before {
    display: none;
  }

  .jumbotron-options .card .col-12:nth-child(2)::after,
  .jumbotron-options .card .col-12:nth-child(4)::after {
    border-left: 3px solid #004e9a;
    content: "";
    display: block;
    height: 80%;
    left: -1px;
    position: absolute;
    top: 10%;
  }
}

@media (min-width: 768px) {
  section.jumbotron .jumbotron-container {
    height: 992px;
  }

  .jumbotron-options .card .col-12::before {
    display: none;
  }

  .jumbotron-options .card .col-12:nth-child(3)::after {
    border-left: 3px solid #004e9a;
    content: "";
    display: block;
    height: 80%;
    left: -1px;
    position: absolute;
    top: 10%;
  }
}

@media (min-width: 992px) {
  .jumbotron-options {
    margin-top: -117px;
  }
}

/* */

.bg-top {
  background: #f4fdff;
}

#bienvenida .info {
  position: relative;
  z-index: 1;
  color: #0d0d0d;
  background-color: transparent;
  transition: color 0.3s ease-out;
  overflow: hidden;
}

#bienvenida .info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, #00bfff, #1e3a8a);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease-out;
}

#bienvenida .info:hover {
  color: #fff;
}

#bienvenida .info:hover::before {
  opacity: 1;
}

#bienvenida .info h2 {
  color: #0084ff;
  transition: color 0.3s ease-out;
}

#bienvenida .info h2 span {
  background: radial-gradient(circle at center, #0093e9 50%, #005099 100%);
  background-position: center;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

#bienvenida .info:hover h2 {
  color: #fff;
}

#bienvenida .info:hover h2 span {
  background: transparent;
  -webkit-text-fill-color: #fff;
}

#bienvenida .image-container {
  min-height: 420px;
}

.image-container {
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-container:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.image-container:focus {
  outline: 2px solid #0d76c9;
  outline-offset: 2px;
}

.expand-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(13, 118, 201, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.image-container:hover .expand-icon {
  opacity: 1;
}

.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  pointer-events: none;
}

.image-modal.is-open {
  pointer-events: auto;
}

.image-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background-color 0.4s ease;
  z-index: 1;
}

.image-modal.is-open .image-modal-backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.image-modal-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.9) translate(0, 20px);
  transition: all 0.4s ease;
  padding: 20px;
}

.image-modal.is-open .image-modal-content {
  opacity: 1;
  transform: scale(1) translate(0, 0);
}

.image-modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 3;
  padding: 0;
}

.image-modal-close:hover,
.image-modal-close:focus {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
  outline: none;
}

@media (max-width: 768px) {
  .expand-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .image-modal-close {
    width: 40px;
    height: 40px;
    font-size: 20px;
    top: 15px;
    right: 15px;
  }

  .image-modal-content {
    padding: 15px;
  }
}

@media (min-width: 768px) {
  #bienvenida img {
    height: 100%;
    width: auto !important;
    object-fit: cover;
    position: absolute;
    transform: translateX(-12.5%);
  }

  #bienvenida .rounded-top-4,
  #bienvenida .rounded-bottom-4 {
    border-radius: var(--bs-border-radius-xl) !important;
  }
}

@media (min-width: 992px) {
  #bienvenida img {
    height: unset;
    width: 100% !important;
    position: relative;
    transform: unset;
  }
}

/* */

#programas {
  margin-top: 2.5rem !important;
}

#programas hr {
  border-top: 1.5px solid #2f6fab;
  margin-bottom: 2.5rem !important;
  opacity: 1;
}

#programas h3 {
  color: #004f99;
}

#programas .row.carreras .col-12::before {
  border-top: 1.5px solid #2f6fab;
  content: "";
  display: block;
  margin-bottom: 1rem !important;
}

#programas .row.carreras .col-12:first-child::before {
  display: none;
}

#programas h4 {
  color: #004f99;
}

#programas a {
  color: #898989;
  transition: all 0.3s ease;
}

#programas a:hover {
  font-weight: bold;
}

@media (min-width: 576px) {
  #programas hr {
    margin-bottom: 3rem !important;
  }
}

@media (min-width: 992px) {
  #programas .row.carreras .col-12::before {
    display: none;
  }

  #programas .row.carreras .col-12::after {
    border-right: 1.5px solid #2f6fab;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    right: calc(var(--bs-gutter-x) * 0.125);
    top: 0;
  }

  #programas .row.carreras .col-12:last-child:after {
    display: none;
  }
}

@media (min-width: 1200px) {
  #programas .row.carreras .col-12::after {
    right: calc(var(--bs-gutter-x) * 0.5);
  }
}

@media (min-width: 1400px) {
  #programas {
    margin-top: 5.5rem !important;
  }
}

/* */

#experiencia-umg h3 {
  background: linear-gradient(to right, #00aaff 5%, #004f99 50%); 
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (min-width: 1400px) {
  #experiencia-umg {
    margin-top: 7rem !important;
  }
}

/* */

section.moto {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

section.moto .blockquote {
  background: radial-gradient(circle at center, #00aaff, #004f99); 
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (min-width: 576px) {
  section.moto {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

@media (min-width: 768px) {
  section.moto {
    padding-top: 8.5rem;
    padding-bottom: 8.5rem;
  }
}

@media (min-width: 992px) {
  section.moto {
    padding-top: 10.5rem;
    padding-bottom: 10.5rem;
  }
}

@media (min-width: 1200px) {
  section.moto {
    padding-top: 13rem;
    padding-bottom: 13rem;
  }
}

/* */

@keyframes animation-tourvirtual-video {
  0% {
    opacity: 1;
    z-index: 3;
  }

  48% {
    opacity: 1;
    z-index: 3;
  }

  50% {
    opacity: 0;
    z-index: 1;
  }

  98% {
    opacity: 0;
    z-index: 1;
  }

  100% {
    opacity: 1;
    z-index: 3;
  }
}

@keyframes animation-tourvirtual-banner {
  0% {
    opacity: 0;
    z-index: 1;
  }

  48% {
    opacity: 0;
    z-index: 1;
  }

  50% {
    opacity: 1;
    z-index: 3;
  }

  98% {
    opacity: 1;
    z-index: 3;
  }

  100% {
    opacity: 0;
    z-index: 1;
  }
}

#tourvirtual video {
  height: 100%;
  left: 50%;
  position: absolute;
  object-fit: cover;
  transform: translateX(-50%);
  z-index: -1;
  filter: brightness(0.7);
}

#tourvirtual .tour-inner {
  border-radius: 1rem;
  border-bottom-right-radius: 0;
  position: relative;
  overflow: hidden;
  height: 150vw;
}

#tourvirtual .UMG {
  left: 5%;
  position: absolute;
  top: 5%;
  width: 25cqw;
  z-index: 5;
}

#tourvirtual .tour-item {
  container-type: inline-size;
  height: 100%;
  left: 0;
  position: absolute;
  opacity: 0;
  top: 0;
  width: 100%;
}

#tourvirtual .tour-item.item-1,
#tourvirtual .tour-item.item-2 {
  animation-duration: 12s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

#tourvirtual .tour-inner:hover .tour-item {
  animation-play-state: paused;
}

#tourvirtual .tour-item.item-1 {
  animation-name: animation-tourvirtual-video;
  color: #fff;
}

#tourvirtual .tour-item.item-1 label {
  font-size: 15cqw;
  line-height: 1.1;
  margin-top: 0 !important;
}

#tourvirtual .tour-item.item-1 p {
  font-size: 6cqw;
  line-height: 1.1;
  width: 100% !important;
}

#tourvirtual .tour-item.item-2::before,
#tourvirtual .tour-item.item-2::after {
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

#tourvirtual .tour-item.item-2::before {
  background: radial-gradient(
    circle,
    rgba(0, 102, 179, 0.4) 0%,
    transparent 70%
  );
  z-index: -2;
}

#tourvirtual .tour-item.item-2 {
  animation-name: animation-tourvirtual-banner;
  background-color: #005099;
  color: #fff;
}

#tourvirtual .tour-item.item-2 label {
  font-size: 2.1rem;
  line-height: 1.1;
  margin-top: -30px !important;
}

#tourvirtual .tour-item.item-2 p {
  font-size: 6cqw;
  line-height: 1.1;
  width: 100% !important;
}

#tourvirtual .tour-item.item-2 .visor {
  display: none;
}

#tourvirtual .tour-item.item-2 ._360 {
  position: static !important;
  display: inline-block;
  vertical-align: middle;
  width: 25% !important;
  height: auto !important;
  margin-left: 1rem;
  z-index: 1;
}

#tourvirtual .tour-item.item-2 .disponible {
  display: none;
}

#tourvirtual .btn {
  --bs-btn-bg: #00c0ff;
  bottom: 15% !important;
  color: #fff;
  font-size: 6.5cqw;
  font-weight: bold;
  left: 5%;
  position: absolute;
  z-index: 3;
}

#tourvirtual .tour-360 {
  background: #fff;
  border-top-left-radius: 1rem;
  bottom: 0;
  font-size: 4.25cqw;
  position: absolute;
  right: 0;
  z-index: 3;
}

#tourvirtual .tour-360::before,
#tourvirtual .tour-360::after {
  background: url("../img/centros/border-radius-bottom-right.webp");
  background-size: 100%;
  content: "";
  display: block;
  height: 20px;
  position: absolute;
  width: 20px;
}

#tourvirtual .tour-360::before {
  bottom: 0;
  left: -20px;
}

#tourvirtual .tour-360::after {
  right: 0;
  top: -20px;
}

#tourvirtual .tour-360 img {
  height: 9vw;
}

@media (min-width: 400px) {
  #tourvirtual .tour-item.item-1 label,
  #tourvirtual .tour-item.item-2 label {
    font-size: 10.5cqw;
  }
  #tourvirtual .tour-item.item-1 p,
  #tourvirtual .tour-item.item-2 p {
    font-size: 5cqw;
  }
}

@media (min-width: 576px) {
  #tourvirtual .tour-inner {
    height: 105vw;
  }

  #tourvirtual .tour-item.item-1 label {
    font-size: 10cqw;
  }

  #tourvirtual .tour-item.item-1 p {
    font-size: 4.25cqw;
  }

  #tourvirtual .tour-item.item-2 label {
    font-size: 10cqw;
    white-space: nowrap;
  }

  #tourvirtual .tour-item.item-2 p {
    font-size: 4.25cqw;
  }

  #tourvirtual .tour-item.item-2 ._360 {
    width: 25% !important;
    margin-left: 1rem;
  }

  #tourvirtual .btn {
    font-size: 5.5cqw;
  }

  #tourvirtual .tour-360 {
    font-size: 3.75cqw;
  }

  #tourvirtual .tour-360 img {
    height: 7.65vw;
  }

  #tourvirtual .tour-item.item-2 ._360 {
    top: 56%;
  }
}

@media (min-width: 768px) {
  #tourvirtual .tour-inner {
    height: 80vw;
  }

  #tourvirtual .tour-360 {
    font-size: 2.75cqw;
  }

  #tourvirtual .tour-360 img {
    height: 6vw;
  }
}

@media (min-width: 992px) {
  #tourvirtual .tour-inner {
    height: 53vw;
  }

  #tourvirtual .UMG {
    width: 12cqw;
  }

  #tourvirtual .tour-item.item-1 label {
    font-size: 9cqw;
    margin-top: 13%;
  }

  #tourvirtual .tour-item.item-1 p {
    font-size: 2.7cqw;
  }

  #tourvirtual .tour-item.item-2 label {
    font-size: 9cqw;
    margin-top: 13%;
  }

  #tourvirtual .tour-item.item-2 p {
    font-size: 2.7cqw;
  }

  #tourvirtual .tour-item.item-2 ._360 {
    width: 25% !important;
    height: auto !important;
  }

  #tourvirtual .btn {
    font-size: 2.7cqw;
  }

  #tourvirtual .tour-360 {
    font-size: 1.75cqw;
  }

  #tourvirtual .tour-360 img {
    height: 3.75vw;
  }
}

@media (min-width: 1200px) {
  #tourvirtual .tour-inner {
    height: 48vw;
  }

  #tourvirtual video {
    height: 110%;
    transform: translateX(-50%) translateY(-5%);
  }

  #tourvirtual .tour-item.item-1 label {
    font-size: 7.5cqw;
  }

  #tourvirtual .tour-item.item-1 p {
    font-size: 2cqw;
    width: 50%;
  }

  #tourvirtual .tour-item.item-2 label {
    font-size: 7.3cqw;
  }

  #tourvirtual .tour-item.item-2 p {
    font-size: 2cqw;
    width: 50%;
  }

  #tourvirtual .tour-item.item-2 .visor {
    bottom: -1px;
    display: inline;
    position: absolute;
    right: 0;
    width: 40%;
    z-index: 2;
  }

  #tourvirtual .tour-item.item-2 .tour-row {
    position: relative;
  }

  #tourvirtual .tour-item.item-2 ._360 {
    position: absolute !important;
    width: 28% !important;
    height: auto !important;
    right: -30%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }

  #tourvirtual .tour-item.item-2 .disponible {
    background: #00c1ff;
    border-top-left-radius: var(--bs-border-radius-xl) !important;
    bottom: 0;
    color: #fff;
    display: inline;
    font-size: 2.05cqw;
    position: absolute;
    right: 29%;
    z-index: -2;
  }

  #tourvirtual .btn {
    font-size: 2cqw;
  }
}

@media (min-width: 1400px) {
  #tourvirtual .tour-inner {
    height: 36vw;
  }

  #tourvirtual video {
    width: 100%;
  }

  #tourvirtual .tour-360 {
    font-size: 1.5cqw;
  }

  #tourvirtual .tour-360 img {
    height: 3vw;
  }

  #tourvirtual .tour-item.item-2 ._360 {
    right: -50%;
  }
}

/* */

#acerca-campus h3 {
  background: radial-gradient(circle at center, #00aaff, #004f99); 
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#acerca-campus .acerca-container {
  background: url("acerca-campus.webp");
  background-position: center;
  background-size: auto 100%;
  display: flex !important;
  min-height: 480px;
  position: relative;
}

#acerca-campus .acerca-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 0;
}

#acerca-campus .acerca-container > * {
  position: relative;
  z-index: 1;
}

#acerca-campus .card .col-12 {
  color: #004f97;
  font-size: 16px;
  position: relative;
}

#acerca-campus .card .col-12::before {
  border-bottom: 4px solid #004e9a;
  content: "";
  display: block;
  left: 10%;
  position: absolute;
  top: -0.5px;
  width: 80%;
}

#acerca-campus .card .col-12:first-child:before {
  display: none;
}

#acerca-campus .num {
  background: linear-gradient(to bottom, #0083fc, #0163bf);
  background-clip: text;
  display: block;
  font-size: 35px;
  font-weight: bold;
  line-height: 1;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#acerca-campus .desc {
  align-items: center;
  background: linear-gradient(to bottom, #0074e1, #01509b);
  color: #fff;
  display: flex;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 101%;
  transition: all 0.3s ease-in;
  width: 100%;
}

#acerca-campus .card .col-12:hover .desc {
  opacity: 1;
  top: 0;
}

#acerca-campus .desc b {
  font-weight: normal;
}

#acerca-campus .Estudiante {
  bottom: -8%;
  height: 116%;
  position: absolute;
  right: 0;
}

@media (min-width: 992px) {
  #acerca-campus .card .col-12 {
    font-size: 18px;
  }

  #acerca-campus .card .col-12::before {
    display: none;
  }

  #acerca-campus .card .col-12::after {
    border-left: 4px solid #004e9a;
    content: "";
    display: block;
    height: 80%;
    left: -1px;
    position: absolute;
    top: 10%;
  }

  #acerca-campus .card .col-12:first-child::after {
    display: none;
  }

  #acerca-campus .num {
    font-size: 45px;
  }
}

@media (min-width: 1200px) {
  #acerca-campus .card .col-12 {
    font-size: 16px;
  }

  #acerca-campus .num {
    font-size: 40px;
  }
}

@media (min-width: 1400px) {
  #acerca-campus {
    margin-top: 6rem !important;
  }
}

/* */

#espaciosdeaprendizaje {
  overflow: hidden;
  padding-bottom: 6.5rem !important;
}

#espaciosdeaprendizaje .ico {
  width: 52px;
}

#espaciosdeaprendizaje h3 {
  background: radial-gradient(circle at center, #00aaff, #004f99); 
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#espaciosdeaprendizaje .swiper {
  height: 100%;
  overflow: visible;
}

#espaciosdeaprendizaje .swiper-slide {
  display: flex;
  height: 100%;
}

#espaciosdeaprendizaje .swiper .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

#espaciosdeaprendizaje .swiper .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

#espaciosdeaprendizaje .swiper-btn-next,
#espaciosdeaprendizaje .swiper-btn-prev {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

#espaciosdeaprendizaje .swiper-btn-next::after,
#espaciosdeaprendizaje .swiper-btn-prev::after {
  font-size: 20px;
}

#espaciosdeaprendizaje h4 {
  background: linear-gradient(to right, #004f99, #00aaff); 
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#espaciosdeaprendizaje .card-body {
  color: #8f8e9c;
}

#espaciosdeaprendizaje iframe {
  border-top-left-radius: var(--bs-border-radius-xl) !important;
  border-top-right-radius: var(--bs-border-radius-xl) !important;
  height: 150vw;
}

#espaciosdeaprendizaje .card-body .btn {
  background: linear-gradient(to right, #0181f8, #01509b);
  background-clip: text;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#espaciosdeaprendizaje .swiper-button-next,
#espaciosdeaprendizaje .swiper-button-prev {
  background: #fff;
  border-radius: 360px;
  bottom: -85px;
  box-shadow: 0 0.3rem 0.9rem rgba(0, 0, 0, 0.175) !important;
  height: 60px;
  top: unset;
  width: 60px;
}

#espaciosdeaprendizaje .swiper-button-next {
  right: 10px;
}

#espaciosdeaprendizaje .swiper-button-prev {
  left: unset;
  right: 180px;
}

#espaciosdeaprendizaje .swiper-button-next::after,
#espaciosdeaprendizaje .swiper-button-prev::after {
  color: #024f93;
  font-size: 33px;
  font-weight: bold;
}

#espaciosdeaprendizaje .swiper-pagination {
  bottom: -67px;
  left: unset;
  min-height: 20px;
  min-width: 106px;
  max-width: 106px;
  right: 18px;
}

#espaciosdeaprendizaje .swiper-pagination-bullet {
  background-color: #0084ff;
  height: 15px;
  opacity: 1;
  top: 2.5px;
  width: 15px;
}

#espaciosdeaprendizaje .swiper-pagination-bullet-active {
  background-color: #005099;
  border-radius: 6px;
  height: 10px;
  top: 0;
  width: 28px;
}

@media (min-width: 576px) {
  #espaciosdeaprendizaje .ico {
    width: 64px;
  }

  #espaciosdeaprendizaje .swiper-button-next {
    right: 38px;
  }

  #espaciosdeaprendizaje .swiper-button-prev {
    right: 208px;
  }

  #espaciosdeaprendizaje .swiper-pagination {
    right: 47px;
  }
}

@media (min-width: 768px) {
  #espaciosdeaprendizaje iframe {
    height: 70vw;
  }
}

@media (min-width: 992px) {
  #espaciosdeaprendizaje iframe {
    border-radius: var(--bs-border-radius-xl) !important;
    height: 600px;
  }
}

@media (min-width: 1400px) {
  #espaciosdeaprendizaje {
    margin-top: 7rem !important;
  }
}

/* */

#galeria {
  overflow: hidden;
}

#galeria h3 {
  color: #004e9b;
}

#galeria .swiper {
  overflow: visible;
}

#galeria .card {
  width: 100%;
}

#galeria .card.info {
  background: linear-gradient(
    180deg,
    rgba(0, 79, 153, 1) 35%,
    rgba(0, 30, 105, 1) 100%
  );
  border: none;
}

#galeria .card-body {
  height: 420px;
  position: relative;
}

#galeria .card-body img {
  left: 50%;
  position: absolute;
  object-fit: cover;
  transform: translateX(-50%);
  height: 100%;
  padding: 0;
}

#galeria .galeria-card {
  position: relative;
}

#galeria .galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  padding: 20px;
}

#galeria .galeria-card:hover .galeria-overlay {
  opacity: 1;
}

#galeria .galeria-description {
  color: white;
  text-align: center;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
}

@media (min-width: 576px) {
  #galeria .card-body {
    height: 480px;
  }
}

@media (min-width: 1400px) {
  #galeria {
    margin-top: 7rem !important;
  }
}

/* */

#Edificio {
  margin-top: 5rem !important;
  position: relative;
}

#Edificio .infraestructura {
  background: url("experiencia-bg.webp");
  background-size: cover;
  height: 19vw;
  position: relative;
}

#Edificio .infraestructura::before {
  background: rgba(19, 93, 161, 0.85);
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

#Edificio .infraestructura img {
  bottom: -19vw;
  position: absolute;
  width: 100%;
}

#Edificio .moto {
  color: #004f99;
}

#Edificio .Umg {
  display: block;
  height: 45px;
  margin: 10px auto 0;
}

@media (min-width: 576px) {
  #Edificio {
    margin-top: 7rem !important;
  }

  #Edificio .infraestructura {
    height: 110px;
  }

  #Edificio .infraestructura img {
    bottom: -110px;
  }
}

@media (min-width: 768px) {
  #Edificio {
    margin-top: 9rem !important;
  }

  #Edificio .Umg {
    height: 50px;
    margin-top: 12px;
  }

  #Edificio .infraestructura {
    height: 150px;
  }

  #Edificio .infraestructura img {
    bottom: -150px;
  }
}

@media (min-width: 992px) {
  #Edificio {
    background: url("experiencia-bg.webp");
    background-size: cover;
    height: 135px;
    position: relative;
  }

  #Edificio::before {
    background: rgba(19, 93, 161, 0.85);
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }

  #Edificio > .container-fluid {
    position: relative;
  }

  #Edificio .infraestructura {
    background: transparent;
    height: auto;
  }

  #Edificio .infraestructura img {
    bottom: -135px;
  }

  #Edificio .moto {
    color: #fff;
    font-size: 33px;
  }

  #Edificio .Umg {
    filter: brightness(0) invert(1);
  }
}

@media (min-width: 1200px) {
  #Edificio {
    height: 160px;
  }

  #Edificio .infraestructura img {
    bottom: -160px;
  }

  #Edificio .moto {
    font-size: 2.5rem !important;
  }
}

@media (min-width: 1400px) {
  #Edificio {
    height: 190px;
    margin-top: 14rem !important;
  }

  #Edificio .infraestructura img {
    bottom: -190px;
  }
}

/* */


#servicios h3 {
  background: radial-gradient(circle at center, #00aaff, #004f99);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#servicios .swiper {
  overflow: visible !important;
  padding-top: 20px;
  padding-bottom: 20px;
}

#servicios .swiper-wrapper {
  overflow: visible !important;
}

#servicios .swiper-slide,
#servicios .swiper-slide .card {
  transition: all 0.3s ease-in;
}

#servicios .swiper-slide {
  width: 300px;
  position: relative;
  z-index: 1;
  display: flex;
}

#servicios .swiper-slide:hover {
  width: 360px; /* Compensar 20px de padding para simular la separación */
  padding-right: 20px;
  z-index: 5;
}

#servicios .swiper-slide:hover .card {
  transform: scale(1.05); /* Proporciona el crecimiento en alto sin exagerar */
}

#servicios .swiper-slide .card {
  background: transparent;
  flex: 1;
  transform-origin: top left;
}


#servicios .swiper-slide .card::after {
  background: linear-gradient(to top, #004f99, transparent);
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  transition: all 0.3s ease-in;
  width: 100%;
  z-index: -1;
}

#servicios .swiper-slide:hover .card::after {
  opacity: 0;
}

#servicios .swiper-slide .card video {
  height: 100%;
  left: 50%;
  position: absolute;
  object-fit: cover;
  transform: translateX(-50%);
  z-index: -2;
}

#servicios .swiper-slide .card .info {
  transition: all 0.3s ease-in;
}

#servicios .swiper-slide:hover .card .info {
  opacity: 0;
}

#servicios .swiper-slide .card .ico {
  height: 64px;
}

#servicios .swiper-slide .card .btn {
  bottom: 0;
  left: 0;
  position: absolute;
}

.modal-content {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
  background: linear-gradient(90deg, #1cb5e0 0%, #000851 100%);
  color: white;
  border-radius: 0.5rem 0.5rem 0 0;
  margin-left: 0;
  margin-right: 0;
}

.modal-title {
  color: white;
}

.btn-close {
  filter: brightness(0) invert(1);
}

.modal-body h6 {
  color: #333;
  margin-top: 1.5rem;
}

.modal-body a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.modal-body a:hover {
  text-decoration: underline;
}

.alert {
  border: none;
  border-left: 4px solid;
}

.alert-info {
  border-left-color: #0dcaf0;
  background-color: rgba(13, 202, 240, 0.1);
}

.alert-success {
  border-left-color: #198754;
  background-color: rgba(25, 135, 84, 0.1);
}

.modal.fade .modal-dialog {
  transition:
    transform 0.3s ease-out,
    opacity 0.3s ease-out;
}

@media (min-width: 576px) {
  #servicios .swiper-slide:hover {
    width: 380px;
    padding-right: 20px;
    z-index: 5;
  }
}

@media (min-width: 768px) {
  #servicios .swiper-slide {
    width: 340px;
    flex-direction: column;
    height: auto;
    position: relative;
    z-index: 1;
    display: flex;
  }

  #servicios .swiper-slide:hover {
    width: 400px;
    padding-right: 20px;
    z-index: 5;
  }
}

@media (min-width: 1400px) {
  #servicios {
    margin-top: 9rem !important;
  }
}

/* */

@keyframes animation-carne_F {
  0% {
    top: -50%;
  }

  5% {
    top: 12%;
  }

  10% {
    top: 5%;
  }

  15% {
    top: 9%;
  }

  20% {
    top: 10%;
  }

  25% {
    top: 9%;
  }

  50% {
    top: -50%;
  }

  100% {
    top: -50%;
  }
}

#inscripcion {
  background: linear-gradient(to bottom, #02bdfd, #0087cc, #00559f);
}

#inscripcion .CarneUniversitario {
  align-items: center;
  display: flex;
  height: 35vw;
  justify-content: center;
  overflow: visible;
  padding: 2vw 0;
  position: relative;
  z-index: 10;
}

#inscripcion img.carne {
  opacity: 0;
  position: absolute;
  transform: translateY(120%);
}

#inscripcion img.carne.active {
  animation: carneBounceInOut 6s ease-in-out infinite;
}

#inscripcion img.carne.F {
  left: 2%;
  width: 48%;
}

#inscripcion img.carne.M {
  right: 2%;
  width: 48%;
}

#inscripcion img.carne.S {
  top: 80%;
  width: 96%;
  z-index: -1;
}

@keyframes carneBounceInOut {
  0% {
    opacity: 0;
    transform: translateY(120%);
  }

  10% {
    opacity: 1;
    transform: translateY(-45%);
  }

  15% {
    transform: translateY(5%);
  }

  20% {
    transform: translateY(-3%);
  }

  25% {
    transform: translateY(0);
  }

  70% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}

#inscripcion .btn span {
  background: linear-gradient(to right, #0379e9, #035096);
  background-clip: text;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 576px) {
  #inscripcion .CarneUniversitario {
    height: 32vw;
    padding: 2vw 0;
  }

  #inscripcion img.carne.F {
    left: 3%;
    width: 47%;
  }

  #inscripcion img.carne.M {
    right: 3%;
    width: 47%;
  }
}

@media (min-width: 768px) {
  #inscripcion .CarneUniversitario {
    height: 28vw;
    padding: 1.5vw 0;
  }

  #inscripcion img.carne.F {
    left: 4%;
    width: 46%;
  }

  #inscripcion img.carne.M {
    right: 4%;
    width: 46%;
  }
}

@media (min-width: 992px) {
  #inscripcion {
    margin-top: 4.5rem !important;
  }

  #inscripcion .CarneUniversitario {
    height: 240px;
    padding: 15px 0;
  }

  #inscripcion img.carne.F {
    left: 3%;
    width: 47%;
  }

  #inscripcion img.carne.M {
    right: 3%;
    width: 47%;
  }
}

@media (min-width: 1200px) {
  #inscripcion .CarneUniversitario {
    height: 260px;
    padding: 15px 0;
  }

  #inscripcion img.carne.F {
    left: 4%;
    width: 46%;
  }

  #inscripcion img.carne.M {
    right: 4%;
    width: 46%;
  }
}

@media (min-width: 1400px) {
  #inscripcion {
    margin-top: 8rem !important;
  }

  #inscripcion .CarneUniversitario {
    height: 280px;
    padding: 15px 0;
  }

  #inscripcion img.carne.F {
    left: 5%;
    width: 45%;
  }

  #inscripcion img.carne.M {
    right: 5%;
    width: 45%;
  }
}

/* */

#contacto,
#contacto a {
  color: #004f99;
}

#contacto {
  margin-top: 2.5rem !important;
  overflow: hidden;
}

#contacto .contacto-card {
  max-width: 480px;
}

/* @media (min-width: 768px) {
  #contacto .contacto-card {
    margin-left: 2rem;
    margin-right: 0;
  }
}

@media (min-width: 992px) {
  #contacto .contacto-card {
    margin-left: 3rem;
  }
}

@media (min-width: 1200px) {
  #contacto .contacto-card {
    margin-left: 4rem;
  }
} */

#contacto .contacto-head {
  position: relative;
  text-align: center;
}

#contacto .contacto-head::before,
#contacto .contacto-head::after {
  border-bottom: 2px solid #004e9a;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  top: 50%;
  width: calc(50% - 75px);
}

#contacto .contacto-head::before {
  left: 0;
}

#contacto .contacto-head::after {
  right: 0;
}

#contacto .contacto-head img {
  display: inline;
  width: 140px;
}

#contacto .bi {
  font-size: 33px;
}

#contacto iframe {
  height: 380px;
}

#contacto .icon {
  height: 2.5rem;
}

@media (min-width: 576px) {
  #contacto {
    margin-top: 3rem !important;
  }
}

@media (min-width: 768px) {
  #contacto {
    margin-top: 0 !important;
  }

  #contacto iframe {
    height: 576px;
    width: 50vw;
  }
}

@media (min-width: 1200px) {
  #contacto iframe {
    height: 576px;
  }
}

.pswp__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  pointer-events: none;
}
