body {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

.font-title {
  font-family: "Montserrat", sans-serif;
}

/* Estilos para el menú desplegable */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #4059aa;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #1e3a8a;
}

.dropdown::after {
  content: "";
  position: absolute;
  height: 20px;
  width: 100%;
  bottom: -20px;
  left: 0;
}

/* Efecto de subrayado para los elementos del menú */
.nav-link {
  position: relative;
  padding: 0.5rem 0;
  color: #1e40af;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #1e40af;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: #dc2626;
}

.nav-link:hover::after {
  width: 100%;
}

/* Animaciones para elementos */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Estilos para las tarjetas de características */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Estilos para las tarjetas de actividades */
.activity-card {
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.activity-card img {
  transition: transform 0.5s ease;
}

.activity-card:hover img {
  transform: scale(1.05);
}

/* Estilos para los elementos flotantes */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Estilos para los botones */
.btn-primary {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilos para los proyectos especiales */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-content {
  display: flex;
  flex-direction: row;
  height: 100%;
}

.project-icon-column {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.project-text-column {
  flex: 1;
}

/* Estilos para el horario escolar */
.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 1rem;
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  padding: 0.75rem 1rem;
  text-align: left;
}

.schedule-table th {
  background-color: #1e40af;
  color: white;
  font-weight: 600;
}

.schedule-table tr:nth-child(even) {
  background-color: #f3f4f6;
}

.schedule-table tr:nth-child(odd) {
  background-color: #ffffff;
}

.schedule-table td {
  border-bottom: 1px solid #e5e7eb;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.subject-math {
  background-color: #dbeafe;
  color: #1e40af;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.subject-language {
  background-color: #fee2e2;
  color: #b91c1c;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.subject-science {
  background-color: #e0f2fe;
  color: #0369a1;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.subject-social {
  background-color: #f1f5f9;
  color: #475569;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.subject-art {
  background-color: #ede9fe;
  color: #5b21b6;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.subject-pe {
  background-color: #fee2e2;
  color: #b91c1c;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.subject-english {
  background-color: #dbeafe;
  color: #1e40af;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.subject-tech {
  background-color: #f1f5f9;
  color: #475569;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.subject-music {
  background-color: #e0f2fe;
  color: #0369a1;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.subject-ethics {
  background-color: #f1f5f9;
  color: #475569;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.subject-break {
  background-color: #f3f4f6;
  color: #4b5563;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

/* Estilos para las pestañas de orientaciones */
.orientation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.orientation-tab {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background-color: #f3f4f6;
  color: #4b5563;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.orientation-tab:hover {
  background-color: #e5e7eb;
}

.orientation-tab.active {
  background-color: #1e40af;
  color: white;
}

.orientation-content {
  display: none;
}

.orientation-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Estilos para las áreas curriculares */
.curriculum-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  height: 100%;
}

.curriculum-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para la línea de tiempo */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: #1e40af;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 3px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: white;
  border: 4px solid #1e40af;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #f3f4f6;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #f3f4f6;
}

.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #f3f4f6;
  border-width: 10px 10px 10px 0;
  border-color: transparent #f3f4f6 transparent transparent;
}

.right::after {
  left: -10px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos para las pestañas de años */
.year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.year-tab {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background-color: #f3f4f6;
  color: #4b5563;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.year-tab:hover {
  background-color: #e5e7eb;
}

.year-tab.active {
  background-color: #1e40af;
  color: white;
}

.year-content {
  display: none;
}

.year-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Estilos para los iconos circulares en proyectos */
.icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
