@media (max-width: 1440px) {
  .container {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 90%;
  }

  .owl-carousel .item img {
    width: 100%;
    max-height: auto;
    object-fit: contain;
  }

  header .img-responsive {
    max-width: 170px;
    scale: 110%;
  }

  h3 {
    font-size: 24px;
  }

  .btn,
  .eng-ar-btn {
    font-size: 18px;

    padding: 10px 20px;
  }

  .hero {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .form-box {
    margin-top: 0;
  }

  .features {
    flex-direction: row;
    justify-content: space-between;
  }

  .highlights {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  html[dir="rtl"] .highlight-box {
    font-size: 18px;
  }

  html[dir="rtl"] .btn {
    font-size: 18px;
    font-weight: 600;
  }

  .highlight-box {
    font-size: 17px;
  }

  .highlight-boxes {
    flex-wrap: nowrap;
    width: 100%;
  }

  .col-50,
  .col-60,
  .col-40,
  .col-30,
  .container.w-60 {
    width: 100%;
    /* Stack on mobile */
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }

  .hide-desktop {
    display: block !important;
  }

  .owl-carousel {
    width: 100%;
    margin: 0 auto;
  }

  .highlight-boxes {
    flex-direction: column;
  }

  .absolute-img img {
    position: absolute;
    left: 0;
    top: 120px;
    bottom: auto;
    height: 220px;
  }

  .absolute-img {
    height: 200px;
  }

  .hero-section {
    padding: 0;
    background-image: url("./images/Budgetak LP - Mobile- Hero - BG.jpg");
    height: 350px;
  }

  .form-main {
    max-width: 90%;
    margin: 0 auto;
    margin-top: -20px;
    background: #fff;
    border-radius: 4px;
  }

  .form-box {
    padding: 30px 20px;
  }

  .hero-container {
    padding: 20px 20px 30px 20px;
    height: 750px;
  }

  html[dir="rtl"] p {
    font-size: 16px;
    line-height: 24px;
  }

  p {
    margin: 0 auto;
    font-size: 14px;
  }

  h2 {
    font-size: 24px;
  }

  .about-section {
    padding: 30px;
  }

  .highlights {
    padding: 10px 0;
  }

  section.why-budgetak {
    padding: 15px 0;
  }

  .why-budgetak .container {
    gap: 5px;
  }

  .highlight-box {
    width: 100%;
    min-height: 60px;
  }

  .highlight-box {
    flex: 0 0 80px;
  }
}

@media (max-width: 400px) {
  #success-overlay h5 {
    font-size: 16px;
  }
}