/* XXL devices (very large screens, 1400px and up) */
@media (min-width: 1400px) {
  .section {
    padding: 90px 0 !important;
    position: relative;
  }

  .banner-content {
    position: relative;
    z-index: 2;
    color: var(--light-color);
    /* padding-right: 50%; */
    opacity: 0;
    margin-top: 50px;
    transform: translateX(50px);
    transition: all 0.8s ease 0.8s;
  }
}

/* Extra large devices (large desktops, 1200px to 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .section {
    padding: 80px 0 !important;
    position: relative;
  }
}

/* Large devices (desktops, 992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .banner .slide-image-container img {
    width: 100%;
    height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  }


  .my-services-inn .services-sidebar {
    padding: 20px;
    height: 100%;
    position: sticky;
    top: 100px;
    border: 1px solid skyblue;
    border-radius: 10px;
    height: auto;
    width: 100%;
}

  .offcanvas-body .navbar-nav .nav-link {
    padding: 10px ;
  }

  .section {
    padding: 70px 0 !important;
    position: relative;
  }

  .footer {
    position: relative;
    color: white;
    padding: 70px 0 0;
    overflow: hidden;
  }
}

/* Medium devices (tablets, 768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .body {
    overflow-x: hidden !important;
  }

  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 0;
  }

  .logo {
    max-height: 70px;
  }

  .counter-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .banner h1 {
    font-size: 2.5rem !important;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  .section {
    padding: 60px 0;
  }

  .content-title {
    font-size: 2rem;

    margin-bottom: 5px;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
  }

  .floating-icons-bg {
    display: none;
  }

  .loader img {
    height: 70px;
    width: 70px;
  }
  .counter-content h2 {
    font-size: 2rem;
    text-align: left;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.9;
    color: var(--light-color) !important;
  }
  .counter-content p {
    font-size: 1.1rem;
    text-align: left !important;
    margin-bottom: 10px;
    opacity: 0.9;
  }

  .counter-content {
    margin-bottom: 10px;
    text-align: center;
  }

  .common-title-discription h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
  }

  .section-title {
    font-size: 2rem;
  }

  .section-header {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
  }

  .feature-card-wrapper {
    padding: 0px;
  }

  .project-filter {
    margin-bottom: 20px;
    text-align: center;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .process-step {
    width: 60px;
    height: 60px;
  }

  .process-box {
    margin-bottom: 0px;
  }

  .gallery-item {
    padding-bottom: 0%;
  }

  .my-testi-section .swiper-slide {
    padding: 1px 0;
    height: auto;
    min-height: 10vh;
  }

  .my-testi-header {
    text-align: center;
    margin-bottom: 0px;
  }

  .footer {
    padding: 60px 0 0;
  }

  .footer .footer-bottom {
    padding: 20px 0;
    margin-top: 0px;
    display: flex;
    border-top: 2px solid rgb(255, 255, 255);
    justify-content: space-between;
    text-align: center;
    flex-direction: row;
  }

  .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .counter-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    justify-content: center;
  }

  .my-breacum {
    height: auto;
    min-height: 200px;
    margin-top: 80px;
  }
.my-breacum-slide {
    min-width: 100%;
    height: 100%;
    height: 200px;
    display: flex
;
    align-items: center;
    justify-content: center;
    padding: 20px;
}



.my-services-inn .service-image img{
  width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;


    
}


.my-services-inn .services-sidebar {
    padding: 20px;
    height: 100%;
    position: sticky;
    top: 100px;
    border: 1px solid skyblue;
    border-radius: 10px;
    height: auto;
    margin: 30px auto;
    width: 75%;
}



.gallery-inn .gallery-item {
    margin-bottom: 70px;
    /* overflow: hidden; */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}








}

/* Small devices (phones, 576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .body {
    overflow-x: hidden !important;
  }

  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 0;
  }

  .logo {
    max-height: 70px;
  }

  .counter-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .banner h1 {
    font-size: 2rem !important;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  .section {
    padding: 50px 0 !important;
  }

  .content-title {
    font-size: 1.5rem;

    margin-bottom: 5px;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
  }

  .floating-icons-bg {
    display: none;
  }

  .loader img {
    height: 70px;
    width: 70px;
  }
  .counter-content h2 {
    font-size: 1.5rem;
    text-align: left;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.9;
    color: var(--light-color) !important;
  }
  .counter-content p {
    font-size: 1.1rem;
    text-align: left !important;
    margin-bottom: 10px;
    opacity: 0.9;
  }

  .counter-content {
    margin-bottom: 10px;
    text-align: center;
  }

  .common-title-discription h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-header {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
  }

  .feature-card-wrapper {
    padding: 0px;
  }

  .project-filter {
    margin-bottom: 20px;
    text-align: center;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .process-step {
    width: 60px;
    height: 60px;
  }

  .process-box {
    margin-bottom: 0px;
  }

  .gallery-item {
    padding-bottom: 0%;
  }

  .my-testi-section .swiper-slide {
    padding: 1px 0;
    height: auto;
    min-height: 10vh;
  }

  .my-testi-header {
    text-align: center;
    margin-bottom: 0px;
  }

  .footer {
    padding: 50px 0 0;
  }

  .footer .footer-bottom {
    padding: 20px 0;
    margin-top: 0px;
    display: flex;
    border-top: 2px solid rgb(255, 255, 255);
    justify-content: space-between;
    text-align: center;
    flex-direction: column;
  }

  .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .my-breacum-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    margin-top: 20px;
    align-items: center;
  }

  .my-breacum-slide img {
    max-width: 100%;
    max-height: 100%;
    height: 150px;
    display: none;
    object-fit: contain;
  }

  .my-breacum {
    height: auto;
    min-height: 150px;
    margin-top: 80px;
  }

  .about-grid {
    gap: 20px;
  }

  .my-mis-vis-val .section-title {
    text-align: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
  }

  .team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    width: 75%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    margin: 10px auto;
    /* border-top: 4px solid var(--secondary-color); */
  }

  .my-breacum-slide {
    display: none !important;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .card-content {
    position: relative;
    padding: 15px 7px;
    color: var(--light-color);
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .my-services-inn .services-sidebar {
    padding: 20px 10px;

    border: 1px solid skyblue;
    border-radius: 10px;
    height: auto;
    width: 100%;
    margin-top: 30px;
  }

  .project-view-inn .section-title {
    color: var(--primary-color);
    margin: 25px 0 2px;
    font-weight: 600;
  }

  .contact-inn {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .body {
    overflow-x: hidden !important;
  }

  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 0;
  }

  .logo {
    max-height: 70px;
  }

  .counter-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .banner h1 {
    font-size: 2rem !important;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  .section {
    padding: 40px 0;
  }

  .content-title {
    font-size: 1.5rem;

    margin-bottom: 5px;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
  }

  .floating-icons-bg {
    display: none;
  }

  .loader img {
    height: 70px;
    width: 70px;
  }
  .counter-content h2 {
    font-size: 1.5rem;
    text-align: left;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.9;
    color: var(--light-color) !important;
  }
  .counter-content p {
    font-size: 1.1rem;
    text-align: left !important;
    margin-bottom: 10px;
    opacity: 0.9;
  }

  .counter-content {
    margin-bottom: 10px;
    text-align: center;
  }

  .common-title-discription h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-header {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
  }

  .feature-card-wrapper {
    padding: 0px;
  }

  .project-filter {
    margin-bottom: 20px;
    text-align: center;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .process-step {
    width: 60px;
    height: 60px;
  }

  .process-box {
    margin-bottom: 0px;
  }

  .gallery-item {
    padding-bottom: 0%;
  }

  .my-testi-section .swiper-slide {
    padding: 1px 0;
    height: auto;
    min-height: 10vh;
  }

  .my-testi-header {
    text-align: center;
    margin-bottom: 0px;
  }

  .footer {
    padding: 40px 0 0;
  }

  .footer .footer-bottom {
    padding: 20px 0;
    margin-top: 0px;
    display: flex;
    border-top: 2px solid rgb(255, 255, 255);
    justify-content: space-between;
    text-align: center;
    flex-direction: column;
  }

  .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .my-breacum-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    margin-top: 20px;
    align-items: center;
  }

  .my-breacum-slide img {
    max-width: 100%;
    max-height: 100%;
    height: 150px;
    display: none;
    object-fit: contain;
  }

  .my-breacum {
    height: auto;
    min-height: 150px;
    margin-top: 80px;
  }

  .about-grid {
    gap: 20px;
  }

  .my-mis-vis-val .section-title {
    text-align: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
  }

  .team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    width: 75%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    margin: 10px auto;
    /* border-top: 4px solid var(--secondary-color); */
  }

  .my-breacum-slide {
    display: none !important;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .card-content {
    position: relative;
    padding: 15px 7px;
    color: var(--light-color);
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .my-services-inn .services-sidebar {
    padding: 20px 10px;

    border: 1px solid skyblue;
    border-radius: 10px;
    height: auto;
    width: 100%;
    margin-top: 30px;
  }

  .project-view-inn .section-title {
    color: var(--primary-color);
    margin: 25px 0 2px;
    font-weight: 600;
  }

  .contact-inn {
    padding-left: 15px;
    padding-right: 15px;
  }
}
