/* COLORS */

/* MAIN COLOR ##208f4f*/
/* SECONDRY COLOR ##4ec3c0 - LIGHTER : #3bc9db */
/* TINTS: #e9f4ed DARKER: #63b184*/
/* SHADES: #1d8147 #1a723f*/

/* GRAY-COLORS */

/* HEADERS - #333 */
/* CONTENT - #555 */

/* NIGHT MODE COLORS */

/* DARK COLOR : #0D0D0D */

/* LIGHT COLOR0 : #E0E0E0 */
/* LIGHT COLOR1 : #E0E0E0 */
/* LIGHT COLOR2 : #b6b6b6 */
/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* *********************************** */
/* GENERAL */
/* *********************************** */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-drag: none;
  user-select: none;
}

*:focus {
  outline: none;
  box-shadow: 0 0 0px 5px rgba(32, 143, 78, 0.3);
}

html {
  font-size: 62.5%;
  color: #555;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;

  font-family: sans-serif;
  user-select: none;
  transition: all 0.5s;
}
.hidden {
  display: none;
}
/* *********************************** */
/*  NIGHT MODE */
/* *********************************** */

.btn-night {
  z-index: 999;
  display: flex;
  align-items: center;
  margin-left: 2.4rem;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background-color: #ececec;
  width: 5rem;
  height: 5rem;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border: 2px solid #208f4f;
  transition: all 0.3s;
}
.btn-night-mobile {
  display: none;
}
.moon,
.sun {
  width: 2rem;
  height: 2rem;
  color: #208f4f;
  transition: all 0.3s;
}

.night-mode {
  background-color: #0d0d0d;
  color: #e0e0e0;
}
.night-mode header {
  background-color: rgba(13, 13, 13, 0.692);
}
.night-mode .section-hero {
  background-color: #0d0d0d;
}
.night-mode .footer {
  background-color: #0d0d0d;
}

.night-mode a:link,
.night-mode a:visited {
  color: #e0e0e0;
}

.night-mode .section-hero .the-start {
  filter: invert(90%);
}
.night-mode .course {
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.1);
}

.night-mode .search-input {
  background-color: #333;
  color: #e0e0e0;
}
.night-mode .search-input::placeholder {
  color: #b6b6b6;
}
.night-mode .section-about {
  border-bottom: #b6b6b6 0.1px solid;
}

.night-mode h1,
.night-mode h2,
.night-mode h3,
.night-mode .course-title {
  color: #f7f7f7;
}

.night-mode .icon-mobile-nav {
  color: #e0e0e0;
}

.night-mode .section-hero .hero-btn-courses {
  background-color: #e0e0e0;
  color: #208f4f;
}
.night-mode .section-hero .hero-btn-courses:hover {
  background-color: #208f4f;
  color: #e9f4ed;
  box-shadow: none;
}

.night-mode footer a:link,
.night-mode footer a:visited {
  color: #e0e0e0;
}

.night-mode .section-courses .teacher-name {
  color: #e0e0e0;
}

.night-mode footer a:hover,
.night-mode footer a:active {
  color: #208f4f;
}
.night-mode header a:link,
.night-mode header a:visited {
  color: #e0e0e0;
  transition: 0.3s all;
}

.night-mode header a:hover,
.night-mode header a:active {
  color: #208f4f;
}

/* *********************************** */
/*  LAYOUT */
/* *********************************** */

.container {
  max-width: 120rem;
  margin: 0 auto;
}

/* *********************************** */
/* BUTTONS */
/* *********************************** */

.btn {
  background: none;
  border: none;
}
.hero-btn {
  background-color: #208f4f;
  font-size: 2rem;
  padding: 1.2rem 3rem;
  border-radius: 9px;
  color: #e9f4ed !important;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.hero-btn:hover {
  background-color: #1d8147;
  color: #e9f4ed;
}

.hero-btn-courses {
  background-color: #fff;
  font-size: 2rem;
  padding: 1.2rem 3rem;
  border-radius: 9px;
  color: #208f4f;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.hero-btn-courses:hover {
  background-color: #208f4f;
  color: #e9f4ed;
  box-shadow: 0 0 0 1px #fff inset;
}

.btn-nav {
  padding: 1.2rem 2.4rem;
}

.course-btn:link,
.course-btn:visited {
  background-color: #208f4f;
  width: 100%;
  padding: 1.6rem 0;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  display: block;
  text-decoration: none;
  text-align: center;
}

.course-btn:hover,
.course-btn:active {
  background-color: #1a723f;
}
/* *********************************** */
/* HELPER CLASSES */
/* *********************************** */

.margin-right-sm {
  margin-right: 1.2rem;
}

/* *********************************** */
/* HEADING */
/* *********************************** */

.heading-1 {
  font-size: 6.4rem;
  color: #333;
  padding-bottom: 3.2rem;
}

.heading-2 {
  font-size: 5.2rem;
  color: #333;
  margin-bottom: 8rem;
}

.subheading {
  color: #4ec3c0;
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 0.6rem;
  letter-spacing: 0.7px;
  margin-bottom: 1.4rem;
}

/* *********************************** */
/* HEADER */
/* *********************************** */

.header {
  background-color: rgba(233, 244, 237, 0.733);
  backdrop-filter: blur(10px);
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  padding: 1.8rem 20rem 1.8rem 20rem;
  gap: 2.4rem;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s;
  width: 100%;
  z-index: 99999;
}
.nav {
  z-index: 1;
}
.logo {
  width: 10rem;
}
.logo-box a {
  box-shadow: none;
}
.list-nav {
  display: flex;
  list-style: none;
  gap: 3.2rem;
  align-items: center;
  justify-content: center;
}

.list-nav a:link,
.list-nav a:visited {
  text-decoration: none;
  color: #333;
  font-size: 2rem;
}

.list-nav a:hover,
.list-nav a:active {
  color: #1a723f;
}

/* NAV MOBILE */

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
  z-index: 2;
}
.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

/* *********************************** */
/* SECTION-HERO */
/* *********************************** */

.the-start {
  width: 25%;
  display: block;
  margin: 0 auto;
  padding-top: 2.4rem;
  z-index: -1;
  padding-top: 20rem;
}

.section-hero {
  background-color: #e9f4ed;
  transition: all 0.5s;
}

.hero-container {
  max-width: 130rem;
  margin: 0 auto;
  display: grid;
  gap: 8rem;
  grid-template-columns: 1fr 1fr;
  padding: 9.6rem 0;
  align-items: center;
}

.hero-text {
  font-size: 2.2rem;
  margin-bottom: 4.8rem;
  line-height: 1.6;
}

.section-hero .hero-img {
  width: 100%;
  border-radius: 7px;
  box-shadow: 0 0 10px 0 rgba(32, 143, 78, 0.2);
}

/* *********************************** */
/* SECTION-COURSES */
/* *********************************** */

.section-courses {
  padding: 9.6rem 0;
}

.course-type {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.2rem;
  list-style: none;
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 6.4rem;
}

.course-type-link:link,
.course-type-link:visited {
  text-decoration: none;
  color: #333;
  display: inline-block;
  transition: all 0.3s;
  padding: 1.2rem 2.4rem;
  border: 1px solid #63b184;
  border-radius: 1000px;
  width: 15rem;
  text-align: center;
}

.course-type-link:hover,
.course-type-link:active {
  background-color: #208f4f;
  color: #e9f4ed;
  border: 1px solid #208f4f;
}
.all:link,
.all:visited {
  background-color: #208f4f;
  color: #e9f4ed;
  transition: all 0.3s;
  border: none;
}

.search-form {
  display: flex;
  width: 100%;
  justify-content: center;
  position: relative;
  margin-bottom: 9.6rem;
}

.search-input {
  width: 75%;
  border-radius: 8px;
  border: 1.5px solid #208f4f;
  font-size: 2rem;
  color: #555;
  padding: 1rem 1.6rem;
  font-family: "Tajawal", sans-serif;
  box-shadow: 0 0 10px rgba(33, 143, 79, 0.1);
  transition: all 0.5s;
}

.search-input::placeholder {
  font-family: sans-serif;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-input::-webkit-search-cancel-button {
  display: none;
}

.search-icon {
  position: absolute;
  right: 13.5%;
  top: 50%;
  transform: translatey(-50%);
  height: 3.2rem;
  width: 3.2rem;
  color: #208f4f;
  cursor: pointer;
}

/* COURSES */

.courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 4.8rem;
  row-gap: 9.6rem;
  padding-top: 6.4rem;
}

.course {
  box-shadow: 0 0 15px 2px rgba(32, 143, 78, 0.05);
  border-radius: 9px;
  transition: all 0.5s;
  overflow: hidden;
}

.course:hover {
  transform: translatey(-13px);
}
.course-img {
  width: 100%;
}

.course-text-box {
  padding: 1.6rem;
}
.course-title {
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.course-description {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 2.4rem;
}

.teacher-box {
  display: flex;
  align-items: center;
  margin-bottom: 1.8rem;
}
.teacher-img {
  width: 4.2rem;
  height: 4.2rem;
  margin-right: 0.8rem;
  cursor: pointer;
}
.teacher-name {
  font-size: 1.4rem;
  color: #333;
  font-weight: 500;
}

.course-time {
  font-size: 1.2rem;
  margin-left: auto;
  font-weight: 700;
}
.time-icon {
  color: #208f4f;
  align-self: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-left: 0.4rem;
}

.cui-toolbar-buttondock,
.alignright {
  display: none !important;
}

/* *********************************** */
/* SECTION-ABOUT-US */
/* *********************************** */

.section-about {
  padding: 9.6rem 0;
  border-bottom: 0.8px solid #eeeeee;
}

.about-title {
  font-size: 4.8rem;
}

.about-text {
  font-size: 2rem;
  line-height: 1.8;
  /* text-align: center; */
}

/* *********************************** */
/* FOOTER */
/* *********************************** */

.footer {
  padding: 6.4rem 0;
  background-color: #e9f4ed;
  max-width: 100%;
  transition: all 0.5s;
}
.footer-img-box a {
  box-shadow: none;
}

.footer-container {
  width: 100rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4.8rem;
}
.hidden {
  display: none;
}
.copyright {
  margin-top: 2.4rem;
  font-size: 1.6rem;
  line-height: 1.6;
}

.contacts-title {
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 3.2rem;
}
.popular-title {
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 3.2rem;
}
/* .footer-img-box {
  align-self: center;
} */
.footer img {
  display: block;
}
.footer a:link,
.footer a:visited {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  text-decoration: none;
  transition: all 0.3s;
  color: #333;
  margin-bottom: 1.8rem;
}
.footer a:hover,
.footer a:active {
  color: #208f4f;
}

#whatsapp {
  color: #208f4f;
  margin-right: 0.4rem;
}

#youtube {
  color: rgb(216, 0, 0);
  margin-right: 0.4rem;
}
