@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Satisfy&family=Space+Grotesk:wght@300..700&display=swap');

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins','sans-serif';
}
html{
	scroll-behavior: smooth;
}

/* SECCION DE INICIO MENU */
.inicio .contenido {
	max-width: 1200px;
	margin: auto;
	color: #fff;
}

.inicio header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	justify-content: space-between;
	padding: 0 5%;
	align-items: center;
	z-index: 100;
	background: linear-gradient(90deg, rgba(9,9,121,1) 28%, rgba(0,212,255,1) 100%);
}

.inicio .logo {
	display: flex;
	align-items: center;
	color: #00deef;
	font-size: 50px;
}

.inicio .logo img{
	height: 40px;
}

.inicio nav ul{
	list-style: none;
}

.inicio nav ul li {
	float: left;
	position: relative;
}

#inicio nav ul li a{
	font-size: 15px;
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 5px 10px;
	border: 2px solid transparent;
	border-radius: 15px;
}

#inicio header nav ul li ul {
	position: absolute;
	right: 0;
	width: 300px;
	background-color: rgba(12, 12, 70, 0.7);
	display: none;
	border-radius: 10px;
}

#inicio header nav ul li ul li a{
	font-size: 15px;
	text-transform: capitalize;
}

#inicio header nav ul li ul li {
	width: 100%;
}

#inicio header nav ul li:hover > ul {
	display: initial;
}

#inicio header nav a:hover {
	transition: .3s;
	border-radius: 15px;
 	background-color: #fff;
 	color: #3345e9;
}

.navegacion a:active {
	background-color: #87dbd0;
   }

.inicio .redes a{
	text-decoration: none;
	color: #fff;
	display: inline-block;
	margin: 0 10px;
}

.inicio .redes a:hover {
	color: #3345e9;
}


  /* redes */
  .social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #f2f2f2; */
    /* box-shadow: 0px 0px 15px #00000027; */
    padding: 8px 6px;
    border-radius: 5em;
  }
  
  .social-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px; /* Reducido el ancho */
    height: 30px; /* Reducido el alto */
    border-radius: 50%;
    margin: 0 6px; /* Reducido el margen */
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.27); /* Simplificado el box-shadow */
    transition: 0.3s;
  }
  
  .social-button:hover {
    background-color: #f2f2f2;
    box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.27); /* Simplificado el box-shadow */
  }
  
  .social-buttons svg {
    transition: 0.3s;
    height: 14px; /* Reducido el tamaño del icono */
    width: auto; /* Ajustado para mantener la relación de aspecto */
  }
  
  .facebook {
    background-color: #2549e7;
  }
  
  .facebook svg {
    fill: #f2f2f2;
  }
  
  .facebook:hover svg {
    fill: #4267B2;
  }

  .instagram {
    background-color: #c13584;
  }
  
  .instagram svg {
    fill: #f2f2f2;
  }
  
  .instagram:hover svg {
    --instagram-white: #fff;
    --instagram-blue: #3051f1;
    --instagram-purple: #c92bb7;
    --instagram-red: #f73344;
    --instagram-orange: #fa8e37;
    --instagram-yellow: #fcdf8f;
    --instagram-yellow_to: #fbd377;
  
    background: radial-gradient(
        circle farthest-corner at 28% 120%,
        var(--instagram-yellow) -16%,
        var(--instagram-yellow_to) 16%,
        var(--instagram-orange) 32%,
        var(--instagram-red) 48%,
        transparent 64%
      ),
      linear-gradient(0deg, var(--instagram-red) 16%, transparent 72%),
      linear-gradient(
        145deg,
        var(--instagram-blue) -48%,
        var(--instagram-purple) 24%
      );
  }
  

#toggle,
#inicio label {
	display: none;
	cursor: pointer;
}

#inicio .menu {
	width: 45px;
	height: 25px;
	color: #fff;
}

@media(max-width:950px) {
	#inicio label {
		display: initial;
	}

	#inicio {
		padding: 20px 10%;
	}

	label[for="toggle"] .menu {
		filter: invert(50%) sepia(100%) saturate(200%) hue-rotate(180deg);
	  }
	  

	#inicio nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: linear-gradient(90deg, rgb(19, 19, 194) 28%, rgb(11, 6, 77) 100%);
		display: none;
	}

    .inicio .logo img {
        height: 35px;
    }

	#inicio nav ul li {
		width: 100%;
	}

	#inicio nav ul li a {
		padding: 6px 10px 6px 10%;
	}

	#inicio nav ul li ul {
		position: fixed;
        top: 100%;
        left: 40%;
		padding: 10px 15px;
        transform: translateX(-50%);
		transform: translateY(-20%);
        max-height: 450px;
        overflow-y: auto;
        transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 0;
        visibility: hidden;
		z-index: 999; /* Aumenta el z-index para asegurar que se muestren sobre el menú principal */
	}

	#inicio nav ul li ul li {
		width: 100%;
		cursor: pointer;
	}

	#inicio nav ul li ul li a {
		font-size: 7px;
		padding: 6px 10px;
		
	}

    #toggle:checked~nav ul li ul {
        max-height: 500px;
        transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 1;
        visibility: visible;
    }

    /* Estilos para mejorar la legibilidad */
    #inicio nav ul li ul {
        box-shadow: 0 2px 5px rgba(12, 15, 202, 0.2);
        border-radius: 4px;
		width: 240px;
    }

	#toggle:checked~nav {
		display: block;
	}

}

/* BIENVENIDA */

.image-container {
    position: relative;
    width: 100%;
    /* contenedor ocupe todo el ancho disponible */
    min-height: 600px;
    /* Define una altura específica para un diseño más flexible */
    overflow: hidden;
    /* contenido no se desborde */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    /* Color del texto */
}

.overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.404);
    /* Color negro con 50% de opacidad */
    z-index: -1;
    /* Overlay esté detrás del contenido */
}

.overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* imagen cubra todo el espacio disponible */
    position: absolute;
    z-index: -2;
    /* imagen esté detrás del overlay */
}

.overlay h1 {
    z-index: 1;
    /* texto esté delante del overlay */
    margin-top: 0;
    /* Ajusta el margen superior según sea necesario */
    font-family: "Josefin Sans", "Satisfy", serif;
    font-weight: 400;
    font-size: 4.5vw;
    text-align: center;
}

/* responsive adaptar el diseño a diferentes tamaños de pantalla */
@media (max-width: 768px) {
    .image-container {
        height: 300px;
        /* Ajusta la altura para pantallas más pequeñas */
    }

    .overlay h1 {
        font-size: 24px;
        /* Ajusta el tamaño de la fuente para pantallas más pequeñas */
    }
}

@media (max-width: 480px) {
    .image-container {
        height: 200px;
        /* Ajusta aún más la altura para pantallas muy pequeñas */
    }

    .overlay h1 {
        font-size: 10.5vw;
        /* Reduce el tamaño de la fuente para pantallas muy pequeñas */
    }
}

/* --------------------------------------------------------------- */
/* DIV DE ENGANCHE */
/* -------------------------------------------------------------------- */

#enganche {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	padding: 20px;
	background-color: #f2f2f2;
	border-radius: 5px;
}

.btn-enganche {
	background-color: #007bff;
	border: none;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	cursor: pointer;
	border-radius: 12px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	transition: 0.3s;
}

.btn-enganche:hover {
	background-color: #0056b3;
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.btn-enganche i {
	font-size: 24px;
	line-height: 1;
	margin-bottom: 5px;
	color: #fff;
}

.btn-enganche span {
	color: #fff;
}

@media (max-width: 768px) {

    #enganche {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 20px; /* Espacio entre los botones */
        justify-content: center;
        align-items: center;
        text-decoration: none;
    }

    .btn-enganche {
        width: 100%;
        max-width: 300px;
        
    }
}

@media (max-width: 480px) {
    .btn-enganche {
        width: 90%;
        max-width: 250px;
    }
}

/* ---------------------------------------------------------------------------------- */
/* Ultimas noticias */
/* ---------------------------------------------------------------------------------- */

.noticias {
  text-align: center;
  margin-top: 30px;
}
#carouselExample {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 0px;
  
}

.carousel-inner{
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-item {
  height: 500px; /* Ajuste según sea necesario */
}

@media (max-width: 768px) {
  #carouselExample {
    max-width: 350px;
      margin: 0 auto;
  }
  
  .carousel-item {
      max-height: 300px;
  }
}

/* -------------------------------------------------------------------------------------- */
/* PRESENTACION */
/* -------------------------------------------------------------------------------------- */
.container-presentacion {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  margin-bottom: 30px;
}

.columnp {
  width: 48%;
  overflow: hidden;
  padding: 20px;
  transition: transform 0.3s ease;
}

.columnp h2 {
  color: #007bff;
  margin-bottom: 15px;
  text-align: center;
}

.columnp p {
  color: #333;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .container-presentacion {
      flex-direction: column;
  }
  
  .columnp {
      width: 100%;
      margin-bottom: 30px;
  }
}

/* ----------------------------------------------------------------------------------- */
/* CARDS */
/* ------------------------------------------------------------------------------------- */

.titulo-ibisep{
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
}
.container-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 60px;
}

.card {
  width: calc(33.333% - 20px);
  max-width: 300px;
  height: 400px;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(19, 19, 73, 0.5); /* Color azul transparente */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.overlay-card {
  padding: 20px;
  text-align: center;
  justify-content: column;
}

.card h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.card p {
  color: #666;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .container {
      justify-content: space-around;
  }
  
  .card {
      width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .container {
      justify-content: center;
  }
  
  .card {
      width: 100%;
  }
}

/* ---------------------------------------------------------------------------------- */
/* CICLOS */
/* ---------------------------------------------------------------------------------- */

:root {
	--primary-color: #007bff;
	--secondary-color: #6c757d;
	--light-bg: #f8f9fa;
	--dark-bg: #343a40;
  }
  
  /* body {
	font-family: 'Arial', sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--bg-color);
	transition: background-color 0.3s ease;
  } */
  
  .container1 {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
  }
  
  .row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
  }
  
  .area-cursos {
	flex-basis: calc(25% - 30px);
	margin: 20px;
	background-color: var(--light-bg);
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .area-cursos:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
  }
  
  .course-icon {
	font-size: 48px;
	color: var(--secondary-color);
	text-align: center;
	padding: 20px 0;
	background-color: var(--dark-bg);
	color: #fff;
	transition: all 0.3s ease-in-out;
  }
  
  .course-content {
	padding: 20px;
  }
  
  .course-content h4 {
	margin-top: 0;
	color: var(--primary-color);
	font-weight: bold;
	font-size: 18px;
	line-height: 1.4;
	margin-bottom: 10px;
	transition: color 0.3s ease-in-out;
  }
  
  .course-content p {
	color: var(--secondary-color);
	line-height: 1.6;
	font-size: 14px;
	margin-bottom: 15px;
	position: relative;
	overflow: hidden;
  }
  
  .course-content p::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--primary-color);
	transform: scaleX(0);
	transition: transform 0.3s ease-in-out;
  }
  
  .course-content p:hover::after {
	transform: scaleX(1);
  }
  
  @media (max-width: 767px) {
	.single-course-area {
	  flex-basis: 100%;
	  max-width: 300px;
	  margin-bottom: 30px;
	}
  }
  
  /* Animaciones */
  @keyframes fadeInUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeInDown {
	from { opacity: 0; transform: translateY(-20px); }
	to { opacity: 1; transform: translateY(0); }
  }
  
  .area-cursos[data-wow-delay="300ms"] {
	animation-duration: 600ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: both;
	animation-name: fadeInUp;
  }
  
  .area-cursos[data-wow-delay="400ms"] {
	animation-duration: 700ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: both;
	animation-name: fadeInUp;
  }
  
  .area-cursos[data-wow-delay="500ms"] {
	animation-duration: 800ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: both;
	animation-name: fadeInDown;
  }
  
  .area-cursos[data-wow-delay="600ms"] {
	animation-duration: 900ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: both;
	animation-name: fadeInUp;
  }
  
  .area-cursos[data-wow-delay="700ms"] {
	animation-duration: 1000ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: both;
	animation-name: fadeInDown;
  }
  
  .area-cursos[data-wow-delay="800ms"] {
	animation-duration: 1100ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: both;
	animation-name: fadeInUp;
  }
  
  /* Efectos de sombra personalizados */
  .area-cursos {
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .area-cursos:hover {
	box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
  }

/* ------------------------------------------------------------------------------------- */
/* MODALIDADES */
/* ------------------------------------------------------------------------------------------ */

.container-modalidad {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.study-modalities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.modality {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.modality:hover {
  transform: translateY(-8px);
}

.modality img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.modality-content {
  padding: 20px;
}

.modality h3 {
  color: #007bff;
  margin-bottom: 15px;
}

.modality p {
  color: #333;
  margin-bottom: 20px;
}

.study-button {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.study-button:hover {
  background-color: #0056b3;
}


  
/* ------------------------------------------------------------------------- */
 /* seccion del footer */
 /* ------------------------------------------------------------------------ */

 .footer {
  background-color: #333;
  color: #fff;
  padding: 2rem 0;
}

.container-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.col-footer {
  flex-basis: calc(33.333% - 20px);
  text-align: center;
  justify-content: center;
  align-items: center;
}

.col-footer h3 {
  font-size: 25px;
}

.btn-wspinfo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.btn-wspinfo a{
  text-decoration: none;
}

.contact-btn {
  background-color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 15px;
  padding: 10px 15px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: rgba(22, 241, 114, 0.849);
  color: #fff;
}

.contact-btn i {
  margin-right: 5px;
  font-size: 18px;
}


.social-links {
  list-style-type: none;
  padding-left: 0;
}

.social-links li {
  display: inline-block;
  margin-right: 15px;
}

.social-links i {
  font-size: 24px;
  color: #fff;
}


@media (max-width: 768px) {
  .row-footer {
    flex-direction: column;
    text-align: center;
  }
  
  .col-footer {
    flex-basis: 100%;
    margin-bottom: 20px;
  }
}