@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}
body {
  background-color: #f5f5f5;
}
/* GAURAV TRIPATHI */
/* upper nav section styling */
.upper-nav {
  background: #eceb98;
  height: 2.5rem;
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.375rem;
  color: #1c1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upper-nav span {
  font-weight: 500;
}

/* nav bar styling */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 1.25rem 1.25rem;
  box-shadow: 0.125rem 0.125rem 0.0625rem 0.0625rem #b2b6bece;
  font-style: normal;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: -0.0125rem;
}
nav a {
  text-decoration: none;
  color: #1c1d1f;
  padding: 0.625rem;
}
nav a:hover {
  color: #5624d0;
}
nav input {
  padding: 1.25rem 1.875rem;
  width: 550px;
  height: 2.8125rem;
  border-radius: 1.875rem;
}
nav #label {
  position: absolute;
  top: 5.8125rem;
  transform: translate(0.625rem, -50%);
}
.nav-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
nav .herobtn {
  width: 5rem;
  height: 2.5rem;
  background-color: #000000;
  color: #ffffff;
  font-style: normal;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.0625rem;
  cursor: pointer;
}
nav .white {
  background-color: #ffffff;
  color: #000000;
}
nav .white:hover {
  background-color: #e4e4e486;
}
.signup,
.login {
  display: none;
}

/* hero section styling */

.hero-section {
  background-image: url(img/hero-bg.png);
  background-repeat: none;
  background-size: cover;
  height: 25rem;
  display: flex;
  align-items: center;
}
.hero-container {
  background-color: #ffffff;
  padding: 1.25rem;
  width: 33%;
  margin-left: 5rem;
}
.hero-section h1 {
  font-style: normal;
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.5rem;
  letter-spacing: -0.0313rem;
  color: #1c1d1f;
  width: 80%;
}
.hero-section p {
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.375rem;
  color: #1c1d1f;
}
a {
  text-decoration: none;
}
a:hover {
  color: #4113b6c7;
}

/* courses section styling */
.courses-sec {
  margin: 3.125rem 1.875rem;
}
.courses-sec h1 {
  font-style: normal;
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.5rem;
  letter-spacing: -0.0313rem;
  color: #1c1d1f;
  margin-bottom: 1.25rem;
}
.courses-sec p {
  font-style: normal;
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.6875rem;
  color: #1c1d1f;
}
.course-links {
  margin: 0.9375rem 0;
}
.course-links a {
  text-decoration: none;
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1875rem;
  padding-right: 1.25rem;
  letter-spacing: -0.0125rem;
  color: #6a6f73;
}
.course-links a:hover {
  color: #292c2e;
}

.career-opportunities {
  margin: 1.25rem 0;
  padding: 1.875rem;
  border: 0.125rem solid #6a6f73;
  display: flex;
  flex-direction: column;
}
.career-opportunities h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.8125rem;
  letter-spacing: -0.0125rem;
  color: #1c1d1f;
}
.career-opportunities p {
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.375rem;
  color: #1c1d1f;
  width: 65%;
  margin: 1.25rem 0;
}
.career-btn {
  width: 7.7912rem;
  height: 2.5rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.0625rem;
  letter-spacing: -0.0125rem;
  color: #1c1d1f;
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.explore-python {
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

.explore-python h3 {
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1875rem;
  letter-spacing: -0.0125rem;
  color: #1c1d1f;
  /* width: 90%; */
}
.explore-python img {
  width: 100%;
}
.explore-python div {
  width: 100%;
  margin-right: 1.25rem;
}
.explore-python h4 {
  font-style: normal;
  font-weight: 400;
  font-size: 0.6875rem;
  line-height: 1.0625rem;
  color: #6a6f73;
}
.explore-python p {
  font-style: normal;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 0.5rem;
  letter-spacing: -0.0125rem;
  color: #b4690e;
}
.explore-python .fa {
  color: #e59819;
}
.explore-python span {
  font-style: normal;
  font-weight: 400;
  font-size: 0.6875rem;
  line-height: 1.0625rem;
  color: #6a6f73;
  margin-left: 1.25rem;
}
.explore-python button {
  width: 4.5rem;
  height: 1.375rem;
  background: #eceb98;
  font-style: normal;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 0.875rem;
  letter-spacing: -0.0125rem;
  border: 0.0625rem solid #eceb98;
  margin-top: 0.625rem;
  cursor: pointer;
}

/* goal section styling */
.goals {
  display: flex;
  flex-direction: column;
  padding: 3.125rem 1.875rem;
  background: #f7f9fa;
}
.goals h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.8125rem;
  letter-spacing: -0.0125rem;
  color: #1c1d1f;
  margin-bottom: 1.25rem;
}
.goals .container {
  display: flex;
  justify-content: space-between;
}
.goals .box {
  width: 100%;
  padding: 3.125rem 1.875rem;
  background: #ffffff;
  border: 0.0625rem solid #d1d7dc;
  margin-right: 1.25rem;
}
.goals .box p {
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.375rem;
  color: #1c1d1f;
  margin: 1.25rem 0;
}
.goals .box .learners {
  display: flex;
  align-items: center;
  font-style: normal;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.0625rem;
  letter-spacing: -0.0125rem;
  color: #1c1d1f;
  margin-bottom: 1.25rem;
}
.goals .box .learners img {
  margin-right: 0.625rem;
}
.goals .box .play {
  display: flex;
  align-items: center;
  margin-top: 1.25rem;
}

/* viewing section styling */
.viewing {
  display: flex;
  flex-direction: column;
  margin: 3.125rem 1.875rem;
}
.viewing h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.8125rem;
  letter-spacing: -0.0125rem;
  color: #1c1d1f;
  margin-bottom: 1.25rem;
}

/* featured section styling */
.featured {
  padding: 3.125rem 9.375rem 3.125rem 1.875rem;
  background: #f7f9fa;
}
.featured h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.8125rem;
  letter-spacing: -0.0125rem;
  color: #1c1d1f;
  margin-bottom: 1.25rem;
}
.featured .featured-container {
  display: flex;
  justify-content: space-between;
}
.featured-container h3 {
  font-style: normal;
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.4375rem;
  letter-spacing: -0.0125rem;
  color: #1c1d1f;
  margin-bottom: 1.25rem;
}
.featured-container a {
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.375rem;
  text-decoration-line: underline;
  color: #5624d0;
}
.featured-container a:hover {
  color: #300f83;
}
.featured-container p {
  font-style: normal;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #6a6f73;
  margin-bottom: 1.25rem;
}
.featured-container button {
  width: 9.6875rem;
  height: 2.5rem;
  border: 0.0625rem solid #1c1d1f;
  font-style: normal;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.0625rem;
  letter-spacing: -0.0125rem;
  color: #1c1d1f;
  cursor: pointer;
  background-color: transparent;
}
.featured-container button:hover {
  background-color: #d1d7dc;
}

/* Trust Section Styling */
.trust {
  padding: 3.125rem 1.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.trust-up {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.trust-up h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 2rem;
  letter-spacing: -0.0125rem;
  color: #1c1d1f;
  margin-bottom: 0.625rem;
}
.trust-up p {
  font-style: normal;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: #1c1d1f;
  margin-bottom: 1.25rem;
}
.trust-company img {
  margin-right: 6.25rem;
}

/* business section styling */
.business {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.125rem 1.875rem;
}
.business h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.5rem;
  letter-spacing: -0.0313rem;
  color: #1c1d1f;
  width: 25rem;
  margin: 0.9375rem 0;
}
.business ul li {
  font-style: normal;
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.6875rem;
  color: #1c1d1f;
  width: 21.875rem;
  margin-bottom: 0.9375rem;
}
.black-btn {
  width: 11.0625rem;
  height: 3rem;
  background: #1c1d1f;
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1875rem;
  letter-spacing: -0.0125rem;
  color: #ffffff;
  margin-top: 1.25rem;
  cursor: pointer;
}
.white-btn {
  width: 6.8125rem;
  height: 3rem;
  border: 0.0625rem solid #1c1d1f;
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1875rem;
  letter-spacing: -0.0125rem;
  color: #1c1d1f;
  margin-top: 1.25rem;
  cursor: pointer;
}

/* instructor section styling */
.instructor {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.125rem 1.875rem;
}
.instructor-img {
  margin-right: 3.125rem;
}
.instructor h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.5rem;
  letter-spacing: -0.0313rem;
  color: #1c1d1f;
  width: 25rem;
  margin: 0.9375rem 0;
}
.instructor p {
  font-style: normal;
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.6875rem;
  color: #1c1d1f;
  width: 25rem;
}

/* footer section styling */
footer {
  padding: 3.125rem 1.875rem;
  background: #1c1d1f;
  border-top: 0.0625rem solid #3e4143;
}

.footer-up {
  display: flex;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-nav div {
  margin-right: 6.25rem;
}
.footer-nav p {
  font-style: normal;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 0.9375rem;
}
.footer-nav p a {
  color: #ffffff;
}
.footer-nav p a:hover {
  text-decoration: underline;
}

.globe {
  display: flex;
  align-items: center;
  border: 0.125rem solid #ffffff;
  padding: 0.625rem;
  width: 7.5rem;
  height: 2.5rem;
}
.globe a {
  color: #f5f5f5;
}

.footer-down {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3.125rem;
}
.footer-down p {
  font-style: normal;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.0625rem;
  color: #ffffff;
}

/* Responsiveness */
@media screen and (max-width: 1345px) {
  nav input {
    width: 400px;
  }
}
@media screen and (max-width: 1195px) {
  nav input {
    width: 250px;
  }
}
@media screen and (max-width: 1045px) {
  nav input {
    width: 9.375rem;
  }
  nav {
    font-size: 0.75rem;
  }
  nav .herobtn {
    width: 3.125rem;
    font-size: 0.625rem;
  }
  nav a {
    padding: 0.3125rem;
  }
}
@media screen and (max-width: 850px) {
  .business h2 {
    font-size: 1.75rem;
    width: 18.75rem;
  }
  .business ul li {
    font-size: 1.0625rem;
    width: 21.875rem;
  }
  .instructor h2 {
    font-size: 1.75rem;
    width: 18.75rem;
  }
  .instructor p {
    font-size: 1rem;
    width: 18.75rem;
  }
}
@media screen and (max-width: 799px) {
  /* upper nav section styling */
  .upper-nav {
    font-size: 0.5625rem;
  }
  /* nav bar styling */
  .hamburger-menu {
    height: 3.125rem;
    width: 3.125rem;
    position: relative;
    cursor: pointer;
    padding: 1rem;
    z-index: 2;
  }

  .ham-bar {
    width: 70%;
    height: 4px;
    background-color: #000000;
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.6s, opacity 0.8s, top 0.6s;
  }

  .bar-top {
    top: 25%;
  }
  .bar-bottom {
    top: 75%;
  }
  .hamburger-menu.active .bar-top {
    transform: translate(-50%, -50%) rotate(-315deg);
    top: 50%;
  }
  .hamburger-menu.active .bar-mid {
    opacity: 0;
  }
  .hamburger-menu.active .bar-bottom {
    transform: translate(-50%, -50%) rotate(-225deg);
    top: 50%;
  }
  #navLinks a {
    display: block;
    color: #ffffff;
  }
  #navLinks {
    position: fixed;
    top: 0;
    right: -75%;
    height: 100vh;
    width: 55%;
    transition: right 0.5s;
    background: #000000;
    text-align: left;
    z-index: 2;
  }
  #navLinks a {
    padding: 1.875rem 1.25rem;
  }

  #navLinks.active {
    right: 0;
  }
  .herobtn {
    display: none;
  }
  .signup,
  .login {
    display: block;
  }
  nav input {
    width: 11.875rem;
    margin-left: 0.3125rem;
  }
  nav #label {
    top: 6.375rem;
    transform: translate(1.25rem, -50%);
  }
  /* hero section styling */

  .hero-section {
    background-image: url(img/hero-bg-mobile.png);
    background-repeat: none;
    background-size: cover;
    height: 25rem;
    display: flex;
    align-items: center;
  }
  .hero-container {
    padding: 0.875rem;
    width: 50%;
    margin-left: 10px;
  }
  .hero-section h1 {
    font-size: 1.25rem;
    line-height: 1.8rem;
    width: 90%;
  }
  .hero-section p {
    font-size: 0.875rem;
    line-height: 1rem;
  }

  /* courses section styling */
  .courses-sec {
    margin: 3.125rem 1.875rem;
  }
  .courses-sec h1 {
    font-size: 2rem;
    line-height: 2rem;
  }
  .courses-sec p {
    font-size: 1rem;
    line-height: 1.4rem;
  }
  .course-links {
    margin: 0.625rem 0;
    line-height: 2rem;
  }

  .career-opportunities {
    padding: 1.25rem;
  }
  .career-opportunities h2 {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
  .career-opportunities p {
    font-size: 1rem;
    line-height: 1.25rem;
    width: 100%;
  }
  .explore-python {
    flex-direction: column;
  }
  .explore-python div {
    margin-bottom: 3.125rem;
  }

  /* goal section styling */
  .goals .container {
    flex-direction: column;
  }
  .goals .box {
    margin-right: 0;
    margin-bottom: 3.125rem;
  }

  /* featured section styling */
  .featured {
    padding: 3.125rem 1.875rem 3.125rem 1.875rem;
  }
  .featured .featured-container {
    flex-wrap: wrap;
  }
  .featured .featured-container div {
    margin-bottom: 3.125rem;
  }

  /* Trust Section Styling */
  .trust-company img {
    margin-right: 30px;
  }

  /* business section styling */
  .business {
    flex-direction: column;
    padding: 50px 30px;
  }
  .business h2 {
    font-size: 2rem;
    line-height: 2.5rem;
    width: 18.75rem;
    margin: 0.9375rem 0;
  }
  .business ul li {
    font-size: 1.1875rem;
    line-height: 1.6875rem;
    width: 18.75rem;
    margin-bottom: 0.625rem;
  }
  .black-btn {
    margin-bottom: 3.125rem;
  }
  .white-btn {
    margin-bottom: 3.125rem;
  }

  .business img {
    width: 100%;
  }

  /* instructor section styling */
  .instructor {
    flex-direction: column;
    padding: 50px 30px;
  }
  .instructor-img img {
    width: 100%;
  }

  /* footer section styling */
  .footer-up {
    flex-wrap: wrap;
  }
  .footer-nav {
    flex-wrap: wrap;
  }
  .footer-nav div {
    margin-bottom: 30px;
  }
}
