@media (max-width: 1400px) {
    p {
        font-size: 17px !important;
        line-height: 26px !important;
    }

    .last h4 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }

    .last p {
        font-size: 16px;
    }

    .display-2 {
        padding: 0 8px;
    }

    .top {
        padding-top: 15px;
    }

    .banner-heading {
        font-size: 70px !important;
    }

    .form-heading {
        font-size: 70px;
    }

    .form-control {
        padding: 10px 15px !important;
    }

    .col-md-2 {
        width: 17.666667% !important;
    }
}

@media (max-width: 1199px) {
    .main-heading {
        font-size: 65px !important;
        line-height: 75px !important;
    }

    .banner h1 {
        font-size: 42px !important;
    }

    p {
        font-size: 15px !important;
        line-height: 21px !important;
    }

    .about-heading {
        font-size: 70px !important;
    }

    .last .blog-details {
        padding-top: 15px;
      }

    .box {
        width: 48% !important;
    }

    .about-heading {
        font-size: 65px !important;
    }

    .feature-row h4 {
        font-size: 22px;
        justify-content: center;
    }

    .last {
        width: 100% !important;
    }

    .width {
        width: 100% !important;
    }

    .blog-details {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .last .blog-details {
        flex-direction: column !important;
    }

    .feature-row img {
        border-radius: 20px;
    }

    .services,
    .cards {
        margin-bottom: 100px !important;
    }

    .about {
        margin-bottom: 100px !important;
    }

    .home {
        margin-bottom: 100px !important;
    }

    .blog {
        margin-bottom: 100px !important;
    }

    .banner {
        margin-bottom: 100px !important;
    }
}

@media (max-width: 991px) {

    .navbar .nav-btn {
        display: none;
    }
    
.offcanvas-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #000;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.9s ease-in-out;
    z-index: 1050;
  }

  .navbar-brand {
    order: 2;
    display: grid;
  }

  .navbar-toggler-icon {
    display: grid;
    order: -1;
  }

  .home {
    margin-bottom: 50px !important;
  }
  
  .offcanvas-content {
    padding-top: 50px;

    text-align: left !important;
  }

  .nav-link {
    font-size: 16px !important;
    margin-bottom: 20px;
  } 
  
  .offcanvas-menu.open {
    left: 0;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    z-index: 1040;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

    .nav-link:hover {
        border-bottom: none;
        background-color: #fff;
        color: #000 !important;
    }

    .navbar-dark .navbar-toggler-icon {
        background: transparent;
    }

    .navbar-expand-lg .navbar-collapse {
        text-align: end;
        margin-top: 15px;
    }

    .main-heading {
        font-size: 50px !important;
        line-height: 62px !important;
    }

    p,
    a {
        font-size: 13px !important;
        line-height: 18px !important;
    }

    .about-heading {
        font-size: 52px !important;
    }

    .about-heading {
        font-size: 52px !important;
    }

    .banner-row {
        gap: 18px !important;
    }

    .banner h1 {
        font-size: 30px !important;
    }

    .form-control {
        font-size: 0.6rem !important;
    }

    .form-control {
        padding: 7px 15px !important;
    }

    .form-group {
        margin-bottom: 10px !important;
    }

    .form .container {
        padding-left: 0 !important;
    }

    .footer-logo {
        font-size: 30px;
        margin-bottom: 10px !important;
    }

    footer img {
        width: 30% !important;
    }

    footer h4 {
        font-size: 22px;
    }
    }

@media (max-width: 767px) {

    .card-box-row .box {
        border: none;
        background-color: transparent;
        display: flex;
        text-align: center !important;
        border-radius: 10px !important;
        padding: 80px 30px !important;
      }

      .banner h1 {
        font-size: 30px !important;
      }
   
    .home {
        margin-bottom: 20px !important;
    }

    .col-10 {
        width: 100% !important;
    }

    .home .col-6 {
        width: 80%;
    }

    .main-heading {
        font-size: 38px !important;
        line-height: 45px !important;
    }

    p {
        font-size: 12px !important;
    }

    .services,
    .cards {
        margin-bottom: 70px !important;
    }

    .about {
        margin-bottom: 70px !important;
    }

    .home {
        margin-bottom: 70px !important;
    }

    .blog {
        margin-bottom: 70px !important;
    }

    .banner {
        margin-bottom: 70px !important;
    }

    .about-heading {
        margin-bottom: 0px !important;
    }

    .services .col-md-5 {
        padding-top: 0px;
    }

    .box {
        width: 97% !important;
    }

    .blog-heading {
        font-size: 55px !important;
    }

    .last .blog-details {
        padding-top: 17px !important;
    }

    .banner .col-md-6 {
        width: 100% !important;
    }

    .form-row {
        flex-direction: column;
    }

    .form .col-md-5 {
        width: 80% !important;
        display: flex;
        justify-content: center;
    }

    .form-row {
      gap: 38px;
    }

    footer .col-md-2 {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
    }

    footer .col-md-4 p {
        margin-top: 0;
        margin-bottom: 2rem !important;
    }

    footer {
        text-align: center;
    }

    .footer-row {
        margin-bottom: 30px;
    }

    .about {
        text-align: center;
    }

    .about-heading {
        margin-bottom: 20px !important;
        font-size: 48px;
    }

    .services {
        text-align: center;
    }

    .form-heading {
        font-size: 48px !important;
        margin-bottom: 20px !important;
    }

    .banner {
        text-align: center;
    }

    .about-col {
        display: flex;
        justify-content: center;
      }
      
}

@media (max-width: 450px) {
    .about-heading {
        font-size: 46px !important;
        margin-bottom: 40px !important;
    }

}

@media (max-width: 400px) {
    p {
        font-size: 10px !important;
    }

    .home .col-6 {
        width: 90% !important;
    }

    .services,
    .cards {
        margin-bottom: 30px !important;
    }

    .about {
        margin-bottom: 30px !important;
    }

    .home {
        margin-bottom: 30px !important;
    }

    .blog {
        margin-bottom: 30px !important;
    }

    .banner {
        margin-bottom: 30px !important;
    }

    .about-heading {
        font-size: 40px !important;
    }

    .blog-heading {
        font-size: 40px !important;
        margin-bottom: 40px !important;
    }

    .feature-row h4 {
        font-size: 18px;
        line-height: 1.3rem !important;
    }

    .display-2 {
        gap: 12px !important;
    }

    .banner h1 {
        font-size: 26px !important;
    }

    .form-heading {
        font-size: 40px !important;
    }

    br {
        display: none;
    }

    footer img {
        width: 22% !important;
    }

    .main-heading {
        font-size: 32px !important;
        line-height: 42px !important;
    }

    .navbar-brand {
        font-size: 30px !important;
    }

    .navbar-toggler-icon {
        width: 1.2em !important;
        height: 1.2em !important;
    }

}

@media (max-width: 355px) {
    .blog h4 {
        font-size: 15px !important;
    }

    .main-heading {
        font-size: 28px !important;
        line-height: 38px !important;
    }

    .btn-icon {
        font-size: 12px !important;
    }

    .about-heading {
        font-size: 35px !important;
    }

    .blog-heading {
        font-size: 35px !important;
    }

    .banner h1 {
        font-size: 35px !important;
    }

    .form-heading {
        font-size: 35px !important;
    }

    .form .col-md-5 {
        width: 90% !important;
    }

    .footer-row {
        margin-bottom: 16px !important;
    }

    .navbar-brand {
        font-size: 26px !important;
    }
}