/* Global Responsiveness */
img {
  max-width: 100%;
  height: auto;
}

/* Mobile (≤576px) */
@media (max-width: 576px) {
  .main-heading {
    font-size: 32px !important;
  }

  .sec-05-wrapper {
    padding: 0;
    background: none;
  }

  .sec-card {
    padding: revert-layer;
  }

  .sec-card:nth-child(2):after {
    content: none;
  }

  section.testi {
    overflow: hidden;
  }

  section.sec-01:before,
  section.sec-01:after {
    content: none;
  }

  .hero-content h1 {
    font-size: 36px !important;
  }

  .hero-section {
    padding-top: 100px;
  }

  .sec-01-btn-main {
    flex-direction: column;
    border-radius: 20px;
    padding: 15px;
  }

  .proposal-form {
    margin-top: 30px;
  }

  section {
    padding-top: 30px;
    padding-bottom: 30px;
    overflow-x: hidden;
  }

  .header-wrapper {
    padding: 10px;
  }
}

/* Tablet (577px–991px) */
@media (max-width: 767px) {
    .sec-05-wrapper .img-box-content {
    margin-bottom: 0;
    margin-right: 0;
}
}

@media (min-width: 577px) and (max-width: 991px) {
  .main-heading {
    font-size: 40px !important;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 48px !important;
  }

  .hero-section {
    padding-top: 120px;
  }
  

}

/* Large screens (≥1200px) */
@media (max-width: 1199px) {
  div#navbarNav {
    justify-content: flex-start;
  }

  .header-wrapper {
    flex-direction: row-reverse;
  }

  button.navbar-toggler.d-xl-none {
    background: var(--primary);
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }

  .offcanvas-body {
    flex-direction: column;
    display: flex;
    justify-content: space-between;
  }

  .button-main {
    flex: 0 0 auto;
  }

  .offcanvas-body {
    flex-direction: column;
    display: flex;
    justify-content: space-between;
  }

  .button-main {
    flex: 0 0 auto;
  }

  .header-contact {
    color: black !important;
  }
}


@media (max-width: 992px) {
  .hero-section {
    padding-top: 150px;
  }


  section.portfolio {
    padding: 32px;
  }

  .info-text h2 {
    font-size: 37px;
  }

  .sec-03-swiper-btn {
    justify-content: center;
  }

  .sec-03-content {
    text-align: center;
  }

  .ft-bt.social-icons {
    justify-content: center;
  }

  .ft-brd address {
    text-align: center;
    max-width: 310px;
    margin: 0 auto;
  }

  .footer-row-bottom .row {
    flex-direction: column-reverse;
    gap: 16px;
  }

  footer p {
    text-align: center;
  }

  .sec-02-content {
    margin: 0;
    text-align: center;
  }

  .sec-02-cards-main {
    margin-top: 30px;
  }

  .sec-head {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
  }

  .choose-paragraph p {
    text-align: center;
  }

  .new-inbanner>img {
    display: none;
  }

  .hero-content {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
  }

  .hero-btn {
    flex-direction: column;
    display: flex;
    align-items: center;
  }

  .proposal-form {
    margin: 0 auto;
    margin-top: 20px;
  }

  .sec-01-content {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
  }
section.sec-01 .row.reverse {
    flex-direction: column-reverse;
}
  /*section.sec-01 .img-box-content {*/
  /*  display: none;*/
  /*}*/

  section.sec-02.sec-01 .img-box-contnet {
    display: block;
  }

  section.sec-02.sec-01 .img-box-content {
    display: block;
  }

  .sec-02-card {
    margin-bottom: 20px;
  }

  .sec-04-content {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
  }

  section.sec-04 .sec-01-btn-main {
    margin: 0;
    margin-bottom: 20px;
  }

  form#proposalForm {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
  }

  form#proposalForm .form-group {
    width: 100%;
  }

  .sec-card {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
  }

  .sec-06-tabs {
    overflow-x: scroll;
  }

  .sec-06-tabs button {
    flex: 0 0 170px;
    width: 100%;
    padding: 10px;
  }

  .testi-heading {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
  }

  .cmid-ibox li {
    font-size: 20px;
  }

  .cmid-info h4,
  .cmid-info p {
    text-align: center;
  }


  .new-inbanner {
    background: none;
  }

  .new-inbanner h2 {
    font-size: 40px !important;
    color: black !important;
  }

  section.new-inbanner {
    display: none;
  }

  .cmid-box {
    padding: 0;
  }

  .cmid-form {
    margin: 0;
    /* padding-top: 0; */
  }

  .col-lg-6:has(.work-img) {
    /* display: none; */
  }

  .info-work {
    padding: 20px;
    background: #f5f5f5;
    border: 1px solid #ebebeb;
    margin-bottom: 20px;
  }

  .info-work span {
    font-size: 60px;
    right: 10px;
    top: 7px;
  }

  .info-text {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
  }

  .info-text h2::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .info-text h2 {
    line-height: 1.1;
  }

  .info-count {
    margin-bottom: 20px;
  }

  .portfolio::before {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
  }

  .port-books {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  section.hero-section .proposal-form {
    margin-top: 30px;
  }

  .footer-bottom {
    text-align: center;
  }
}


/* Desktop (≥992px) */
@media (max-width: 768px) {
  .info-count h4 div {}

  .info-count h4 {
    font-size: 40px;
  }

  section.sec-01 {
    padding-bottom: 0;
  }

  .btn-theme {
    padding: 8px 27px;
    font-size: 15px;
  }

  .info-count p {
    font-size: 15px;
  }

  .info-count h4+p {
    font-size: 15px;
  }

  .counter.text-center {
    padding-top: 0;
  }
}

.row {
  margin-right: 0;
  margin-left: 0;
}


.offcanvas {
  width: 300px !important;
}

.offcanvas-body .nav-link {
  font-size: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-body .header-contact span {
  font-size: 16px;
}