/***************/
/*HEADER*/
/***************/
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;

  /*for sticky navigation*/
  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
}
.logo {
  height: 8.6rem;
}
/***************/
/*NAVIGATION*/
/***************/
.main-nav-list {
  list-style: none;
  display: flex;
  gap: 4.8rem;
}
.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 2rem;
  transition: all 0.3s;
}
/* .main-nav-link:active,
.main-nav-link:hover {
  color: #63b992;
} */

.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .section-hero {
  margin-top: 9.6rem;
}
/*MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}
.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #63b992;
}
.icon-mobile-nav[name="close-outline"] {
  display: none;
}
/***************/
/*HERO SECTION*/
/***************/
.section-hero {
  background-color: #f1faf6;
  padding: 4.8rem 0 9.6rem 0;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9.6rem;
  align-items: center;
}

.heading-description {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 4.8rem;
}
.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}
.hero-img {
  width: 100%;
}

.educated-students {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 8rem;
}
.educated-imgs {
  display: flex;
}
.educated-imgs img {
  height: 4.8rem;
  width: 4.8rem;
  border-radius: 50%;
  margin-right: -1.6rem;
  border: 3px solid #f1faf6;
}
.educated-imgs img:last-child {
  margin: 0;
}
.educated-text {
  font-size: 1.8rem;
  font-weight: 600;
}
.educated-text span {
  color: #63b992;
  font-weight: 700;
}

/* .highlight {
  position: relative;
}

.highlight::before {
  display: block;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 25%;
  width: 100%;
  z-index: 1;
  opacity: 0.7;
  transform: scale(1.07, 1.05) skewX(-15deg);
  background-image: linear-gradient(to top left, #39b385, #63b992);
} */

/***************/
/*TEAM SECTION*/
/***************/

.section-team {
  padding: 9.6rem 0;
  transition: transform 1s, opacity 1s;
}
.alighn {
  text-align: center;
}

.team-number {
  font-size: 8.6rem;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 1.2rem;
}
.team-description {
  font-size: 1.8rem;
  line-height: 1.8;
  /* text-align: justify; */
}
.team-img-box {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}
.team-img-box::before,
.team-img-box::after {
  content: "";
  display: block;
  /* border-radius: 50%; */
  position: absolute;
  top: 70%;
  left: 37%;
  transform: translate(-50%, -50%);
}
/* .team-img-box::before {
  width: 90%;
  /* height: 90%; */
/* padding-bottom: 90%;
  background-color: #f1faf6;
  z-index: -2;
}  */

.team-img-box::after {
  width: 65%;
  padding-bottom: 65%;
  background-color: #63b992;
  z-index: -1;
}

.team-img {
  width: 60%;
}
.all-lectors {
  font-size: 1.8rem;
}
/***************/
/*ABOUT US SECTION*/
/***************/

.section-about {
  padding: 9.6rem 0;
  background-color: #f1faf6;
  transition: transform 1s, opacity 1s;
}
.about-us-text {
  display: flex;
  flex-direction: column;
  font-size: 1.8rem;
  line-height: 1.8;
  gap: 1.6rem;
  margin-bottom: 4.8rem;
}
.about-one,
.about-two {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3.6rem;
}
.text-icon {
  color: #fff;
  height: 3.2rem;
  width: 3.2rem;
  background-color: #63b992;
  border-radius: 50%;
  padding: 1rem;
}

/***************/
/*CERTIFICATES SECTION*/
/***************/

.section-certificates {
  padding: 9.6rem 0;
  transition: transform 1s, opacity 1s;
}
.course {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

  border-radius: 11px;
  overflow: hidden;
  transition: all 0.4s;
}
.course:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.06);
}
.course-content {
  padding: 2rem 1rem;
}

.course-tags {
  margin-bottom: 1.2rem;
  text-align: center;
}
.tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 1.6rem;
  text-transform: uppercase;
  background-color: #2c5241;
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
}
.course-title {
  text-align: center;
  font-size: 2.4rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 3.2rem;
}
.course-attributes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.course-attribute {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.course-icon {
  height: 2.4rem;
  width: 2.4rem;
  color: #63b992;
}
.course-img {
  width: 100%;
  background-color: #162920;
}

/***************/
/*BLOG SECTION*/
/***************/
.section-blog {
  padding: 9.6rem 0;
  background-color: #f1faf6;
  transition: transform 1s, opacity 1s;
}

.blog-post {
  display: grid;
  grid-template-columns: 0.2fr 0.8fr;
  border-radius: 7px;
  padding: 1rem 2rem;
  overflow: hidden;
  height: 12rem;
  border: 2px solid #63b992;
  transition: all 0.3s;
}
.blog-post:hover {
  transform: scale(1.1);
}

.blog-img {
  width: 100%;
  height: 100%;
  border-radius: 7px;
}
.blog-post p {
  text-align: center;
  font-size: 1.8rem;
}
/***************/
/*FEATURED SECTION*/
/***************/

.section-featured {
  padding: 9.6rem 0;
  background-color: #fff;
  transition: transform 1s, opacity 1s;
}

.logos {
  display: flex;
  justify-content: space-around;
}

.logos img {
  height: 7.4rem;
  /* filter: brightness(0); */
  opacity: 50%;
  transition: all 0.3s;
}
.logos img:hover {
  filter: brightness(1);
  opacity: 100%;
}

/***************/
/*TESTEMONIALS SECTION*/
/***************/
.section-testemonials {
  padding: 9.6rem 0;
  background-color: #f1faf6;
  transition: transform 1s, opacity 1s;
}
.slider {
  max-width: 100rem;
  height: 50rem;
  margin: 0 auto;
  position: relative;

  /* IN THE END */
  overflow: hidden;
}
.slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50rem;

  display: flex;
  align-items: center;
  justify-content: center;

  /* THIS creates the animation! */
  transition: transform 1s;
}
.slide > img {
  /* Only for images that have different size than slide */
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider__btn {
  position: absolute;
  top: 50%;
  z-index: 10;

  border: none;
  background: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  color: #333;
  border-radius: 50%;
  height: 5.5rem;
  width: 5.5rem;
  font-size: 3.25rem;
  cursor: pointer;
}

.slider__btn--left {
  left: 6%;
  transform: translate(-50%, -50%);
}

.slider__btn--right {
  right: 6%;
  transform: translate(50%, -50%);
}

.dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dots__dot {
  border: none;
  background-color: #b9b9b9;
  opacity: 0.7;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  margin-right: 1.75rem;
  cursor: pointer;
  transition: all 0.5s;

  /* Only necessary when overlying images */
  /* box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.7); */
}

.dots__dot:last-child {
  margin: 0;
}

.dots__dot--active {
  /* background-color: #fff; */
  /* background-color: #888; */
  background-color: #63b992;
  opacity: 1;
}

.testimonials {
  width: 65%;
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 5.3rem;
  left: 5.2rem;
  line-height: 1;
  font-size: 20rem;
  font-family: inherit;
  color: #63b992;
  z-index: -1;
}
.testimonial__header {
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.testimonial__text {
  font-size: 1.7rem;
  margin-bottom: 3.5rem;
  color: #666;
}
.testimonial__author {
  margin-left: 3rem;
  font-style: normal;

  display: grid;
  grid-template-columns: 6.5rem 1fr;
  column-gap: 2rem;
}
.testimonial__photo {
  grid-row: 1 / span 2;
  width: 6.5rem;
  border-radius: 50%;
}
.testimonial__name {
  font-size: 1.7rem;
  font-weight: 500;
  align-self: end;
  margin: 0;
}
.testimonial__location {
  font-size: 1.5rem;
}
.section__title--testimonials {
  margin-bottom: 4rem;
}

/***************/
/*FOOTER SECTION*/
/***************/

.footer {
  padding: 12.8rem 0;
  border-top: 1px solid #eee;
  background-color: #162920;
  color: #fff;
  transition: transform 1s, opacity 1s;
}

.grid--footer {
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 3.2rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #fff;
  margin-top: auto;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #767676;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #63b992;
}

/* COOKIE MESSAGE */
.cookie-message {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  background-color: white;
  color: #bbb;
  font-size: 1.5rem;
  font-weight: 400;
}

.btn-m {
  display: inline-block;
  background-color: #63b992;
  font-size: 1.6rem;
  font-family: inherit;
  font-weight: 500;
  border: none;
  padding: 1.25rem 4.5rem;
  border-radius: 10rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-m:hover {
  background-color: #2c5241;
}
