@import url("./form_admision.css");

/* Variables */
:root {
  --primary-red: #b11616;
  --primary-blue: #215595;
  --dark-blue: #153864;
  --light-blue: #3498db;
  --white: #ffffff;
  --black: #000000;
  --gray: #666666;
  --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Reset y tipografía */
h1, h2, h3, h4, h5, h6, p, a, b, li, span {
  font-family: var(--font-primary) !important;
}

h5 {
  font-weight: 600;
}

h4 {
  font-weight: 700;
}

p {
  color: #555;
}

/* Navegación contenido */
.navegacion {
  background-image: url(../img/DSC00503.jpg);
  background-size: cover;
  background-position: center;
}

.navegacion .banner-navbar {
  height: 500px;
}

.mega-menu {
  display: none;
  position: absolute;
  background-color: var(--dark-blue);
  padding: 20px;
  width: auto;
  left: 100%;
  transform: translateX(10%);
  border-radius: 0;
  top: -20px;
  margin-top: 0px;
  max-width: unset;
  min-width: unset;
  left: 0;
}

.sub-menu {
  position: absolute;
  background-color: var(--primary-blue);
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.3s ease;
  padding: 0;
}

.sub-menu li {
  list-style: none;
}

.sub-menu li a {
  color: var(--white);
  padding-left: 0;
  padding-right: 0;
  display: block;
  padding: 0.7rem 1rem;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  font: normal normal 400 0.8rem/1rem var(--font-primary);
}

.sub-menu li a:hover {
  background-color: var(--dark-blue);
}

.nav-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
}

.mega-menu-link:hover .mega-menu {
  display: block;
}

.secciones-enlaces {
  padding: 10px;
}

.secciones-enlaces h6 {
  font: normal normal 600 0.9rem/1rem var(--font-primary);
}

.secciones-enlaces hr {
  margin: 0px;
  background-color: #3f597b;
  height: 1px;
  border: none;
  opacity: 1;
}

.secciones-enlaces a {
  color: rgb(177, 177, 177);
  padding-left: 0;
  padding-right: 0;
  display: block;
  padding: 0.7rem 1rem;
  text-decoration: none;
  transition: 0.3s;
  font: normal normal 400 0.8rem/1rem var(--font-primary);
  background-color: var(--dark-blue);
}

.secciones-enlaces i {
  position: absolute;
  right: 25px;
  transition: 0.3s;
}

.secciones-enlaces a:hover {
  filter: brightness(0.8);
}

.top-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: var(--primary-blue);
}

.logo {
  display: inline-block;
  max-height: 30px;
}

.menu-superior {
  background: rgb(17, 72, 135);
}

.menu-superior ul li {
  color: rgb(202, 202, 202);
  font-size: 13px;
  font: normal normal 400 0.8rem/1rem var(--font-primary);
}

.aplica-ya {
  background: #0c7bc6;
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.3rem;
  margin-left: 1rem;
  font: normal normal 700 0.8rem/1rem var(--font-primary);
}

@media (min-width: 992px) {
  .logo {
    display: none;
  }
}

@media (max-width: 992px) {
  .menu-superior {
    display: none;
  }
}

.mega-menu-collapse ul li {
  position: relative !important;
  transition: background-color 0.5s;
}

.mega-menu-collapse ul li .en {
  color: white;
  padding-left: 0;
  padding-right: 0;
  display: block;
  padding: 1rem 2rem;
  font: normal normal 400 0.8rem/1rem var(--font-primary);
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.mega-menu-collapse ul li .en i {
  font-size: 10px;
  position: absolute;
  margin: 4px 5px;
  color: rgb(172, 172, 172);
}

.mega-menu {
  width: max-content;
  left: -29rem !important;
}

.mega-menu-collapse ul li:hover {
  background-color: var(--dark-blue);
}

@media (max-width: 992px) {
  .top-menu {
    justify-content: flex-end;
    padding-right: 10px;
    padding: 15px;
    background: white;
  }

  .mega-menu-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 300px;
    background-color: white;
    transition: right 0.3s ease;
  }

  .navbar-toggler.active+.mega-menu-collapse {
    right: 0;
  }
}

@media (min-width: 993px) {
  .top-menu {
    padding: 0;
  }
}

@media (max-width: 992px) {
  .top-menu {
    display: none;
  }
}

@media (min-width: 992px) {
  .menu-secundary {
    display: none;
  }
}

.navbar-nav__first,
.navbar-nav__second {
  display: flex;
}

.navbar-nav__container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.navbar-nav__second {
  gap: 1rem;
}

.navbar-nav__second a {
  display: flex;
  gap: 0.5rem;
  padding: 0.3rem 1rem;
  border-radius: 0.5rem;
  font: normal normal 600 0.8rem/1.5rem var(--font-primary);
  text-decoration: none;
  align-items: center;
  text-align: center;
  margin: 0.5rem 0;
  transition: 0.3s;
}

.navbar-nav__second a:first-child {
  background-color: var(--light-blue);
  color: white;
}

.navbar-nav__second a:last-child {
  background-color: var(--light-blue);
  color: white;
}

.navbar-nav__second a:focus,
.navbar-nav__second a:hover {
  filter: brightness(0.7);
}

/* Carousel principal */
.carousel-main {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* Fondo con overlay */
.carousel-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4) saturate(1.2);
  transition: transform 10s ease;
}

.carousel-item.active .background-image {
  transform: scale(1.05);
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(70, 122, 190, 0.6) 0%,
    rgba(62, 122, 211, 0.7) 40%,
    rgba(66, 106, 216, 0.4) 100%
  );
  z-index: 2;
}

/* Contenedor principal */
.carousel-main .container {
  position: relative;
  z-index: 3;
  height: 100%;
}

.min-vh-80 {
  min-height: 80vh;
  padding: 4rem 0;
}

/* Badge de admisión */
.admission-badge {
  display: inline-block;
}

.badge-year {
  background: linear-gradient(135deg, var(--primary-red) 0%, #ff0000 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
  display: inline-block;
  text-transform: uppercase;
}

/* Títulos */
.carousel-content-wrapper {
  max-width: 600px;
  animation: fadeInUp 0.8s ease;
}

.carousel-main-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.highlight-text {
  color: #ffd166;
  position: relative;
  display: inline-block;
}

/* Descripción */
.carousel-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

/* Botones */
.carousel-actions .btn {
  padding: 0.8rem 1.7rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary-red) 0%, #ff0000 100%);
  border: none;
  position: relative;
  overflow: hidden;
}

.carousel-actions .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.carousel-actions .btn-outline-light {
  background: rgba(211, 125, 12, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.carousel-actions .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-3px);
}

/* Imagen flotando */
.floating-image-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2rem;
}

.floating-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  animation: floatImage 1s ease;
}

.floating-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.5s ease;
}

.floating-image:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Controles del carousel */
.carousel-indicators {
  bottom: 15px;
  margin: 0;
  gap: 10px;
}

.carousel-indicators [data-bs-target] {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  margin: 0;
  opacity: 1;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background: white;
  width: 40px;
  border-radius: 10px;
  transform: scale(1.1);
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  margin: 0 30px;
  opacity: 0.7;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 1.5rem;
  height: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatImage {
  from {
    opacity: 0;
    transform: perspective(1000px) rotateY(-15deg) translateX(50px);
  }
  to {
    opacity: 1;
    transform: perspective(1000px) rotateY(-5deg) translateX(0);
  }
}

/* Responsive */
@media (max-width: 1199px) {
  .min-vh-80 {
    min-height: 75vh;
    padding: 3rem 0;
  }
  
  .floating-image-container {
    padding-left: 1rem;
  }
  
}

@media (max-width: 991px) {
  .carousel-main-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  }
  
  .floating-image-container {
    margin-top: 3rem;
    padding-left: 0;
  }
  
  .floating-image-wrapper {
    max-width: 400px;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    margin: 0 15px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .min-vh-80 {
    min-height: 70vh;
    padding: 2.5rem 0;
  }
  
  .carousel-main-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
  }
  
  .carousel-description {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .carousel-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .carousel-actions .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .floating-image-container {
    display: none;
  }
  
  .carousel-indicators {
    bottom: 20px;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
  
  .background-overlay {
    background: linear-gradient(
      90deg,
      rgba(70, 122, 190, 0.6) 0%,
      rgba(66, 106, 216, 0.4) 100%
    );
  }
}


@media (max-width: 576px) {
  .min-vh-80 {
    min-height: 65vh;
    padding: 2rem 0;
  }
  
  .badge-year {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }
  
  .carousel-main-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .carousel-description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  .carousel-actions .btn {
    padding: 0.75rem 1.5rem;
  }
  
  .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
  }
  
  .carousel-indicators .active {
    width: 30px;
  }
}

@media (max-width: 425px) {
  .min-vh-80 {
    min-height: 60vh;
    padding: 1.5rem 0;
  }
  
  .carousel-main-title {
    font-size: 1.4rem;
  }
  
  .carousel-description {
    font-size: 0.9rem;
  }
  
  .badge-year {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  
  .carousel-actions .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 374px) {
  .carousel-main-title {
    font-size: 1.2rem;
  }
  
  .carousel-description {
    font-size: 0.85rem;
  }
  
  .carousel-actions .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

/* Pantallas altas */
@media (min-height: 800px) {
  .min-vh-80 {
    min-height: 85vh;
  }
}

/* Pantallas muy anchas */
@media (min-width: 1400px) {
  .carousel-main-title {
    font-size: 3.5rem;
  }
  
  .carousel-description {
    font-size: 1.3rem;
  }
  
  .floating-image-wrapper {
    max-width: 600px;
  }
}

/* Soporte para navegadores sin backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  
  .carousel-actions .btn-outline-light {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    background: rgba(255, 255, 255, 0.25);
  }
}

/* Seccion de niveles academicos */
.academic-programs {
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}


.max-w-700 {
  max-width: 700px;
}

/* Tarjetas de programas */
.program-card {
  height: 500px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  overflow: hidden;
  border-radius: 15px;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

/* Contenedor de imagen */
.program-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.program-image-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.program-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.5s ease;
  filter: brightness(0.95);
}

.program-card:hover .program-image {
  transform: scale(1.05);
  filter: brightness(1);
}

.program-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}

/* Colores específicos para cada programa */
.program-inicial .program-overlay {
  background: linear-gradient(to bottom, rgba(177, 22, 22, 0.2) 0%, rgba(177, 22, 22, 0.8) 100%);
}

.program-primaria .program-overlay {
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0.8) 100%);
}

.program-secundaria .program-overlay {
  background: linear-gradient(to bottom, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.8) 100%);
}

/* Contenido de la tarjeta */
.program-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 3;
}

.program-badge {
  animation: fadeInUp 0.5s ease;
}

.program-title {
  font-size: 1.75rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.6s ease 0.1s both;
}

.program-description {
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* Botón explorar programa */
.btn-explorar {
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease 0.3s both;
  border: 2px solid transparent;
}

.btn-explorar:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-explorar i {
  transition: transform 0.3s ease;
}

.btn-explorar:hover i {
  transform: translateX(5px);
}

/* Colores específicos para botones */
.program-inicial .btn-explorar {
  background: white;
  color: var(--primary-red);
  border-color: white;
}

.program-inicial .btn-explorar:hover {
  background: var(--primary-red);
  color: white;
  border-color: white;
}

.program-primaria .btn-explorar {
  background: white;
  color: #2563eb;
  border-color: white;
}

.program-primaria .btn-explorar:hover {
  background: #2563eb;
  color: white;
  border-color: white;
}

.program-secundaria .btn-explorar {
  background: white;
  color: #f59e0b;
  border-color: white;
}

.program-secundaria .btn-explorar:hover {
  background: #f59e0b;
  color: white;
  border-color: white;
}

/* Decoración */
.program-decoration {
  z-index: 2;
}

.decoration-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsive */
@media (min-width: 992px) {
  .program-card {
    height: 550px;
  }
  
  .program-title {
    font-size: 2rem;
  }
  
  .program-description {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 991px) {
  .program-card {
    height: 480px;
  }
  
  .program-content {
    padding: 2rem !important;
  }
  
  .program-title {
    font-size: 1.5rem;
  }
  
  .program-description {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 767px) {
  .section-main-title {
    font-size: 2.5rem;
  }
  
  .program-card {
    height: 450px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .program-content {
    padding: 1.75rem !important;
  }
  
  .btn-explorar {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 575px) {
  .academic-programs {
    padding: 3rem 0 !important;
  }
  
  .section-main-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem !important;
  }
  
  .program-card {
    height: 400px;
  }
  
  .program-content {
    padding: 1.5rem !important;
  }
  
  .program-title {
    font-size: 1.35rem;
  }
  
  .program-description {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .program-badge .badge {
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important;
  }
  
  .btn-explorar {
    padding: 0.625rem 1.25rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 374px) {
  .program-card {
    height: 380px;
  }
  
  .program-content {
    padding: 1.25rem !important;
  }
  
  .program-title {
    font-size: 1.25rem;
  }
  
  .program-description {
    font-size: 0.95rem !important;
  }
  
  .btn-explorar {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

@media (min-width: 1200px) {
  .academic-programs .container {
    max-width: 1140px;
  }
  
  .program-card {
    height: 600px;
  }
  
  .program-title {
    font-size: 2.25rem;
  }
  
  .program-description {
    font-size: 1.35rem !important;
  }
}

@media (min-width: 1400px) {
  .academic-programs .container {
    max-width: 1320px;
  }
  
  .program-card {
    height: 650px;
  }
}

@media (max-width: 768px) {
  .program-image {
    object-position: center 30%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-card,
  .program-image,
  .btn-explorar,
  .btn-explorar i {
    transition: none;
  }
  
  .program-card:hover {
    transform: none;
  }
}

/* Modo oscuro */
@media (prefers-color-scheme: dark) {
  .academic-programs {
    background: #0f172a;
  }
  
  .section-main-title {
    color: #f1f5f9;
  }
  
  .section-subtitle {
    color: #94a3b8 !important;
  }
}

/* Soporte para navegadores antiguos */
@supports not (backdrop-filter: blur(10px)) {
  .decoration-circle {
    background: rgba(255, 255, 255, 0.15);
  }
}


/* Formulario de contacto de aplica ya */
.form-contact {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0px 0px 20px rgb(143, 143, 143);
}

.form-contact form h4 {
  font-weight: bold;
}

.form-contact form label {
  font: normal normal 700 0.7rem/1rem var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.03rem;
}

.icon__form {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.form-contact form p {
  font: normal normal 400 0.8rem/1.5rem var(--font-primary);
}

.form-contact form div input {
  border-radius: 40x;
  font: normal normal 400 0.8rem/1.5rem var(--font-primary);
}

.form-contact form div select {
  border-radius: 0px;
  font: normal normal 400 0.8rem/1.5rem var(--font-primary);
}

.form-contact form div select option {
  border-radius: 40px;
}

.form-contact form button {
  border-radius: 0px;
}

/* Datos institucionales */
.datos-institucionales {
  background: linear-gradient(135deg, #125fc4, #125fc4);
  color: #ffffff;
}

.datos-wrapper {
  min-height: 180px;
}

/* Bloques */
.contenido-datos {
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .25rem;
}

/* Números */
.contenido-datos h3 {
  font: normal normal 700 3rem/1 var(--font-primary);
  color: #ffffff;
  margin: 0;
}

/* Texto */
.contenido-datos p {
  font: normal normal 500 .95rem/1.4 var(--font-primary);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  letter-spacing: .5px;
}

/* Separadores sutiles */
.datos-wrapper > div:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .contenido-datos h3 {
    font-size: 2.3rem;
  }

  .datos-wrapper > div:nth-child(2n) {
    border-right: none;
  }

  .datos-wrapper > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}

@media (max-width: 576px) {
  .contenido-datos h3 {
    font-size: 2rem;
  }

  .contenido-datos p {
    font-size: .85rem;
  }
}

/* Sección de noticias */
.title-noticias h3 {
  font-weight: bold;
  color: var(--primary-red);
}

.gird-news {
  width: 100%;
  min-height: 400px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.new {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
  min-height: 300px;
}

.new:hover {
  transform: scale(1.02);
}

.new img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  object-position: center;
}

.new__decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(28deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 212, 255, 0) 100%);
}

.new h2 {
  font: normal normal 700 1.3rem/1.8rem var(--font-primary);
  color: var(--white);
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  margin: 0;
}

.new__circle {
  margin: 1.5rem;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  flex-direction: column;
  background-color: var(--primary-red);
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.new__circle p,
.new__circle span {
  color: var(--white);
}

.new__circle p {
  margin: 0;
  font: normal normal 700 1.2rem/1.2rem var(--font-primary);
}

.new__circle span {
  font: normal normal 400 0.8rem/1rem var(--font-primary);
}

.new__void {
  margin: auto;
  font: normal normal 700 1.5rem/2rem var(--font-primary);
  color: var(--gray);
  text-align: center;
  grid-column: 1 / -1;
}

/* Responsive noticias */
@media (max-width: 768px) {
  .gird-news {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .new {
    min-height: 250px;
  }

  .new h2 {
    font-size: 1.2rem;
    line-height: 1.5rem;
  }
}

@media (max-width: 576px) {
  .new {
    min-height: 200px;
  }

  .new__circle {
    margin: 1rem;
    width: 3.5rem;
    height: 3.5rem;
  }

  .new__circle p {
    font-size: 1rem;
  }

  .new__circle span {
    font-size: 0.7rem;
  }
}

/* Títulos generales */
.courses__title {
  font: normal normal 700 1.5rem/2rem var(--font-primary);
  color: var(--primary-red);
}

.courses__title i {
  margin-right: 0.5rem;
  color: var(--primary-red);
}

/* Sección de footer */
footer {
  margin-top: 4rem;
  padding: 3rem 1rem !important;
  background-color: var(--primary-blue) !important;
  color: var(--white);
}

footer p,
footer h6 {
  font-family: var(--font-primary);
  color: rgba(255, 255, 255, 0.9);
}

/* WhatsApp flotante */
.consultas a {
  position: fixed;
  background: var(--primary-red);
  color: var(--white);
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.consultas a:hover {
  transform: scale(1.05);
}

/* Utilidades */
.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.courses {
  min-height: 100vh;
  background-size: cover;
}

/* Media queries generales */
@media (max-width: 768px) {
  .carousel-buttons .btn {
    min-width: 100%;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .courses__title {
    font-size: 1.3rem;
    line-height: 1.8rem;
  }
}