/*!
Template Name: Edutics - Education HTML Template
Author: temptics pro
Version: 1.0

-----------------------------------------------------------------------------------
Front End is Developed By Shaikh Abu Amer on bahalf of temptics pro
-----------------------------------------------------------------------------------


CSS INDEX
=================== 
01. CUSTOM PROPERTIES
02. GLOBAL
03. Components
04. Header
05. Courses

*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  --ed-blue: #241442;
  --ed-purple: #5B3AEE;
  --ed-yellow: #F8BC24;
  --ed-gray: #4F536C;
  --ed-gray2: #445375;
  --black: #000;
  --white: #fff;
  --font-poppins: "Poppins", sans-serif;
}

body {
  font-family: var(--font-poppins);
}

a,
button,
img,
svg path {
  transition: 0.4s ease;
}

p {
  line-height: 1.75;
}

.ed-btn {
  background-color: var(--ed-purple);
  color: var(--white);
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 20px;
  font-weight: 500;
  text-transform: uppercase;
}
.ed-btn:hover {
  background-color: var(--ed-blue);
}

.ed-section-sub-title {
  font-weight: 600;
  color: var(--ed-purple);
  text-transform: uppercase;
  padding-right: 10px;
  display: inline-block;
  position: relative;
  margin-bottom: 10px;
  letter-spacing: 1.5px;
}
/* Estilo general */
.ed-section-sub-title::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  height: 10px;
  width: 48px;
  background: linear-gradient(90deg, rgb(91, 58, 238) 3px, rgba(255, 255, 255, 0) 3px, rgba(255, 255, 255, 0) 8px, rgb(91, 58, 238) 8px, rgb(91, 58, 238) 13px, rgba(255, 255, 255, 0) 13px, rgba(255, 255, 255, 0) 18px, rgba(255, 255, 255, 0) 18px, rgb(91, 58, 238) 0);
}

/* Estilo para pantallas pequeñas */
@media (max-width: 768px) {
  .ed-section-sub-title::before {
    position: relative; /* Para que se ubique de forma natural */
    left: 0;            /* Resetea el desplazamiento hacia la derecha */
    top: 0;             /* Resetea el desplazamiento vertical */
    transform: none;    /* Elimina transformaciones */
    display: block;     /* Asegura que esté en su propia línea */
    margin: 10px auto 0; /* Centramos el pseudoelemento */
  }
}

.ed-section-sub-title--white {
  color: var(--white);
}
.ed-section-sub-title--white::before {
  background: linear-gradient(90deg, rgb(255, 255, 255) 3px, rgba(255, 255, 255, 0) 3px, rgba(255, 255, 255, 0) 8px, rgb(255, 255, 255) 8px, rgb(255, 255, 255) 13px, rgba(255, 255, 255, 0) 13px, rgba(255, 255, 255, 0) 18px, rgba(255, 255, 255, 0) 18px, rgb(255, 255, 255) 0);
}

.ed-section-title {
  font-weight: 600;
  font-size: 45px;
  color: var(--ed-blue);
  text-transform: capitalize;
  line-height: 1.29;
}
@media screen and (max-width: 1599px) {
  .ed-section-title {
    font-size: 40px;
  }
}
@media screen and (max-width: 1399px) {
  .ed-section-title {
    font-size: 35px;
  }
}
@media screen and (max-width: 1199px) {
  .ed-section-title {
    font-size: 32px;
  }
}
@media screen and (max-width: 575px) {
  .ed-section-title {
    font-size: 28px;
  }
}
@media screen and (max-width: 479px) {
  .ed-section-title {
    font-size: 25px;
  }
}

.ed-single-accordion-item {
  transition: 0.4s ease;
}

.ed-single-accordion-item.open .ed-single-accordion-item__header i {
  transform: rotate(90deg);
  color: var(--ed-purple);
}
.ed-single-accordion-item.open .ed-single-accordion-item__title {
  color: var(--ed-purple);
}
.ed-single-accordion-item.open .ed-single-accordion-item__body {
  grid-template-rows: 1fr;
  padding-top: 9px;
}

.ed-single-accordion-item__header i {
  transition: transform 0.4s ease;
}

.ed-single-accordion-item__body {
  transition: all 0.4s ease;
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
}

.ed-single-accordion-item__body p {
  overflow: hidden;
}

@media screen and (max-width: 1199px) {
  .ed-header-nav {
    width: 100%;
  }
}
.ed-header-nav a {
  display: block;
  line-height: 3;
  font-weight: 500;
  color: var(--ed-blue);
}
@media screen and (max-width: 1199px) {
  .ed-header-nav a {
    border-bottom: 1px solid rgba(79, 83, 108, 0.2);
    padding-bottom: 6px;
    padding: 11px 20px;
    line-height: 1.8;
  }
}
.ed-header-nav a:hover {
  color: var(--ed-purple);
}
.ed-header-nav .has-sub-menu {
  display: grid;
  grid-template-rows: max-content 0fr;
  transition: 0.4s ease;
}
.ed-header-nav .has-sub-menu:hover .ed-header-submenu {
  transform: translateY(0) translateX(-50%);
  opacity: 1;
  pointer-events: all;
}
@media screen and (max-width: 1199px) {
  .ed-header-nav .has-sub-menu:hover .ed-header-submenu {
    transform: translateY(0) translateX(0);
  }
}
@media screen and (max-width: 1199px) {
  .ed-header-nav .has-sub-menu.active {
    grid-template-rows: max-content 1fr;
  }
}
.ed-header-nav .has-sub-menu.active > a {
  margin-bottom: 0;
}
.ed-header-nav .has-sub-menu.active .ed-header-submenu {
  transform: translateY(0) translateX(-50%);
  opacity: 1;
  border-color: #ddd;
  pointer-events: all;
}
@media screen and (max-width: 1199px) {
  .ed-header-nav .has-sub-menu.active .ed-header-submenu {
    transform: translateY(0) translateX(0);
  }
}
.ed-header-submenu {
  position: absolute;
  min-width: 200px;
  background-color: var(--white);
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.03);
  top: 100%;
  left: 50%;
  opacity: 0;
  transform: translateY(10px) translateX(-50%);
  transition: 0.4s ease, pointer-events 0s;
  pointer-events: none;
  width: max-content;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 1199px) {
  .ed-header-submenu {
    position: static;
    transform: translateY(0) translateX(0);
    opacity: 1;
    width: 100%;
    overflow: hidden;
    box-shadow: none;
    background-color: #f3f3f3;
  }
}
.ed-header-submenu.active {
  transform: translateY(0) translateX(-50%);
  opacity: 1;
}
.ed-header-submenu a {
  padding: 14px 20px;
  border-bottom: 1px solid #ddd;
  line-height: 1;
}
.ed-header-submenu li:last-child a {
  border-bottom: 0;
}
.ed-header-search.active .ed-header-search-open-btn {
  color: var(--ed-Lpink);
}
.ed-header-search.active form {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.ed-header-search form {
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
}
@media screen and (max-width: 1199px) {
  .ed-header-search form {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}
.ed-header--2 .ed-header-nav > li > a {
  color: var(--white);
}
.ed-header--2 .ed-header-nav > li > a:hover {
  color: var(--ed-yellow);
}
.ed-header--2.to-be-fixed.ed-sticky {
  background-color: var(--ed-blue);
  inset: auto;
  border-radius: 0;
  width: 100%;
  z-index: 222;
}

.ss-main {
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  flex-shrink: 0;
  width: max-content;
}
@media screen and (max-width: 1199px) {
  .ss-main {
    border-color: rgba(0, 0, 0, 0.2);
  }
}
.ss-main:focus {
  box-shadow: none;
}
.ss-main .ss-arrow path {
  stroke: var(--white);
}
@media screen and (max-width: 1199px) {
  .ss-main .ss-arrow path {
    stroke: var(--ed-blue);
  }
}
.ss-main .ss-values .ss-placeholder {
  color: var(--white);
}
@media screen and (max-width: 1199px) {
  .ss-main .ss-values .ss-placeholder {
    color: var(--ed-blue);
  }
}

.ss-content .ss-list .ss-option {
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 10px;
}

.ss-content.ss-open-below {
  padding: 0;
}
.ss-content.ss-open-below::before {
  content: none;
}

.to-be-fixed.ed-sticky {
  position: fixed;
  top: 0;
  background-color: var(--white);
  inset: 0 100px auto 100px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1176470588);
}
@media screen and (max-width: 1599px) {
  .to-be-fixed.ed-sticky {
    inset: 0 30px auto 30px;
  }
}
@media screen and (max-width: 1399px) {
  .to-be-fixed.ed-sticky {
    inset: 0 0 auto 0;
  }
}

.ed-sidebar.active > * {
  transform: translateX(0);
}

.mixitup-control-active {
  background-color: var(--ed-purple);
  color: var(--white);
}

.ed-countdown .number {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}

.ed-course-details-tab-navs button.active {
  background-color: var(--ed-purple);
  color: var(--white);
}
.ed-course-details-tabs .ed-tab {
  overflow: hidden;
  opacity: 0;
  height: 0;
  pointer-events: none;
}
.ed-course-details-tabs .ed-tab.active {
  opacity: 1;
  height: auto;
  pointer-events: all;
}/*# sourceMappingURL=style.css.map */

@media screen and (max-width: 1599px) {
  .ed-section-title {
    font-size: 40px;
  }
}

/*****************************************/

html {
  scroll-behavior: smooth;
}

#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* Oculto por defecto */
  background-color: #f8b81f;
  color: rgb(22, 4, 121);
  border: none;
  padding: 10px 15px;
  border-radius: 100%;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.8;
  transition: opacity 0.3s;
  z-index: 10;
}

#backToTop:hover {
  opacity: 1; /* Más visible al pasar el mouse */
}

/* Estilos para centrar la imagen de carga */
#loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999; /* Asegúrate de que esté por encima de otros elementos */
  background-color: rgb(26 25 81 / 97%); /* Fondo azul con algo de transparencia */
  padding: 20px;
  border-radius: 5px; /* Opcional para bordes redondeados */
  display: none; /* Inicialmente oculto */
  height: 200vh;
  width: 200vw;
  align-items: center;
  justify-content: center;
  opacity: 1; /* Opacidad inicial */
    transition: opacity 1s ease; /* Transición para el efecto de desvanecimiento */
    display: none; /* Inicialmente oculto */
}

.loader img {
  position: absolute; /* Posiciona la imagen de manera absoluta */
    top: 50%; /* Centra verticalmente */
    left: 50%; /* Centra horizontalmente */
    transform: translate(-50%, -50%); /* Centra la imagen */
    z-index: 1; /* Asegúrate de que esté detrás del SVG */
    width: 100px; /* Ajusta el tamaño según sea necesario */
}



.svgloader {
  animation: 5s linear infinite loader-spin;
  
}

@keyframes loader-spin {
  to{
    transform: rotate(360deg);
  }
}

.loader-path {
  filter: blur(1px);
  animation: 5s ease-in-out infinite loader-path;
}

@keyframes loader-path {
  0%{
    stroke-dasharray:  0, 580, 0, 0, 0, 0, 0, 0, 0;
  }
  50%{
    stroke-dasharray: 0, 450, 10, 30, 10, 30, 10, 30, 10;
  }
  100%{
    stroke-dasharray: 0, 580, 0, 0, 0, 0, 0, 0, 0;
  }
}

/* Contenedor del pop-up */
.popup {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Contenido del pop-up */
.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 450px;
  width: 80%;
}

/* Botón para cerrar el pop-up */
.close {
  
  top: 10px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

#info-modal {
  position: fixed; /* Fija el modal en la pantalla */
  display: block; /* Asegura que esté calculado en el flujo del documento */
  left: 50%; /* Centra horizontalmente */
  top: 50%; /* Centra verticalmente */
  transform: translate(-50%, -50%); /* Ajusta para centrarlo completamente */
  opacity: 0; /* Oculto inicialmente */
  pointer-events: none; /* Evita interacción cuando está oculto */
  transition: opacity 0.3s ease; /* Transición suave */
}