* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

p,
li,
a,
label {
  /* font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif; */
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  font-weight: 400;
  color: var(--para-color);
  line-height: 1.4;
}

a {
  text-decoration: none;
}
li {
  list-style: none;
}

:root {
  --primary-color: #136aba;
  --supporting-color: #eceaeaac;
  --font-color: #424242;
  --heading-color: #000a19;
  --para-color: #504e4d;
  --btn-hover-bg-color: #022f78;
  --btn-box-shadow: rgba(100, 100, 111, 0.292) 9px 7px 10px 3px;
}

.container {
  max-width: 142rem;
  margin: 0 auto;
  padding: 0.2rem 5rem;
  /* background-color: red; */
  height: 100%;
}

.grid {
  display: grid;
}

.grid-two--col {
  grid-template-columns: repeat(2, 1fr);
}

.grid-three--col {
  margin: 13rem 0 8rem 0;
  grid-template-columns: repeat(3, 1fr);
}

.grid-four--col {
  margin: 1rem 0 7rem 0;
  grid-template-columns: repeat(4, 1fr);
}

.section-common-heading {
  font-size: 3.1rem;
  font-weight: 700;
  text-transform: capitalize;
}

.section-common-subheading {
  color: var(--heading-color);
}

.section-common--title {
  font-size: 1.6rem;
  margin: 2.4rem 0 1.2rem 0;
}

.btn {
  color: white;
  border-radius: 0.4rem;
  padding: 1.2rem 2.2rem;
  background-color: var(--primary-color);
  display: inline-block;
}
.btn:hover {
  background-color: var(--btn-hover-bg-color);
  cursor: pointer;
  box-shadow: var(--btn-box-shadow);
}

/* navbar section */

.section-navbar {
  height: 10vh;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  /* background-color: green; */
  margin-bottom: 0.1rem;
}
.section-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 5rem;
}
.section-navbar .navbar ul {
  display: flex;
  gap: 3.2rem;

  & li a {
    color: var(--heading-color);
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
    position: relative;

    &::after {
      content: "";
      position: absolute;
      bottom: -0.3rem;
      left: 0;
      width: 0;
      border-bottom: 0.2rem solid var(--primary-color);
      transition: all 0.4s linear;
    }
  }
  & li a:hover::after {
    width: 100%;
  }
}

/* Hero Section */

main {
  position: relative;
  display: flex;
  align-items: center;
  height: 90vh;
  background-image: linear-gradient(
    to top right,
    #3d86fa,
    #4484fb,
    #679eff,
    #b3d2ff,
    #ebf3fe
  );
}

.section-hero .grid {
  align-items: center;
  gap: 5.2rem;

  & .hero-subheading {
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 1.4rem;
    color: var(--btn-hover-bg-color);
    font-weight: 700;
  }

  & .hero-heading {
    font-size: 4.5rem;
    color: var(--btn-hover-bg-color);
    font-weight: 900;
  }

  & .hero-para {
    font-size: 1.7rem;
    color: white;
    margin: 2rem 0 4rem 0;
  }
}

.section-hero--image img {
  width: 90%;
  height: auto;
}
.custom-shape-divider-bottom-1750819577 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1750819577 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 12rem;
}

.custom-shape-divider-bottom-1750819577 .shape-fill {
  fill: #ffffff;
}

/* about section */

.section-about .about-div {
  text-align: left;
}

.section-about .grid {
  gap: 6.1rem;
}

.section-about img {
  padding: 2.2rem;
  background-color: var(--supporting-color);
  width: 8rem;
  height: auto;
  border-radius: 50%;
  transition: all 0.4s linear;
  box-shadow: 1px 1px 8px black;
}

.section-about img:hover {
  rotate: 360deg;
  background-image: linear-gradient(to top right, #003eb0, #67a3f7);
}

/* COURSE SECTION */

.fa-brands {
  box-shadow: inset 1px 1px 3px black;
  padding: 2.2rem;
  background-color: #ccccccb5;
  color: var(--btn-hover-bg-color);
  font-size: 2.2rem;
  border-radius: 50%;
  box-shadow: 1px 1px 8px black;
  margin: 1.2rem 0;
}

.section-course {
  background-color: #e1dede42;
}

.section-course .grid {
  gap: 2rem;
}
.section-course .about-div:hover {
  background-color: rgba(128, 128, 128, 0.091);
  box-shadow: 1px 1px 9px gray;
}

.section-course .about-div {
  padding: 2rem;
  text-align: left;
}

/* why choose part */

.section-why--choose .text-align--right .why-choose--div {
  text-align: right;
  display: flex;
  justify-content: start;
  align-items: end;
  flex-direction: column;
}

.common-text--highlight {
  border-radius: 50%;
  display: flex;
  font-weight: 800;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  width: 5rem;
  aspect-ratio: 1;
  background-color: var(--supporting-color);
  color: var(--primary-color);
  box-shadow: 1px 1px 8px black;
  /* animation: ring 0.8s alternate-reverse infinite; */
}
.section-common--tilte {
  margin: 1.8rem 0;
}

.choose-center--div img {
  width: 90%;
  height: auto;
  filter: drop-shadow(3px 3px 5px var(--btn-hover-bg-color));
}

.choose-center--div {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(47, 47, 232, 0.361);
  border: 5px solid grey;
  border-radius: 50%;
}

.section-why--choose .grid {
  gap: 3rem;
}

.why-choose--div {
  margin-top: 2rem;
}

.section-contact--homepage {
  background-color: white;
  border-radius: 1.3rem;
  width: 60%;
  min-height: 28rem;
  margin: 0 auto;
  box-shadow: rgba(100, 100, 111, 0.292) 1px 1px 1px 2px;
  margin-bottom: 10rem;
  position: relative;
  top: 23rem;
  z-index: 99;

  & .grid {
    gap: 3rem;
    align-items: center;
  }
}

.contact-title {
  font-size: 3.2rem;
  line-height: 1.2;
}

.contact-content {
  margin: 1.2rem 0 2.4rem 0;
}

.section-contact--homepage img {
  width: 90%;
  height: auto;
}

.section-contact--homepage .fa-solid {
  color: white;
}
.section-contact--homepage a {
  color: white;
}

.social-footer--icons i {
  margin-right: 0.5rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.751);
}

.social-footer--icons i:hover {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.751);
}

footer {
  padding-top: 5rem 0;
  height: 50vh;
  background-color: #040d12;
}

footer * {
  color: white;
}

footer .grid-four--col {
  padding-top: 18rem;
}

.footer-subheading {
  font-size: 2.2rem;
  font-weight: 700;
}

.footer-1--div p {
  margin: 2rem 0;
}

.footer-1--div {
  text-align: left;
}

footer .grid {
  text-align: center;
}

/* section blog */

.section-blog {
  & .grid {
    gap: 3rem;
  }

  padding: 2rem 0 0 0;
  background-color: rgba(205, 205, 216, 0.137);

  & .blog {
    box-shadow: var(--btn-box-shadow);
    & .blog-content {
      padding: 1.2rem 2.2rem 2.2rem;
    }
    transition: all 0.3s linear;
  }

  & img {
    width: 100%;
    height: auto;
  }

  & .blog-date {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
  }

  & i {
    color: var(--primary-color);
    margin-right: 1rem;
  }
}

.blog:hover {
  transform: scale(1.05);
}

.section-common--title {
  margin-top: 0.5rem;
  font-weight: 600;
  padding: 0;
}

.section-contact {
  margin: 5rem 0;
}

.section-contact .grid {
  /* align-items: center; */
  gap: 3rem;
}

/* contact-page */

.mb-3 {
  margin-bottom: 2.3rem;
}

label {
  display: block;
  text-transform: capitalize;
}

.contact-content .grid {
  gap: 3rem;
}

input,
textarea {
  width: 100%;
  padding: 1.4rem 2.4rem;
  font-size: 1.7rem;
}

::placeholder {
  font-size: 1.5rem;
}

.btn-submit {
  font-size: 1.8rem;
  text-transform: capitalize;
  border: none;
}

input:focus-visible {
  outline: 1px solid var(--primary-color);
}

/* Scroll Animation */

/* medea quiries */

@media (max-width: 1400px) {
  .section-hero--image figure {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  html {
    font-size: 56%;
  }
}

@media (max-width: 1200px) {
  .section-common--title {
    font-size: 2rem;
    margin: 2.4rem 0 1.2rem 0;
  }
  html {
    font-size: 54%;
  }
}

@media (max-width: 1100px) {
  .section-why--choose {
    & .choose-center--div {
      order: 1;
    }
  }

  & .choose-left--div {
    order: 2;
  }

  & .choose-right--div {
    order: 3;
  }

  :is(.section-course, .section-blog) .grid-four--col {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 998px) {
  .choose-center--div img {
    width: 100%;
  }

  .choose-center--div {
    background-color: transparent;
    border: 5px solid transparent;
    border-radius: 50%;
  }

  .section-hero .grid {
    & .hero-heading {
      font-size: 3.5rem;
    }

    & .hero-para {
      font-size: 1.4rem;
      margin: 2rem 0 4rem 0;
    }
  }

  .section-hero .grid {
    gap: 4rem;
    padding: 1rem;
  }

  /* .navbar-logo .logo-icon {
    height: 60px;
  } */

  .navbar ul li a {
    font-size: 1.4rem;
  }

  footer {
    height: 73vh;
  }

  footer .grid-four--col {
    grid-template-columns: repeat(3, minmax(100px, 1fr));

    & .footer-1--div {
      grid-row: 2/3;
      grid-column: 1/-1;
      margin-top: 6.4rem;
    }
  }

  .section-navbar {
    margin-bottom: 0.5rem;
  }

  main {
    padding-bottom: 8rem;
    height: 95vh;
  }
  .section-hero {
    height: auto;
    & .grid-two--col {
      grid-template-columns: 1fr;

      & .section-hero--content {
        order: 2;
      }

      & .section-hero--image {
        order: 1;

        & img {
          width: 52%;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  .section-why--choose .text-align--right .why-choose--div {
    text-align: left;
    align-items: start;
  }

  .section-contact--homepage {
    margin-bottom: 6rem;
    & .grid-two--col {
      padding: 1rem;
    }
    width: 70%;

    & .grid {
      gap: 0;
    }
  }

  .contact-content p {
    margin: 1rem 0;
  }

  .grid-two--col,
  .grid-three--col {
    grid-template-columns: 1fr;
  }

  .section-navbar .container {
    display: flex;
    flex-direction: column;
  }

  .section-navbar {
    height: 15vh;
  }

  .grid-three--col {
    margin: 0;
  }

  .section-navbar .navbar ul {
    gap: 1.9rem;
  }

  .section-contact .container {
    display: flex;
    flex-direction: column;
  }

  .section-contact .contact-map iframe {
    width: 100%;
  }
}
