/* Responsive */
/* START Calculator css  for screens 800 to 1050px*/
@media (min-width: 1800px) {
  .lang-ar .flex-row {
    max-width: 40%;
  }
}
@media (min-width: 1600px) {
  .lang-ar .flex-row {
    max-width: 65%;
  }
}
@media (min-width: 800px) and (max-width: 1050px) {
  .calculator .container {
    width: 100%;
  }
}

/* END Calculator css */
@media (max-width: 992px) {
  .banner {
    flex-direction: column;
    align-items: center;
  }

  h1 {
    font-size: 48px;
    line-height: 36px;
    margin-bottom: 6px;
  }

  .form-wrapper {
    width: 100%;
    margin-top: 30px;
    padding: 30px 20px;
  }

  section.second-sec {
    padding-top: 50px;
  }

  .second-sec img {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .pt-70 {
    padding-top: 30px;
  }

  .hide-mobile {
    display: none;
  }

  .flex-row {
    gap: 40px;
  }

  h3 {
    font-size: 24px;
  }

  .head-main p {
    max-width: 260px;
    margin-top: 10px;
  }
  .faq-container {
    margin: 0 0 auto;
  }

  section.fifth-sec.pt-70 {
    padding: 0;
  }

  .header {
    padding: 20px;
  }
  .pt-30 {
    padding-top: 0;
  }

  .banner {
    padding: 0;
    background: url("images/Header-Section-Mobile.jpg");
    background-size: contain;
    background-repeat: no-repeat;
  }

  h1 {
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 6px;
  }

  .banner h2 {
    font-size: 16px;
    margin-top: 0px;
    line-height: 20px;
    max-width: 320px;
  }

  .left-section {
    width: 100%;
    padding: 40px 20px 0;
  }

  .bank-logos {
    margin-top: 10px;
  }

  .third-sec .owl-carousel .item img {
    max-width: 92%;
    scale: 100%;
  }
  .lang-ar .third-sec .owl-carousel .item img {
    scale: 95%;
    max-width: 95%;
  }
  .lang-ar .third-sec .owl-carousel .owl-stage {
    padding-left: 0 !important;
    padding-right: 10px !important;
  }

  .owl-carousel .owl-stage {
    padding-left: 20px !important;
    /* remove left side padding */
  }

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

  .container {
    padding: 20px 0;
    max-width: 100%;
  }

  .faq {
    margin: 0 auto;
    border-top: 1px solid #e0e0e0;
  }
  .faq-content p {
    max-width: 100%;
    margin-top: 0;
    padding-top: 0;
  }

  .six-sec .owl-carousel .item img {
    max-width: 100%;
    scale: 100%;
  }
  .custom-button {
    max-width: 100%;
  }
  .six-sec .owl-carousel .owl-stage {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    padding-left: 0 !important;
  }
  #success-overlay p {
    padding-left: 0px;
    padding-right: 0px;
  }
  /* START Calculator css */
  .container-calculator {
    background: none;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
  }
  .fourth-sec {
    background-color: #ffffff;
    margin-top: 40px;
  }
  .calculator {
    padding: 0 10px 10px;
  }
  .calculator .main-content {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }

  .calculator .right-panel,
  .calculator .left-panel {
    padding: 10px;
  }

  .calculator .right-panel-bg {
    padding: 10px;
  }

  .calculator #down-payment-percent {
    padding-right: 0;
  }

  .calculator .status-btn {
    padding: 10px;
  }

  .calculator .left-panel {
    border-right: none;
  }

  .calculator .form-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .calculator .form-group.loan-term-group,
  .calculator .form-group.interest-rate-group {
    width: 50%;
  }

  .calculator .form-group.loan-term-group .input-with-suffix,
  .calculator .form-group.interest-rate-group .input-with-suffix {
    width: 100%;
    padding-left: 16px;
  }

  .calculator .suffix-label {
    position: absolute;
    padding: 14px 6px;
    min-width: 20px;
    text-align: center;
    font-size: 14px;
    color: #a3a6aa;
    right: 10px;
  }

  .calculator .suffix-labelpercent {
    padding: 14px 6px;
    min-width: 20px;
    text-align: center;
    font-size: 14px;
    color: #a3a6aa;
  }

  /* Adjust input containers to prevent clipping */
  .calculator .input-with-suffix,
  .calculator .input-with-suffixdown {
    display: flex;
    align-items: center;
    overflow: visible;
  }

  .calculator .form-input {
    padding: 14px 8px;
    flex: 1;
  }

  .calculator .downpaymentdiv {
    gap: 10px;
  }
  footer {
    margin-top: 0;
  }
  .faq .head-main p {
    max-width: 100%;
  }
  .faq-header {
    background: transparent;
    gap: 10px;
  }
  .lang-ar .banner {
    background: url(images/Header-ar-mobile.png);
    background-color: transparent;
    color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .lang-ar h1 {
    font-size: 32px;
    line-height: 34px;
  }

  .lang-ar .flex-row.hide-desktop {
    max-width: 100%;
    margin: 0 auto;
    display: flex !important
;
    gap: 40px;
    justify-content: center;
    width: 80%;
    align-items: center;
    flex-wrap: wrap;
  }
  .lang-ar .third-sec {
    padding-top: 50px;
  }

  .lang-ar .logo img {
    max-width: 160px;
    text-align: right;
    margin-top: 15px;
  }
  .lang-ar .logo {
    text-align: right;
  }
  .lang-ar .bank-logos img {
    height: 24px;
    margin-right: 0;
  }
  .lang-ar .arrow {
    margin-left: 0;
  }
  .lang-ar .form-wrapper {
    margin-top: 20px;
  }
  .lang-ar h3 {
    color: #000000;
    font-size: 20px;
  }
  .lang-ar .head-main p {
    line-height: 20px;
  }
  .lang-ar .faq h3 {
    font-size: 16px;
  }
  .lang-ar .faq-content p {
    font-weight: 300;
  }
  .lang-ar .fifth-sec img.hide-desktop.img-responsive {
    scale: 95%;
  }
  .lang-ar #success-overlay p {
    padding: 0px 10px;
    line-height: 30px;
  }
  /* END Calculator css */
}
