@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

:root {
  --pink: #ff046f;
  --violet: #c63bfa;
}

* {
  font-family: "Roboto" sans-serif;
  text-transform: capitalize;
  text-decoration: none;
  outline: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::selection {
  background: var(--pink);
  color: #fff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

.heading {
  font-size: 4rem;
  color: #3572ef;
  text-align: center;
  padding: 0 1rem;
  padding-top: 6rem;
  letter-spacing: 0.2rem;
  font-weight: 500;
}

.title {
  padding: 0 1rem;
  font-size: 2rem;
  text-align: center;
  font-weight: 400;
  color: #aaa;
}

header {
  width: 96%;
  background: #fff;
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  z-index: 1000;
  transition: 0.2s;
}

.header-active {
  top: 0;
  width: 100%;
  border-radius: 0;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.3);
}

header .navbar ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

header .navbar ul li {
  margin: 0 1rem;
}

header .navbar ul li a {
  font-size: 2rem;
  color: #001f3f;
  transition: 2s;
}

header .navbar ul li .active,
header .navbar ul li a:hover {
  color: #001f3f;
}

header .logo {
  font-size: 2.5rem;
  color: #6a9ab0;
  text-transform: uppercase;
}

header .logo i {
  color: #3572ef;
  padding: 0 0.2rem;
}

header .fa-bars {
  font-size: 3rem;
  color: #3572ef;
  cursor: pointer;
  display: none;
  transition: 0.2s;
}

.home {
  background: url(asset/20240314110256_IMG_8196.JPG) no-repeat;
  min-height: 100vh;
  background-size: cover;
  background-position: bottom;
  background-attachment: fixed;
  z-index: 0;
  overflow: hidden;
  position: relative;
}

.home .content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  padding-top: 14rem;
  padding-bottom: 8rem;
  text-align: center;
}

.home .content h1 {
  font-size: 7.5rem;
  color: #fff;
  padding: 0 1rem;
  text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

.home .content p {
  font-size: 4rem;
  color: gold;
  padding: 1rem 25rem;
}

.home .content button {
  height: 4rem;
  width: 20rem;
  border-radius: 5rem;
  background: #050c9c;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: 0.2s;
  border: none;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.3);
}

.home .content button:hover {
  letter-spacing: 0.2rem;
}

.home .box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.home .box-container .box {
  height: 20rem;
  width: 25rem;
  background: #fff;
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
  margin: 2rem;
  cursor: pointer;
}

.home .box-container .box i {
  height: 6rem;
  width: 6rem;
  line-height: 6rem;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  background: #3572ef;
  font-size: 3rem;
  margin: 2rem 0;
  transition: 0.2s;
}

.home .box-container .box h3 {
  font-size: 2rem;
  color: #6a9ab0;
  transition: 0.2s;
}

.home .box-container .box p {
  font-size: 1.3rem;
  padding: 0.7rem 2rem;
  color: #666;
}

.home .box-container .box:hover i {
  background: #050c9c;
}

.home .box-container .box:hover h3 {
  color: #3a6d8c;
}

.home::before {
  content: "";
  position: absolute;
  bottom: -25rem;
  left: 50%;
  transform: translateX(-50%);
  border-top: 70vh solid #fff;
  width: 120%;
  border-radius: 50%;
  z-index: -1;
}

.about .row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about .row .image img {
  height: 70vh;
  width: 50vw;
}

.about .row .content {
  padding-left: 5rem;
}

.about .row .content h3 {
  font-size: 3rem;
  color: #6a9ab0;
}

.about .row .content p {
  font-size: 1.6rem;
  color: #999;
  padding: 1rem 0;
}

.about .row .content button {
  height: 3.5rem;
  width: 17rem;
  background: #3a6d8c;
  color: #fff;
  border: none;
  border-radius: 5rem;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-size: 2rem;
  transition: 0.2s;
}

.about .row .content button:hover {
  letter-spacing: 0.2rem;
  opacity: 0.8;
}

.teacher {
  background: #f9f9f9;
}

.teacher .card-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.teacher .card-container .card {
  padding: 2rem;
  margin: 2rem;
  background: #fff;
  text-align: center;
  width: 28rem;
  box-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.3);
}

.teacher .card-container .card img {
  height: 30rem;
  width: 100%;
  object-fit: cover;
  transition: 0.2s;
}

.teacher .card-container .card h3 {
  color: black;
  font-size: 2rem;
  padding: 0.5rem 0;
}

.teacher .card-container .card p {
  font-size: 1.7rem;
  color: #666;
}

.teacher .card-container .card .icons a {
  font-size: 1.9rem;
  padding: 1.5rem 0.5rem;
  color: gray;
}

.teacher .card-container .card .icons a:hover {
  color: dodgerblue;
}

.course .box-container {
  width: 85%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding-top: 4rem;
  flex-wrap: wrap;
}

.course .box-container .box {
  height: 18rem;
  width: 25rem;
  margin: 3.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0.3rem 0.3rem 0 0.1rem #3572ef;
}

.course .box-container .box i {
  height: 10rem;
  width: 10rem;
  line-height: 8rem;
  text-align: center;
  color: #fff;
  border-radius: 50%;
  background: #3572ef;
  margin-top: -4rem;
  border: 1rem solid #fff;
  border-left: 1rem solid #3572ef;
  border-right: 1rem solid #3572ef;
  box-shadow: 0 0 0 1rem #fff inset;
  font-size: 3.5rem;
}

.course .box-container .box h3 {
  font-size: 2rem;
  color: black;
}

.course .box-container .box p {
  font-size: 1.5rem;
  color: #999;
  padding: 0 0.5rem;
}

.contact {
  background: #333;
}

.contact .row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
}

.contact .row .image img {
  width: 50vw;
  height: 70vh;
}

.contact .row .form-container {
  width: 50%;
  padding-right: 6rem;
}

.contact .row .form-container input,
textarea {
  height: 4rem;
  width: 100%;
  background: #fff;
  border: none;
  border-radius: 5rem;
  padding: 0 1rem;
  margin: 1rem 0;
  color: black;
  font-size: 1.5rem;
  transition: 0.2s linear;
}

.contact .row .form-container input:focus,
textarea:focus {
  border: 0.2rem solid #6a9ab0;
}

.contact .row .form-container textarea {
  height: 20rem;
  border-radius: 1rem;
  padding: 1rem;
  resize: none;
}

.contact .row .form-container input[type="submit"] {
  width: 17rem;
  background: #3572ef;
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  transition: 0.2s;
}

.contact .row .form-container input[type="submit"]:hover {
  background: none;
  color: #3572ef;
  border: 0.2rem solid #3572ef;
}

.footer {
  text-align: center;
}

.footer .icons {
  padding: 3rem 0;
}

.footer .icons a {
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.2rem;
  text-align: center;
  border-radius: 50%;
  color: #6a9ab0;
  border: , 2rem solid #6a9ab0;
  font-size: 2rem;
  margin: 0 0.1rem;
  transition: 0.2s linear;
}

.footer .icons a:hover {
  color: #fff;
  background: #3572ef;
  border-color: #3572ef;
}

.footer .credit {
  font-size: 2rem;
  border-top: 0.1rem solid #999;
  margin: 0 auto;
  margin-bottom: 2rem;
  color: #666;
  width: 90%;
  padding: 1rem 0;
}

.footer .credit span {
  color: #3572ef;
}

header .fa-times {
  transform: rotate(180deg);
  color: var(--violet);
}

/* media queris  */

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  header .fa-bars {
    display: block;
  }

  header .navbar {
    position: fixed;
    top: -100rem;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 1rem;
    opacity: 0;
    transition: 0.2s linear;
  }

  header .navbar ul {
    flex-flow: column;
    padding: 2rem 0;
  }

  header .navbar ul li {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
  }

  header .navbar ul li a {
    font-size: 3rem;
    display: block;
  }

  header .nav-toggle {
    top: 5.5em;
    opacity: 1;
  }

  .home .content p {
    padding: 1.5rem 2rem;
  }

  .home::before {
    display: none;
  }

  .about .row {
    flex-flow: column-reverse;
  }

  .about .row .image img {
    height: 60vh;
    width: 90vw;
  }

  .about .row .content {
    padding: 0 2.5rem;
  }

  .contact .row {
    flex-flow: column;
  }

  .contact .row .image img {
    height: 50vh;
    width: 90vw;
  }

  .contact .row .form-container {
    width: 90%;
    padding: 0;
  }
}
