/***************************/
/* GENERAL REUSABLLE SECTION */
/***************************/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  color: #777e88;
  font-size: 1.6rem;
  font-family: rubik;
  overflow-x: hidden;
}

.container {
  max-width: 94.4rem;
  margin: 0 auto;
}

.scroll-hint {
  display: none;
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-top: 1.2rem;
  animation: fadeHint 2s ease-in-out infinite;
}

@keyframes fadeHint {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.book-button,
.talk-button,
.start-button,
.contact-button {
  display: inline-block;
  color: #fff;
  background-color: #0040dd;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  padding: 1.2rem 2.4rem;
  border-radius: 0.8rem;
}

.book-button:hover,
.talk-button:hover,
.start-button:hover,
.contact-button:hover {
  background-color: #438eff;
}

.grid-2-cols,
.grid-3-cols {
  display: grid;
}

.grid-3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.tertiary-heading {
  font-size: 3.6rem;
  color: #242639;
  padding: 0 0 4.8rem;
  text-align: center;
  font-weight: normal;
}

/* *:focus {
  outline: none;
  box-shadow: 0 0 0 0.6rem rgb(136, 184, 255);
} */

/***************************/
/* HEADER & NAVIGATION SECTION */
/***************************/

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 1.8rem 0 0;
}

.logo {
  display: flex;
  align-content: center;
  justify-content: center;
  gap: 2rem;
}

.header-logo img {
  width: 6.6rem;
  height: 5.6rem;
}

.main-nav--list {
  list-style: none;
  padding: 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.main-nav--link:link,
.main-nav--link:visited {
  display: inline-block;
  text-decoration: none;
  color: #777e88;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.main-nav--link:hover,
.main-nav--link:active {
  color: #0040dd;
}

.main-nav--link.active {
  color: #0040dd;
}

.main-nav *:focus {
  outline: none;
  box-shadow: 0 0 0 0.5rem rgb(186, 190, 194);
}

.btn-mobile--nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile--nav {
  height: 3.6rem;
  width: 3.6rem;
  color: #0040dd;
}

.icon-mobile--nav[name="close-outline"] {
  display: none;
}

/***************************/
/* HERO SECTION */
/***************************/

.section-hero {
  padding: 7.2rem 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.hero-text--box {
  position: relative;
}

.hero-imgs {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  margin-bottom: 3.2rem;
}

.hero-img {
  width: 8rem;
  height: 8rem;
  border: 0.3rem solid #fff;
  border-radius: 50%;
}

.overlap-img {
  position: absolute;
  top: 0;
  left: 10.5%;
  border: 0.3rem solid #fff;
}

.hero-text {
  font-size: 2rem;
  font-weight: bold;
  padding: 0 0 1.6rem;
}

.primary-text {
  font-size: 3.6rem;
  color: #242639;
  padding: 0 0 4.8rem;
  text-align: left;
  font-weight: 500;
}

.colors {
  display: flex;
  gap: 1.1rem;
  justify-self: end;
  align-self: center;
}

.color,
.color-grey,
.color-gray,
.color-blue {
  width: 6.9rem;
  height: 6.9rem;
  border-radius: 50% 50% 0 50%;
}

.color {
  background-color: #0040dd;
  border-radius: 50% 50% 50% 0;
  margin-bottom: 1.4rem;
}

.color-grey {
  background-color: #f7f7f7;
}

.color-lightblue {
  background-color: #438eff;
  width: 7.2rem;
  height: 15.4rem;
  border-radius: 10rem;
}

.color-gray {
  background-color: #f7f7f7;
  border-radius: 0 50% 50% 50%;
  margin-bottom: 1.4rem;
}

.color-blue {
  background-color: #0040dd;
}

.tertiary-text {
  font-size: 3.6rem;
  margin-bottom: 3.2rem;
  font-size: 3.6rem;
  color: #242639;
}

/***************************/
/* ASIDE SECTION */
/***************************/

.courses {
  display: flex;
  font-size: 1.8rem;
  gap: 2.6rem;
  padding: 0 0 3.2rem;
  border-bottom: 0.4rem solid #f7f7f7;
  margin: 0 0 7.2rem;
}

/***************************/
/* FOCUS SECTION */
/***************************/

.focus-section {
  padding: 0 0 3.6rem;
}

.focus-box {
  text-align: center;
  background-color: #001342;
  background-image: url(../img/smiley.svg);
  background-repeat: no-repeat;
  background-position: 74% bottom;
  height: 40rem;
  max-width: 100%;
}

.focus-text--box {
  margin-top: 7.2rem;
  text-align: left;
  width: 94.4rem;
  margin: auto;
}

.focus-description--text {
  display: inline-block;
  color: #fff;
  font-size: 3.6rem;
  font-weight: 450;
  padding: 7.2rem 0 0 8rem;
}

.focus-description--text::first-line {
  color: #759dff;
}

.focus-text {
  color: #fff;
  font-size: 2rem;
  padding: 10.4rem 0 0 8rem;
}

/***************************/
/* SIGN UP SECTION */
/***************************/

.section-sign--up {
  padding: 3.6rem 4.8rem 4.8rem;
}

.sign-up--heading {
  font-size: 3.6rem;
  color: #242639;
  margin-bottom: 4.8rem;
  text-align: center;
  font-weight: normal;
}

.sign-up--cols {
  display: flex;
  gap: 1.6rem;
}

.text-sign--up {
  padding-top: 16.6rem;
}

.sign-up--level,
.sign-up--package,
.sign-up--session {
  width: 30.5rem;
  height: 39rem;
  background-color: #f7f7f7;
  border-radius: 2.4rem;
  background-repeat: no-repeat;
}

.sign-up--level {
  background-image: url(../img/smiley\ face.svg);
  background-position: top;
}

.sign-up--session {
  background-image: url(../img/smiley\ face4.svg);
  background-repeat: no-repeat;
  background-position: bottom;
}

.sign-up--package {
  background-image: url(../img/smiley\ face2.svg), url(../img/smiley\ face3.svg);
  background-position: left bottom, right bottom;
}

.level-text {
  text-align: center;
  padding: 16.6rem 2.4rem 0 2.4rem;
}

.package-text,
.session-text {
  padding: 4.8rem 2.4rem 0 2.4rem;
  text-align: center;
}

.description-text {
  font-size: 3.6rem;
  color: #242639;
  font-size: 2rem;
  padding: 0 0 1.6rem;
  font-weight: normal;
}

/***************************/
/* DISCOUNT SECTION */
/***************************/

.section-discount {
  padding: 0 0 4.8rem 0;
}

.discount {
  background-color: #ff9500;
  width: 100%;
  max-width: 94.4rem;
  height: 19rem;
  border-radius: 2rem;
  text-align: center;
  color: #fff;
}

.discount-offer {
  display: inline-block;
  border: solid 3px #ffd599;
  background-color: #ffd59930;
  border-radius: 3rem 3rem 0 3rem;
  width: 15.4rem;
  height: 4.4rem;
  margin-top: 2.8rem;
}

.offer-text {
  padding: 0.4rem;
  font-size: 2.4rem;
  font-weight: bolder;
}

.offer-details {
  font-size: 3.6rem;
  padding: 2rem 0 0.6rem;
}

.offer-info {
  font-size: 2rem;
}

.start-button {
  display: flex;
  font-size: 2.4rem;
  margin: 4.8rem auto 7.2rem;
  padding: 1.2rem 2.4rem;
  border-radius: 1.2rem;
}

/***************************/
/* TESTIMONIAL SECTION */
/***************************/

.testimonial-container {
  position: relative;
  max-width: 94.4rem;
  margin: 0 auto 7.2rem;
}

.testimonial {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  transition: transform 0.3s ease-in-out;
  max-width: 94.4rem;
}

.card {
  width: 30.3rem;
  height: 47.9rem;
  background: #001f5c;
  color: white;
  border-radius: 2.4rem 2.4rem 0 2.4rem;
  padding: 2rem 4rem;
  box-sizing: border-box;
  position: relative;
}

.tag {
  font-size: 1.4rem;
  color: #759dff;
  padding: 0 0 4rem;
}

.profile-text {
  font-size: 2.2rem;
  line-height: 1.6;
  color: #fff;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  position: absolute;
  bottom: 8%;
  left: 11%;
  color: #759dff;
}

.profile-img img {
  width: 6.4rem;
  height: 6.4rem;
  border: 0.4rem solid #759dff;
  border-radius: 50%;
  object-fit: cover;
}

.profile-name {
  font-weight: 700;
}

.profile-level {
  font-size: 1.4rem;
  font-weight: 300;
}

/***************************/
/* TUTOR SECTION */
/***************************/

.section-tutor {
  padding: 7.2rem 10rem 0;
  max-width: 100%;
  background-color: #f7f7f7;
}

.tutors {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  column-gap: 1.6rem;
  width: 94.4rem;
  height: 42.7rem;
  margin: auto;
}

.tutor-name,
.tutor-intro {
  padding: 0 0 0.8rem;
  color: #242639;
  font-size: 2rem;
}

.tutor-name {
  font-size: 3.6rem;
}

.tutor-intro {
  font-style: italic;
  font-weight: bold;
  padding-bottom: 4rem;
}

.tutor-subtext {
  display: inline-block;
  padding-top: 7rem;
  color: #777e88;
}

.tutor-details {
  color: #777e88;
  font-size: 2rem;
}

.tutor-img {
  max-width: 100%;
  height: 42.8rem;
  object-fit: fill;
  background-image: url(../img/logo.svg);
  background-repeat: no-repeat;
  background-position: 110% 18%;
  background-size: 13rem;
}

/***************************/
/* FOOTER SECTION */
/***************************/

.footer-section {
  background-color: #001342;
  padding: 4rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr 0.5fr 0.5fr;
  grid-template-rows: 12rem 5rem;
  max-width: 94.4rem;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
  margin: 0 auto;
  height: auto;
}

.footer-logo img {
  display: inline-block;
  width: 6.6rem;
  height: 5.6rem;
}

.footer-nav--list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-nav--link {
  text-decoration: none;
  color: #fff;
}

.footer-lan {
  display: flex;
  flex: 0 0 auto;
  height: 2rem;
  gap: 1.6rem;
}

.lan-en,
.lan-tr,
.copyright {
  font-size: 1.4rem;
  color: #696c6e;
  font-weight: bold;
}
.lan-en {
  color: #fff;
}

.btn-tutor {
  display: block;
  background-color: #fff;
  color: #0040dd;
  font-size: 1.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: 0.8rem;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.btn-tutor:hover {
  color: #438eff;
}

.socials {
  display: flex;
  gap: 3.2rem;
  grid-column: span 2;
  height: 5.6rem;
}

.footer-social--icons {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 1px solid #696c6e;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
}

.footer-icons {
  color: #fff;
}

.footer-contact,
.footer-copyright {
  align-self: end;
}

.email-text {
  color: #fff;
}

.contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3.2rem;
}

.contact-text {
  font-size: 1.4rem;
  font-weight: lighter;
}

.contact-button {
  align-items: center;
  font-size: 1.2rem;
  width: 11.4rem;
  height: 3rem;
  padding: 0.8rem 3.6rem 0.8rem 1.6rem;
  border-radius: 1.6rem 1.6rem 0 1.6rem;
  background-size: 1.5rem;
  background-position: 84% 60%;
  margin-left: 0.8rem;
}

.copyright {
  font-weight: lighter;
}

/***************************/
/* ABOUT PAGE */
/***************************/

.about-us--img {
  display: block;
  width: 100%;
  height: auto;
  margin: 2rem 0 0;
}

.about-us--heading {
  font-size: 2.4rem;
  color: #242639;
  font-weight: 400;
  text-transform: uppercase;
  padding: 4.8rem 0 2.4rem;
}

.about-us--description {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
}

.about-us--listing {
  list-style: none;
}

.about-us--subtext {
  font-size: 2.4rem;
  color: #242639;
  font-weight: 500;
  padding: 0 0 2.4rem;
}

.why-us--heading {
  font-size: 2rem;
  color: #242639;
  font-weight: 400;
  padding: 0 0 1.6rem;
}

.why-us {
  margin: 0 0 3.2rem;
}

/***************************/
/* TUTOR PAGE */
/***************************/

.tutor-hero--section {
  position: relative;
  margin: 0 0 7.2rem;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    to bottom,
    rgba(22, 26, 29, 0.2) 10%,
    rgba(22, 26, 29, 1) 100%,
    rgba(22, 26, 29, 0.4) 66%,
    rgba(22, 26, 29, 1) 95%,
    rgba(22, 26, 29, 1) 0,
    rgba(22, 26, 29, 0) 100%
  );

  pointer-events: none;
}

.tutor-hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.tutor-hero--img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tutor-section--heading {
  font-size: 6rem;
  font-weight: 300;
  padding: 0 0 1rem;
}

.tutor-section--text {
  font-size: 2.8rem;
}

.tutors-section {
  margin: 0 auto 9.6rem;
}

.tutor-container {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  column-gap: 9.6rem;
  align-items: center;
  border-bottom: 0.2rem solid #dee2e6;
  padding: 4.8rem 0;
}

.cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 0.5rem;
  height: auto;
  border-radius: 1.2rem;
  background-color: #f5f5f5;
  padding: 5rem 3.5rem;
  box-shadow: 0 5rem 5rem 0 rgba(0, 0, 0, 0.1);
}

.card-img {
  display: inline-block;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  margin: 0 0 2rem;
}

.tutor-lang {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 2rem 2rem;
}

.tutor-lang--icon {
  width: 2.4rem;
  height: 2.4rem;
}

.rating-star {
  display: flex;
  gap: 1rem;
  margin: 0 0 1rem;
}

.rating-points {
  font-weight: 300;
  font-size: 1.8rem;
}

.rating-star--icon {
  width: 2rem;
  height: 2rem;
  color: #efac56;
}

.tutor-lessons {
  font-size: 1.8rem;
  font-weight: 300;
  padding: 0 0 1.2rem;
}

.btn-trial {
  background-color: #0040dd;
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  text-transform: capitalize;
  padding: 2rem 4rem;
  border-radius: 4.4rem;
}

.lang-tutored {
  font-size: 1.6rem;
}

.tutor-profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 1rem;
}

.tutor-name {
  font-size: 2.4rem;
  margin: 0 0 1rem;
}

.tutor-intro--text {
  font-weight: 300;
  margin: 0 0 2.4rem;
  line-height: 1.5;
}

.tutor-inform {
  list-style: none;
}

.tutor-inform-title {
  font-size: 1.2rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  padding: 0 0 1rem;
}

.tutor-inform-details {
  font-size: 1.6rem;
  font-weight: 300;
  margin: 0 0 1.2rem;
}

.tutor-intro--text span,
.tutor-inform-details span {
  font-weight: 500;
}

/***************************/
/* PRICING PAGE */
/***************************/

.pricing-section {
  margin: 7.2rem auto 0;
}

.subtext {
  font-size: 3.2rem;
  font-weight: 300;
  color: #242639;
  text-align: center;
  padding-bottom: 7.2rem;
}

.subtext span {
  font-weight: 500;
}

.pricing-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pricing-box {
  display: inline-block;
  padding: 0 3rem;
  border-right: 0.2rem solid #ced4da;
}

.pricing-box:last-child {
  border: none;
  padding-right: 0;
}

.pricing-box:first-child {
  padding-left: 0;
}

.pricing-title {
  color: #242639;
  font-size: 2.4rem;
  padding: 2.4rem 0;
}

.program-title {
  font-size: 3.2rem;
  font-weight: 400;
}

.program-price {
  font-size: 2rem;
  font-weight: 500;
}

.program-price span {
  font-weight: 400;
  color: #696c6e;
}

.btn-plan {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 0.8rem 1.6rem;
  color: #0040dd;
  border-radius: 0.8rem;
  border: 0.15rem solid #0040dd;
  margin-bottom: 1.8rem;
}

.btn-plan:nth-child(1) {
  color: #fff;
  background-color: #0040dd;
}

.listing-info {
  display: inline-block;
  font-size: 1.6rem;
  color: #696c6e;
  padding: 1.8rem 0 0.4rem;
  border-bottom: 0.2rem dotted #ced4da;
  margin-bottom: 1.6rem;
}

.listing-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: #242639;
}

.divide-1 {
  font-size: 1.5rem;
  padding-bottom: 1.8rem;
  border-top: 0.2rem solid #ced4da;
  border-bottom: 0.2rem solid #ced4da;
}

.divide {
  font-size: 1.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 0.2rem solid #ced4da;
}

.prof-plan {
  position: relative;
}

.prof-plan::after {
  content: "Best Value";
  text-transform: uppercase;
  word-wrap: normal;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  border-radius: 0.4rem;
  background-color: #10a76f;
  padding: 0.8rem 1rem;
  position: absolute;
  top: -18%;
  left: 0;
}

.what-will-you-learn {
  color: #242639;
  padding: 7.2rem 0;
}

.learn-main--heading {
  text-transform: uppercase;
  font-size: 4.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: #242639;
  text-align: center;
  margin: 0 0 2rem;
}

.learn-text {
  font-size: 1.6rem;
  text-align: center;
}

.learn-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 2rem;
  padding: 4.8rem 0;
  border-top: 0.6rem solid #ced4da;
  border-bottom: 0.6rem solid #ced4da;
  margin: 5.6rem 0 0;
}

.learn-subtext {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 2.4rem;
}

.learn-subtext--descript {
  font-size: 1.6rem;
  font-weight: 300;
}

.levels-section {
  padding: 0 0 7.2rem;
}

.cards-heading {
  font-size: 2.4rem;
  font-weight: 500;
  color: #242639;
  margin: 0 0 3.2rem;
}

.levels-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.6rem;
}

.levels-card--text {
  color: #696c6e;
  background-color: #f5f5f5;
  border-radius: 0.8rem;
  padding: 2.4rem 1.6rem 1.6rem;
}

.feature-text,
.new-text,
.popular-text {
  display: inline-block;
  font-size: 1.4rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
}

.feature-text {
  color: #6b21a8;
  background-color: #f3e8ff;
}

.new-text {
  color: #007c4e;
  background-color: #d6fff0;
}

.popular-text {
  color: #0040dd;
  background-color: #dbeaff;
}

.card-title {
  font-size: 2rem;
  font-weight: 500;
  color: #242639;
  margin: 0 0 2.4rem;
}

.levels-card--descript {
  font-size: 1.4rem;
  color: #696c6e;
}

.why-talkhub--section {
  padding: 0 0 7.2rem;
}

.why-talkhub--heading {
  font-size: 2.4rem;
  font-weight: 500;
  color: #242639;
  margin: 0 0 3.2rem;
}

.why-talkhub--container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1.6rem;
}

.why-us--cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.6rem 0 2.4rem;
  background-color: #f5f5f5;
  border-radius: 0.8rem;
}

.why-us--text {
  font-size: 1.6rem;
  color: #242639;
  text-align: center;
  padding: 2.4rem 2.4rem 0;
}

/***************************/
/* CONTACT PAGE */
/***************************/

.contact-img {
  display: block;
  width: 100%;
  height: auto;
  padding: 2rem 0 0;
}

.form {
  width: 90%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 5.6rem 0;
}

.form-heading {
  font-size: 3.2rem;
  font-weight: 500;
}

.form-text {
  padding: 1.6rem 0 4.4rem;
}

.email-text {
  text-decoration: none;
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
}

.form-elemnt {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  font-size: 1.4rem;
}

.form-input {
  padding: 0.4rem;
  font-size: 1.2rem;
  width: 100%;
}

.form-textarea {
  padding: 0.4rem 0.6rem;
  font-size: 1.2rem;
  width: 100%;
  margin-bottom: 1.6rem;
}

.span-el {
  grid-column: span 2;
}

.btn-submit {
  padding: 0.8rem 1.6rem;
  font-size: 1.6rem;
  border: none;
  border-radius: 0.8rem;
  color: #fff;
  background-color: #0040dd;
  text-transform: capitalize;
}

.img-container {
  position: relative;
}

.text-centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.contact-text {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 300;
}

.contact-large--text {
  color: #fff;
  font-size: 6.4rem;
  font-weight: 400;
}

.underlined {
  text-decoration: underline;
}

.btn-more {
  display: inline-block;
  background-color: #0040dd;
  text-decoration: none;
  text-transform: capitalize;
  color: #fff;
  padding: 1.2rem 2.4rem;
  font-size: 1.2rem;
  border-radius: 10rem;
  margin-top: 3.2rem;
}
