/* ==========================================================================
   Invox Finance clone — responsive styles
   ========================================================================== */

/* ---------- 1200px ---------- */
@media (max-width: 1200px) {
  /* Stack the base grid columns (home/inner sections). The footer and register
     form use col-lg-*/col-md-*/col-sm-* and keep their proportions here. */
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11 {
    width: 100% !important;
  }

  .offset-1, .offset-2, .offset-3, .offset-4, .offset-5,
  .offset-6, .offset-7, .offset-8, .offset-9, .offset-10, .offset-11 {
    margin-left: 0;
  }

  .slide-item h1,
  .slide-item h2 {
    font-size: 52px;
    line-height: 60px;
  }

  .page-title h1 {
    font-size: 56px;
    line-height: 64px;
    margin-bottom: 60px;
  }

  .page-title {
    padding: 140px 0 32px;
  }

  .about-section .experience-box {
    left: 0;
  }

  .growth-section .progress-box {
    right: 0;
  }
}

/* ---------- 991px ---------- */
@media (max-width: 991px) {
  /* col-md-* overrides col-lg-* for the footer and register form */
  .col-md-1 { flex: 0 0 auto; width: 8.3333%; }
  .col-md-2 { flex: 0 0 auto; width: 16.6667%; }
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.6667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.3333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.6667%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }
  .col-md-10 { flex: 0 0 auto; width: 83.3333%; }
  .col-md-11 { flex: 0 0 auto; width: 91.6667%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }

  body {
    font-size: 16px;
  }

  h1, .page-title h1 { font-size: 44px; line-height: 52px; }
  h2 { font-size: 36px; line-height: 44px; }
  h3 { font-size: 28px; line-height: 36px; }

  .sec-pad {
    padding: 90px 0;
  }

  .slide-item {
    padding: 100px 0 90px;
  }

  .slide-item h1,
  .slide-item h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .slide-item .lower-box {
    flex-wrap: wrap;
  }

  .slide-item .lower-box .theme-btn {
    margin-left: 0;
  }

  .page-title {
    padding: 110px 0 32px;
  }

  .page-title h1 {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 40px;
  }

  .header-upper {
    padding: 0 20px;
    border-radius: 0;
  }

  .header-upper .outer-container {
    padding: 16px 0;
  }

  .header-upper .logo-box {
    margin-right: 20px;
  }

  .header-lower {
    padding: 0 20px;
    display: none;
  }

  .menu-area .mobile-nav-toggler {
    display: flex;
  }

  .main-footer .footer-bottom .inner-container {
    flex-direction: column;
    text-align: center;
  }

  .register-section .register-inner {
    padding: 30px 20px;
  }

  .industries-section .tabs-box .tab-content .tab-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-block-one {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  .error-section .error-code {
    font-size: 100px;
    line-height: 100px;
  }

  .info-block-one .inner-box {
    margin-bottom: 30px;
  }

  .contact-section {
    padding-bottom: 40px;
  }
}

/* ---------- 767px ---------- */
@media (max-width: 767px) {
  /* col-sm-* overrides col-md-* for the footer and register form */
  .col-sm-1 { flex: 0 0 auto; width: 8.3333%; }
  .col-sm-2 { flex: 0 0 auto; width: 16.6667%; }
  .col-sm-3 { flex: 0 0 auto; width: 25%; }
  .col-sm-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-sm-5 { flex: 0 0 auto; width: 41.6667%; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-7 { flex: 0 0 auto; width: 58.3333%; }
  .col-sm-8 { flex: 0 0 auto; width: 66.6667%; }
  .col-sm-9 { flex: 0 0 auto; width: 75%; }
  .col-sm-10 { flex: 0 0 auto; width: 83.3333%; }
  .col-sm-11 { flex: 0 0 auto; width: 91.6667%; }
  .col-sm-12 { flex: 0 0 auto; width: 100%; }

  h1, .page-title h1 { font-size: 36px; line-height: 44px; }
  h2 { font-size: 30px; line-height: 38px; }
  h3 { font-size: 24px; line-height: 32px; }

  .sec-pad {
    padding: 70px 0;
  }

  .slide-item {
    padding: 80px 0 70px;
  }

  .slide-item h1,
  .slide-item h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .slide-item .lower-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-carousel .carousel-nav {
    bottom: 20px;
    right: 20px;
  }

  .banner-carousel .carousel-dots {
    bottom: 34px;
    left: 20px;
  }

  .about-section .experience-box {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 30px;
  }

  .about-section .circle-box {
    position: relative;
    right: auto;
    top: auto;
    margin: 0 auto 30px;
  }

  .growth-section .progress-box {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 30px;
  }

  .growth-section .clients-carousel {
    justify-content: center;
  }

  .testimonial-section .rating-box {
    flex-direction: column;
    gap: 12px;
  }

  .working-block {
    margin-bottom: 40px;
  }

  .working-block:last-child {
    margin-bottom: 0;
  }

  .page-title {
    padding: 80px 0 32px;
  }

  .page-title h1 {
    font-size: 34px;
    line-height: 42px;
    margin-bottom: 30px;
  }

  .page-title .bread-crumb {
    flex-wrap: wrap;
  }

  .main-footer .footer-upper {
    padding: 70px 0 40px;
  }

  .error-section {
    padding: 100px 0;
  }

  .error-section .error-code {
    font-size: 80px;
    line-height: 80px;
  }
}

/* ---------- 575px ---------- */
@media (max-width: 575px) {
  .header-upper .right-column {
    gap: 12px;
  }

  .header-upper .right-column .theme-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .theme-btn {
    padding: 14px 30px;
    font-size: 16px;
  }

  .slide-item h1,
  .slide-item h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .register-section .form-row {
    flex-direction: column;
    gap: 0;
  }

  .register-section .form-group {
    margin-bottom: 20px;
  }

  .contact-map iframe {
    height: 300px;
  }

  .testimonial-page .testimonial-block-one {
    padding-left: 0;
  }

  .testimonial-page .testimonial-block-one .thumb-box {
    position: relative;
  }

  .testimonial-page .testimonial-block-one .inner-box {
    padding-left: 30px;
  }

  .testimonial-page .testimonial-block-one .inner-box .icon-box {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }
}
