/* MOBILE MEDIA QUERY */
@media screen and (max-width: 600px) {
  .container {
    width: var(--container-width-sm);
  }
  /* NAVBAR  */
  .nav__menu {
    right: 0;
    z-index: 9;
  }
  .nav__menu li div i {
    display: block;
  }
  .search-container-mobile {
    display: block;
  }

  .btn-primary {
    width: 100%;
  }
  .btn-secondary {
    width: 100%;
  }
  .project__info .btn-primary {
    width: 100%;
    margin-top: 1rem;
  }

  /* Header  */
  header {
    margin-bottom: 4rem;
  }
  .logos img {
    max-height: 14px;
  }
  .hero-btns {
    display: flex;
    flex-direction: column; /* Display the links in a row (horizontal) */
    width: 100%; /* Make the container 100% wide */
  }

  .hero-btns a {
    flex: 1; /* Each link takes up an equal amount of space (50% each) */
    text-align: center; /* Center-align the text within each link */
  }
  #right-icons {
    display: block;
  }
  .language-btn {
    display: block;
    position: absolute;
    top: 10px;
    right: 5rem;
    z-index: 9999;
  }

  .search-icon {
    display: none;
  }

  .interested-offer-checkbox {
    margin-top: -27px;
    width: 12px;
  }
  .policy-privacy-checkbox {
    margin-top: -27px;
    width: 12px;
  }

  .header__container {
    display: block;
    display: flex;
    flex-direction: column-reverse; /* Reverse the order for mobile */
    text-align: center;
    margin-bottom: 2rem;
  }
  .header__left {
    width: 370px;
    margin-top: -7rem;
  }
  .header__left h1 {
    font-size: 1.9rem;
  }
  .services-heading {
    text-align: center;
    margin-bottom: 3rem !important;
  }
  .header__left p {
    margin-bottom: 1.3rem;
    margin-top: 30px;
  }
  .header__right {
    margin-top: 2rem;
    height: 280px;
  }
  .delivered-imgs img {
    height: 3.1rem;
    width: 3.1rem;
  }
  .delivered-projects {
    flex-direction: column;
    margin-top: -3rem;
    margin-left: 2rem;
  }
  .text-highlight-container {
    display: flex;
  }
  .delivered-text-highlight {
    margin-right: 5px;
  }
  .section-featured {
    margin-top: 3rem;
  }

  .slider {
    position: inherit;
  }
  .slider li {
    top: 100px;
  }
  .arrow-down {
    display: none;
  }
  /* CATEGORIES  */
  .categories__container {
    margin-bottom: 2rem;
    margin-top: -4rem;
  }

  .categories {
    padding-top: 4rem !important;
  }

  .categories__left {
    text-align: center;
    margin-top: 90px;
  }
  .about-company {
    margin-top: 1rem;
  }
  .categories__left p {
    margin-right: 0;
  }
  .categories__right {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
  .categories__container {
    display: flex;
    flex-direction: column;
  }
  .categories__right {
    width: 100%; /* Adjust as needed */
  }

  .category {
    padding: 1rem;
    border-radius: 1rem;
    width: 180px;
  }
  .category h4,
  .category p {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .category__icon {
    margin-top: 4px;
    display: inline-block;
  }

  /* PROJECTS  */
  .projects {
    margin-top: 0;
  }
  .projects__container {
    grid-template-columns: 1fr;
  }
  .sliders-content {
    height: 340px;
  }
  .main-carousel-container {
    margin-top: 0;
  }
  .thumbnail-carousel {
    height: 80px;
    margin-top: 6rem;
  }
  .splide__arrow {
    display: none !important;
  }

  .services-content {
    padding-right: 10px;
    padding-left: 10px;
  }

  .services-description {
    width: 100%;
  }

  .templates-content {
    padding-right: 10px;
    padding-left: 10px;
  }

  .templates-description {
    width: 100%;
  }

  .getInTouch-title {
    margin-right: 0;
  }
  .popup-description {
    flex-wrap: wrap;
  }
  .popup-description span {
    margin-bottom: 10px;
  }

  #price-offer {
    margin-top: 1rem;
    flex-wrap: wrap;
  }

  #price-offer,
  span {
    margin-left: 0;
  }

  /* FOOTER  */
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .footer__copyright {
    flex-direction: column;
  }

  .footer__col-1 p {
    margin: 1rem auto;
  }
  .footer__socials {
    justify-content: center;
  }
}

@media screen and (max-width: 410px) {
  .icon-footer {
    width: 105px;
  }
  .logo-text-ultra-foot {
    font-size: 28px;
  }
  .logo-text-webflow-foot {
    font-size: 29px;
  }
  .about-company {
    padding: 10px;
  }
}
