* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}
h2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;

  @media (max-width: 991px) {
    font-size: 34px;
  }

  @media (max-width: 768px) {
    font-size: 30px;
  }

  @media (max-width: 576px) {
    font-size: 26px;
  }

  @media (max-width: 420px) {
    font-size: 22px;
  }
}
p {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1;
  opacity: 0.6;
  @media (max-width: 420px) {
    font-size: 16px;
  }
}
h3 {
  font-size: 20px;
  font-weight: 700;
  @media (max-width: 420px) {
    font-size: 18px;
  }
}
:root {
  --primary-color: #141e42;
  --secondary-color: #f8cc6d;
  --white-color: #fff;
  --black-color: #000;
}
.Primary_button {
  button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    &:hover {
      background-color: var(--primary-color);
      color: var(--secondary-color);
    }
  }
}
/* HEADER */
header {
  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;

  .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo img {
    width: 200px;
  }

  /* -------- MENU -------- */
  .menu {
    ul {
      display: flex;
      align-items: center;
      list-style: none;
      gap: 20px;

      li a {
        text-decoration: none;
        color: var(--white-color);
        font-size: 16px;
        font-weight: 500;
        transition: 0.3s;
        &:hover {
          color: var(--primary-color);
        }
      }
    }
  }

  /* -------- BUTTON STYLES -------- */
  .Primary_button button {
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  /* Hide mobile button in desktop */
  .mobile-btn {
    display: none;
  }

  /* -------- TOGGLE BUTTON -------- */
  .menu-toggle {
    width: 28px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    span {
      display: block;
      height: 3px;
      width: 100%;
      background: var(--white-color);
      border-radius: 2px;
      transition: 0.4s ease;
    }
  }

  /* -------- RESPONSIVE -------- */
  @media (max-width: 768px) {
    .menu-toggle {
      display: flex;
      position: relative;
      z-index: 99999;
    }

    .menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background: #0b1033;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: right 0.4s ease;
      ul {
        flex-direction: column;
        gap: 25px;
        li a {
          font-size: 18px;
          color: #fff;
        }
      }

      .mobile-btn {
        display: block;
        margin-top: 25px;
      }
    }

    .menu.active {
      right: 0;
    }

    .desktop-btn {
      display: none;
    }

    /* Animate Toggle to X */
    .menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -7px);
    }
  }

  @media (max-width: 480px) {
    .logo img {
      width: 180px;
    }
  }
}
.popup_form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  &.active {
    display: flex;
  }

  .popup_content {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);

    h3 {
      text-align: center;
      margin-bottom: 25px;
      font-weight: 700;
      font-size: 20px;
    }

    .close_btn {
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 26px;
      cursor: pointer;
      color: #555;
      transition: 0.3s;

      &:hover {
        color: var(--primary-color);
      }
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 15px;

      input {
        padding: 14px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 14px;
        width: 100%;
        transition: 0.3s;

        &:focus {
          border-color: var(--primary-color);
          outline: none;
        }
      }

      button {
        background-color: var(--primary-color);
        color: var(--white-color);
        border: none;
        padding: 12px;
        border-radius: 8px;
        cursor: pointer;
        transition: 0.3s;
        font-size: 15px;
        font-weight: 500;

        &:hover {
          background-color: var(--secondary-color);
          color: var(--primary-color);
        }
      }
    }
  }
}

/* END HEADER */
/* Banner */
.banner {
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: end;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.6) 100%
    );
  }

  .banner_content {
    display: flex;
    align-items: end;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 45px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;

    h1 {
      font-size: 50px;
      font-weight: 600;
      color: var(--white-color);
      width: 50%;
      line-height: 62px;
    }

    p {
      font-size: 16px;
      font-weight: 400;
      color: var(--white-color);
      opacity: 0.8;
      letter-spacing: 1px;
      width: 27%;
    }

    .Buttons {
      display: flex;
      flex-flow: column;
      gap: 10px;

      .Primary_button {
        button {
          width: 135px;
          padding: 10px 0;
          border: none;
          border-radius: 50px;
          background-color: var(--primary-color);
          color: var(--white-color);
          cursor: pointer;
          font-weight: 500;
          transition: 0.3s ease;
          &:hover {
            background-color: var(--white-color);
            color: var(--primary-color);
          }
        }

        &:last-child {
          button {
            background-color: var(--white-color);
            color: var(--primary-color);
            &:hover {
              background-color: var(--primary-color);
              color: var(--white-color);
            }
          }
        }
      }
    }
  }

  /* Responsive Styles */
  @media (max-width: 1200px) {
    .banner_content {
      h1 {
        font-size: 42px;
        width: 60%;
        line-height: 56px;
      }
      p {
        width: 30%;
      }
    }
  }

  @media (max-width: 992px) {
    height: 100vh;
    .banner_content {
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;

      h1 {
        width: 100%;
        font-size: 38px;
        line-height: 50px;
      }
      p {
        width: 100%;
        font-size: 15px;
      }
      .Buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
      }
    }
  }

  @media (max-width: 768px) {
    height: 70vh;
    padding: 80px 0 60px;
    background-position: calc(50% + 50px) center;

    .banner_content {
      text-align: left;

      h1 {
        font-size: 32px;
        line-height: 44px;
      }
      p {
        font-size: 14px;
        line-height: 22px;
      }
      .Buttons {
        flex-direction: column;
        button {
          width: 100%;
        }
      }
    }
  }

  @media (max-width: 480px) {
    height: 100vh;
    background-position: calc(50% + -191px) center;
    .banner_content {
      margin-bottom: 0;
      h1 {
        font-size: 26px;
        line-height: 36px;
      }
      p {
        font-size: 13px;
      }
      .Buttons {
        flex-flow: row;
        gap: 5px;
        button {
          font-size: 14px;
        }
      }
    }
  }
}

/* END Banner */
.upgrade_feature {
  padding: 70px 0;
  background-color: var(--primary-color);

  ul {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;

    li {
      width: calc(25% - 18px);
      list-style: none;
      background-color: var(--white-color);
      padding: 28px;
      border-radius: 10px;
      height: 240px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;

      &:first-child {
        background-color: transparent;
        padding: 0;
        height: auto;
        width: calc(25% - 18px);
        display: flex;
        flex-direction: column;
        justify-content: center;

        h2 {
          color: var(--white-color);
          line-height: 40px;
        }

        p {
          color: var(--white-color);
          opacity: 0.8;
          margin-top: 10px;
          font-size: 15px;
          line-height: 24px;
        }
      }

      i {
        background-color: var(--primary-color);
        color: var(--secondary-color);
        padding: 10px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 25px;
      }

      h3 {
        margin: 12px 0 8px;
        font-size: 18px;
        color: var(--primary-color);
      }

      p {
        color: var(--primary-color);
        opacity: 0.8;
        font-size: 15px;
        line-height: 22px;
      }
    }
  }

  /* Responsive Styles */
  @media (max-width: 1200px) {
    ul li {
      width: calc(50% - 12px);
      height: auto;

      &:first-child {
        width: 100%;
        margin-bottom: 30px;
      }
    }
  }

  @media (max-width: 768px) {
    padding: 50px 0;

    ul {
      flex-direction: column;
      gap: 20px;
      align-items: stretch;

      li {
        width: 100%;
        height: auto;
        text-align: left;

        &:first-child {
          h2 {
            line-height: 36px;
            text-align: left;
          }
          p {
            font-size: 14px;
            line-height: 22px;
            text-align: left;
          }
        }

        h3 {
          font-size: 17px;
        }

        p {
          font-size: 14px;
        }
      }
    }
  }

  @media (max-width: 480px) {
    ul li {
      i {
        width: 45px;
        height: 45px;
        font-size: 22px;
      }
      h3 {
        font-size: 16px;
      }
      p {
        font-size: 13px;
      }
    }
  }
}

/* END Upgrade feature */
/* WHO WE ARE */
/* WHO WE ARE */
.who_weare {
  padding: 70px 0;

  .row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;

    .Image_Block {
      width: calc(50% - 12px);

      img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        object-fit: cover;
      }
    }

    .Content_Block {
      width: calc(50% - 12px);
      padding-left: 60px;
      max-width: 550px;

      h3 {
        font-weight: 500;
        position: relative;
        padding-left: 90px;
        font-size: 18px;
        color: var(--primary-color);

        &::before {
          content: "";
          position: absolute;
          top: 50%;
          left: 0;
          width: 75px;
          height: 6px;
          border-radius: 5px;
          transform: translateY(-50%);
          background-color: var(--secondary-color);
        }
      }

      h2 {
        margin: 13px 0;
        line-height: 42px;
        color: var(--primary-color);
      }

      p {
        opacity: 0.8;
        font-size: 15px;
        line-height: 24px;
        color: var(--primary-color);
      }
    }
  }

  /* Responsive Breakpoints */

  @media (max-width: 1200px) {
    .row {
      .Content_Block {
        padding-left: 40px;

        h2 {
          line-height: 38px;
        }
      }
    }
  }

  @media (max-width: 992px) {
    .row {
      flex-direction: column;
      align-items: center;
      text-align: center;

      .Image_Block,
      .Content_Block {
        width: 100%;
        padding-left: 0;
      }

      .Content_Block {
        margin-top: 30px;
        max-width: 100%;
        h3 {
          padding-left: 0;
          font-size: 17px;
          &::before {
            display: none;
          }
        }

        h2 {
          line-height: 36px;
          margin: 10px 0;
        }

        p {
          font-size: 14px;
          line-height: 22px;
        }
      }
    }
  }

  @media (max-width: 576px) {
    padding: 50px 0;

    .row {
      gap: 16px;

      .Image_Block img {
        border-radius: 15px;
      }

      .Content_Block {
        h2 {
          line-height: 30px;
        }

        p {
          font-size: 13px;
        }
      }
    }
  }
}

/* END WHO WE ARE */
/* COURSES HOME */
.courses_home {
  background-color: #f3f6ff;
  padding: 70px 0;

  .Top_titles {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;

    .Title_Block {
      width: 40%;

      h3 {
        font-weight: 500;
        position: relative;
        padding-left: 90px;
        font-size: 18px;
        color: var(--primary-color);

        &::before {
          content: "";
          position: absolute;
          top: 50%;
          left: 0;
          width: 75px;
          height: 6px;
          border-radius: 5px;
          transform: translateY(-50%);
          background-color: var(--secondary-color);
        }
      }

      h2 {
        margin: 13px 0;
        line-height: 42px;
        color: var(--primary-color);
      }
    }

    p {
      opacity: 0.8;
      width: 35%;
      font-size: 15px;
      line-height: 24px;
      color: var(--primary-color);
    }

    .Buttons {
      .Primary_button {
        button {
          background-color: var(--primary-color);
          color: var(--white-color);
          padding: 10px 20px;
          border-radius: 50px;
          transition: 0.3s ease;
          border: none;
          cursor: pointer;
          font-weight: 500;

          &:hover {
            background-color: var(--secondary-color);
            color: var(--primary-color);
          }
        }
      }
    }
  }

  /* ✅ RESPONSIVE STYLES */

  @media (max-width: 1200px) {
    .Top_titles {
      .Title_Block {
        width: 45%;
      }

      p {
        width: 45%;
      }
    }
  }

  @media (max-width: 992px) {
    .Top_titles {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px;

      .Title_Block {
        width: 100%;
        h3 {
          padding-left: 0;
          &::before {
            display: none;
          }
        }
        h2 {
          line-height: 38px;
        }
      }

      p {
        width: 100%;
        font-size: 14px;
      }

      .Buttons {
        margin-top: 10px;
      }
    }
  }

  @media (max-width: 768px) {
    padding: 50px 0;
  }

  @media (max-width: 480px) {
    .Top_titles {
      gap: 5px;
      h2 {
        line-height: 30px;
        margin: 10px 0;
      }

      p {
        font-size: 13px;
      }

      .Buttons button {
        width: 100%;
        font-size: 14px;
      }
    }
  }
}
/* COURSE LISTING */
.courses_list {
  display: flex;
  gap: 24px;
  flex-flow: row wrap;
  margin-top: 24px;
  @media (max-width: 550px) {
    margin-top: 0;
  }

  li {
    width: calc(33.33% - 16px);
    padding: 17px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    list-style: none;
    background-color: #fff;
    @media (max-width: 992px) {
      width: calc(50% - 12px);
    }
    @media (max-width: 550px) {
      width: 100%;
    }
    .Image_Block {
      position: relative;

      img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
      }

      span {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: var(--secondary-color);
        color: var(--primary-color);
        padding: 5px 10px;
        border-radius: 40px;
        font-size: 12px;
        font-weight: 500;
      }
    }

    .Content_Block {
      margin-top: 10px;

      h3 {
        margin-bottom: 8px;
        font-size: 16px;
        line-height: 22px;
        color: var(--primary-color);
        @media (max-width: 550px) {
          font-size: 16px;
        }
      }

      .Primary_button {
        button {
          background-color: var(--primary-color);
          color: var(--white-color);
          padding: 8px 15px;
          transition: all 0.3s ease;
          font-size: 12px;
          border-radius: 50px;
          border: none;
          cursor: pointer;

          &:hover {
            background-color: var(--secondary-color);
            color: var(--primary-color);
          }
        }
      }
    }

    @media (max-width: 768px) {
      li {
        width: calc(50% - 12px);
      }
      gap: 20px;
    }
    @media (max-width: 480px) {
      li {
        h3 {
          font-size: 15px;
        }

        .Primary_button button {
          font-size: 13px;
        }
      }
    }
  }
}
/* END COURSES HOME */
/* WHY FREEDOME EDU */
.why_freedomeedu {
  padding: 70px 0;

  .Title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;

    h3 {
      font-weight: 500;
      position: relative;
      display: inline-block;
      padding-bottom: 20px;

      &::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 75px;
        height: 6px;
        border-radius: 5px;
        transform: translateX(-50%);
        background-color: var(--secondary-color);
      }
    }

    h2 {
      margin-top: 18px;
      line-height: 1.4;
    }
  }

  ul {
    display: flex;
    gap: 24px;
    flex-flow: row wrap;
    justify-content: center;
    margin-top: 40px;

    li {
      list-style: none;
      width: calc(33.33% - 16px);
      padding: 40px 30px;
      border-radius: 12px;
      border: 1px solid rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      text-align: left;
      background: #fff;

      i {
        font-size: 45px;
        margin-bottom: 23px;
        display: inline-block;
        color: var(--primary-color);
      }

      h3 {
        margin: 12px 0 10px;
        font-weight: 600;
      }

      p {
        opacity: 0.8;
        line-height: 1.6;
      }

      &:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      }
    }
  }

  /* Responsive */
  @media (max-width: 991px) {
    ul li {
      width: calc(50% - 12px);
      &:nth-child(3) {
        width: 100%;
      }
    }
  }

  @media (max-width: 600px) {
    padding: 40px 0;
    .Title {
      margin: 0 auto 0px;
    }
    ul li {
      width: 100%;
      padding: 30px 22px;
      i {
        margin-bottom: 10px;
      }
    }
  }
}

/* CALL TO ACTION */
.call_to_action {
  padding: 70px 0;

  .container {
    position: relative;
  }

  .Flex {
    background-color: #fdf0d3;
    padding: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    @media (max-width: 991px) {
      overflow: hidden;
    }

    .Content_Block {
      width: 50%;
      z-index: 2;

      h2 {
        font-weight: 600;
        margin-bottom: 10px;
        line-height: 1.3;
      }

      p {
        opacity: 0.8;
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.6;
      }

      .Primary_button {
        button {
          background-color: var(--primary-color);
          color: var(--white-color);
          padding: 10px 20px;
          transition: all 0.3s ease;
          font-size: 14px;
          border-radius: 50px;
          font-weight: 500;

          &:hover {
            background-color: var(--secondary-color);
            color: var(--primary-color);
          }
        }
      }
    }

    .Image_Block {
      position: absolute;
      bottom: 0;
      right: -50px;
      z-index: 1;

      img {
        width: 550px;
        max-width: 100%;
        height: auto;
        display: block;
      }
    }
  }

  /* RESPONSIVE STYLES */
  @media (max-width: 991px) {
    .Flex {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 50px;
    }

    .Content_Block {
      width: 100%;
      margin-bottom: 40px;
    }

    .Image_Block {
      position: relative;
      right: 0;
      bottom: 0;
      img {
        width: 420px;
        margin: 0 auto;
      }
    }
  }

  @media (max-width: 768px) {
    .Flex {
      padding: 40px 25px;
      height: 650px;
    }
    .Content_Block {
      width: 70% !important;
    }

    .Image_Block {
      right: auto;
      left: 50%;
      transform: translateX(-50%);
      width: 500px;
      img {
        width: 500px;
      }
    }
  }

  @media (max-width: 576px) {
    padding: 40px 0;
    .Flex {
      padding: 40px 25px;
      height: 550px;
    }
    .Content_Block {
      width: 100% !important;
    }
    .Image_Block {
      width: 340px;
      img {
        width: 340px;
      }
    }
  }
}

/* FOOTER */
footer {
  padding: 70px 0;
  background-color: var(--primary-color);

  .Flex {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    justify-content: space-between;
    flex-wrap: wrap;

    li {
      width: calc(25% - 18px);
      list-style: none;

      h3 {
        margin-bottom: 10px;
        color: var(--white-color);
        font-weight: 700;
        font-size: 22px;
      }

      ul {
        li {
          width: 100%;
          padding: 5px 0;
          transition: all 0.3s ease;

          &:hover {
            transform: translateX(5px);

            a {
              color: var(--secondary-color);
            }
          }

          a {
            text-decoration: none;
            color: var(--white-color);
            opacity: 0.8;

            i {
              font-size: 20px;
            }
          }
        }
      }

      p {
        color: var(--white-color);
        opacity: 0.8;
        margin-top: 25px;
        font-size: 16px;
        line-height: 1.6;
      }
    }

    .social_links {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;

      li {
        width: auto;

        i {
          color: var(--primary-color);
          font-size: 16px;
          width: 30px;
          height: 30px;
          border-radius: 50%;
          background-color: var(--white-color);
          display: flex;
          align-items: center;
          justify-content: center;
          transition: all 0.3s ease;

          &:hover {
            background-color: var(--secondary-color);
            color: var(--primary-color);
          }
        }
      }
    }

    .contact_info {
      li {
        a {
          color: var(--white-color);
          opacity: 0.8;
          display: flex;
          align-items: center;
          gap: 10px;

          i {
            font-size: 20px;
            color: var(--secondary-color);
          }
        }
      }
    }
  }

  /* Responsive Styles */
  @media (max-width: 992px) {
    .Flex {
      flex-wrap: wrap;

      li {
        width: calc(50% - 12px);
      }
    }
  }

  @media (max-width: 768px) {
    padding: 50px 0;

    .Flex {
      flex-direction: column;
      align-items: flex-start;
      gap: 30px;

      li {
        width: 100%;

        h3 {
          font-size: 20px;
        }

        p {
          font-size: 15px;
        }
      }
    }
  }

  @media (max-width: 480px) {
    padding: 40px 0;

    .Flex {
      gap: 25px;

      li {
        h3 {
          font-size: 18px;
        }

        p {
          font-size: 14px;
        }

        ul li a {
          font-size: 14px;
        }
      }
    }

    .social_links {
      justify-content: flex-start;

      li i {
        width: 28px;
        height: 28px;
        font-size: 14px;
      }
    }
  }
}

.copyright {
  background-color: var(--primary-color);
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 10px;

    p {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 16px;
      color: var(--white-color);
      opacity: 0.8;
      margin: 0;

      img {
        width: 100px;
        height: auto;
      }
    }

    ul {
      display: flex;
      align-items: center;
      gap: 15px;

      li {
        list-style: none;

        a {
          text-decoration: none;
          color: var(--white-color);
          opacity: 0.8;
          font-size: 15px;
          transition: all 0.3s ease;

          &:hover {
            color: var(--secondary-color);
            opacity: 1;
          }
        }
      }
    }
  }

  /* Responsive Styles */
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 12px;

      p {
        font-size: 15px;
        gap: 6px;

        img {
          width: 80px;
        }
      }

      ul {
        gap: 10px;

        li a {
          font-size: 14px;
        }
      }
    }
  }

  @media (max-width: 480px) {
    .container {
      padding: 12px 0;

      p {
        font-size: 14px;
      }

      ul {
        gap: 8px;

        li a {
          font-size: 13px;
        }
      }
    }
  }
}

/* ============================ */
/* ABOUT */
/* ============================ */
.inner_banner {
  padding: 70px 0;
  height: 50vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  h3 {
    font-size: 18px;
    font-weight: 400;
    color: var(--white-color);
    margin-bottom: 8px;
  }

  h1 {
    font-size: 38px;
    color: var(--white-color);
    font-weight: 500;
  }

  @media (max-width: 1024px) {
    padding: 60px 0;
    h1 {
      font-size: 32px;
    }
    h3 {
      font-size: 16px;
    }
  }

  @media (max-width: 767px) {
    padding: 50px 0;
    aspect-ratio: auto;
    h1 {
      font-size: 26px;
      line-height: 1.3;
    }
    h3 {
      font-size: 14px;
    }
  }

  @media (max-width: 480px) {
    padding: 40px 0;
    h1 {
      font-size: 22px;
    }
    h3 {
      font-size: 13px;
    }
  }
}

.detailsPage {
  height: 50vh;
}
.AboutUs {
  & .row {
    .Content_Block {
      max-width: 100%;
      p {
        margin: 16px 0;
        opacity: 0.6;
      }
    }
  }
}
.mission_vision {
  background-color: var(--primary-color);
  padding: 70px 0;

  h2 {
    color: var(--white-color);
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
  }

  .Flex {
    margin-top: 30px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: flex-start;

    .Tabs {
      width: calc(25% - 16px);

      ul {
        list-style: none;

        li {
          cursor: pointer;
          padding: 10px 20px;
          color: var(--white-color);
          font-weight: 500;
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 8px;
          font-size: 22px;
          border: 1px solid var(--white-color);
          border-radius: 50px;
          margin: 14px 0;
          transition: color 0.3s ease, background-color 0.3s ease;

          &.active {
            color: var(--primary-color);
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
          }
        }
      }
    }

    .Content_Block {
      width: calc(40% - 16px);
      position: relative;
      min-height: 220px;

      .tab-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;

        &.active {
          opacity: 1;
          visibility: visible;
          transform: translateY(0);
        }

        p {
          color: var(--white-color);
          margin-bottom: 15px;
        }

        ul {
          li {
            color: var(--white-color);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;

            i {
              color: var(--secondary-color);
            }
          }
        }
      }
    }

    .Image_Block {
      width: calc(35% - 16px);
      margin-top: -20px;

      img {
        width: 100%;
        border-radius: 12px;
      }
    }
  }

  /* ✅ Tablet (max-width: 1024px) */
  @media (max-width: 1024px) {
    padding: 60px 0;

    .Flex {
      flex-direction: column;
      align-items: center;
      text-align: center;

      .Tabs {
        width: 100%;
        ul {
          display: flex;
          justify-content: center;
          flex-wrap: wrap;
          gap: 10px;

          li {
            width: auto;
            font-size: 18px;
            padding: 8px 18px;
          }
        }
      }

      .Content_Block {
        width: 100%;
        min-height: auto;
        margin-top: 20px;
        .tab-content {
          position: relative;
          opacity: 1;
          visibility: visible;
          transform: none;
          display: none;

          &.active {
            display: block;
          }
        }
      }

      .Image_Block {
        width: 80%;
        margin-top: 20px;
      }
    }
  }

  /* ✅ Mobile (max-width: 767px) */
  @media (max-width: 767px) {
    padding: 50px 0;

    h2 {
      font-size: 22px;
      line-height: 1.4;
      padding: 0 10px;
    }

    .Flex {
      .Tabs {
        ul li {
          font-size: 16px;
          padding: 6px 14px;
        }
      }

      .Image_Block {
        width: 100%;
      }
    }
  }

  /* ✅ Small Mobile (max-width: 480px) */
  @media (max-width: 480px) {
    padding: 40px 0;

    h2 {
      font-size: 20px;
    }

    .Flex {
      .Tabs ul li {
        font-size: 14px;
        padding: 6px 12px;
      }
    }
  }
}

.about_features {
  padding: 70px 0;

  ul {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;

    li {
      list-style: none;
      width: calc(33.33% - 16px);
      padding: 40px;
      border-radius: 12px;
      border: 1px solid rgba(0, 0, 0, 0.2);
      height: 310px;
      text-align: left;
      background-color: var(--white-color);
      transition: all 0.3s ease;

      i {
        font-size: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--primary-color);
        color: var(--secondary-color);
        width: 65px;
        height: 65px;
        border-radius: 50%;
        margin-bottom: 23px;
      }

      h3 {
        margin-bottom: 10px;
        font-size: 22px;
        font-weight: 600;
      }

      p {
        opacity: 0.7;
        font-size: 15px;
        line-height: 1.6;
      }

      &:hover {
        background-color: var(--primary-color);
        color: var(--white-color);

        i {
          background-color: var(--secondary-color);
          color: var(--primary-color);
        }

        p {
          opacity: 1;
        }
      }
    }
  }

  /* ✅ Tablet (max-width: 1024px) */
  @media (max-width: 1024px) {
    padding: 60px 0;

    ul li {
      width: calc(50% - 12px);
      height: auto;
      padding: 30px 25px;

      h3 {
        font-size: 20px;
      }

      p {
        font-size: 14px;
      }
    }
  }

  /* ✅ Mobile (max-width: 767px) */
  @media (max-width: 767px) {
    padding: 50px 0;

    ul {
      gap: 18px;
    }

    ul li {
      width: 100%;
      padding: 25px 20px;
      height: auto;

      i {
        width: 55px;
        height: 55px;
        font-size: 28px;
        margin-bottom: 18px;
      }

      h3 {
        font-size: 18px;
        margin-bottom: 8px;
      }

      p {
        font-size: 14px;
        line-height: 1.5;
      }
    }
  }

  /* ✅ Small Mobile (max-width: 480px) */
  @media (max-width: 480px) {
    padding: 40px 0;

    ul li {
      padding: 20px;
      h3 {
        font-size: 17px;
      }

      i {
        width: 50px;
        height: 50px;
        font-size: 24px;
      }

      p {
        font-size: 13px;
      }
    }
  }
}

.study_section {
  padding: 80px 0;

  @media (max-width: 480px) {
    padding: 40px 0;
  }
  .container {
    @media (max-width: 991px) {
      display: flex;
      align-items: start;
      justify-content: start;
      flex-flow: row wrap;
      gap: 24px;
    }
  }

  .study_block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background-color: #2a1b45;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
    color: #fff;
    transition: all 0.3s ease;

    .text_block {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 250px;

      h3 {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 20px;
        line-height: 1.3;
      }

      p {
        font-size: 16px;
        line-height: 1.6;
        opacity: 0.85;
      }
    }

    .image_block {
      flex: 1;
      img {
        width: 100%;
        border-radius: 12px;
        object-fit: cover;
      }
    }

    /* ✅ Tablet */
    @media (max-width: 1024px) {
      gap: 30px;
      padding: 35px;

      .text_block {
        h3 {
          font-size: 24px;
        }

        p {
          font-size: 15px;
        }
      }
    }

    /* ✅ Mobile (up to 991px) */
    @media (max-width: 991px) {
      width: calc(50% - 12px);
      flex-direction: column;
      text-align: center;
      gap: 10px;
      padding: 21px;
      margin-bottom: 0;
      height: 485px;
      flex-flow: column-reverse;

      &.reverse {
        flex-direction: column;
      }

      .text_block {
        height: auto;
        h3 {
          font-size: 22px;
          margin-bottom: 15px;
        }

        p {
          font-size: 14px;
          line-height: 1.5;
        }
      }

      .image_block {
        width: 100%;
        img {
          width: 100%;
          height: 100%;
        }
      }
    }

    /* ✅ Small Mobile (up to 575px) */
    @media (max-width: 575px) {
      width: 100%;
      padding: 25px 20px;
      gap: 20px;
      margin-bottom: 40px;
      height: 450px;

      .text_block {
        h3 {
          font-size: 20px;
        }

        p {
          font-size: 13.5px;
        }
      }

      .image_block img {
        border-radius: 10px;
      }
    }
  }
}

/* listingAllCourse */
.listingAllCourse {
  padding: 70px 0;
  @media (max-width: 767px) {
    padding: 50px 0;
  }
  @media (max-width: 480px) {
    padding: 40px 0;
  }
}
/* course details */
.CourseDetails {
  padding: 70px 0;

  .Row {
    display: flex;
    align-items: start;
    gap: 24px;
    flex-flow: row wrap;

    .leftBlock {
      width: calc(70% - 12px);
      background-color: #f9f9f9;
      padding: 45px;
      border-radius: 18px;

      ul {
        margin-left: 20px;
        li {
          opacity: 0.6;
          margin: 8px 0;
        }
      }

      h3 {
        margin-bottom: 18px;
        margin-top: 25px;
      }

      h2 {
        margin-bottom: 15px;
        font-size: 33px;
        font-weight: 500;
      }
    }

    .rightBlock {
      width: calc(30% - 12px);
      background-color: #f9f9f9;
      padding: 45px;
      border-radius: 18px;
      position: relative;

      .Badge {
        background-color: var(--primary-color);
        color: var(--white-color);
        padding: 5px 25px;
        border-radius: 0px 20px 20px 0px;
        display: inline-block;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100px;
      }

      h2 {
        margin-top: 70px;
        font-size: 35px;

        span {
          font-size: 16px;
          font-weight: 400;
        }
      }

      p {
        margin: 10px 0;
        opacity: 0.6;
      }

      h3 {
        margin: 15px 0;
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 500;

        .line {
          width: 80px;
          height: 6px;
          background-color: var(--secondary-color);
          border-radius: 8px;
        }
      }

      ul {
        margin-left: 20px;
        margin-bottom: 15px;

        li {
          margin: 10px 0;
          font-size: 16px;
          opacity: 0.6;
        }
      }

      .Buttons {
        button {
          width: 100%;
          margin: 2px 0;
          padding: 10px 20px;
          border: none;
          border-radius: 8px;
          font-weight: 500;
          font-size: 17px;
        }

        .btn.yellow {
          background-color: var(--secondary-color);
          color: var(--primary-color);
        }

        .btn.dark {
          background-color: var(--primary-color);
          color: var(--white-color);
        }

        a {
          text-decoration: none;
          color: var(--primary-color);
        }
      }
    }
  }

  /* ---------------- RESPONSIVE STYLES ---------------- */

  @media (max-width: 1024px) {
    padding: 50px 0;

    .Row {
      gap: 20px;

      .leftBlock {
        width: calc(65% - 10px);
        padding: 35px;

        h2 {
          font-size: 28px;
        }
      }

      .rightBlock {
        width: calc(35% - 10px);
        padding: 35px;

        h2 {
          font-size: 28px;
        }
      }
    }
  }

  @media (max-width: 768px) {
    .Row {
      flex-direction: column;

      .leftBlock,
      .rightBlock {
        width: 100%;
        padding: 30px;
      }

      .rightBlock {
        margin-top: 20px;

        .Badge {
          top: 30px;
          width: auto;
          padding: 5px 20px;
        }

        h2 {
          margin-top: 60px;
          font-size: 28px;

          span {
            font-size: 14px;
          }
        }

        .Buttons {
          display: flex;
          flex-direction: column;
          gap: 10px;

          button {
            font-size: 16px;
            padding: 10px;
          }
        }
      }
    }
  }

  @media (max-width: 480px) {
    padding: 40px 0;

    .Row {
      .leftBlock,
      .rightBlock {
        padding: 20px;
      }

      .leftBlock {
        h2 {
          font-size: 24px;
        }

        h3 {
          font-size: 18px;
        }
      }

      .rightBlock {
        h2 {
          font-size: 24px;
        }

        ul li {
          font-size: 15px;
        }
      }
    }
  }
}

/* Popup */
.popup-overlay {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
  h3 {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 10px;
    text-align: center;
  }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;

  label {
    font-weight: 600;
  }

  input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
  }

  .submit-btn {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
  }
}
/* CONTACT US */
.contact-section {
  padding: 60px 0;
  background: #fff;

  .contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }

  .contact-form {
    flex: 1 1 60%;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 0 0 1px #eee;

    h2 {
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 24px;
    }

    .form-row {
      display: flex;
      gap: 20px;
      .form-group {
        flex: 1;
      }
    }

    .form-group {
      display: flex;
      flex-direction: column;
      margin-bottom: 20px;

      label {
        font-size: 14px;
        margin-bottom: 8px;
        font-weight: 500;
      }

      input,
      textarea {
        width: 100%;
        padding: 14px 16px;
        border-radius: 8px;
        border: 1px solid #ddd;
        font-size: 14px;
        outline: none;
        transition: all 0.3s ease;

        &:focus {
          border-color: #222;
        }
      }

      textarea {
        min-height: 120px;
        resize: none;
      }
    }

    .btn-submit {
      background: #f7c24c;
      color: #000;
      border: none;
      padding: 12px 32px;
      border-radius: 30px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.3s ease;
      &:hover {
        background: #f5b733;
      }
    }
  }

  .contact-info {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    gap: 24px;

    .get-in-touch,
    .find-us {
      background: #fff;
      border-radius: 12px;
      padding: 32px;
      box-shadow: 0 0 0 1px #eee;
    }

    h2 {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 24px;
    }

    .info-item {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 20px;

      .icon {
        width: 44px;
        height: 44px;
        background: #0b1033;
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
      }

      .details {
        h4 {
          font-size: 16px;
          font-weight: 600;
          margin: 0;
        }
        p {
          font-size: 14px;
          color: #777;
          margin: 4px 0 0;
        }
      }
    }

    .map {
      iframe {
        width: 100%;
        height: 200px;
        border-radius: 8px;
        border: none;
      }
    }
  }

  /* ========== RESPONSIVE STYLES ========== */

  @media (max-width: 992px) {
    .contact-wrapper {
      flex-direction: column;
    }

    .contact-form,
    .contact-info {
      flex: 1 1 100%;
      width: 100%;
    }

    .contact-form {
      padding: 30px;
    }

    .contact-info {
      .get-in-touch,
      .find-us {
        padding: 28px;
      }
    }
  }

  @media (max-width: 768px) {
    .contact-form {
      h2 {
        font-size: 20px;
      }

      .form-row {
        flex-direction: column;
        gap: 0;
      }
    }

    .contact-info {
      h2 {
        font-size: 20px;
      }

      .info-item {
        .icon {
          width: 40px;
          height: 40px;
          font-size: 16px;
        }
      }
    }
  }

  @media (max-width: 480px) {
    padding: 40px 0;

    .btn-submit {
      width: 100%;
    }
  }
}
