/* === GENERAL === */
  * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }
body {
  margin: 0;
  background: linear-gradient(to right, #0a0a0a 0%, #0a0a0a 40%, #1a0f1f 60%, #19071a 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* === NAVBAR === */
.custom-navbar {
  background-color: transparent;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 999;
}

.custom-navbar .container-lg {
  padding: 50px 25px;
}

.navbar-nav .nav-link {
  color: #e0b3ff;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #bb6bd9;
}

.dropdown-menu {
  background-color: #6A1B9A;
  border-radius: 8px;
  border: 1px solid #e0b3ff;
  padding: 10px 0;
  z-index: 1000;
  position: absolute;
}

.dropdown-item {
  color: #FFFFFF;
  padding: 8px 20px;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-item:hover {
  background-color: #bb6bd9;
  color: white;
  border-radius: 20px;
}

.dropdown-menu .dropdown-item {
  border-bottom: 1px solid #e0b3ff;
  padding: 10px 20px;
  border-radius: 10px;
}

/* === HERO SECTION === */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 25px 10px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding-left: 30px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 span {
  display: block;
  color: #bb6bd9;
}

.hero p.lead {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  text-align: right;
  padding-right: 30px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 600px;
}

/* === BUTTONS === */
.btn-outline-purple {
  border: 2px solid #bb6bd9;
  color: #bb6bd9;
  border-radius: 30px;
  padding: 10px 30px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-outline-purple:hover {
  background-color: #bb6bd9;
  color: #fff;
}

.btn-solid-purple {
  background-color: #bb6bd9;
  color: #fff;
  border-radius: 30px;
  padding: 10px 30px;
  font-weight: bold;
  margin-left: 10px;
  transition: background-color 0.3s ease;
}

.btn-solid-purple:hover {
  background-color: #9b59b6;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 20px;
  }

  .hero-content,
  .hero-image {
    padding: 20px 10px;
  }

  .hero-image {
    text-align: center;
    margin-top: 30px;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

/* === TITULO CURSOS === */
.section-title-cursos {
  color: #d38be0;
}

.titulo-cursos {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.divider-purple {
  width: 60%;
  height: 2px;
  background-color: #d38be0;
  margin: 0 auto;
  border: none;
}

/* === CARDS === */
.education-cards-section {
  margin-top: 2px !important;
  padding-top: 2px !important;
  padding-bottom: 60px !important;
}

.education-card {
  position: relative;
  border-radius: 15px !important;
  box-shadow: 0 0 20px rgba(187, 107, 217, 0.2) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  overflow: visible;
  margin-bottom: 40px;
}

.education-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 0 30px rgba(187, 107, 217, 0.4) !important;
}

.education-card-image {
  background-size: cover;
  background-position: center;
  height: 300px;
  border-radius: 15px;
}

.education-card-overlay {
  position: absolute;
  bottom: -59px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  background-color: rgba(242, 110, 211, 0.7);
  color: #FFFFFF;
  padding: 15px;
  text-align: center;
  border-radius: 10px;
}

.education-title {
  font-size: 1.3rem !important;
  font-weight: bold !important;
  color: #6A1B9A !important;
  margin-bottom: 5px !important;
}

.education-text {
  font-size: 1rem !important;
  margin-bottom: 10px !important;
}

.btn-outline-purple {
  background-color: #bb6bd9 !important;
  color: #fff !important;
  border: none !important;
  padding: 8px 16px !important;
  border-radius: 5px !important;
  text-decoration: none;
}

.btn-outline-purple:hover {
  background-color: #a355c4 !important;
}

/* === INFORMATIVE CARD === */
.informative-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.informative-card-image {
  background-size: cover;
  background-position: center;
  height: 300px;
  position: relative;
}

.informative-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(103, 58, 183, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
  color: #fff;
}

.informative-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.informative-text {
  font-size: 16px;
  margin-bottom: 20px;
  max-width: 600px;
}

.btn-purple {
  background-color:#C10090;
  border: none;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-purple:hover {
  background-color: #6a1b9a;
}

/* === FOOTER === */
.footer {
  background-color: #111; /* Fondo oscuro */
  color: #ccc;
  padding: 60px 0;
  font-size: 0.95rem;
}

.footer-title {
  color: #d38be0; /* Morado claro */
  margin-bottom: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #d38be0;
}

.footer-links,
.social-links {
  list-style: none;
  padding: 0;
}

.footer-links li,
.social-links li {
  margin-bottom: 8px;
}

.social-links i {
  margin-right: 8px;
}

/* === FOOTER DERECHOS === */
.footer-bottom {
  background-color: #0d0d0d; /* Aún más oscuro */
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  color: #999;
  border-top: 1px solid #222;
}

.footer-bottom strong {
  color: #d38be0; /* Morado claro para el nombre */
}

/* === FOTOS NOSOTROS === */
.custom-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  background-color: #fff;
  transition: transform 0.3s ease;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.custom-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.custom-info {
  position: relative;
  background: #6A1B9A;
  padding: 1.5rem 1rem 1rem;
  text-align: center;
  clip-path: polygon(0 15%, 50% 0, 100% 15%, 100% 100%, 0 100%);
  z-index: 2;
  box-shadow: 0 0 0 3px #FFD700;
}
.custom-card:hover {
  transform: translateY(-5px);
}

/* DOCENTES */
.docentes-por-cedes .img-text-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.docentes-por-cedes .img-text-container img {
  width: 100%;
  height: 375px;
  object-fit: contain;
  border-radius: 0.5rem; /* borde redondeado */
  display: block;
}

.docentes-por-cedes .img-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 8px 12px;
  background-color: rgba(106, 27, 154, 0.6);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  text-align: center;
  border: 1px solid gold;
}