/* Media Query for Tablets and smaller devices */
@media (max-width: 784px) {
    .navbar {
        padding: 10px;
    }
    .navbar .logo {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        display: none; /* Hide the links by default */
        width: 100%;
        text-align: center;
    }
    .nav-links.active {
        display: flex; /* Show the links when active */
    }
    .nav-links a {
        font-size: 18px;
    }
    
    .hamburger {
        display: flex;
    }
    .container-box {
      width: 100% !important;
    }
    .project-img-container {
        grid-template-columns: repeat(3, 1fr); /* 3 images per row on smaller screens */
      }
      .testimonial-carousel .testimonial-item {
        padding: 5px;
      }
      .testimonial-card {
        padding: 20px; /* Adjust padding for mobile */
      }
      .content,.abt-img, .abt-content{
        width: 100%;
      }
      .content >h1{
        font-size: 50px;
      }
      .about,.director, .why, .row,.footer {
        height: auto;
        padding-left: 10px;
        padding-right: 10px;
        flex-direction: column;
      }
      .stats-container{
        padding: 10px;
        width: 100%;
        gap: 10px;
      }
      .number{
        font-size: 15px;
      }
      .state-box{
        padding: 5px;
      }
      .label{
        font-size: 10px;
      }
      .description{
        display: none;
      }
      .work > h2, .testi > h2{
        font-size: 15px;
        font-weight: 100;
      }
      .step img{
        height: 60px;
        width: 60px;
      }
      .step h3 {
        font-size: 11px;
        font-weight: 100;
      }
      .service-box,.service-box2{
        flex-direction: column;
      }
      .service-content,.service-img, .service-content-2,.service-img-2, .director-img, .director-content,.why-1{
        height:auto;
        width: 100% !important;
      }
      .why-2{
        padding: 10px;
        height:auto;
        width: 100%;
      }
      .b-footer{
        flex-direction: column;
        padding-top: 10px;
        text-align: center;
      }
      .lord-icon{
      height: 50px !important;
      width: 50px !important;
      }
      .gallery-img {
        height: 250px;
        flex-wrap: wrap;
      }
      .item img{
        height: 220px;
      }
      .form-container{
        flex-direction: column;
      }
      .contact-form , .contact-detail, .content-area, .side-area{
        width: 100%;
        border-radius: 0;
      }
      .blog-detail{
        flex-direction: column;
      }
      .author-detail{
        gap: 5px;
      }
      .blog-thumbnail {
        height: auto;
      }
      .f-card:first-child{
        height: auto !important;
        align-items: center !important;
      }
      .f-card {
        height:auto !important;
        padding-bottom: 10px;
        width: 100% !important;
      }
    .clientele-header h2 {
        font-size: 2rem;
    }

    .clientele-header .description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .client-logo-item {
        height: 100px;
    }

    .client-logo-box {
        height: 80px;
        width: 150px;
        padding: 20px;
    }
}

/* Media Query for Mobile Devices */
@media (max-width: 480px) {
    .navbar .logo {
        font-size: 18px;
    }

    .nav-links a {
        font-size: 16px;
        padding: 8px;
    }
    .project-img-container {
        grid-template-columns: repeat(2, 1fr); /* 2 images per row on mobile */
      }
      .testimonial-card {
        padding: 10px; /* Further adjust padding for mobile */
      }
    .client-logo-item {
        height: 80px;
        margin: 0 10px;
    }

    .client-logo-box {
        height: 70px;
        width: 120px;
        padding: 15px;
    }
    .blog-card{
              width: 100% !important;
    }
}
/* Tablet Landscape */
@media (min-width: 785px) and (max-width: 900px) {
 p{
  font-size: 19px;
 }
  .navbar {
    padding: 10px;
  }
  .container-box {
    width: 100% !important;
  }
  .project-img-container {
    grid-template-columns: repeat(3, 1fr);  
  }
  .testimonial-card {
    padding: 20px;  
  }
  .testimonial-carousel .testimonial-item {
    padding: 5px;
  }
  .content,.abt-img, .abt-content{
    width: 100%;
  }
  .content >h1{
    font-size: 50px;
  }
  .about,.director, .why, .row{
    height: auto;
    padding-left: 10px;
    padding-right: 10px;
    flex-direction: column;
  }
  .stats-container{
    padding: 10px;
    width: 100%;
    gap: 10px;
  }
  .number{
    font-size: 15px;
  }
  .state-box{
    padding: 5px;
  }
  .label{
    font-size: 10px;
  }
  .description{
    display: none;
  }
  .work > h2, .testi > h2{
    font-size: 15px;
    font-weight: 100;
  }
  .step img{
    height: 60px;
    width: 60px;
  }
  .step h3 {
    font-size: 11px;
    font-weight: 100;
  }
  .service-box,.service-box2{
    flex-direction: column;
  }
  .service-content,.service-img, .service-content-2,.service-img-2, .director-img, .director-content,.why-1 {
    height:auto;
    width: 100% !important;
  }
  .why-2{
    padding: 10px;
    height:auto;
    width: 100%;
  }
  .footer, .f-card{
    height: auto !important;
  }
  .b-footer{
    flex-direction: column;
    padding-top: 10px;
    text-align: center;
  }
  .lord-icon{
  height: 50px !important;
  width: 50px !important;
  }
 
  .item img{
    height: 220px;
  }
  .form-container{
    flex-direction: column;
  }
  .contact-form , .contact-detail, .content-area, .side-area{
    width: 100%;
    border-radius: 0;
  }
  .blog-detail{
    flex-direction: column;
  }
  .author-detail{
    gap: 5px;
  }
  .blog-thumbnail {
    height: auto;
  }
}

  @media (max-width: 576px) {
    .col-md-3 {
      width: 100%;
    }
    .gallery-img {
      height: 250px;
      width: 100% !important;
    }
  }
  @media (max-width: 739px) {
    .gallery-img {
      height: 250px;
      width: 100% !important;
    }
  }
  @media (min-width: 901px) and (max-width: 1149px) {
    .container-box {
      padding: 10px;
      margin: 0 auto;
      width: 100% !important;
    }
    .navbar {
      padding: 10px;
    }
    .stats-container{
      gap: 10px !important;
      width: 100% !important;
     }
  }
