/* ------ large and medium devices (dekstops and laptops, 992px and up) -----*/
@media (min-width: 992px) {
  html {
    font-size: 0.694vw;
  }
  .container {
    max-width: 128rem;
  }
  .hero_img_wrap img {
    width: 63.2rem;
  }
}

/* ------ Medium devices (tablets, 991px and down) -----*/
@media (max-width: 991px) {
  html {
    font-size: 53%;
  }

  .container {
    padding: 0;
  }

  .container-fluid,
  .menu_container {
    width: 720px;
  }

  .col-md-0 {
    width: 0;
    padding: 0;
  }

  /* =========== Header area ========== */
  .primary_menu {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    justify-content: flex-end;
    align-content: space-between;
    padding: 0;
    pointer-events: none;
    overflow: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .primary_menu::-webkit-scrollbar {
    scrollbar-width: 0;
    display: none;
  }

  .menu_active .primary_menu {
    pointer-events: all;
  }

  .main_menu {
    flex-direction: column;
    gap: 3rem;
    align-items: flex-start !important;
  }

  .main_menu li a {
    font-size: 2.4rem;
    line-height: 1;
  }

  body.menu_active {
    overflow: hidden !important;
  }

  .menu_overlay {
    width: 200vw;
    height: 200vh;
    content: "";
    background: rgb(255, 255, 255);
    position: fixed;
    left: -200vw;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 0 50% 50% 0;
    transition: all 1.5s cubic-bezier(0.68, 0, 0.27, 1.55); /* elastic wave effect */
    z-index: 1;
  }

  .menu_active .menu_overlay {
    left: -50vw;
  }

  .menu_container {
    transition: 0.25s ease;
    transform: translateX(-2rem);
    opacity: 0;
    pointer-events: none;
  }

  .menu_active .menu_container {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
    transition-delay: 1.05s;
  }

  /* ============== Hamburger ============= */
  .hamburger img {
    width: 2.8rem;
    position: absolute;
    transition: 0.35s ease;
  }

  .hamburger .close_icon {
    width: 2.2rem;
    opacity: 0;
    transform: scale(0.5);
  }

  .hamburger {
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 999;
  }

  .menu_active .hamburger .close_icon {
    opacity: 1;
    transform: scale(1);
  }

  .menu_active .hamburger .Hamburger_icon {
    opacity: 0;
    transform: scale(0.5);
  }

  /* ================= */
  .menu_bottom .hero_right {
    justify-content: space-between;
    padding: 4rem 0 12rem;
  }

  .menu_bottom {
    flex-direction: column;
  }

  .menu_bottom .fbr_bottom {
    padding-top: 0;
  }

  .menu_bottom .social_links a img {
    filter: brightness(0) saturate(100%) invert(4%) sepia(35%) saturate(6491%)
      hue-rotate(256deg) brightness(85%) contrast(93%);
  }

  .menu_bottom .fbr_bottom p {
    font-size: 1.4rem;
    line-height: 2.8rem;
  }

  .main_menu {
    padding: 14rem 0 5rem 0;
  }

  .menu_bottom {
    padding-bottom: 4.5rem;
  }

  .menu_link img {
    width: 2.5rem;
    display: none !important;
  }

  .menu_link.active img {
    display: block !important;
  }

  .menu_link {
    display: flex;
  }

  .menu_container .button {
    max-width: 75%;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    margin-top: 4rem;
  }

  .site_header .row {
    padding: 0 1.6rem;
  }

  /* ========= partner_area ========= */
  .partner_area:before {
    width: 5rem;
    height: 5rem;
  }

  .partners {
    gap: 1rem;
    margin-top: 2rem;
  }

  .service_area .row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 4rem;
  }

  .analytics_img {
    max-width: 55rem;
    margin: 0 auto;
    display: block;
  }

  .pt_80:not(.section) {
    padding-top: 5rem;
  }

  .block_img {
    padding: 5rem;
  }

  .pl_90 {
    padding-left: 5rem;
  }

  .block_area .row:after {
    width: 6rem;
    height: 6rem;
  }

  .block_area.v2:after {
    width: 5rem;
    height: 5rem;
  }

  .story_area .row {
    --bs-gutter-x: 2rem;
    color: var(--white);
  }

  .footer_logo {
    width: 25rem;
    margin-bottom: 3rem;
  }

  .hero_img_wrap img {
    width: 100%;
  }
}

/*----- sm devices (tablets, 767px and down) -----*/
@media (max-width: 767px) {
  /* ============ default styles ============ */
  html {
    font-size: 55%;
  }

  .primary_menu,
  .container-fluid,
  .menu_container {
    width: 540px;
  }

  .logo img {
    width: 12rem;
  }

  .send_mail input {
    width: 100%;
  }

  /* titles */
  .title_h1 {
    font-size: 5rem;
  }

  .title_h2 {
    font-size: 4.5rem;
  }

  .title_h3 {
    font-size: 3.6rem;
  }

  .title_h5 {
    font-size: 2.2rem;
  }

  .title_h6 {
    font-size: 2rem;
  }

  .qoute {
    font-size: 2.5rem;
  }

  .hero_area {
    padding: 12.5rem 0 5.5rem;
  }

  .hero_content {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .hero_content p {
    padding-bottom: 0;
  }

  .partners {
    grid-template-columns: 1fr 1fr;
  }

  .nav_tabs {
    width: calc(100% + 4rem);
    overflow: auto;
    transform: translateX(-2rem);
    justify-content: flex-start !important;
    padding: 0 2rem;
    gap: 1rem;
  }

  .nav_tabs::-webkit-scrollbar {
    display: none;
    scrollbar-width: 0;
  }

  .analytics_area .section_top {
    padding-bottom: 3rem;
  }

  .pt_80:not(.section) {
    padding-top: 4rem;
  }

  .pb_40 {
    padding-bottom: 2rem;
  }

  .pt_40 {
    padding-top: 2rem;
  }

  .pb_50 {
    padding-bottom: 3rem;
  }

  .pt_50 {
    padding-bottom: 3rem;
  }

  .analytics_img {
    margin-top: 1rem;
  }

  .block_img {
    padding: 5rem;
  }

  .block_area .row:after {
    width: 4rem;
    height: 4rem;
  }

  .block_content .title_h3 {
    line-height: 1;
  }

  .block_content {
    padding: 3rem;
  }

  .analytics_area .section_top p {
    padding: 1.5rem 0 4rem;
  }

  .block_area.v2 .block_content {
    padding: 0;
    margin-bottom: 2rem;
  }

  .solution_area .section_top {
    padding-bottom: 4rem;
  }

  .section {
    padding: 6rem 0 !important;
  }

  .swiper-pagination-bullet {
    width: 1rem;
    height: 1rem;
    border-radius: 1rem;
  }

  .swiper-pagination-bullets.swiper-pagination-horizontal {
    gap: 1.2rem;
  }

  .solution_arrows {
    margin-top: 3.5rem;
  }

  .testimonial_box {
    height: auto;
    display: block;
  }

  .testimonial_left {
    height: 25rem;
    width: 100%;
  }

  .testimonial_right {
    padding: 3rem 3rem 9rem 3rem;
  }

  .story_area .section_top {
    padding-bottom: 4rem;
  }

  .story_area .section_top h2 {
    padding: 1.5rem 0 2.5rem 0;
  }

  .story_box.v2 .row {
    --bs-gutter-y: 2rem;
  }

  .story_area .row2 {
    --bs-gutter-y: 4rem;
  }

  .marquee > div {
    gap: 0;
  }

  .js-marquee {
    gap: 0rem;
  }

  .action_area:before {
    width: 5rem;
    height: 5rem;
  }

  .footer_section .row2 .nav_link {
    padding-bottom: 1rem;
    display: block;
    font-size: 1.6rem;
  }

  .footer_logo {
    width: 20rem;
    margin-bottom: 4rem;
  }

  .footer_section .mb_50 {
    margin-bottom: 2.5rem;
  }

  .footer_section .mt_50 {
    margin-top: 2.5rem;
  }

  .footer_section .row.row1 {
    --bs-gutter-y: 2rem;
  }

  .footer_section .row2 p.pt_20 {
    font-size: 1.6rem;
  }

  .footer_section .text_xsm {
    font-size: 1.5rem;
  }

  .footer_link_box span {
    font-size: 1.6rem;
  }

  .footer_link_box ul a {
    font-size: 1.6rem;
  }

  .menu_container .button {
    width: 100%;
    max-width: 100%;
  }

  .analytics_area .content .title_h3 {
    padding-top: 2rem;
  }

  .analytics_area .tab-pane .row {
    flex-direction: column-reverse;
    --bs-gutter-y: 3rem;
  }
}

/*----- xs devices (landscape phones, 575px and down) -----*/
@media (max-width: 575px) {
  html {
    font-size: 2.32vw;
  }

  /* menu */
  .primary_menu,
  .container-fluid {
    width: calc(100%);
  }

  .container {
    padding: 0 2rem;
  }

  .menu_container {
    width: 37rem;
  }

  .progress-wrap {
    right: 2rem;
    bottom: 2rem;
  }
}
