:root {
  --second-text-color: rgba(115, 115, 115, 1);
  --light-text-color: rgba(255, 255, 255, 1);
  --text-color: rgba(37, 43, 66, 1);
  --light-background-color: rgba(255, 255, 255, 1);
  --danger-color: rgba(231, 64, 64, 1);
  --primary-color: rgba(150, 187, 124, 1);
  --primary-text-color: rgba(150, 187, 124, 1);
  --faded-primary-color: rgba(239, 248, 237, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.5s ease;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
}
button {
  cursor: pointer;
}
.section-bg {
  background-color: rgb(239, 248, 237);
  width: 100%;
  height: 770px;
}

.Container {
  margin: auto;
  padding: 0px 15px;
  max-width: 1050px;
}

.header {
  display: flex;
  height: 91px;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
}

#logo_name {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 2rem;
  letter-spacing: 0.1px;
  color: var(--text-color);
}

.nav_bar {
  display: flex;
  gap: 14vw;
}

.nav_list {
  padding-top: 15px;
  gap: 21px;
  display: flex;
  list-style: none;
}

.nav_ls_item {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2px;
  text-align: right;
  color: var(--second-text-color);
}

.nav_bar_logins {
  padding-left: 100px;
  gap: 45px;
  display: flex;
}

#nav_logins_item_1 {
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2px;
  padding-top: 15px;
  text-align: right;
  color: var(--primary-color);
  background-color: transparent;
  border: none;
  cursor: pointer;
}

#nav_logins_item_2 {
  width: 137px;
  height: 52px;
  gap: 15px;
  border-radius: 5px;
  background-color: var(--primary-color);
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.2px;
  border: none;
  color: white;
}

#online {
  font-weight: 700;
  font-size: 1rem;
  line-height: 24px;
  letter-spacing: 0.1px;
  color: rgba(150, 187, 124, 1);
}

#high {
  font-weight: 700;
  font-size: 3rem;
  line-height: 65px;
  letter-spacing: 0.2px;
  color: var(--text-color);
  max-width: 542px;
}

#every_day {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 20px;
  color: var(--second-text-color);
  line-height: 30px;
  letter-spacing: 0.2px;
}

#hero_button_1 {
  font-weight: 700;
  font-size: 1rem;
  line-height: 22px;
  letter-spacing: 0.2px;
  text-align: center;
  background-color: rgba(150, 187, 124, 1);
  border: none;
  color: rgba(255, 255, 255, 1);
  border-radius: 5px;
  height: 52px;
  width: 193px;
}

#hero_button_2 {
  font-weight: 700;
  font-size: 1rem;
  line-height: 22px;
  letter-spacing: 0.2px;
  text-align: center;
  color: rgba(150, 187, 124, 1);
  background-color: transparent;
  border-color: rgba(150, 187, 124, 1);
  border-radius: 5px;
  width: 193px;
  height: 52px;
}

.hero {
  display: flex;
  top: 20px;
}

#hero_left_buttons {
  gap: 10px;
  display: flex;
  padding-top: 10px;
}

.hero_left {
  padding-top: 12rem;
}

.hero_image_1 {
  width: 661px;
}
/* *********************************************************************************************************** */
/* second page */

.Section_main {
  min-height: 782px;
}
#top_part_text_2 {
  max-width: 437px;
}
#top_part_text_3 {
  max-width: 469px;
}
.green_small_heading {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.2px;
  color: var(--primary-text-color);
}

.blue_big_heading {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 3.125rem;
  letter-spacing: 0.2px;
  color: var(--text-color);
}

.gray_parahraph {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2rem;
  letter-spacing: 0.2px;
  color: var(--second-text-color);
}

.section_main_contents {
  display: grid;
  gap: 112px;
  padding-top: 10rem;
  /* justify-content: center; */
  align-items: center;
}

.banner_part {
  display: flex;
  flex-wrap: wrap;
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  gap: 1rem;
  /* justify-items: center; */
  place-content: center;
}

.card {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  /* Adds a soft shadow */
  padding: 35px 40px 35px 40px;
  background-color: white;
  width: 240px;
  gap: 20px;
  display: grid;
}

.card:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}
.card:hover .c_heading {
  color: white;
}
.card:hover .card_para {
  color: white;
}
.card:hover .card_red_line {
  background-color: white;
}
.card_heading {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 1rem;
  line-height: 24px;
  letter-spacing: 0.1px;
  color: var(--text-color);
}

.card_red_line {
  width: 50px;
  height: 2px;
  background-color: var(--danger-color);
}

.card_para {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 1rem;
  line-height: 20px;
  letter-spacing: 0.2px;
  color: var(--second-text-color);
}
/* *********************************************************************************************** */
/* page 3 */
.section_3 {
  height: 715px;
}

.sec_3 {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  gap: 34px;
  padding-top: 10rem;
  /* padding-bottom: 10rem; */
}
#section_three_blue_heading {
  max-width: 238px;
}
.para_3 {
  max-width: 351px;
}

.red_line {
  width: 94px;
  height: 7px;
  background-color: var(--danger-color);
}

.r_content {
  display: grid;
  gap: 35px;
}
/* ******************************************************************************************************** */
/* page 4 csss */

.approdable_packages_content {
  display: flex;
  gap: 30px;
  padding-top: 10rem;
}

.approdable_packages_image {
  border-radius: 20px;
}

.approdable_packages_left {
  display: grid;
  gap: 35px;
}
.approdable_packages_paragraph {
  max-width: 390px;
}
.section_approdable_packages {
  height: 676px;
}
.paly_icon {
  width: 90px;
  height: 90px;
  border-radius: 200px;
  background-color: var(--primary-color);
  border: none;
  position: absolute;
  top: 136px;
  left: 210px;
}
.approdable_packages_right {
  position: relative;
}
/* ********************************************************************************************************************************************* */
/* add banner card css */

.add_card {
  display: grid;
  gap: 5px;
}
.most_popular_courses_paragraph {
  max-width: 460px;
}

.sale {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.2px;
  text-align: center;
  color: var(--light-text-color);
  background-color: var(--danger-color);
  width: 51px;
  border-radius: 3px;
}

.card_icons {
  display: flex;
  gap: 10px;
  position: absolute;
  z-index: 1;
  top: 236px;
  left: 49px;
}
.c_image {
  width: 72px;
}

.sale {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
}

.card_small_heading {
  display: flex;
  gap: 10px;
}

.ratting_part {
  display: flex;
  background-color: rgba(45, 64, 89, 1);
  border-radius: 20px;
  width: 50px;
  height: 26px;
  justify-content: center;
  align-items: center;
}

.card_download_part {
  display: flex;
  gap: 10px;
}

.price_part {
  display: flex;
  gap: 5px;
}

.card_icon_button {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: rgb(255, 255, 255);
  border: none;
  justify-content: center;
}

.card_top_part {
  position: relative;
}
.section_most_popular_courses {
  height: 940px;
}

/* card bottoommm */

.card_green_small_heading {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: var(--primary-text-color);
}

.ratting_text {
  color: rgb(255, 255, 255);
}

.card_bottom_part {
  display: grid;
  padding: 14px;
  gap: 10px;
}

.card_blue_big_heading {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.1px;
  color: var(--text-color);
}

.card_gray_paragraph {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.2px;
  color: var(--second-text-color);
}

.card_gray_sale {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 14px;
  color: var(--second-text-color);
  line-height: 24px;
  letter-spacing: 0.2px;
}

.gray_price {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.1px;
  text-align: center;
  color: rgba(189, 189, 189, 1);
}

.orange_price {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.1px;
  text-align: center;
  color: rgba(255, 171, 113, 1);
}

.card_learn_more {
  border-color: var(--primary-color);
  border-radius: 37px;
  width: 142px;
  height: 44px;
  background-color: transparent;
  color: var(--primary-color);
}

.adds {
  display: flex;
  gap: 1rem;
}

.most_popular_courses_content {
  display: grid;
  gap: 80px;
  padding-top: 10rem;
}
/* **************************************************************************************************************************** */
/* page 6 css */

.section_our_experts_teacher {
  height: 1240px;
}

.our_experts_teacher_top_part {
  display: grid;
  gap: 10px;
}

.our_experts_teacher_contents {
  display: grid;
  gap: 80px;
  padding-top: 10rem;
}
.our_experts_teacher_paragraph {
  max-width: 460px;
}
.our_experts_teacher_bottom_part {
  display: flex;
  gap: 10px;
  justify-content: center;
}
#our_experts_teacher_card_for_new {
  position: relative;
}
.our_experts_teacher_card_for_new_icon_text {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 24px;
  color: white;
  line-height: 32px;
  letter-spacing: 0.1px;
  align-items: center;
  justify-content: center;
  display: flex;
  padding-top: 25px;
}

.our_experts_teacher_card_for_new_icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: rgba(231, 124, 64, 1);
  position: absolute;
  top: -11px;
  left: 258px;
}
.our_experts_teacher_card {
  display: grid;
  gap: 35px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 40px;
  padding-right: 40px;
  justify-content: center;
}

.our_experts_teacher_card:hover {
  background-color: rgba(45, 64, 89, 1);
}
.our_experts_teacher_card_heart {
  display: flex;
  justify-content: center;
}

.our_experts_teacher_card_heart_icon {
  height: 80px;
  width: 80px;
  border-radius: 200px;
  border: none;
  color: white;
  background-color: rgba(150, 187, 124, 1);
}

.our_experts_teacher_card_list_green_tick {
  background-color: rgba(45, 192, 113, 1);
  width: 32px;
  height: 32px;
  border-radius: 50px;
  border: none;
  align-items: center;
  display: flex;
  justify-content: center;
}

.our_experts_teacher_card_list_green_tick_white {
  background-color: var(--second-text-color);
  width: 32px;
  height: 32px;
  border-radius: 50px;
  border: none;
  align-items: center;
  display: flex;
  justify-content: center;
}

.our_experts_teacher_card_free_heading {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 24px;
  color: var(--text-color);
  line-height: 32px;
  letter-spacing: 0.1px;
  text-align: center;
}
.our_experts_teacher_card:hover .our_experts_teacher_card_free_heading {
  color: white;
}

.our_experts_teacher_card_gray_small_heading {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 14px;
  color: var(--second-text-color);
  line-height: 24px;
  letter-spacing: 0.2px;
  text-align: center;
}

.our_experts_teacher_card:hover .our_experts_teacher_card_gray_small_heading {
  color: white;
}
.our_experts_teacher_card_price_text {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 40px;
  color: var(--primary-color);
  line-height: 50px;
  letter-spacing: 0.2px;
  text-align: center;
}

.our_experts_teacher_card_per_month_text {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 14px;
  color: rgba(142, 194, 242, 1);
  line-height: 24px;
  letter-spacing: 0.2px;
  text-align: center;
}

.our_experts_teacher_card_paragraph {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  color: var(--second-text-color);
  line-height: 20px;
  letter-spacing: 0.2px;
  text-align: center;
}
.our_experts_teacher_card:hover .our_experts_teacher_card_paragraph {
  color: white;
}

.our_experts_teacher_card_button {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 14px;
  color: var(--light-text-color);
  line-height: 22px;
  letter-spacing: 0.2px;
  text-align: center;
  background-color: var(--primary-color);
  width: 243px;
  height: 52px;
  border-radius: 5px;
  border: none;
}

.our_experts_teacher_card_list_heading {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-color);
  line-height: 24px;
  letter-spacing: 0.2px;
}

.our_experts_teacher_card:hover .our_experts_teacher_card_list_heading {
  color: white;
}
.our_experts_teacher_card_list_part {
  display: grid;
  gap: 15px;
}
.our_experts_teacher_card_list_row {
  display: flex;
  gap: 10px;
  align-items: center;
}
/* end of page 6 */
/* *************************************************************************************************************************************** */

/* css of page 7 */
.section_testimonials {
  height: 865px;
}

.testimonialscontents {
  display: grid;
  gap: 10px;
  padding-top: 10rem;
}
.testimonials_top_part {
  display: grid;
  gap: 20px;
}

.testimonial_paragraph {
  max-width: 450px;
}
.testimonials_banner {
  display: flex;
  justify-content: center;
  place-items: center;
  padding-top: 5rem;
  gap: 50px;
}

.testimonials_image {
  border-radius: 200px;
  width: 128px;
  height: 128px;
  /* align-items: center; */
}

.testimonials_card_gray_parahraph {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  color: var(--second-text-color);
  line-height: 20px;
  letter-spacing: 0.2px;
  max-width: 350px;
}

.testimonials_card_name {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-color);
  line-height: 24px;
  letter-spacing: 0.1px;
  /* text-align: center; */
}

.testimonials_card_role {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 14px;
  color: var(--second-text-color);
  line-height: 24px;
  letter-spacing: 0.2px;
  /* text-align: center; */
}

.testimonials_card {
  display: grid;
  gap: 30px;
  justify-content: center;
  text-align: center;
}

.testimonials_card_text_part {
  display: grid;
  gap: 15px;
  text-align: center;
}

/* end of 7 */
/* ********************************************************************************************************************************* */
/* css to eigth */
.section_newsletter {
  background-color: rgba(255, 242, 243, 1);
  height: 594px;
}

.newsletter_contents {
  display: grid;
  gap: 80px;
  padding-top: 10rem;
}
.newsletter_top_part {
  justify-content: center;
  display: grid;
  gap: 10px;
}

.form_button {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  color: var(--light-text-color);
  line-height: 28px;
  letter-spacing: 0.2px;
  text-align: center;
  background-color: var(--primary-color);
  border: none;
  border-radius: 5px;
  width: 117px;
  height: 58px;
}
.searchbar {
  border-radius: 5px;
  width: 100%;
  height: 58px;
  border: none;
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  color: var(--second-text-color);
  line-height: 28px;
  letter-spacing: 0.2px;
}
.search_bar {
  max-width: 100%;
}
.newsletter_small_heading {
  text-align: center;
}
.newsletter_heading {
  text-align: center;
}
.newsletter_paragrapg {
  text-align: center;
  max-width: 509px;
}
.formm_items {
  display: flex;
  place-items: center;
}
/* ************************************************************************************************************************************ */
/* footer css */

.section_footer {
  height: 346px;
}

.footer_contents {
  padding-top: 5rem;
  display: grid;
  gap: 60px;
}

.footer_top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-heading {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1rem;
  letter-spacing: 0.1px;
}

.footer_list_text {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--second-text-color);
  line-height: 1.5rem;
  letter-spacing: 0.2px;
}

.footer-column {
  display: grid;
  gap: 20px;
}

.footer_list {
  display: grid;
  gap: 10px;
}

.footer_list_item {
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
}

.madewith_text {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--second-text-color);
  line-height: 1.5rem;
  letter-spacing: 0.2px;
}
.footer_icons {
  display: flex;
  gap: 20px;
}
/* Default desktop: hide menu icon */
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
}
@media (min-width: 1706.6px) {
  .Container {
    max-width: 1200px;
  }
}
@media (min-width: 1920px) {
  html {
    font-size: 18px;
  }
  .Container {
    max-width: 1200px;
  }
}

@media (min-width: 2560px) {
  html {
    font-size: 20px;
  }
  .Container {
    max-width: 1400px;
  }
}
@media (max-width: 1025px) {
  .adds {
    place-items: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .section_most_popular_courses {
    height: auto;
  }
  .our_experts_teacher_bottom_part {
    display: grid;
    place-items: center;
  }
  .section_our_experts_teacher {
    height: auto;
  }
  .footer_top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
  }
  .footer-column-contact {
    grid-column: span 2; /* Makes it stretch across two columns */
    text-align: center;
  }
}

@media (max-width: 961px) {
  .nav_bar {
    display: none;
  }
  .hero_right {
    display: none;
  }
  .hero {
    justify-content: center;
  }
  .sec_3_left {
    display: none;
  }
  .section_3 {
    height: auto;
  }
  .approdable_packages_right {
    display: none;
  }
  .section_approdable_packages {
    height: auto;
  }
  #section_three_blue_heading {
    max-width: 465px;
  }
   .header {
        position: relative;
        padding: 10px 20px;
    }

    .menu-icon {
        display: block;
    }

    /* Hide menu initially */
    .nav_bar {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background: #fff; /* Change if needed */
        /* width: 100%; */
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: flex-start;
        z-index: 998;
    }

    /* Show menu when toggled */
    #menu-toggle:checked ~ .nav_bar {
        display: flex;
        gap: 2px;
    }

    /* Stack nav items */
    .nav_list {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .nav_list_item {
        width: 100%;
        text-align: center;
    }

    .nav_ls_item {
        display: block;
        width: 100%;
        text-align: center;
    }
#nav_logins_item_1{
  text-align: center;
}
    /* Stack login buttons */
    .nav_bar_logins {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 15px;
        padding-left: 0;
    }

    .nav_bar_logins .btn1,
    .nav_bar_logins .btn2 {
        width: 100%;
    }

    .nav_bar_logins button {
        width: 100%;
    }

}
@media (max-width: 720px) {
  .testimonials_banner {
    display: grid;
    place-items: center;
  }
  .section_testimonials {
    height: auto;
  }
  .section_testimonials {
    height: auto;
  }
}
@media (max-width: 560px) {
  .adds {
    grid-template-columns: repeat(1, 1fr);
  }
  .our_experts_teacher_card_for_new_icon {
    display: none;
  }
}
@media (max-width: 421px) {
  #hero_left_buttons {
    display: grid;
    justify-content: center;
  }

  .our_experts_teacher_card {
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer_list_text {
    font-size: 0.6rem;
  }
}
