* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/** Global Tags  */

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(35, 35, 35);
}
span {
  font-size: 0.9rem;
  color: #747373;
}

h6 {
  font-size: 1.1rem;
  color: rgb(24, 24, 49);
}

/*!navigation bar */

nav {
  position: fixed;
  background-color: #fff;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1vw 8vw;
  align-items: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 999;
}
nav img {
  width: 150px;
  /* height: 100px; */
  cursor: pointer;
}
nav .navigation {
  display: flex;
  align-items: center;
}

nav .navigation ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#menu-btn {
  display: none;
}
#menu-close {
  display: none;
}

nav .navigation ul li {
  list-style: none;
  margin-left: 30px;
}

nav .navigation ul li a {
  text-decoration: none;
  color: rgb(21, 21, 100);
  transition: 0.3s ease;
}
nav .navigation ul li a:hover {
  color: #fdc93b;
}
nav .navigation ul li a.active {
  color: #fdc93b;
}

/* !home section  */

#home {
  background-image: linear-gradient(rgb(42 42 43 / 30%), rgb(48 48 48 / 70%)),
    url("assets/school_building.jpg");
  width: 100%;
  height: 90vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#home h2 {
  color: #fff;
  font-size: 2.2rem;
  letter-spacing: 1px;
}
#home p {
  width: 50%;
  color: #fff;
  font-size: 1rem;
  line-height: 25px;
}
#home .btn {
  margin-top: 30px;
}

#home a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 13px 35px;
  background-color: #fff;
  font-weight: 600;
  border-radius: 5px;
  transition: 0.3s ease;
}

#home a.blue {
  background-color: rgb(21, 21, 100);
  color: #fff;
}
#home a.blue:hover {
  background-color: #fff;
  color: rgb(21, 21, 100);
}
#home a.yellow {
  background-color: #fdc938;
  color: #fff;
}
#home a.yellow:hover {
  background-color: #fff;
  color: rgb(21, 21, 100);
}

/* !features */

#features {
  padding: 6vw 8vw 6vw 8vw;
  text-align: center;
}

#features .f-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;
  margin-top: 50px;
}

#features .f-card {
  background-color: #f9f9ff;
  text-align: start;
  padding: 50px 20px 50px 20px;
}

#features .f-card i {
  font-size: 2.3rem;
  color: rgb(44, 44, 80);
}

#features .f-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgb(46, 46, 59);
  padding: 13px 0 7px 0;
}
#features .f-card p {
  font-size: 1rem;
  font-weight: 400;
  color: rgb(70, 70, 87);
}

/* !courses */

#courses {
  padding: 6vw 8vw 6vw 8vw;
  text-align: center;
}

#courses .card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;
  margin-top: 50px;
}

#courses .card {
  text-align: start;
  background-color: #f9f9ff;
  height: 100%;
}

#courses img {
  width: 100%;
  height: 60%;
  background-size: cover;
  background-position: center;
}
#courses .card .details {
  padding: 15px 15px 0 15px;
  position: relative;
}

#courses .card-container .details i {
  color: #fdc93b;
  font-size: 0.9rem;
}

#courses .card .price {
  background-color: rgb(74, 74, 136);
  text-align: center;
  color: #fff;
  display: inline-block;
  position: absolute;
  line-height: 50px;
  right: 10px;
  bottom: 95px;
  border-radius: 50%;
  padding: 5px;
}

#courses .card h4 {
  font-size: 20px;
  font-weight: 700;
}

/* !registration */

#registration {
  padding: 6vw 8vw 6vw 8vw;
  background-image: linear-gradient(
      rgba(99, 112, 168, 0.5),
      rgba(81, 91, 233, 0.5)
    ),
    url(assets/form.jpg);
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-top: 30px; */
}

#registration .reminder {
  color: #fff;
}
#registration .reminder h1 {
  color: #fff;
}

#registration .time {
  margin-top: 40px;
  display: flex;
}

#registration .reminder .time .date {
  text-align: center;
  padding: 13px 33px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border-radius: 10px;
  margin: 0 5px 10px 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1.1rem;
  font-weight: 600;
}

#registration .form {
  display: flex;
  flex-direction: column;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(31, 38, 135, 0.37);
  background-color: #ffffffcc;
}

#registration .form input {
  margin: 15px 0;
  padding: 15px 10px;
  border: 1px solid rgba(84, 40, 241);
  outline: none;
}
#registration .form .btn {
  margin-top: 1rem;
}

#registration .form .btn a {
  text-align: center;
  padding: 13px 35px;

  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  background-color: #fdc93b;
  color: #fff;
  transition: 0.3 ease;
  border: 1px solid transparent;
}
#registration .form .input::placeholder {
  color: #413c3c;
  font-weight: 500;
  font-size: 0.9rem;
}

#registration .form .btn a:hover {
  background-color: white;
  color: rgb(21, 21, 100);
}

/* !experts */

#experts {
  padding: 6vw 8vw 6vw 8vw;
  text-align: center;
}

#experts .expert-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  margin-top: 50px;
}
#experts .expert-box .profile {
  background-color: #fafaf1;
  padding: 30px 10px;
}

#experts .expert-box .profile .links {
  margin-top: 10px;
}

#experts .expert-box .profile .links i {
  padding: 10px 13px;
  border: 1px solid rgb(21, 21, 100);
  cursor: pointer;
  transition: 0.3s ease;
}

#experts .expert-box .profile .links i:hover {
  background-color: rgb(21, 21, 100);
  color: #fff;
}

/* !footer  */

footer {
  padding: 8vw;
  background-color: #101c32;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

footer .col {
  padding-bottom: 40px;
}

footer h3 {
  color: rgba(241, 240, 245);
  font-weight: 600;
  padding-bottom: 20px;
}

footer li {
  list-style: none;
  color: #7b838a;
  padding: 10px 0;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

footer li:hover {
  color: rgba(241, 240, 245);
}

footer .col p {
  color: #7b838a;
}

footer .subscribe {
  margin-top: 20px;
}

footer .col .subscribe input {
  width: 220px;
  padding: 15px 12px;
  background-color: #334f6c;
  border: none;
  outline: none;
  color: #fff;
}
footer .col .subscribe a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 14px 12px;
  font-weight: 600;
  background-color: #fdc93b;
  color: #2c2c2c;
  transition: 0.3s ease;
  /* border-radius: 5px; */
}
footer .col .subscribe a:hover {
  color: rgb(21, 21, 100);
  background-color: #fff;
}

footer .copyright {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}
footer .copyright p {
  color: #fff;
  letter-spacing: 1px;
  word-spacing: 1px;
  font-size: 0.9rem;
}

footer .copyright .links {
  margin-top: 10px;
}

footer .copyright .links i {
  padding: 10px 13px;
  color: #fff;
  background-color: #5f7185;
  cursor: pointer;
  transition: 0.3s ease;
}
footer .copyright .links i:hover {
  color: #2c2c2c;
  background-color: #fdc93b;
}

/* !about page  */

#about-home {
  background-image: linear-gradient(rgb(42 42 43 / 30%), rgb(48 48 48 / 70%)),
    url("assets/back.jpg");
  width: 100%;
  height: 90vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#about-home h2 {
  color: #fff;
  font-size: 2.2rem;
  letter-spacing: 1px;
}
#about-container {
  display: flex;
  align-items: center;
  padding: 8vw 8vw 2vw 8vw;
}
#about-container .about-img {
  width: 60%;
}
#about-container .about-img img {
  width: 100%;
  padding-right: 60px;
}
#about-container .about-text {
  width: 40%;
}
#about-container .about-text h2 {
  color: #29303b;
  padding-bottom: 15px;
}
#about-container .about-text p {
  color: #686f7a;
  font-weight: 300;
}
#about-container .about-text .about-fe {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 30px;
}

#about-container .about-text .about-fe img {
  width: 50px;
  background-size: cover;
  background-position: center;
  margin-right: 20px;
}
#about-container .about-text .about-fe .fe-text {
  width: 90%;
}
#about-container .about-text .about-fe .fe-text h5 {
  font-size: 16px;
  color: #29303b;
}

#trust {
  text-align: center;
  padding: 8vw;
}
#trust .trust-img {
  display: flex;
  margin-top: 60px;
  justify-content: space-between;
}
#trust .trust-img img {
  width: 90px;
  height: auto;
}

/* !blog page */
#blog-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 8vw;
}
#blog-container .blogs {
  width: 60%;
}
#blog-container .blogs img {
  width: 100%;
  border-radius: 19px;
}

#blog-container .blogs .post {
  padding-bottom: 60px;
}

#blog-container .blogs .post h3 {
  color: #29303b;
  padding: 15px 0 10px 0;
}
#blog-container .blogs .post p {
  color: #757373;
  padding-bottom: 20px;
}
#blog-container .blogs .post a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 13px 35px;
  background-color: rgb(21, 21, 100);
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
}

#blog-container .cate {
  width: 30%;
}
#blog-container .cate h2 {
  padding-bottom: 7px;
}
#blog-container .cate a {
  text-decoration: none;
  color: #757373;
  font-weight: 500;
  line-height: 45px;
}

#blog-container .blogPost {
  width: 60%;
  margin: 0 auto;
}

#blog-container .blogPost {
  text-align: justify;
}
#blog-container .blogPost p {
  padding-bottom: 60px !important;
}

/* !course-inner */
#course-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8vw;
}
#course-inner h3 {
  padding: 35px 0 25px 0;
  color: #29303b;
}
#course-inner p {
  color: #64626e;
}
#course-inner hr {
  height: 1px;
  margin-top: 40px;
  background-color: rgba(236, 226, 229, 0.5);
}

#course-inner .overview {
  width: 70%;
}
#course-inner .overview .course-img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}
#course-inner .overview .course-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#course-inner .overview .course-head .c-name {
  width: 70%;
}
#course-inner .overview .course-head .c-name h2 {
  color: #293038;
}

#course-inner .overview .course-head .c-name .star {
  margin: 6px 0;
}
#course-inner .overview .course-head .c-name .star i {
  color: #fdc93b;
  font-size: 0.9rem;
}
#course-inner .overview .course-head p {
  font-size: 15px;
}
#course-inner .overview .course-head span {
  padding: 16px 22px;
  border-radius: 5px;
  color: #5838fc;
  font-size: 24px;
  font-weight: 700;
  background-color: rgba(88, 56, 252, 0.1);
}
#course-inner .learn p {
  font-size: 15px;
  padding-bottom: 15px;
}
#course-inner .learn p i {
  color: #654ce4;
  font-weight: 700;
  margin-right: 20px;
}
#course-inner .tutor {
  display: flex;
}
#course-inner .tutor img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 20px;
}
#course-inner .tutor h5 {
  font-size: 15px;
}
#course-inner .Enroll {
  width: 300px;
  padding: 0 30px 30px 30px;
  border-radius: 11px;
  box-shadow: 0px 20px 40px 0 rgb(11 2 55/ 20%);
}
#course-inner .Enroll h3 {
  padding-bottom: 10px;
}
#course-inner .Enroll p {
  font-size: 15px;
  color: #64626e;
  margin: 15px 0;
}
#course-inner .Enroll p i {
  color: #654ce4;
  font-size: 14;
  margin-right: 18px;
}
#course-inner .Enroll .enroll-btn {
  padding: 25px 0 20px 0;
  margin: auto;
  text-align: center;
}
#course-inner .Enroll .enroll-btn a {
  text-decoration: none;
  font-size: 0.8rem;
  padding: 13px 45px;
  border-radius: 5px;
  font-weight: 600;
  color: #fff;
  background-color: rgb(50, 50, 136);
}

@media (max-width: 900px) {
  nav {
    padding: 15px 20px;
  }
  nav img {
    width: 135px;
  }

  #menu-btn {
    display: initial;
    font-size: 2rem;
    cursor: pointer;
    margin-right: 10px;
  }
  #menu-close {
    display: initial;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    padding: 10px 5px 0px 8px;
  }

  nav .navigation ul {
    position: absolute;
    top: 0;
    right: -220px;
    width: 220px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: rgba(17, 20, 104, 0.45);
    backdrop-filter: blur(4.5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: 0.3s ease;
  }

  nav .navigation ul.active {
    right: 0;
  }

  nav .navigation ul li {
    padding: 20px 0 20px 40px;
    margin-left: 0;
  }
  nav .navigation ul li a {
    color: #fff;
  }

  /* #home {
    padding-top: 0px;
  } */

  #features {
    padding: 8vw 4vw 0 4vw;
  }
  #courses {
    padding: 8vw 4vw 0 4vw;
  }

  #registration {
    margin-top: 8vw;
    padding: 6vw 4vw 6vw 4vw;
  }
  #registration .reminder .time {
    display: flex;
    flex-wrap: wrap;
    /* margin-top: 40px; */
  }

  #experts {
    padding: 8vw 8vw 4vw 8vw;
  }
  footer .copyright .links {
    margin-top: 15px;
  }

  /* !about */
  #about-container {
    padding: 8vw 4vw 2vw 4vw;
  }
  #about-container .about-img {
    padding-right: 30px;
  }
  #trust .trust-img img {
    width: 70px;
    height: auto;
  }

  /* !blog  */
  #blog-container {
    padding: 8vw 4vw;
  }
  #blog-container .blogPost {
    width: 100%;
    margin-top: 30px;
  }
  #blog-container .blogPost img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
  }
  /*! course-content */
  #course-inner {
    flex-direction: column;
    justify-content: center;
    padding: 8vw 4vw;
  }
  #course-inner .overview {
    width: 100%;
  }
  #course-inner .overview .course-img {
    width: 100%;
    height: 100%;
  }
  #course-inner .Enroll {
    margin-top: 25px;
  }
}

@media (max-width: 500px) {
  #registration {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  #registration .reminder .time {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  /* !about */
  #about-container {
    flex-direction: column-reverse;
  }
  #about-container .about-img {
    width: 100%;
    padding-right: 0px;
  }
  #about-container .about-text {
    width: 100%;
    padding-bottom: 50px;
  }
  #trust .trust-img {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  #trust .trust-img img {
    width: 60px;
    margin: 10px 15px;
    height: auto;
  }

  /* !blog */
  #blog-container {
    flex-direction: column;
  }
  #blog-container .blogs {
    width: 100%;
  }
  #blog-container .cate {
    width: 100%;
  }

  #blog-container .blogPost {
    width: 100%;
    margin-top: 70px;
  }
  #blog-container .blogPost img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
  }
  /* !course-content */
  #course-inner .overview .course-head .c-name {
    width: 70%;
  }
  #course-inner .overview .course-head .c-name h2 {
    font-size: 22px;
  }
  #course-inner .overview .course-head span {
    font-size: 22px;
  }
  #course-inner .Enroll {
    width: 100%;
  }
}
