/* ------ 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;
  }
  .mySwiper {
    width: fit-content;
  }

  /* ========= Menu Hovers ========= */
  .menu_link_style:hover,
  .menu_link_style.active,
  .dropdown_wrap:hover .menu_link_style {
    background: var(--black);
    color: var(--white);
  }

  .menu_link_style:hover img,
  .dropdown_wrap:hover .menu_link_style img {
    filter: var(--white_img);
    transform: rotate(180deg);
  }

  .menu_link_style.active img {
    filter: var(--white_img);
    transform: rotate(0deg);
  }

  .dropdown_wrap:hover .dropdown_menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(2rem) scale(1);
  }
}

/* ------ 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;
  }

  .col_gap_40 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
  }

  /* =========== 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: 0.8rem;
    align-items: flex-start !important;
  }

  .main_menu li a,
  .menu_link_style {
    font-size: 2.2rem;
    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;
  }

  .menu_bottom {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* ============== 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 ======== */
  .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;
  }

  .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;
  }

  .footer_section.v2 .footer_logo {
    width: 100%;
  }

  .hero_img_wrap img {
    width: 100%;
  }

  /* ======= dropdown_menu ======= */
  .dropdown_menu {
    position: relative;
    width: 100%;
    height: auto;
    max-height: max-content;
    box-shadow: none;
    padding: 0;
    transform: translateY(0);
    opacity: 1;
    max-height: 0;
    transition: max-height 0.8s ease;
    overflow: hidden;
    display: grid;
    gap: 1rem;
    pointer-events: none;
  }

  .dropdown_wrap.active .dropdown_menu {
    max-height: 100rem;
    pointer-events: all;
  }

  .dropdown_menu li:first-child {
    margin-top: 2rem;
  }

  .menu_link_style {
    padding: 1.4rem 2rem;
    justify-content: space-between;
    width: 100%;
    height: auto;
    border-radius: 0;
    transition: 0.25s ease;
  }

  .dropdown_wrap.active .menu_link_style,
  .menu_link_style:hover,
  .menu_link_style.active {
    background: var(--black);
    color: var(--white);
  }

  .dropdown_wrap.active .menu_link_style img,
  .menu_link_style:hover img,
  .menu_link_style.active img {
    filter: var(--white_img);
  }

  .main_menu li,
  .main_menu ul {
    width: 100%;
  }

  .dropdown_item {
    padding: 0.8rem 3.5rem;
    width: 100%;
  }

  .dropdown_wrap.active .arrow_down {
    transform: rotate(180deg);
  }

  /* ================ server_area ============== */
  .server_area .row.col_gap_40 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .pb_75 {
    padding-bottom: 5.5rem;
  }

  .section_top.pl_40.pr_40 {
    padding-left: 0;
    padding-right: 0;
  }

  /* ============= footer_section ============== */
  .footer_section.v2 .row2 {
    --bs-gutter-y: 3rem;
  }

  .dropdown_menu {
    margin-bottom: 2rem;
  }
}

/*----- 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;
  }

  .analytics_area .section_top {
    padding-bottom: 0;
  }

  .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.v2 .footer_logo {
    width: 100%;
  }

  .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;
  }

  /* ========== server_area ========== */
  .server_area .row.col_gap_40 {
    grid-template-columns: 1fr 1fr;
  }

  .pb_75 {
    padding-bottom: 4rem;
  }

  /* ================ interaction_area ============= */
  .interaction_area .block_content.content {
    padding: 3rem 0;
  }
  .interaction_area .block_content.content {
    padding: 3rem 0;
  }

  .blue_cube_sm_wrap.mt_50.mb_50 {
    margin: 2rem 0;
  }

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

  /* ============= hero_inner ============== */

  .hero_inner p br {
    display: none;
  }

  .hero_inner {
    padding-top: 14rem;
    padding-bottom: 6rem;
  }

  .hero_inner .title_h1 {
    font-size: 4.5rem;
  }

  .hero_inner p.pt_25.pb_40 {
    padding: 2.5rem 0;
  }

  /* ============ block_area.v4 ============= */
  .block_area.v4 .row:after {
    bottom: 0;
    top: auto;
  }

  /* ============ contact_area ============= */
  .contact_area .block_content.content {
    padding: 0;
  }

  .contact_area {
    padding-top: 13rem;
    padding-bottom: 2rem;
  }
}

/*----- 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: 43rem;
  }

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

  .mySwiper {
    padding: 0 2rem;
    width: calc(100% + 4rem);
    transform: translateX(-2rem);
  }
}
