* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #e7eff8;
}

/* Navigation */
.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: fixed;
  z-index: 99;
  height: 8vh;
  background: #07739e;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Nav list Items */
.navlist {
  display: flex;
  justify-content: space-evenly;
  font-family: "Poppins", sans-serif;
}
.navlist li {
  list-style: none;
}
.navlist li a {
  font-size: 16px;
  text-decoration: none;
  padding: 10px 24px;
  color: #e7eff8;
  transition: all 0.3s;
}
.navlist li a:hover {
  font-style: italic;
  color: #aec70c;
}
.brand {
  padding-right: 1.6em;
  cursor: pointer;
}

/* Navigation Responsive */
@media (max-width: 768px) {
  .navlist {
    position: fixed;
    top: 8vh;
    left: 0;
    flex-direction: column;
    align-items: center;
    height: 92vh;
    width: 60%;
    background: #07739e;
    transform: translateX(-500px);
    transition: transform 0.4s ease-in-out;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
  }
  .burger {
    padding: 10px 24px;
    cursor: pointer;
  }
  .bar {
    width: 25px;
    height: 3px;
    margin: 5px;
    background: #e7eff8;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
  }
}
.responsiveNav {
  transform: translateX(0);
}
.switch .bar1 {
  transform: rotate(135deg) translate(5px, -6px);
}
.switch .bar2 {
  opacity: 0;
}
.switch .bar3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Home-Page Design */
.home {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 100vh;
  align-items: center;
}
.homeIndex {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
  height: 50vh;
}
.homeIndex h1 {
  font-family: "Noto Serif", serif;
  color: #07739e;
  font-size: 64px;
}
.homeIndex p {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  color: #4884ad;
}
.homeIndex button {
  font-family: "Noto Serif", serif;
  padding: 16px 24px;
  color: #e7eff8;
  background: #6d9d38;
  font-size: 24px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  outline: none;
  transition: 0.2s;
}
.homeIndex button:hover {
  background-color: #aec70c;
  cursor: pointer;
}
.homeLogo {
  width: 45%;
}
.homeLogo img {
  width: 100%;
}

/* Home Responsive */
@media (max-width: 1068px) {
  .homeIndex h1 {
    font-size: 45px;
  }
  .homeIndex p {
    font-size: 20px;
  }
  .homeIndex button {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .homeIndex {
    height: 40vh;
  }
  .homeIndex h1 {
    font-size: 35px;
  }
  .homeIndex p {
    font-size: 16px;
  }
  .homeIndex button {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .home {
    flex-direction: column;
    justify-content: space-evenly;
  }
  .homeLogo {
    width: 80%;
  }
}

/* About us page styling */
.aboutus {
  display: flex;
  width: 100%;
  height: 100vh;
  justify-content: space-evenly;
  align-items: center;
}

/* About us image */
.aboutimage {
  width: 35%;
}
.aboutimage img {
  width: 100%;
}

/* about us content */
.aboutContent {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  font-family: "Poppins", sans-serif;
  width: 40%;
}
.aboutContent h1 {
  font-family: "Noto Serif", serif;
  font-size: 48px;
  font-weight: 700;
  color: #07739e;
}
.aboutContent h2 {
  font-size: 24px;
  color: #4884ad;
  margin-top: 5vh;
}
.aboutContent h2 a {
  display: none;
}
.aboutContent p {
  font-size: 18px;
  color: #4884ad;
}
.aboutContent p a {
  font-family: "Noto Serif", serif;
  font-weight: 700;
  font-size: 18px;
  color: #4884ad;
}

/* About container responsive design */
@media (max-width: 1068px) {
  .aboutContent {
    width: 50%;
  }
}
@media (max-width: 868px) {
  .aboutContent h1 {
    font-size: 40px;
  }
  .aboutContent h2 {
    font-size: 20px;
  }
  .aboutContent p {
    font-size: 16px;
  }
  .aboutContent p a {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .aboutimage {
    width: 45%;
  }
}
@media (max-width: 600px) {
  .aboutContent h2 a {
    font-family: "Noto Serif", serif;
    display: block;
    color: #07739e;
    font-weight: 700;
  }
  .aboutContent p {
    display: none;
  }
}
@media (max-width: 480px) {
  .aboutus {
    flex-direction: column-reverse;
  }
  .aboutimage {
    width: 70%;
  }
  .aboutContent {
    width: 60%;
    text-align: center;
  }
}

/* why choose container styling */
.whychoosecontainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.whychoosecontainer h1 {
  font-family: "Noto Serif", serif;
  font-size: 48px;
  color: #07739e;
  text-align: center;
}
.choosecontent {
  width: 50%;
  margin-top: 10vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
}
.choosecontent h2 {
  font-family: "Noto Serif", serif;
  font-size: 24px;
  color: #07739e;
}
.choosecontent p {
  font-family: "Poppins", sans-serif;
  margin-top: 5vh;
  font-size: 18px;
  color: #4884ad;
}
.element1 {
  width: 100%;
  padding: 12px;
}
.element1 img {
  width: 100%;
}
.element2 {
  width: 100%;
  padding: 12px;
}
.element3 {
  width: 100%;
  padding: 12px;
}
.element4 {
  width: 100%;
  padding: 12px;
}
.element4 img {
  width: 100%;
}

/* Responsive why choose us */
@media (max-width: 768px) {
  .whychoosecontainer h1 {
    font-size: 38px;
  }
  .choosecontent h2 {
    font-size: 20px;
  }
  .choosecontent p {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .choosecontent {
    grid-template-columns: inherit;
  }
  .element1 {
    order: 2;
  }
  .element2 {
    order: 1;
  }
}

/* Our courses */
.courses {
  text-align: center;
  padding-top: 10vh;
}
.courses h3 {
  font-family: "Noto Serif", serif;
  font-size: 48px;
  color: #07739e;
  margin: 0;
}
.courses p {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  color: #4884ad;
  margin: 0;
}
/* Cards container */
.cards-container {
  margin-top: 6vh;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
/* Cards */
.cards {
  width: 240px;
  background: #4884ad;
  border-radius: 10px;
}
.cards img {
  width: 100%;
  border-radius: 10px 10px 0 0;
}
.cards h3 {
  font-family: "Noto Serif", serif;
  font-size: 18px;
  font-weight: 700;
  color: #aec70c;
  text-align: center;
  padding: 0 0.6em;
  margin: 0;
}
.cards p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #e7eff8;
  text-align: center;
  padding: 0.7em;
  margin: 0;
}
.cards h4 {
  font-family: "Noto Serif", serif;
  font-size: 32px;
  font-weight: 400;
  color: #aec70c;
  text-align: center;
  padding: 0 1em;
  padding-bottom: 0.6em;
  margin: 0;
}
.cards h4 span {
  font-family: "Poppins", sans-serif;
  color: #e7eff8;
  font-size: 10px;
  font-weight: 400;
}
/* Responsive */

@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
    row-gap: 6vh;
  }
}
@media (max-width: 480px) {
  .courses h3 {
    font-size: 32px;
  }
  .courses p {
    font-size: 18px;
  }
}
/* Offers styling */
.offers {
  margin-top: 10vh;
  margin-bottom: 10vh;
  width: 100%;
  height: 650px;
  background: linear-gradient(#4885ad80, #4884ad80),
    url(./images/homepage01.jpg);
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.offers h3 {
  font-family: "Noto Serif", serif;
  font-size: 72px;
  color: #6d9d38;
}
.offers p {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  color: #e7eff8;
}
.offers button {
  font-family: "Noto Serif", serif;
  font-size: 36px;
  margin-top: 5vh;
  padding: 14px 26px;
  color: #e7eff8;
  background: #6d9d38;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  transition: 0.3s;
}
.offers button:hover {
  background: #aec70c;
}
@media (max-width: 768px) {
  .offers h3 {
    font-size: 60px;
  }
  .offers p {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .offers h3 {
    font-size: 40px;
  }
  .offers p {
    font-size: 20px;
  }
  .offers button {
    font-size: 26px;
  }
}

/* Popup */
.popup {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
}
.form_container {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
  background: #07739e;
  padding: 2rem;
  top: -100px;
  transition: all 0.2s ease-out;
}
.fa-times-circle {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #e7eff8;
}
.form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}
input,
textarea {
  padding: 1rem;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
  color: #07739e;
  font-weight: 500;
}
::placeholder {
  color: #74b7e4;
  font-weight: 500;
}
.btn {
  padding: 0.7rem 1rem;
  width: 100px;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #07739e;
  background: #e7eff8;
  border: none;
  transition: all 0.4s ease-in-out;
}
.btn:hover {
  color: #e7eff8;
  box-shadow: inset 100px 0 0 0 #6d9d38;
  cursor: pointer;
}
@media screen and (min-width: 480px) {
  .form_container {
    padding: 3rem;
  }
  .fa-times-circle {
    top: 15px;
    right: 15px;
    font-size: 1.4rem;
  }
}
@media screen and (min-width: 768px) {
  .form_container {
    max-width: 500px;
  }
}

/* Testimonials */
.testimonials h3 {
  font-family: "Noto Serif", serif;
  margin-top: 10vh;
  padding: 1em;
  font-size: 48px;
  color: #07739e;
  text-align: center;
}
.testimonial-content h4 {
  font-family: "Noto Serif", serif;
  font-size: 36px;
  color: #07739e;
}
.testimonial-content p {
  font-family: "Poppins", sans-serif;
  margin-top: 4vh;
  font-size: 18px;
  color: #4884ad;
  text-align: justify;
}
.angelina {
  display: flex;
  justify-content: space-evenly;
  margin-top: 5vh;
}
.clientImg {
  width: 280px;
}
.clientImg img {
  width: 100%;
}
.clientcontent {
  width: 40%;
}
.john {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-evenly;
  margin-top: 8vh;
}
.julia {
  display: flex;
  justify-content: space-evenly;
  margin-top: 8vh;
}
@media (max-width: 768px) {
  .clientcontent {
    width: 50%;
    padding: 0 20px;
  }
  .testimonial-content h4 {
    font-size: 30px;
  }
  .testimonial-content p {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .testimonials h3 {
    font-size: 34px;
  }
  .testimonial-content h4 {
    margin-top: 5vh;
  }
  .angelina,
  .john,
  .julia {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .clientcontent {
    width: 90%;
  }
}

/* Footer styles */
.footer {
  margin-top: 10vh;
  min-height: 40vh;
  background: #4884ad;
}
.footer_details {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5vh 0;
}
.footer_logo {
  width: 8vw;
}
.footer img {
  width: 100%;
}
.footer_desc {
  width: 70%;
}
.footer_text {
  margin-bottom: 4vh;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #e7eff8;
  text-align: justify;
  text-align-last: center;
}
.footer_data {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.call_to_action button {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #e7eff8;
  background: #6d9d38;
  padding: 14px 26px;
  border: none;
  border-radius: 6px;
  transition: 0.3s;
}
.call_to_action button:hover {
  background: #aec70c;
  cursor: pointer;
}
.footer_data p:nth-child(1) {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #aec70c;
}
.footer_data p:nth-child(2) {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #e7eff8;
}
.social_icons i {
  margin-right: 4vh;
  font-size: 1.1em;
  color: #e7eff8;
  cursor: pointer;
}
.footer hr {
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
  border: none;
  border-top: 1px solid #e7eff8;
}
.footer_rights p {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: 4vh 0;
  color: #e7eff8;
  text-align: center;
}
@media (max-width: 1024px) {
  .footer_text {
    font-size: 16px;
  }
  .call_to_action button {
    font-size: 16px;
  }
  .footer_data p {
    font-size: 12px;
  }
  .social_media i {
    margin-right: 1vh;
  }
}
@media (max-width: 768px) {
  .footer_details {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .footer_logo {
    display: none;
  }
  .footer_desc {
    width: 90%;
  }
}
@media (max-width: 480px) {
  .footer_data {
    flex-direction: column;
  }
  .footer_data p:first-child {
    margin-right: 2vh;
  }
  .contact,
  .resources,
  .social_media {
    display: flex;
    margin-top: 4vh;
  }
  .footer_rights p {
    font-size: 14px;
  }
}
/* font-family: 'Noto Serif', serif;
font-family: 'Poppins', sans-serif; */
