/* --------------------------- RESET ------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Metropolis";
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: inherit;
}

ul {
  list-style: none;
  padding-left: 0;
}

body {
  background-color: black;
}

input[type="text"]:focus {
  outline: none;
}

/* -------------------- VARIABLES ----------------------------- */
:root {
  --primary-color: rgba(227, 30, 45, 1);
  --secondary-color: rgba(35, 44, 101, 1);
}

/* --------------------- UTILS ---------------------------- */

.primary-button {
  padding: 24px 100px;
  background-color: var(--secondary-color);
  width: fit-content;
  font-family: Metropolis;
  font-size: 14px;
  font-weight: 800;
  line-height: 14px;
  letter-spacing: -0.05em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--primary-color);
  text-transform: uppercase;
}

/* ------------------------ HEADER --------------------------- */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 200px;
  background-color: transparent;
  position: fixed;
  z-index: 1000;
  width: 100%;
}

.logo img {
  width: 169px;
  height: 113px;
  object-fit: contain;
}

.nav-links ul {
  display: flex;
  list-style: none;
}

.nav-links ul li {
  margin: 0 15px;
}

.nav-links ul li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 21.6px;
  letter-spacing: -0.05em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.nav-links ul li a.selected {
  color: rgba(227, 30, 45, 1);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Full screen height */
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%); /* Start off-screen */
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links ul {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .nav-links ul li {
    margin: 20px 0;
  }

  .nav-links ul li a {
    font-size: 1.5rem;
    color: #333;
  }

  .hamburger {
    /* display: flex; */
    z-index: 1000;
  }
}

@media (max-width: 1300px) {
  header {
    padding: 40px 100px;
  }
}

@media (max-width: 1100px) {
  .logo > img {
    width: 200px;
  }
}

@media (max-width: 960px) {
  header {
    padding: 40px 50px;
  }
}

@media (max-width: 768px) {
  .logo > img {
    height: 90px;
    width: auto;
  }
}

@media (max-width: 576px) {
  .logo > img {
    height: 90px;
    width: auto;
  }

  header {
    padding: 12px 25px;
  }
}

/* ---------------------------- MAIN ------------------------------ */
.main {
  background-image: url("/assets/images/home/main.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: end;
  flex-direction: column;
  padding: 0 200px;
  padding-bottom: 130px;
  position: relative;
}

.main > img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60%;
}

.main > h2 {
  font-family: Metropolis;
  font-size: 34px;
  font-weight: 600;
  line-height: 65px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 64px;
}

.main > h2 > span {
  color: var(--primary-color);
}

.main > h1 {
  font-family: Metropolis;
  font-size: 64px;
  font-weight: 800;
  line-height: 65px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: white;
  width: 50%;
  margin-bottom: 70px;
}

@media (max-width: 992px) {
  .main {
    padding: 0 100px;
    padding-bottom: 64px;
  }
}
@media (max-width: 768px) {
  .main {
    padding: 0 50px;
    padding-bottom: 64px;
  }

  /* .main > img {
    display: none;
  } */
}
@media (max-width: 576px) {
  .main {
    padding: 0 25px;
    justify-content: center;
  }

  .main > h2 {
    line-height: 30px;
    font-size: 20px;
    margin-bottom: 20px;
  }

  .main > h1 {
    font-size: 32px;
    width: 100%;
    line-height: 32px;
    margin-bottom: 40px;
  }

  .main > .primary-button {
    padding: 20px 40px;
  }

  .main > img {
    width: 100%;
  }
}

/* -------------------- ABOUT ------------------------------ */
.about {
  background-color: rgba(21, 21, 21, 1);
  padding-right: 200px;
  display: flex;
}

.about-image {
  width: 100%;
  background-image: url("/assets/images/home/about_image.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-data {
  padding: 68px 0;
  padding-left: 83px;
}

.about-data > h1 {
  font-family: Metropolis;
  font-size: 33px;
  font-weight: 800;
  line-height: 44px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: white;
  margin-bottom: 40px;
}

.about-data > h1 > span {
  color: var(--primary-color);
}

.about-data > p {
  font-family: Metropolis;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: rgba(194, 194, 194, 1);
}

@media (max-width: 992px) {
  .about {
    padding-right: 100px;
  }

  .about-data {
    padding-left: 20px;
  }

  .about-image {
    width: 200%;
  }
}
@media (max-width: 768px) {
  .about {
    padding-right: 50px;
  }
}
@media (max-width: 576px) {
  .about {
    display: block;
    position: relative;
    padding-right: 0;
  }

  .about-image {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
  }

  .about-data {
    position: relative;
    z-index: 2;
    background-color: rgba(21, 21, 21, 0.8);
    padding-left: 0;
    padding: 40px 25px;
  }

  .about-data > h1 {
    width: 100%;
    line-height: 33px;
    font-size: 28px;
    margin-bottom: 25px;
  }
}

/* ---------------------- COURSES ------------------------------- */
.courses-section {
  padding: 100px 200px;
}

.courses-heading {
  display: flex;
  align-items: center;
}

.courses-heading > * {
  flex: 1;
}

.courses-heading > h1 {
  color: white;
  font-family: Metropolis;
  font-size: 33px;
  font-weight: 800;
  line-height: 41px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.heading-divider {
  background: linear-gradient(
    270.35deg,
    rgba(21, 21, 21, 0) -9.65%,
    rgba(227, 30, 45, 0.14) 105.35%
  );
  height: 53px;
}

.courses {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 150px;
  margin-bottom: 100px;
}

.course {
  display: flex;
  gap: 70px;
}

.course.inverted {
  flex-direction: row-reverse;
}

.course > * {
  flex: 1;
}

.course-image {
  height: inherit;
  width: 100%;
  background-image: url("/assets/images/home/course_image_1.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.course-image-1 {
  background-image: url("/assets/images/home/course_image_1.png");
}

.course-image-2 {
  background-image: url("/assets/images/home/course_image_2.png");
}

.course-image-3 {
  background-image: url("/assets/images/home/course_image_3.png");
}

.course-image-4 {
  background-image: url("/assets/images/home/course_image_4.jpg");
}

.course-image-5 {
  background-image: url("/assets/images/home/course_image_5.png");
}

.course-image-6 {
  background-image: url("/assets/images/home/course_image_6.png");
}

.course-image-7 {
  background-image: url("/assets/images/home/course_image_7.png");
}

.course-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-details > h1 {
  font-family: Metropolis;
  font-size: 24px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.02em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--primary-color);
  margin-bottom: 60px;
}

.course-details > h1 > span {
  font-size: 32px;
  font-weight: 800;
}

.course-details > h2 {
  font-family: Metropolis;
  font-size: 20px;
  font-weight: 500;
  line-height: 27px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: rgba(248, 248, 248, 1);
  margin-bottom: 24px;
}

.course-details > p {
  font-family: Metropolis;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.02em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: rgba(194, 194, 194, 1);
  margin-bottom: 48px;
}

.course-details > .ideal {
  margin-bottom: 33px;
}

.course-details > .ideal > h3,
.course-details > .oppurtunity > h3 {
  font-family: Metropolis;
  font-size: 20px;
  font-weight: 800;
  line-height: 27px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--secondary-color);
}

.course-details > .ideal > p,
.course-details > .oppurtunity > p {
  font-family: Metropolis;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.02em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: rgba(194, 194, 194, 1);
}

@media (max-width: 992px) {
  .courses-section {
    padding: 100px;
    padding-bottom: 50px;
  }

  .course-details {
    flex: 2;
  }

  .course {
    gap: 35px;
  }

  .course-details > h1 {
    margin-bottom: 30px;
  }

  .course-details > p {
    margin-bottom: 24px;
  }

  .course-details {
    margin-bottom: 12px;
  }

  .course,
  .course.inverted {
    flex-direction: column;
  }

  .course .course-image,
  .course.inverted .course-image {
    height: 50vh;
    flex: auto;
  }

  .courses {
    gap: 75px;
  }
}
@media (max-width: 768px) {
  .courses-section {
    padding: 50px;
    padding-top: 100px;
  }

  .heading-divider {
    opacity: 0;
  }

  .courses {
    margin-top: 45px;
  }
}
@media (max-width: 576px) {
  .courses-section {
    padding: 25px;
    padding-top: 50px;
  }

  .courses-heading > h1 {
    width: 100%;
    line-height: 33px;
    font-size: 28px;
    margin-bottom: 25px;
    margin-bottom: 0;
  }

  .courses {
    gap: 45px;
  }

  .course-details > h1 {
    width: 100%;
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 10px;
  }

  .course-details > h2 {
    font-size: 20px;
  }
}

/* ------------------------ WHY US ------------------------------- */

.why-us {
  background-color: rgba(21, 21, 21, 1);
  display: flex;
  flex-direction: row;
  padding-left: 200px;
}

.why-us-details {
  flex: 6;
  margin-top: 90px;
  margin-bottom: 60px;
}

.why-us-details > h1 {
  font-family: Metropolis;
  font-size: 52px;
  font-weight: 800;
  line-height: 52px;
  letter-spacing: -0.02em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: white;
  margin-bottom: 24px;
}

.why-us-details > h1 > span {
 font-size: 32px;
}

.why-us-details > .data {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 70%;
}

.why-us-details > .data > p {
  font-family: Metropolis;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.02em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: rgba(194, 194, 194, 1);
}

.why-us-details > .data > p > span {
  color: var(--primary-color);
}

.why-us-details > .data > .divider {
  border: 1px solid rgba(218, 218, 218, 1);
}

.why-us-image {
  flex: 4;
  background-image: url("/assets/images/home/why_us_image.png");
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: -70px;
  margin-right: 50px;
}

@media (max-width: 992px) {
  .why-us {
    padding: 0 100px;
    position: relative;
  }

  .why-us-image {
    position: absolute;
    right: 0;
    width: 200px;
    height: 400px;
    background-size: contain;
    z-index: 1;
  }

  .why-us-details {
    position: relative;
    z-index: 2;
  }

  .why-us-details > .data {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .why-us {
    padding: 0 50px;
  }
}
@media (max-width: 576px) {
  .why-us {
    padding: 0 25px;
  }

  .why-us-image {
    display: none;
  }

  .why-us-details > h1 {
    width: 100%;
    line-height: 33px;
    font-size: 28px;
    margin-bottom: 25px;
  }

  .why-us-details {
    margin-top: 45px;
  }
}

/* ----------------------- CONTACT US ------------------------------ */
.contact-us {
  padding: 150px 200px;
  display: flex;
  flex-direction: row;
  gap: 50px;
}

.contact-us-details {
  flex: 4;
}

.contact-us-form {
  flex: 6;
}

.contact-us-details > h1 {
  font-family: Metropolis;
  font-size: 52px;
  font-weight: 800;
  line-height: 56px;
  letter-spacing: -0.02em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: white;
  margin-bottom: 20px;
}

.contact-us-details > p {
  font-family: Metropolis;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.02em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: rgba(194, 194, 194, 1);
  width: 70%;
  margin-bottom: 50px;
  width: 100%;
}

.contact-us-details > .primary-button {
  padding: 23px 43px;
}

.contact-us-form {
  padding: 50px 68px;
  border: 1px solid rgba(227, 30, 45, 1);
}

.contact-us-form > form {
  display: flex;
  flex-direction: column;
}

.contact-us-form input[type="text"] {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(218, 218, 218, 1);
  margin-bottom: 36px;
  padding-bottom: 18px;
  color: rgba(194, 194, 194, 1);
}

.contact-us-form input[type="submit"] {
  border: none;
  align-self: flex-end;
  padding: 23px 43px;
}

@media (max-width: 992px) {
  .contact-us {
    padding: 70px 100px;
    flex-direction: column;
    gap: 50px;
  }
}
@media (max-width: 768px) {
  .contact-us {
    padding: 50px;
  }
}
@media (max-width: 576px) {
  .contact-us {
    padding: 50px 25px;
  }

  .contact-us-details > h1 {
    width: 100%;
    line-height: 33px;
    font-size: 28px;
    margin-bottom: 25px;
  }

  .contact-us > p {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .contact-us-form {
    padding: 25px 25px;
    padding-top: 50px;
  }
}

/* ------------------------- FOOTER ---------------------------------- */

.footer {
  background-color: rgba(21, 21, 21, 1);
  display: flex;
}

.footer-data {
  padding: 25px 0 25px 200px;
  display: flex;
  flex-direction: column;
  flex: 6.5;
}

.footer-data > img {
  width: 241px;
  margin-bottom: 20px;
}

.footer-data > .divider {
  border: 0.8px solid rgba(218, 218, 218, 0.34);
}

.footer-data > .links {
  margin-top: 82px;
  display: flex;
  margin-bottom: 100px;
}

.footer-data > .links > * {
  flex: 1;
}

.footer-data > .links > .quick-links > h1,
.footer-data > .links > .address > h1,
.footer-data > .links > .contacts > h1 {
  font-family: Metropolis;
  font-size: 16px;
  font-weight: 800;
  line-height: 36px;
  letter-spacing: -0.02em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: white;
  margin-bottom: 12px;
}

.footer-data > .links > .address > p {
  font-family: Metropolis;
  font-size: 16px;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: -0.02em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: rgba(168, 168, 168, 1);
}

.footer-data > .links > .quick-links > ul,
.footer-data > .links > .contacts > ul {
  display: flex;
  flex-direction: column;
}

.footer-data > .links > .quick-links > ul > li > a,
.footer-data > .links > .contacts > ul > li > a {
  font-family: Metropolis;
  font-size: 16px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.02em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: rgba(168, 168, 168, 1);
}

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.copyright > ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  display: none;
}

.copyright > p {
  font-family: Metropolis;
  font-size: 16px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.02em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--primary-color);
}

.footer-socials {
  flex: 3.5;
  background-image: url("/assets/images/common/footer_socials.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: end;
  padding-bottom: 32px;
  padding-left: 32px;
}

.footer-socials > ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

@media (max-width: 992px) {
  .footer-data {
    padding-left: 100px;
    padding-right: 100px;
  }

  .footer-socials {
    display: none;
  }

  .copyright > ul {
    display: flex;
  }
}
@media (max-width: 768px) {
  .footer-data > img {
    width: 150px;
  }

  .footer-data {
    padding-left: 50px;
    padding-right: 50px;
  }

  .footer-data > .links > .quick-links > ul > li > a,
  .footer-data > .links > .contacts > ul,
  .footer-data > .links > .address > p {
    font-size: 14px;
  }

  .copyright > p {
    font-size: 14px;
  }
}
@media (max-width: 576px) {
  .footer-data {
    padding-left: 25px;
    padding-right: 25px;
  }

  .footer-data > .links {
    margin-top: 25px;
    margin-bottom: 25px;
    flex-direction: column;
    gap: 25px;
  }

  .footer-data > .links > .quick-links > h1,
  .footer-data > .links > .address > h1,
  .footer-data > .links > .contacts > h1 {
    margin-bottom: 20px;
    line-height: 0;
  }

  .footer-data > .links > .quick-links > ul > li > a,
  .footer-data > .links > .contacts > ul > li > a {
    line-height: 25px;
  }

  .copyright {
    flex-direction: column-reverse;
    margin-top: 20px;
    gap: 10px;
  }

  .copyright > p {
    align-self: flex-start;
  }
}
