/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
/* CSS Variables */
:root {
  --color-primary: #2d4053;
  --color-orange: #f37423;
}

/* ============color============ */
.text-dark-blue {
  color: #2d4053 !important;
}

.text-orange {
  color: var(--color-orange);
}
/* ==========================heading========================== */
/* top-title section */
.top-title {
  font-size: 24px;
  text-align: center;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.after-title {
  font-size: 18px;
  margin: 0;
  font-weight: 400;
  color: #6d6d6d;
  text-align: center;
}

/* section-title */
.section-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 100%;
}
/* some title */
.title {
  font-weight: bold;
  font-size: 48px;
  line-height: 100%;
  span {
    color: var(--color-orange);
  }
}
/* some description */
.description {
  max-width: 75%;
  font-weight: 400;
  font-size: 30px;
  line-height: 120%;
}
/* =========================================================== */

.w-1 {
  width: 100%;
}
.w-4 {
  width: 25%;
}
.w-14 {
  width: 75%;
}
.w-3 {
  width: 33.33%;
}
.w-13 {
  width: calc(100% - 33.33%);
}
.pt-6 {
  padding-top: 6rem;
}
.mt-1 {
  margin-top: 1rem;
}
.bt-3 {
  padding-top: 3rem;
}
.ml-4 {
  margin-left: 4rem;
}
.py-1 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.my-3 {
  margin: 3rem 0;
}
.my-6 {
  margin: 6rem 0;
}
.vh-1 {
  height: 100vh;
}
.vh-2 {
  height: 50vh;
}
.vh-3 {
  height: 33.33vh;
}
.h-1 {
  height: 100%;
}
.d-flex {
  display: flex;
}
.fd-col {
  flex-direction: column;
}
.align-start {
  align-items: start;
}
.align-center {
  align-items: center;
}
.align-end {
  align-items: end;
}
.j-start {
  justify-content: start;
}
.j-center {
  justify-content: center;
}
.j-end {
  justify-content: end;
}
.j-sb {
  justify-content: space-between;
}
/* Global Styles */
body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.btn {
  text-decoration: none;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  display: block;
  width: fit-content;
}

.btn-main {
  background-color: var(--color-orange);
  color: #fff;
  padding: 12px 44px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  transition: all 0.3s ease-in-out;
  &:hover {
    background-color: #dd8750;
  }
}

.btn-second {
  background-color: var(--color-primary);
  color: #fff;
  padding: 12px 44px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  transition: all 0.3s ease-in-out;
  &:hover {
    background-color: #4a627b;
  }
}

/* header */
/* Main Menu (Site Header) */
.nav {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 3;
  .btn {
    padding: 0.75rem 1rem;
  }
  .btn-get {
    padding: 0.75rem 1rem 0.75rem 0.2rem !important;
  }
}
.nav .menu,
.nav .buttons-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav .buttons-nav .flex-bt {
  img {
    width: 25px;
    height: 25px;
  }
}

.nav .menu li {
  margin-left: 1rem;
  margin-right: 1rem;
}

.nav .menu a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: #2d4053;
  &:hover {
    color: #f37423;
  }
}

.nav .buttons-nav .vertical {
  color: #2d405380;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #2d4053;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.fixed-section {
  position: sticky;
  top: 84px;
  background-color: #ffffff;
  z-index: 10;
}

/* Hero Section */
.hero-sec {
  position: relative;
  height: 100vh;
  overflow: hidden;

  .video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: scale(1.2);
  }

  .overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: white;
    opacity: 0;
  }

  .content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 1;
  }

  .hero-text {
    font-weight: bold;
    font-size: 56px;
    line-height: 100%;
    text-align: center;
    color: var(--color-primary);
    opacity: 0;
  }
}

/* Dark Background Section */
.dark-bg {
  background-color: var(--color-primary);
}

/* ================= *Time Line* =================== */

/* Container and text line */

.container {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 113px;
}

.timeline-container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 40px;
  width: 2px;
  background: #d1d5db;
  transform: translateX(-50%);
  z-index: 0;
}

/* Timeline line */
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 30px;
  min-height: 70px; /* Icon size */
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Center column + dot */
.timeline-center {
  grid-column: 2;
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Dot in the center */
.timeline-item .timeline-dot {
  position: absolute;
  left: 50%;
  top: calc(70px / 2);
  transform: translate(-50%, 485%);
  width: 14px;
  height: 14px;
  background: #ff6f00;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #1f2937;
}

/* Sidebar (Icon above text) */
.timeline-side {
  display: flex;
  flex-direction: column;
}
.timeline-side img {
  max-width: 105px;
  max-height: 80px;
}

.timeline-content {
  margin-top: 1rem;
}

.timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: #ff6f00; /* Orange color */
  margin-bottom: 6px;
  line-height: 1.4;
}

.timeline-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  max-width: 280px;
}

/* ===== Switching with nth-child ===== */

/* Odd (1,3,5,...) on the right */
.timeline-item:nth-child(odd) .timeline-side {
  grid-column: 3;
  align-items: flex-start;
  padding-left: 16px;
  text-align: left;
}

/* Even (2,4,6,...) on the left */
.timeline-item:nth-child(even) .timeline-side {
  grid-column: 1;
  padding-right: 16px;
  text-align: left;
}

/* ======================================================== */

/* some information section */
.some-info-sec {
  .boxs-wrap {
    .content-box {
      padding-inline-end: 1rem;
      .content-title {
        font-size: 20px;
        color: #6d6d6d;
        font-weight: 500;
        margin: 0;
      }
      .content-wrap {
        transition: all 0.3s ease-in-out;
        border-radius: 15px;
        padding: 1rem;
        padding-inline-start: 2rem;
        margin: 3rem 0;
        .icon {
          width: 35px;
          height: 35px;
          transition: all 0.3s ease-in-out;
          margin-inline-end: 1rem;
        }
        .content {
          transition: all 0.3s ease-in-out;
          font-size: 24px;
          color: #313131;
          font-weight: 500;
          margin: 0;
        }
        &:hover {
          box-shadow: 0 10px 15px 0 rgba(5, 13, 29, 0.18);
          .content {
            color: #f37423;
          }
          .icon {
            filter: hue-rotate(-187deg) saturate(2) brightness(2.5);
          }
        }
      }
    }
    .image-box {
      height: 783px;
      position: relative;
      .image-wrap {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        right: 0;
        top: -10%;
        .person-image {
          width: 100%;
          height: 100%;
          object-fit: contain;
        }
      }
      .big-icon-1 {
        position: absolute;
        width: 100%;
        height: 100%;
        max-height: 173px;
        max-width: 165px;
        top: 1%;
        left: 2%;
        z-index: -1;
      }
      .big-icon-2 {
        position: absolute;
        max-width: 100px;
        max-height: 160px;
        width: 100%;
        height: 100%;
        bottom: 42%;
        right: 22%;
        z-index: -1;
      }
      .big-icon-3 {
        position: absolute;
        max-width: 213px;
        max-height: 161px;
        width: 100%;
        height: 100%;
        bottom: 28%;
        left: -5%;
        z-index: 1;
      }
      .big-icon-4 {
        position: absolute;
        max-width: 133px;
        max-height: 183px;
        width: 100%;
        height: 100%;
        top: 5%;
        left: 19%;
        z-index: -1;
      }
      .big-icon-5 {
        position: absolute;
        max-width: 105px;
        max-height: 145px;
        width: 100%;
        height: 100%;
        top: 8%;
        right: 0%;
        z-index: -1;
      }
      .big-icon-6 {
        position: absolute;
        max-width: 218px;
        max-height: 186px;
        width: 100%;
        height: 100%;
        bottom: 28%;
        left: 5%;
        z-index: 1;
      }
    }
  }
}

/* form section */
.form-sec {
  .all-content-wrap {
    .form-wrap {
      overflow: hidden;
      width: 60%;
      border-radius: 14px;
      border: 1px solid #bbbfc480;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
      padding: 2rem;
      position: relative;
      .contact-form {
        button {
          font-weight: 300 !important;
          width: 100%;
        }
        .form-group {
          label {
            font-weight: 700;
            font-size: 16px;
            color: #2d4053;
            margin: 0.5rem 0;
          }
          input[type="text"],
          input[type="email"] {
            border-radius: 5px;
            padding: 0.5rem 1rem;
            background-color: #fbfafa;
            color: #2d405380;
            border: 1px solid #2d405380;
            margin-bottom: 1rem;
          }
          textarea {
            border-radius: 5px;
            padding: 0.5rem 1rem;
            background-color: #fbfafa;
            color: #2d405380;
            border: 1px solid #2d405380;
            resize: none;
          }
          .category-options {
            gap: 1rem;
            margin-bottom: 1rem;
          }
          .category-option {
            flex: 1;
            cursor: pointer;
            input[type="radio"] {
              display: none;
            }
            .category-card {
              display: flex;
              flex-direction: column;
              padding: 1.25rem 1rem;
              border: 2px solid #e5e7eb;
              border-radius: 8px;
              background-color: #ffffff;
              transition: all 0.3s ease;
              position: relative;
              &::before {
                content: "";
                position: absolute;
                top: 1rem;
                right: 1rem;
                width: 20px;
                height: 20px;
                border: 2px solid #d1d5db;
                border-radius: 50%;
                background-color: #ffffff;
                transition: all 0.3s ease;
              }
              .category-name {
                font-size: 16px;
                font-weight: 600;
                color: #1f2937;
                margin-bottom: 0;
              }
              .category-desc {
                font-size: 14px;
                color: #6b7280;
                font-weight: 400;
              }
            }
            input[type="radio"]:checked + .category-card {
              border-color: #f37423;
              background-color: #fff5f0;
              &::before {
                border-color: #f37423;
                background-color: #f37423;
                box-shadow: inset 0 0 0 3px #ffffff;
              }
            }
            &:hover .category-card {
              border-color: #f37423;
            }
          }
        }
      }
      .form-bg {
        opacity: 0.2;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        pointer-events: none;
        z-index: -10;
      }
    }
  }
}

/* footer */
.footer {
  position: relative;
  .all-content-footer {
    .boxs-wrap {
      margin: 2rem 0;
      gap: 1rem;
      .box {
        .col-title {
          font-size: 20px;
          font-weight: 600;
          color: #2d4053;
          text-align: end;
          padding: 0 1rem 0 0;
        }
        .content {
          .about-us-text {
            font-size: 18px;
            margin: 0;
            margin: 0;
            font-weight: 400;
            color: #2d4053;
          }
          .list {
            list-style: none;
            li {
              transition: all 0.3s ease-in-out;
              margin: 0 0 0.7rem 0;
              a {
                transition: all 0.3s ease-in-out;
                font-size: 18px;
                margin: 0;
                font-weight: 400;
                color: #2d4053;
                &:hover {
                  color: #f37423;
                  transform: translateX(10);
                }
              }
              &:hover {
                transform: translateX(10px);
              }
            }
          }
        }
      }
    }
    .information-wrap {
      .copy-right-box {
        align-items: end;
        .img {
          width: 24px;
          height: 20px;
        }
        .copy-right-text {
          font-size: 16px;
          color: #2d4053;
          font-weight: 500;
          margin: 0;
          margin-inline-start: 0.5rem;
        }
      }
      .social-media-box {
        gap: 1rem;
        .social-media-link {
          gap: 1rem;
          align-items: end;
          a {
            padding: 0.8rem;
            border-radius: 6px;
            border: 1px solid #2d4053bf;
            transition: all 0.3s ease-in-out;
            img {
              width: 16px;
              transition: all 0.3s ease-in-out;
              height: 16px;
            }
            &:hover {
              transform: translateY(-10px);
              border: 1px solid #f37423;
              img {
                filter: hue-rotate(-187deg) saturate(2) brightness(2.5);
              }
            }
          }
        }
        .aplication-stors {
          .our-app-title {
            text-align: center;
            font-size: 14px;
            font-weight: 700;
          }
          .stors {
            gap: 1rem;
            margin-top: 0.5rem;
            a {
              img {
                width: 90px;
                height: 30px;
              }
            }
          }
        }
      }
    }
  }
  .footer-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -37%;
    pointer-events: none;
    z-index: -10;
    width: 100%;
    object-fit: cover;
  }
  overflow: hidden;
}

.hide_in_desktop {
  display: none;
}
.hide_in_mobile {
  display: block !important;
}

/* responsive */
@media (max-width: 768px) {
  /* Main Menu (Site Header) */
  .fixed-section {
    top: 74px;
  }
  .hide_in_desktop {
    display: flex;
  }
  .hide_in_mobile {
    display: none;
  }
  .logo-nav {
    width: 130px;
    height: 50px;
    object-fit: contain;
  }
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    li {
      .btn-nav-get {
        display: block;
        padding: 0.5rem;
        background-color: #2d4053;
        color: #ffffff;
      }
      .btn-sign {
        display: block;
      }
    }
  }
  .menu.active {
    right: 0;
  }
  .menu li {
    margin: 0;
    height: 40px;
  }
  .buttons-nav {
    display: none;
  }

  /* hero section */
  .title {
    font-size: 22px;
    padding-inline-start: 1rem;
    padding-inline-end: 1rem;
  }
  .top-title {
    font-size: 16px;
  }
  .section-title {
    font-size: 22px;
    margin-bottom: 2rem;
  }
  .description {
    font-size: 20px;
  }
  .btn-main {
    font-size: 16px;
    padding: 10px 30px;
  }
  .hero-sec {
    .hero-text {
      font-size: 25px;
    }
  }

  /* How Potential Works Section */
  .how-it-works-sec {
    .timeline-container {
      padding: 8px 15px;
    }
    .timeline-item:nth-child(even) .timeline-side {
      grid-column: 1;
      padding-right: 0px;
      text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-side {
      padding-left: 0px;
    }
    .timeline-item {
      margin-bottom: 10px;
    }
    .timeline-title {
      font-size: 16px;
    }
  }

  /* some information section */
  .some-info-sec {
    overflow: hidden;
    .boxs-wrap {
      display: block;
      .image-box {
        width: 100%;
        height: 520px;
        .image-wrap {
          display: flex;
          align-items: center;
          justify-content: center;
          inset: 0;
          .person-image {
            width: 85%;
            height: 85%;
            object-fit: contain;
          }
        }
        .big-icon-1 {
          max-height: 128px;
          max-width: 130px;
          top: 10%;
          left: 12%;
        }
        .big-icon-2 {
          max-width: 74px;
          max-height: 123px;
          bottom: 34%;
          right: 23%;
        }
        .big-icon-3 {
          max-width: 159px;
          max-height: 142px;
          bottom: 15%;
          left: -2%;
        }
        .big-icon-4 {
          max-width: 122px;
          max-height: 156px;
          top: 14%;
          left: 21%;
        }
        .big-icon-5 {
          max-width: 90px;
          max-height: 113px;
          top: 23%;
          right: 2%;
        }
        .big-icon-6 {
          max-width: 194px;
          max-height: 162px;
          bottom: 17%;
          left: 3%;
        }
      }
      .content-box {
        padding-inline-end: 0;
        margin-left: 0;
        width: 100%;
        .content-title {
          text-align: center;
          font-size: 18px;
        }
        .content-wrap {
          margin: 1rem 0;
          padding: 1rem;
          box-shadow: 0 10px 15px 0 rgba(5, 13, 29, 0.18);
          .icon {
            filter: none;
          }
          .content {
            font-size: 18px;
            color: #2d4053;
          }
          &:hover {
            .content {
              color: #2d4053;
            }
            .icon {
              filter: none;
            }
          }
        }
        .btn-main {
          width: 100%;
        }
        .btn-second {
          width: 100%;
        }
      }
    }
  }
  /* form section */
  .form-sec {
    .form-wrap {
      width: 100% !important;
      margin: 1rem 0;
    }
    .btn {
      margin: 1rem 0;
    }
  }

  /* Footer Section */
  .footer {
    .all-content-footer {
      .boxs-wrap {
        display: block;
        .box {
          margin-bottom: 2rem;
          .content {
            .about-us-text {
              font-size: 16px;
              padding-inline-start: 1rem;
            }
            .list {
              padding-inline-start: 1rem;
            }
          }
          .col-title {
            text-align: start;
            padding: 0;
            font-size: 18px;
          }
          width: 100%;
        }
      }
      .information-wrap {
        display: block;
        .copy-right-box {
          align-items: end;
          justify-content: center;
        }
        .social-media-box {
          flex-direction: column;
          margin-top: 1rem;
          align-items: center;
        }
      }
    }
  }
}
