@import url("theme.css");
@import url("course.css");

/* ============================================================================================================== ITEM ============================ */

.items_content {
  padding: 10px 15px;
  position: relative;
}

.items_content .items_content_title {
  color: var(--color-button);
  border-left: 5px solid var(--color-button);
  padding-left: 5px;
  font-size: 24px;
}

.items_content > #left,
.items_content > #right {
  position: absolute;
  height: 35px;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 45%;
  color: rgba(228, 255, 242, 0.842);
  background-color: #b9d6cd48;
  border-radius: 50%;
  z-index: 1;
  cursor: pointer;
  font-size: 20px;
}

.items_content > #left {
  left: 0;
}

.items_content > #right {
  right: 0;
}

.items_content > #left:hover,
.items_content > #right:hover {
  color: var(--color-button-text);
  background-color: #21144d5b;
}

.items_content .items {
  overflow-y: hidden;
  overflow-x: auto;
  display: flex;
  scroll-behavior: smooth;
}

.items_content .items .item {
  min-width: 160px;
  background-color: var(--color-card);
  margin: 10px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 10px;
  border-radius: 15px;
  border: 1px solid var(--color-border);
  cursor: pointer;
}

/* ============================================================================================================== Nested Heading ======================================== */

.nested_header {
  display: flex;
  justify-content: space-between;
  margin: 0px 0px 10px 0;
  padding: 0 10px;
  height: 40px;
  align-items: center;
}

.nested_header .heading_title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bolder;
  color: var(--color-current);
  margin-top: 10px;
  font-size: 18px;
}

.nested_header .heading_title::before {
  content: "";
  display: block;
  height: 25px;
  width: 6px;
  border-radius: 50vw;
  background: var(--color-current);
  background-size: 400% 400%;
}

.nested_header .heading_more {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: bolder;
  font-size: 14px;
  color: var(--color-text-lite);
  cursor: pointer;
}

.nested_header .heading_more i {
  font-size: 18px;
  color: var(--color-text-lite);
  position: relative;
}

.nested_header .heading_more:hover,
.nested_header .heading_more:hover i,
.nested_header .heading_more:hover span {
  color: var(--color-blue);
}

.nested_header .heading_more:hover i {
  animation: left_right 1s ease-in-out infinite;
}

@keyframes left_right {
  0% {
    right: 0;
  }

  50% {
    right: 3px;
  }

  100% {
    right: 0;
  }
}

.nested_header.center {
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  margin-bottom: 30px !important;
}
.nested_header.center .heading_title {
  font-size: 22px;
  font-weight: 700;
}

.nested_header.center .heading_title::after {
  content: "";
  display: block;
  height: 25px;
  width: 6px;
  border-radius: 50vw;
  background: var(--color-current);
  background-size: 400% 400%;
}

/* -------------------Team thumb scroll bar start---------------------- */
.items_content .items::-webkit-scrollbar {
  height: 5px;
}

.items_content .items::-webkit-scrollbar-track {
  border-radius: 50vh;
  margin-left: 40vw;
  margin-right: 40vw;
  height: 40px;
  border: 1px solid #e3f0ff;
  background-color: rgb(183, 221, 205);
}

.items_content .items::-webkit-scrollbar-thumb {
  background: #077547;
  border: 1px solid #00770a;
}

@media screen and (max-width: 600px) {
  .items {
    scroll-snap-type: x mandatory;
  }
  .items .item {
    scroll-snap-align: center;
  }
}

/*  ============================================================================================================== Iteam and Nested Header ============================= */

/*  ============================================================================================================== Header ============================= */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  margin: auto;
  /* position: relative; */
  left: 0;
  right: 0;
  z-index: 9;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 0 7px;
}

header .logo {
  display: flex;
  align-items: center;
  margin: 15px;
}

header .logo img {
  height: 70px;
}

header .logo .site_name,
header .logo .site_name b {
  font-size: 4vmin;
  /* font-weight: bold; */
  color: var(--color-text-dark);
  transition: all 0.3;
  font-family: logo, sans-serif;
  margin-left: 10px;
}

header .logo .site_name b {
  font-weight: bolder;
  color: var(--color-primary);
}

header nav .logo {
  display: none;
}

header nav {
  display: flex;
  align-items: center;
  list-style-type: none;
}

header nav a {
  margin: 0 20px;
}

header nav a.nav:hover {
  color: var(--color-accent);
  transform: translateY(3px);
}

header nav a.nav.active {
  color: var(--color-accent);
  font-weight: bold;
}

/* ---menu icon --- */

header menu {
  display: none;
}

header menu {
  width: 25px;
  height: 20px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
  cursor: pointer;
  margin: 10px 15px;
}

header menu span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: var(--color-icon);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

header menu span:nth-child(1) {
  top: 0px;
}

header menu span:nth-child(2) {
  top: 8px;
}

header menu span:nth-child(3) {
  top: 16px;
}

header menu.active span:nth-child(1) {
  top: 6px;
  transform: rotate(135deg);
}

header menu.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

header menu.active span:nth-child(3) {
  top: 6px;
  transform: rotate(-135deg);
}

/* ----- login button ------- */

header nav .login {
  position: relative;
  height: 40px;
  width: 100px;
  cursor: pointer;
}

header nav .bg {
  background: linear-gradient(-45deg, #00c087, #01c067, #058d70, #67a108);

  border-radius: 4px;
  position: absolute;
  inset: 0;

  background-size: 300%;
  animation: anim_background_position 1s linear infinite;
}

header nav .login span {
  font-size: 16px;
  background-color: var(--color-white);
  border-radius: 3px;
  position: absolute;
  inset: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: var(--color-accent);
}

/* -- responsive -- */

@media screen and (max-width: 800px) {
  header {
  }

  header menu {
    display: block;
    position: absolute;
    right: 10px;
    top: 15px;
  }

  header .logo {
    margin: 0px;
    width: max-content;
  }

  header nav .logo {
    display: flex;
    width: 100%;
    height: 70px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
    padding: 10px;
  }
  header nav .logo i {
    background-color: var(--color-white);
    height: 35px;
    width: 35px;
    border-radius: 50%;
    box-shadow: 1px 1px 3px var(--color-shadow);
    font-size: 18px;
    font-weight: bold;
    color: var(--color-icon);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  header nav .logo i:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
  }

  header nav {
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    align-items: start;
    position: fixed;
    width: 80vw;
    background-color: var(--color-white);
    border-right: 1px solid var(--color-border);
    box-shadow: 10px 0 10px var(--color-shadow);
    z-index: 9;
    inset: 0;
    left: -80vw;
  }

  header nav a {
    height: 50px;
    width: calc(100% - 40px);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    margin: 0 20px;
    padding: 0 15px;
  }

  header menu.active + nav {
    left: 0;
  }

  /* -- login -- */

  header nav .login {
    position: relative;
    height: 40px;
    width: calc(100% - 40px);
    border: none;
    margin-top: 20px;
  }
}

@media screen and (max-width: 500px) {
  header .logo .site_name,
  header .logo .site_name b {
    font-size: 6vmin;
  }
}

/* ============================================================================================= Header END ======================================== */

/* ============================================================================================================== Floating Hero ================= */

.floating_hero {
  margin-bottom: 15px;
  height: max-content;
  position: relative;
  background-color: var(--color-bg);
}

/* ============================================================================================================== Languages ================= */
.floating_language {
  padding: 3px;
  transition: all 0.3s;
  position: absolute;
  inset: 0;
}

.floating_language #languages {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.floating_language #languages img {
  width: 50px;
  position: absolute;
  transition: ease 1.5s;
  animation: floater 2s ease-in-out infinite;
  filter: opacity(0.15);
}

@media screen and (max-width: 600px) {
  .floating_language #languages img {
    width: 30px;
  }
}

@keyframes floater {
  0% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*  ============================================================================================================== hero============================= */

.hero {
  width: 100%;
  background-color: rgba(247, 252, 250, 0.596);
  padding: 15px;
  padding-top: 70px;
  display: grid;
  grid-template-columns: 40vw 1fr;
  position: relative;
}

.hero .left {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* -------------left */

.hero .left .solar {
  height: 240px;
  width: 240px;
  margin: 30px;
  margin-left: 20px;
}

.hero .left .solar > div {
  height: 240px;
  width: 240px;
  border-radius: 50%;
  position: absolute;
}

/* --language */

.hero .left .solar .lang {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgb(2, 102, 189);
  animation: rotate 5s linear infinite;
}

.hero .left .solar .lang div {
  width: 50px;
  height: 50px;
  background-color: transparent;
  border-radius: 50%;
  position: absolute;
  box-sizing: border-box;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgb(0, 116, 248);
}

.hero .left .solar .lang div img {
  width: 30px;
  height: 30px;
}

.hero .left .solar .lang div:nth-child(1) {
  top: -5px;
  right: 30px;
  transform: rotate(45deg);
}

.hero .left .solar .lang div:nth-child(2) {
  left: -25px;
  transform: rotate(-90deg);
}

.hero .left .solar .lang div:nth-child(3) {
  right: 30px;
  bottom: -5px;
  transform: rotate(145deg);
}

.hero .left .solar .code {
  border: 2px solid rgb(0, 4, 248);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.6);
  animation: rotate-op 8s linear infinite;
}

.hero .left .solar .code div {
  width: 60px;
  height: 60px;
  background-color: transparent;
  border-radius: 50%;
  position: absolute;
  box-sizing: border-box;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgb(0, 4, 248);
}

.hero .left .solar .code div img {
  width: 35px;
  height: 35px;
  animation: spin 8s ease-in-out infinite;
}

.hero .left .solar .code div:nth-child(1) {
  top: -30px;
}

.hero .left .solar .code div:nth-child(2) {
  left: -30px;
}

.hero .left .solar .code div:nth-child(3) {
  bottom: -30px;
}

.hero .left .solar .code div:nth-child(4) {
  right: -30px;
}

.hero .left .solar .logo {
  background: #f9fdfb;
  transform: scale(0.3);
}

.hero .left .solar .logo img {
  width: 100%;
  border-radius: 50%;
  animation: spin 20s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes rotate-op {
  from {
    transform: scale(0.6) rotate(360deg);
  }

  to {
    transform: scale(0.6) rotate(0deg);
  }
}

/* ---- right */
.hero .right {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
  gap: 10px;
}

.hero .right .title {
  font-size: 3rem;
  color: var(--color-title);
}

.hero .right .title .logo {
  font-weight: bolder;
  color: var(--color-accent);
}

.hero .right .title .logo .accent_two {
  color: var(--color-accent-two);
}

.hero .right .summary {
  color: var(--color-text);
  text-align: justify;
}

.hero .right a {
  background-color: var(--color-accent);
  border-radius: 50vh;
  color: var(--color-white);
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  padding: 8px 15px;
  border: 2px solid var(--color-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.hero .right a i {
  color: var(--color-white);
  font-size: 20px;
  transform: rotate(-35deg);
  transform-origin: top;
}

.hero .right a:hover i {
  color: var(--color-accent);
}

.hero .right a:hover {
  background-color: transparent;
  color: var(--color-accent);
}


/* ============= Type writer ============= */

.typing_container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.typing_container p {
  font-size: 2rem;
  padding: 0.5rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
  text-align: center;
  overflow: hidden;
}

.typing_container p span.typed-text {
  font-weight: normal;
  color: var(--color-accent);
}

.typing_container p span.cursor {
  display: inline-block;
  background-color: #29cfa6;
  margin-left: 0.1rem;
  width: 3px;
  animation: blink 1s infinite;
}

.typing_container p span.cursor.typing {
  animation: none;
}

@keyframes blink {
  0% {
    background-color: #29cf3f;
  }

  49% {
    background-color: #29cf4d;
  }

  50% {
    background-color: transparent;
  }

  99% {
    background-color: transparent;
  }

  100% {
    background-color: #29cf60;
  }
}

/* ---- @media Q Hero--- */
@media screen and (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 15px;
  }

  .hero .right .title {
    font-size: 24px;
  }

  .hero .right .summary {
    text-align: justify;
  }

  .typing_container p {
    font-size: 1.5rem;
  }
}

/* ============================================================================================================== Floating Hero END ================= */

/* ============================================================================================================== Counter================= */

.counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 300px));
  justify-content: center;
  width: 100%;
  grid-gap: 20px;
  padding: 20px;
  /* background: linear-gradient(
    -45deg,
    #00c08617,
    #01c06718,
    #058d7011,
    #66a1080e
  ); */
  background: url(../assets/wave.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border: none;
}

.counters .counter {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 20px 20px 30px 20px;
  position: relative;
  font-size: 16px;
  border-radius: 0.5em;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-bottom: 10px solid var(--color-primary);
  cursor: pointer;
  gap: 10px;
}

.counters i {
  color: var(--color-accent);
  font-size: 2.5em;
  text-align: center;
}

.counters span.num {
  color: var(--color-primary-dark);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 2em;
  text-align: center;
}

.counters span.text {
  color: var(--color-text);
  font-size: 1em;
  text-align: center;
  pad: 0.7em 0;
  font-weight: 400;
  text-align: center;
}

/* ============================================================================================================== Students =============== */

.items_content .items.team {
  gap: 25px;
  /*justify-content: center;*/
}

.items_content .items.team .item {
  min-width: 200px;
  /*overflow: hidden;*/
}

.items_content .items.team .item .cover {
  height: 120px;
  width: 100px;
  object-fit: cover;
  border-radius: 40%;
  position: relative;
}

.items_content .items.team .item .cover .bg {
  /* position: absolute;
  height: 200px;
  width: 180px;
  border-radius: 20px;
  border: 2px solid transparent;
  outline: 2px dashed var(--color-primary);
  animation: hue 20s linear infinite; */
}

.items_content .items.team .item .cover img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  border: 2px solid transparent;
}

.items_content .items.team .item .name {
  font-weight: 600;
  color: var(--color-accent);
  font-size: 16px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.items_content .items.team .item .name::before {
  content: "";
  display: block;
  height: 16px;
  width: 30px;
  position: absolute;
  left: 0;
  top: 3px;
  transform: rotate(15deg);
  background: linear-gradient(
    to left,
    transparent,
    var(--color-card) 70%,
    transparent
  );
  animation: shade 3s ease-in infinite;
}

.items_content .items.team .item .type {
  font-size: 15px;
  color: var(--color-text-gray);
  text-align: center;
}

.items_content .items.team .item a {
  display: none;
  text-decoration: none;
  text-align: center;
  padding: 5px 25px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--color-white);
  background-color: var(--color-button);
}

/* ============================================================================================= Team END=============== */

/* ============================================================================================= Footer ======================================== */

footer {
  width: 100%;
  background-color: var(--color-footer);
  border-top: 1px solid var(--color-border);
}

.footer-link {
  text-decoration: none;
}

#footer_content {
  display: -ms-grid;
  display: grid;
  justify-content: space-around;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 3rem 3.5rem;
  grid-gap: 25px;
}

#footer_contacts h3 {
  margin-bottom: 0.75rem;
}
#footer_contacts p {
  font-size: 14px;
  color: var(--color-footer-gray);
}

#footer_social_media {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

#footer_social_media .footer-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

#footer_social_media .footer-link i {
  font-size: 1.25rem;
  color: var(--color-white);
}

#footer_social_media .footer-link:hover {
  opacity: 0.8;
}

#youtube {
  background: #089b51;
}

#instagram {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#37c95c),
    color-stop(#16a853),
    to(#459211)
  );
  background: -o-linear-gradient(#37c95c, #16a853, #459211);
  background: linear-gradient(#37c95c, #16a853, #459211);
}

#facebook {
  background-color: #1f994e;
}

#whatsapp {
  background-color: #25d366;
}

.footer-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-list h3 {
  font-weight: 500;
}
.footer-list .footer-link {
  font-size: 14px;
  color: var(--color-footer-gray);
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

.footer-list .footer-link:hover {
  color: var(--color-accent);
}

#footer_copyright {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: var(--color-footer-dark);
  font-size: 0.9rem;
  padding: 1.5rem;
  font-weight: 400;
  gap: 7px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

/* contact  */

footer .contact {
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--color-white);
  border-bottom: 0.1px solid var(--color-footer-dark);
  padding: 15px;
}

footer .contact .links {
  margin: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
}

footer .contact .links:hover i {
  color: #8ab610;
}

footer .contact .links i {
  margin: 0px 5px;
  font-size: 25px;
  color: var(--color-accent);
}

footer .contact .links .text {
  margin-left: 15px;
}

footer .contact .links .text .big {
  font-weight: 500;
  font-size: 16px;
  color: var(--color-footer-text);
}

footer .contact .links .text .small {
  font-size: 14px;
  color: var(--color-footer-gray);
  margin: 3px 0px;
}

@media screen and (max-width: 768px) {
  #footer_content {
    -ms-grid-columns: 1fr 2rem 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media screen and (max-width: 426px) {
  #footer_content {
    -ms-grid-columns: 1fr;
    grid-template-columns: repeat(1, 1fr);
    padding: 3rem 2rem;
  }
}

/* ============================================================================================= Footer END ======================================== */
