/* Utility classes */
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-start {
  display: flex;
  justify-content: start;
}
.flex-end {
  display: flex;
  justify-content: end;
}
.flex-between {
  display: flex;
  justify-content: space-between;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.items-center {
  align-items: center;
}
.text-center {
  text-align: center;
}

/* Custom classes */
h1.heading {
  font-size: 2rem;
}
h2.heading {
  font-size: 1.8rem;
}
h3.heading {
  font-size: 0.5rem;
}
.text-mx {
  max-width: 90%;
}
.mt-5 {
  margin-bottom: 5rem;
}
.mb-5 {
  margin-bottom: 5rem;
}
.mt-2 {
  margin-bottom: 2rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mt-3 {
  margin-bottom: 3rem;
}
.mb-3 {
  margin-bottom: 3rem;
}


.w-full {
  width: 100%;
}
.w-64 {
  width: 64%;
}
.w-36 {
  width: 36%;
}
.w-60 {
  width: 60%;
}
.w-40 {
  width: 40%;
}
.learning-head,
.section-2 {
  margin-top: 10rem;
  margin-bottom: 5rem;
}
.learning-body,
.section-2,
.section-3 {
  max-width: 1140px;
  width: 90%;
  margin-inline: auto;
}
.section-2,
.section-3,
.section-4 {
  margin-top: 4rem;
}
.section-4 {
  background-color: #78c25a;
  margin-bottom: 4rem;
  padding: 4rem;
}
.section-2 .head .heading,
.section-3 .head .heading {
  position: relative;
}
.section-2 .head .heading::after,
.section-3 .head .heading::after {
  content: "";
  position: absolute;
  top: 3.2rem;
  left: 0;
  height: 4px;
  width: 2.5rem;
  background: #78c25a !important;
}
.section-2 .head p,
.section-3 .head p {
  max-width: 48ch;
  margin-top: 1.5rem;
}
.section-4 h2 {
  font-family: serif;
  font-size: 2.8rem;
  text-align: center;
}
.section-4 p {
  max-width: 70ch;
  width: 90%;
  text-align: center;
}
.learning-body-1 {
  width: 64%;
}
.learning-body-2 {
  margin-left: 5rem;
}
.learning-2 {
  margin-bottom: 2rem;
}
.learning-1 img {
  border-radius: 0.2rem;
}
.learning-2 img,
.learning-3 img {
  border-radius: 1.3rem;
}
.details {
  margin-top: 1rem;
  max-width: 94%;
  margin-inline: auto;
}
.details h3 {
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: uppercase;
}
.details h4 {
  font-size: 2rem;
  font-family: serif;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
  z-index: 1;
  margin-left: 1rem;
  margin-top: 0.6rem;
  font-size: 0.8rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-inline: auto;
  gap: 1.5rem;
}

.btn_start {
  border-radius: 0.3rem;
  outline: none;
  padding: 0.5rem 2rem;
  border: 1px solid black;
  color: #000;
  background-color: white;
}
.btn_start:hover {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.div_more {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}
.btn_more {
  border-radius: 0.3rem;
  outline: none;
  padding: 0.3rem 1rem;
  border: 1px solid black;
  color: #000;
  background-color: white;
}
.btn_more:hover {
  background-color: black;
  color: white;
}

.horizontal {
  width: 15rem;
  height: 1.5px;
  background-color: rgb(202, 202, 202);
}
.desktop {
  display: flex;
}
.home_page {
  position: relative;
}
.post1 {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  width: 100px;
  height: 100vh;
  background-color: #ffffff50;
}
.grid_section {
  margin-top: 2rem;
}
.grid-content {
  width: 70% !important;
}
.grid-content.first  {
  margin-right: 2rem;
}
.grid-content.second {
  margin-left: 2rem;
}

.wbp_wrapper h3, .wbp_wrapper p, .wbp_wrapper {
  margin: 2rem 0;
}


/* .kwayy-heading-align-left span {
  margin-top: 10rem !important;
} */

@media (max-width: 990px) {
  .learning-body {
    flex-direction: column;
    width: 90%;
  }
  .learning-body-1 {
    width: 100%;
  }
  .learning-1 {
    margin-inline: -5%;
  }
  .learning-body-2 {
    width: 90%;
    margin-inline: auto;
  }
  .learning-2 img,
  .learning-3 img {
    border-radius: 0.7rem;
  }
  .desktop {
    display: none;
  }
  .grid_section {
    flex-direction: column;
  }
  .grid-content {
    width: 90% !important;
  }
  .grid-content.first  {
    margin-right: 0rem;
  }
  .grid-content.second {
    margin-left: 0rem;
    margin-top: 2rem;
  }
}
@media (max-width: 767px) {
  .cards {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .content, .content-pay {
    width: 90% !important;
  }
}

@media (max-width: 576px) {
}



.content-pay {
  width: 80%;
  margin: 10% auto;
  padding: 20px;
}
.content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  width: 70%;
}
.close-div {
  display: flex;
  justify-content: end;
}
.close {
  color: #aaa;
  float: right;
  font-size: 40px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

