@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --h1-color: rgb(35, 53, 85);
  --a-color: #3a8dff;
  --a-font-size: 16px;
  --a-font-weight: 500;
  --home-background-image: linear-gradient(
      rgba(9, 5, 54, 0.3),
      rgba(5, 4, 46, 0.7)
    ),
    url(images/back.jpg);
  --about-background-image: linear-gradient(
      rgba(9, 5, 54, 0.3),
      rgba(5, 4, 46, 0.7)
    ),
    url(images/back1.jpg);
  --h2-color: #fff;
  --p-color: #fff;
  --nav-background-color: #fff;
  --blue-btn-color: #3a8dff;
  --yellow-btn-color: #fdc93b;
  --card-background-color: #f9f9ff;
  --icon-color: rgb(44, 44, 80);
  --footer-background-color: #101c32;
}
body {
  font-family: "Poppins", sans-serif;
}

svg {
  width: 2vw;
}

/* Global Tags */

h1 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #3a8dff;
  padding: 13px 0 7px 0;
}

span {
  font-size: 0.9rem;
  color: #757373;
}

h6 {
  font-size: 1.1rem;
  color: rgb(24, 24, 49);
}
/*HEADER*/
/* Navigation */
nav {
  background-color: #f5f5f5;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
}
nav img {
  width: 100px;
}
nav ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav li {
  height: 50px;
}

nav a {
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #141b4d;
  font-weight: var(--a-font-weight);
  font-size: var(--a-font-size);
  background-color: #f5f5f5;
}

nav a:hover {
  background-color: #f0f0f0;
  color: #3a8dff;
}

nav li:first-child {
  margin-right: auto;
}
svg {
  color: black;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.493);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-self: flex-start;
  justify-content: flex-start;
}

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
}
.menu-bitton {
  display: none;
}

/* Home */
#Home {
  background-image: var(--home-background-image);
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 40px;
}

#Home h2 {
  color: var(--h2-color);
  font-size: 2.2rem;
  letter-spacing: 1px;
}
#Home p {
  width: 50%;
  color: var(--p-color);
  font-size: 0.9rem;
  line-height: 25px;
}
#Home .btn {
  margin-top: 30px;
}

#Home a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 13px 35px;
  background-color: #3a8dff;
  font-weight: 600px;
  border-radius: 5px;
}
#Home a.blue {
  color: #fff;
  background-color: #3a8dff;
  transition: 0.3s ease;
}
#Home a.blue:hover {
  color: var(--blue-btn-color);
  background-color: var(--p-color);
}

#Home a.yellow {
  color: var(--p-color);
  background-color: var(--yellow-btn-color);
  transition: 0.3s ease;
}
#Home a.yellow:hover {
  color: var(--yellow-btn-color);
  background-color: var(--p-color);
}
#blog-container .blogs .post .p-i {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}
#blog-container .blogs .post .p-i img {
  height: 200px;
}
/* features */
#features {
  padding: 5vw 8vw 0 8vw;
  text-align: center;
}
#features .fea-base {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;
  margin-top: 50px;
}
#features .fea-box {
  background-color: var(--card-background-color);
  text-align: start;
}

#features .fea-box svg {
  color: var(--icon-color);
}
#features .fea-box h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #3a8dff;
  padding: 13px 0 7px 0;
}

#features .fea-box p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--icon-color);
  padding: 13px 0 7px 0;
}
/* course */
#course {
  padding: 8vw 8vw 8vw 8vw;
  text-align: center;
}
#course .course-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;
  margin-top: 50px;
}
#course .courses {
  text-align: start;
  background-color: var(--card-background-color);
  height: 100%;
  position: relative;
}
#course .courses img {
  width: 100%;
  height: 60%;
  background-size: cover;
  background-position: center;
}
#course .courses .details {
  padding: 15px 15px 0 15px;
}
#course .courses .details i {
  color: var(--yellow-btn-color);
}
#course .courses .cost {
  background-color: rgb(74, 74, 136);
  color: var(--p-color);
  line-height: 70px;
  width: 70px;
  height: 70px;
  text-align: center;
  border-radius: 50px;
  position: absolute;
  right: 15px;
  bottom: 100px;
}
/* registration */
#Registration {
  padding: 6vw 8vw 6vw 8vw;
  background-image: linear-gradient(rgba(9, 5, 54, 0.3), rgba(5, 4, 46, 0.7)),
    url(images/signup.jpg);
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#Registration .reminder {
  color: var(--p-color);
}
#Registration h1 {
  color: var(--p-color);
}
#Registration .reminder .time {
  display: flex;
  margin-top: 40px;
}

#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: 5px;
  margin: 0 5px 10px 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}
#Registration .form {
  background-color: var(--card-background-color);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 40px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

#Registration .form input {
  margin: 15px 0;
  padding: 15px 10px;
  border-radius: 10px solid rgb(84, 40, 241);
}
#Registration .form a.yellow {
  color: var(--p-color);

  transition: 0.3s ease;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 13px 35px;
  background-color: #fdc93b;
  font-weight: 600px;
  border-radius: 5px;
  text-align: center;
}
#Registration .form a.yellow:hover {
  color: var(--yellow-btn-color);
  background-color: var(--p-color);
}
/* experts */

#expers {
  padding: 8vw 8vw 8vw 8vw;
  text-align: center;
}
#expers .expert-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1rem;
  margin-top: 50px;
  align-items: center;
  justify-content: center;
}
#expers .expert-box .profile {
  background-color: var(--card-background-color);
  padding: 30px 10px;
}
.pro-links {
  margin-top: 10px;
}

.pro-links i {
  padding: 10px 13px;
  border: 1px solid #3a8dff;
  cursor: pointer;
}
/* footer */
footer {
  margin-top: 5px;
  padding: 8vw;
  background-color: #333333;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
footer .footer-col {
  padding: bottom 40px;
}
footer h3 {
  color: #f5f5f5;
  font-weight: 600;
  padding-bottom: 30px;
}

footer li {
  list-style: none;
  color: #f5f5f5;
  padding: 10px 0;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
}
footer li a {
  list-style: none;
  color: #f5f5f5;
  padding: 10px 0;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
}
footer li img {
  width: 30px;
}
footer li:hover {
  color: var(--card-background-color);
  font-weight: bold;
}

footer li a:hover {
  color: var(--card-background-color);
}
footer p {
  color: #7b838a;
}
footer .subscribe {
  margin: 20px;
}
footer input {
  width: 220px;
  padding: 15px 12px;
  background-color: #334f6c;
  border: none;
  outline: none;
  color: #fff;
}
footer .copyright {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}
/* About */
#about-Home {
  background-image: var(--about-background-image);
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 40px;
}

#about-Home h2 {
  color: var(--p-color);
  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: 400;
}
#about-container .about-text .about-fe {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 20px;
}
#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 h5 {
  font-size: 16px;
  color: #29303b;
}
#trust {
  text-align: center;
  padding: 8vw;
}
#trust .trust-img {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}
#trust .trust-img img {
  width: 90px;
  height: auto;
}
/* Blog */
#blog-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  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: #3a8dff;
  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: #3a8dff;
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
}
#blog-container .cats {
  width: 30%;
}
#blog-container .blogs .cats h2 {
  padding-bottom: 7px;
}
#blog-container .cats a {
  text-decoration: none;
  color: #757373;
  font-weight: 500;
  line-height: 45px;
}

#blog-container .bls {
  width: 60%;
  margin: 0 auto;
}
#blog-container .bls p {
  text-align: justify;
  padding-bottom: 60px !important;
}
/* Course_inner */
#course-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8vw;
}
#course-inner .overview {
  width: 70%;
}
#course-inner .overview .c-is {
  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 {
  width: 70%;
}
#course-inner .overview .course-head .c-name H2 {
  color: #29303b;
}
#course-inner .overview .course-head .c-name .star {
  margin: 6px 0;
}

/* contact */
.container {
  width: 100%;
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 8%;
  background-color: #fdc93b96;
  margin-top: 20px;
}
.container .row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  background-color: rgba(255, 255, 255, 0.493);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 25px;
}
.row section.col {
  display: flex;
  flex-direction: column;
}
.row section.left {
  flex-basis: 35%;
  min-width: 320px;
  margin-right: 60px;
}
.row section.right {
  flex-basis: 60%;
}
section.left .contactTitle h2 {
  position: relative;
  font-size: 28px;
  color: #ffffff;
  display: inline-block;
  margin-bottom: 25px;
}
section.left .contactTitle h2::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 1px;
  background-color: #888;
  top: 120%;
  left: 0;
}
section.left .contactTitle h2::after {
  content: "";
  position: absolute;
  width: 25%;
  height: 3px;
  background-color: #3a8dff;
  top: calc(120% - 1px);
  left: 0;
}
section.left .contactTitle p {
  font-size: 17px;
  color: #000000;
  letter-spacing: 1px;
  line-height: 1.2;
  padding-bottom: 22px;
}
section.left .contactInfo {
  margin-bottom: 16px;
}
.contactInfo .iconGroup {
  display: flex;
  align-items: center;
  margin: 25px 0px;
}
.iconGroup .icon {
  width: 45px;
  height: 45px;
  border: 2px solid #3a8dff;
  border-radius: 50%;
  margin-right: 20px;
  position: relative;
}
.iconGroup .icon i {
  font-size: 20px;
  color: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.iconGroup .details span {
  display: block;
  color: #292929;
  font-size: 18px;
}
.iconGroup .details span:nth-child(1) {
  text-transform: uppercase;
  color: #6e6e6e;
}
section.left .socialMedia {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin: 22px 0px 20px;
}
.socialMedia a {
  width: 35px;
  height: 35px;
  text-decoration: none;
  text-align: center;
  margin-right: 15px;
  border-radius: 5px;
  background-color: #3a8dff;
  transition: 0.4s;
}
.socialMedia a i {
  color: #ddd;
  font-size: 18px;
  line-height: 35px;
  border: 1px solid transparent;
  transition-delay: 0.4s;
}
.socialMedia a:hover {
  transform: translateY(-5px);
  background-color: #fff;
  color: #3a8dff;
  border: 1px solid #3a8dff;
}
.socialMedia a:hover i {
  color: #3a8dff;
}
.banner svg {
  width: 100%;
  z-index: 10;
}
.banner2 svg {
  width: 100%;
  z-index: 10;
  margin-top: -500;
}

/* Code for the right section (column) */

.row section.right .messageForm {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 30px;
}
.row section.right .inputGroup {
  margin: 18px 0px;
  position: relative;
}
.messageForm .halfWidth {
  flex-basis: 48%;
}
.messageForm .fullWidth {
  flex-basis: 100%;
}
.messageForm input,
.messageForm textarea {
  width: 100%;
  font-size: 18px;
  padding-top: 10px;
  padding-left: 10px;
  color: black;
  border: none;
  border: rgba(255, 255, 255, 0.493);
  border-radius: 25px;
  margin-left: -10px;
  outline: none;
  background-color: rgba(255, 255, 255, 0.493);
  backdrop-filter: blur(2%);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
}
.messageForm textarea {
  resize: none;
  height: 220px;
  display: block;
}
textarea::-webkit-scrollbar {
  width: 5px;
}
textarea::-webkit-scrollbar-track {
  background-color: #1e1e1e;
  border-radius: 15px;
}
textarea::-webkit-scrollbar-thumb {
  background-color: dodgerblue;
  border-radius: 15px;
}
.inputGroup label {
  position: absolute;
  left: 0;
  bottom: 4px;
  color: #888;
  font-size: 18px;
  transition: 0.4s;
  pointer-events: none;
}
.inputGroup:nth-child(4) label {
  top: 2px;
}
.inputGroup input:focus ~ label,
.inputGroup textarea:focus ~ label,
.inputGroup input:valid ~ label,
.inputGroup textarea:valid ~ label {
  transform: translateY(-30px);
  font-size: 16px;
}
.inputGroup button {
  padding: 8px 16px;
  font-size: 18px;

  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
  transition: 0.4s;
  background-color: #3a8dff;
}
.inputGroup button:hover {
  background-color: #ffffff;
  color: #3a8dff;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3a8dff;
}

/* responsive */

@media (max-width: 800px) {
  .hideOnMOBILE {
    display: none;
  }
  .menu-bitton {
    display: block;
  }

  #Home {
    background-image: var(--home-background-image);

    padding-top: 0;
  }
  #Home p {
    width: 90%;
  }
  #features {
    padding: 8vw 4vw 0 4vw;
    text-align: center;
  }
  #course {
    padding: 8vw 4vw 0 4vw;
    text-align: center;
  }
  #blog-container .blogs .post .p-i {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
  }
  #blog-container .blogs .post .p-i img {
    height: 200px;
  }
  #Registration {
    padding: 6vw 4vw 6vw 4vw;
    margin-top: 8vw;
  }
  #Registration .reminder .time {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
  }
  #expers {
    padding: 8vw 8vw 4vw 8vw;
    text-align: center;
  }
  .pro-links {
    margin-top: 20px;
  }
  #about-container {
    padding: 8vw 4vw 2vw 4vw;
  }
  #about-container .about-img {
    padding-right: 30px;
  }

  #trust .trust-img img {
    width: 50px;
    height: auto;
  }
  /*bkog*/
  #blog-container {
    padding: 8vw 4vw;
  }
  #blog-container .bls {
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 475px) {
  .sidebar {
    width: 100%;
  }
  #Registration {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: centers;
  }
  #Registration .reminder .time {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  footer input {
    width: 170px;
    padding: 15px 12px;
    background-color: #334f6c;
    border: none;
    outline: none;
    color: #fff;
  }
  #about-container {
    flex-direction: column-reverse;
  }
  #about-container .about-img {
    width: 100%;
    margin-bottom: 0;
  }
  #about-container .about-text {
    width: 100%;
    padding-bottom: 20px;
  }
  #trust .trust-img {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #trust .trust-img img {
    width: 60px;
    margin: 10px 15px;
    height: auto;
  }

  /*bkog*/
  #blog-container {
    flex-direction: column;
  }
  #blog-container .blogs {
    width: 100%;
  }
  #blog-container .cats {
    width: 100%;
  }
}
