@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

a {
  text-decoration: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  .navbar {
    .nav-cont {
      display: flex;
      justify-content: space-between;

      .navbar-brand {
        transition: all ease 500ms;

        img {
          width: 100%;
        }
      }

      .navbar-nav {
        margin-right: 0;
      }

      .cont-logo {
        display: flex;
        justify-content: end;
        align-items: center;

        a {
          color: black;
          display: flex;
          gap: 0.5rem;
          justify-content: center;
          align-items: center;

          span {
            display: none;
          }

          i {
            font-size: 1rem;
          }
        }

        a:hover {
          color: #ea0029;
        }

        img {
          margin-left: 1rem;
        }
      }

      .change-logo {
        width: 60%;
      }
    }
  }
}

.apply-now-modal {
  .modal-content {
    .modal-header {
      position: relative;
      justify-content: center;

      h1 {
        text-align: center;
        font-weight: 600;
      }

      button {
        position: absolute;
        right: 1.2rem;
        top: 1.2rem;
      }
    }

    .modal-body {
      text-align: center;

      h3 {
        color: #ea0029;
        text-align: center;
      }

      a {
        color: #404040;
        text-decoration: underline;

        p {
          display: flex;
          justify-content: center;
          align-items: center;

          i {
            font-size: 1.8rem;
            margin-right: 0.4rem;
            text-decoration: none;
          }
        }
      }

      .store-download {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;

        img {
          width: 150px;
        }
      }
    }
  }
}

.hero {
  background-color: #f2eccc;
  background-image: url(img/hero-banner-mobile.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 60svh;
}

.zoom-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #f3edd5;
}

.ipo-highlights {
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 3% 0 3% 0%;
  background: #ffffff;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(242, 236, 204, 1) 29%);

  h2 {
    text-transform: uppercase;
    color: #ea0029;
    font-weight: 700;
    margin-bottom: 2rem;
    margin-top: 1rem;
  }

  .highlight-itm-cont {
    .highlight-itm {
      background-color: #fff;
      color: #404040;
      padding: 1rem 1.5rem;
      border-radius: 1rem;
      margin-bottom: 1.5rem;
      height: 90%;

      h3 {
        font-weight: 800;
        margin-bottom: 0;
      }

      p {
        margin-bottom: 0;
        font-size: 1.2rem;
        font-weight: 600;
      }
    }
  }

  .investorForum-cont {
    padding: 2rem 0 0 0;
    .investorForum-vid-cont {
      align-items: center;
      justify-content: center;

      h2 {
        text-align: center;
        margin-bottom: 1rem;
      }
    }
  }


}

.resources {
  background-image: url(img/resources-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 3% 0;

  h2 {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 7rem;
    margin-top: 2rem;
  }

  .resources-row {
    justify-content: center;
  }

  .resource-itm-cont {
    padding: 0 8%;
    text-align: center;
    margin-bottom: 6rem;
    height: 70%;

    .resource-itm {
      background-color: #fff;
      transition: 0.2s ease-out all;
      border-radius: 2.5rem;
      position: relative;
      text-align: center;
      padding: 19rem 1rem 1rem 1rem;
      margin-bottom: 1rem;
      height: 100%;

      img {
        position: absolute;
        top: -81px;
        left: 0;
      }

      h5 {
        font-size: 1.5rem;
        color: #000;
      }
    }

    h6 {
      color: #fff;
      font-size: 1.2rem;
      transition: 0.2s ease-out all;
    }
  }

  .resource-itm-cont:hover {
    .resource-itm {
      background-color: #f2eccc;
      transition: 0.2s ease-in all;
    }

    h6 {
      color: #000000;
      transition: 0.2s ease-in all;
    }
  }
}

.ata-glance {
  .ata-glance-img-cont {
    margin-bottom: 2rem;
  }

  .ata-glance-info-cont {
    display: flex;
    align-items: center;

    h2 {
      text-transform: uppercase;
      color: #ea0029;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .ata-glance-stats {
      margin-top: 2rem;

      .ag-stat {
        text-align: center;
        padding: 1rem;

        h3 {
          font-size: 2.2rem;
          font-weight: 700;
          color: #ea0029;
          margin-bottom: 0;
        }

        h6 {
          font-weight: 700;
          font-size: 1.1rem;
        }
      }
    }
  }
}

.testimonials {
  padding: 8% 0 3% 0;

  h2 {
    text-transform: uppercase;
    color: #ea0029;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
  }

  .testimonials-carousel {
    position: relative;

    .testimonial-itm {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 100%;
      flex-wrap: nowrap;

      .testimonial-itm-img {
        width: 100%;

        img {
          border-radius: 2rem;
          border: 2px solid #ccc;
        }
      }

      .testimonial-itm-info {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 1rem;
        color: #464646;

        h5 {
          margin-bottom: 0;
          font-weight: 800;
        }

        small {
          font-weight: 600;
        }

        p {
          margin-top: 1rem;
        }

        a {
          color: #ea0029;
          font-weight: 700;
          border-bottom: 1px solid #ea0029;
          display: inline-block;
        }
      }
    }

    .owl-nav {
      position: absolute;
      width: 100%;
      top: 35%;

      .owl-prev,
      .owl-next {
        position: absolute;
        font-size: 3rem;
      }

      .owl-prev {
        left: -3rem;
      }

      .owl-next {
        right: -3rem;
      }

      .owl-prev:hover,
      .owl-next:hover {
        background: transparent;
        color: #ea0029;
      }
    }
  }
}

.news-events {
  padding: 4% 0 4% 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  h2 {
    text-transform: uppercase;
    color: #ea0029;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
  }

  .news-events-carousel {
    .news-events-itm {
      border-radius: 2rem;
      border: 1px solid #ccc;
      padding: 1rem;
      text-align: center;
      color: #464646;

      .news-events-itm-img {
        img {
          border-radius: 1rem;
          margin-bottom: 1rem;
        }
      }

      .news-events-itm-info {
        h6 {
          margin-bottom: 0;
        }

        a {
          color: #ea0029;
          font-weight: 700;
          border-bottom: 1px solid #ea0029;
          display: block;
          width: fit-content;
          margin: auto;
          margin-top: 0.5rem;
        }
      }
    }

    .owl-nav {
      position: absolute;
      width: 100%;
      top: 35%;

      .owl-prev,
      .owl-next {
        position: absolute;
        font-size: 3rem;
      }

      .owl-prev {
        left: -3rem;
      }

      .owl-next {
        right: -3rem;
      }

      .owl-prev:hover,
      .owl-next:hover {
        background: transparent;
        color: #ea0029;
      }
    }
  }
}

footer {
  .hnb-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    height: 150px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;

    .hnb-logo {
      width: 100%;
      margin-top: 3rem;
    }
  }

  width: 100%;
  padding: 1rem;
  text-align: center;
  color: #fff;
  background-color: #000;
  font-size: 0.8rem;

  .follow-us {
    margin-bottom: 1rem;

    h6 {
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .socialies {
      display: flex;
      justify-content: center;
      gap: 0.5rem;

      a {
        border: 1px solid #ccc;
        border-radius: 50%;

        color: white;
        box-shadow: 0px 5px 5px -5px rgba(0, 0, 0, 0.5);
        padding: 0.35rem 0.42rem 0.25rem 0.4rem;
        transition: all ease 300ms;

        i {
          font-size: 1.4rem;
        }
      }

      a:hover {
        background-color: white;
        color: black;
        transition: all ease 300ms;
      }
    }
  }
}

.no-padding-l {
  padding-left: 0;
}

.no-padding-r {
  padding-right: 0;
}

@media (min-width: 768px) {
  .no-padding-l-desk {
    padding-left: 0;
  }

  header {
    .navbar {
      .nav-cont {
        .navbar-brand {
          img {
            width: 60%;
          }
        }

        .cont-logo {
          a {
            span {
              display: flex;
            }

            i {
              font-size: 1.4rem;
            }
          }
        }
      }
    }
  }

  .hero {
    height: 80svh;
  }

  .resources {
    .resource-itm-cont {
      .resource-itm {
        padding: 8rem 1rem 1rem 1rem;
      }
    }
  }

  .testimonials {
    .testimonials-carousel {
      .testimonial-itm {
        flex-direction: row;

        .testimonial-itm-img {
          width: 55%;
        }
      }
    }
  }

  .ata-glance {
    .ata-glance-info-cont {
      margin-top: 4rem;
    }
  }
}

@media (min-width: 992px) {
  .navbar {}

  .hero {
    background-image: url("img/hero-banner.jpg");
    height: 100svh;
  }

  .resources {
    .resource-itm-cont {
      height: fit-content;
      margin-bottom: 1rem;

      .resource-itm {
        padding: 22rem 1rem 1rem 1rem;
      }
    }
  }

  .ata-glance {
    .ata-glance-img-cont {
      margin-bottom: 0;
    }
  }

  .ipo-highlights {
    h2 {
      margin-top: 0;
    }

    .highlight-itm-cont {
      .highlight-itm {
        height: fit-content;
      }
    }
  }
}