@media only screen and (min-width: 789px) and (max-width: 1200px) {
  .portfolio .gallery .items:nth-child(odd) {
    width: 45%;
    height: 250px !important;
    margin-bottom: 20px;
  }
  .section-padding {
    padding: 60px 0;
  }
  .custom-canvas {
    position: fixed;
    top: 0;
    right: -30%;
    width: 50%;
    height: 100%;
    background-color: #fff;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.6s ease 0.6s;
    z-index: 1050;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  /* Disable only left and right AOS animations */
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .portfolio .gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: center !important;
  }

  .portfolio .gallery .items {
    width: 100% !important; /* Full width for stacking */
    height: 350px !important; /* Adjust height dynamically */
    margin-bottom: 15px !important;
  }

  .portfolio .gallery .items .item-img {
    width: 100% !important;
    height: auto !important; /* Maintain aspect ratio */
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15) !important;
  }

  .portfolio .gallery .items .item-img img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    transition: transform 0.3s ease-in-out !important;
  }

  .portfolio .gallery .items .item-img:hover img {
    transform: scale(1.05) !important; /* Slight zoom effect */
  }

  .portfolio .gallery .items .cont {
    position: relative !important; /* Move inside the image */
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    padding: 10px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    border-radius: 0 !important;
    transition: 0.3s ease-in-out !important;
  }

  .portfolio .gallery .items .item-img:hover .cont {
    background: rgba(255, 255, 255, 0.85) !important;
    color: #333 !important;
  }
  .my-ban-button-next {
    right: 30px;
}
.my-ban-button-prev, .my-ban-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 2px solid #c7ae6a;
    background: transparent !important;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    color: #cc9c42;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    font-size: 20px;
}
.my-ban-button-next {
    right: 5px;
}
.my-ban-button-prev {
    left: 5px;
}
.my-ban-fraction {
    position: absolute;
    bottom: 0px !important;
    left: 70% !important;
    z-index: 999;
    color: #c7ae6a !important;
    font-size: 30px;
    font-weight: bold;
    padding: 8px 15px;
    font-family: 'Work Sans', sans-serif;
}
.my-ban-fraction span:nth-child(2) {
    color: #c7ae6a;
    font-weight: 300;
    margin: 0 5px;
    font-weight: 900;
    font-size: 30px;
}
.my-ban-fraction .swiper-pagination-current {
    color: transparent;
    -webkit-text-stroke: 2px #cc9c42;
    font-weight: 1000;
    font-size: 40px;
    position: relative;
    padding: 0px;
}
}

@media only screen and (min-width: 575px) and (max-width: 768px) {
  .navbar .logo img {
    height: 40px;
    width: auto !important;
  }

  .section-padding {
    padding: 50px 0;
  }

  .about .img-mons,
  .number-sec .item,
  .block-sec .vid-area .cont,
  .about .content,
  .skills-box {
    margin-bottom: 0px !important;
  }
  .m-sec {
    display: flex;
  }

  .spl-ban-section {
    padding-top: 30px;
  }
  .pb-70 {
    padding-bottom: 30px !important;
  }
  .blog-grid .item {
    margin-bottom: 20px;
  }
  /* .slider .parallax-slider .swiper-slide {
      position: relative;
      overflow: hidden;
      width: 100%;
      min-height: 50vh;
      padding-bottom: 50px;
    } */

  .about-us-button {
    margin-top: 0px;
  }

  .ban-content h2 {
    font-size: 35px;
    text-align: center;
  }
  .hos-section .row {
    margin-bottom: 40px;
  }
  .agri-firm-section .row {
    margin-bottom: 50px;
  }
  .news-side-area {
    display: flex;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    padding: 5px;
    background-color: white;
    margin-bottom: 10px;
  }
  .filter-section select {
    border-radius: 0px;
    padding: 8px;
    margin-bottom: 15px;
    width: 100%;
  }
  .con-car-main {
    display: flex;
    align-items: center;
    /* border: 3px gold dotted; */
    min-height: 175px;
    padding-left: 30px;
    justify-content: flex-start;
  }
  .con-car-main img {
    height: 50px;
    width: 50px;
    margin-right: 10px;
  }
  .mein-contact-container h2 {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 40px;
  }

  .mein-contact-container h3 {
    margin-top: 30px !important;
  }
  .mein-contact-container h3 {
    margin-top: 30px !important;
  }
}

@media only screen and (min-width: 376px) and (max-width: 767px) {
  .navbar .logo img {
    height: 40px;
    width: auto !important;
  }

  .section-padding {
    padding: 30px 0;
  }

  .about .img-mons,
  .number-sec .item,
  .block-sec .vid-area .cont,
  .about .content,
  .skills-box {
    margin-bottom: 0px !important;
  }
  .m-sec {
    display: flex;
  }

  .spl-ban-section {
    padding-top: 40px;
  }
  .pb-70 {
    padding-bottom: 40px !important;
  }
  .blog-grid .item {
    margin-bottom: 20px;
  }
  .slider .parallax-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 50vh;
    padding-bottom: 50px;
  }

  /* TODAY CHANGES */

  .spl-con h2 {
    font-size: 32px;
    text-transform: uppercase;
  }
  .ban-content h2 {
    font-size: 32px;
    text-transform: uppercase;
  }

  .contz h1 {
    font-size: 40px;
  }

  .pages-header {
    height: 50vh;
  }

  .home-about-vm-cont {
    display: flex;
    flex-direction: column;
  }
  .hos-section h2 {
    font-size: 40px;
  }
  .hos-section .row {
    margin-bottom: 30px;
  }

  .hos-section .carousel-item img {
    min-height: 300px;
    border-radius: 0px;
    aspect-ratio: 2 / 3 !important;
    object-fit: cover !important;
  }
  .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0px;
    left: 0;
    z-index: 15;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
  }

  .agri-firm-section .row {
    margin-bottom: 30px;
  }
  .agri-firm-section h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .filter-section select {
    border-radius: 0px;
    padding: 8px;
    margin-bottom: 15px;
    width: 100%;
  }
  .btn {
    margin-bottom: 10px;
  }
  .con-car-main {
    display: flex;
    align-items: center;

    min-height: 150px;
    padding-left: 30px;
    justify-content: flex-start;
  }
  .con-car-main img {
    height: 46px;
    width: 40px;
    margin-right: 7px;
  }
  .con-car-main h6 {
    font-size: 24px;
    font-weight: 200;
  }
  .mein-contact-container h2 {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 40px;
  }

  .mein-contact-container h3 {
    margin-top: 30px !important;
  }
  .mein-contact-container h3 {
    margin-top: 30px !important;
  }
}

@media only screen and (min-width: 320px) and (max-width: 575px) {
  .navbar .logo img {
    height: 40px;
    width: 82px !important;
  }

  .section-padding {
    padding: 30px 0;
  }

  .about .img-mons,
  .number-sec .item,
  .block-sec .vid-area .cont,
  .about .content,
  .skills-box {
    margin-bottom: 0px !important;
  }
  .m-sec {
    display: flex;
  }

  .spl-ban-section {
    padding-top: 30px;
  }
  .pb-70 {
    padding-bottom: 30px !important;
  }
  .blog-grid .item {
    margin-bottom: 20px;
  }
  .slider .parallax-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 50vh;
    padding-bottom: 50px;
  }

  /* TODAY CHANGES */

  .spl-con h2 {
    font-size: 32px;
    text-transform: uppercase;
  }
  .ban-content h2 {
    font-size: 32px;
    text-transform: uppercase;
  }

  .contz h1 {
    font-size: 40px;
  }

  .pages-header {
    height: 50vh;
  }

  .home-about-vm-cont {
    display: flex;
    flex-direction: column;
  }
  .hos-section h2 {
    font-size: 40px;
  }
  .hos-section .row {
    margin-bottom: 30px;
  }

  .hos-section .carousel-item img {
    min-height: 300px;
    border-radius: 0px;
    aspect-ratio: 2 / 3 !important;
    object-fit: cover !important;
  }
  .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0px;
    left: 0;
    z-index: 15;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
  }

  .agri-firm-section .row {
    margin-bottom: 30px;
  }
  .agri-firm-section h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .filter-section select {
    border-radius: 0px;
    padding: 8px;
    margin-bottom: 15px;
    width: 100%;
  }
  .btn {
    margin-bottom: 10px;
  }
  .con-car-main {
    display: flex;
    align-items: center;

    min-height: 150px;
    padding-left: 30px;
    justify-content: flex-start;
  }
  .con-car-main img {
    height: 46px;
    width: 40px;
    margin-right: 7px;
  }
  .con-car-main h6 {
    font-size: 24px;
    font-weight: 200;
  }
  .mein-contact-container h2 {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 40px;
  }

  .mein-contact-container h3 {
    margin-top: 30px !important;
  }
}
