/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    
    #menu-mobile-menu .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        background-image: url(https://plantationvilla.com/wp-content/themes/plantaion-villa/assets/images/Homepage/chevron-down.svg);
        background-position: center;
        background-repeat: no-repeat;
        border: 0;
        height: 8px;
        width: 20px;
        transform: rotate(180deg);
        transition: transform 1s;
    }
    
    .navbar-toggler {
        border: none;
    }
    
    .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler {
    border: none;
    background: transparent;
    box-shadow: none;
}

/* Base */
.custom-toggler {
    width: 30px;
    height: 4px;
    background: #cab75d;
    display: block;
    position: relative;
    transition: background 0.3s ease;
    border-radius: 4px;
}

/* Top & bottom bars */
.custom-toggler::before,
.custom-toggler::after {
    content: "";
    position: absolute;
    left: 0;
    width: 30px;
    height: 4px;
    background: #cab75d;
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
    border-radius: 4px;
}

.custom-toggler::before {
    top: -8px;
}

.custom-toggler::after {
    top: 8px;
}

/* 🔥 OPEN state */
.navbar-toggler[aria-expanded="true"] .custom-toggler {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .custom-toggler::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .custom-toggler::after {
    top: 0;
    transform: rotate(-45deg);
}
    
    #menu-mobile-menu .show.dropdown-toggle::after {
    transform: rotate(1deg);
}
    
    #menu-mobile-menu .menu-item a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
    }
    
  #menu-mobile-menu li a span {
    font-size: 16px !important;
        padding-bottom: 15px;
        font-weight: 500 !important;
  }
  
  #menu-mobile-menu #menu-item-490 #menu-item-dropdown-490 span {
      font-weight: 600 !important;
  }
  
  #menu-mobile-menu li.menu-item {
    text-align: start !important;
    font-size: 16px !important;
        line-height: 40px;
        font-weight: 400 !important;
}

#menu-mobile-menu .dropdown-menu {
    background-color: transparent;
        padding-left: 15px;
}

  .navbar-collapse {
      height: 100vh !important;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
  }

  .leadership-desktop .modal-staff {
    font-size: 27px;
  }

  .leadership-desktop .modal-position {
    font-size: 17px;
  }

  .swiper-button-prev.bright-swiper-prev {
    left: -4% !important;
  }

  .swiper-button-next.bright-swiper-next {
    right: 15% !important;
  }

  .swiper-pagination {
    right: 40%;
  }

  .main-banner-text {
    left: 3%;
    transform: translateX(0%);
  }

  .pt-115 {
    padding-top: 35px;
  }

  .pb-115 {
    padding-bottom: 35px;
  }

  .mt-200-mobile {
    margin-top: 50px;
  }

  .timeline {
    & .timeline-item {
      &::after {
        left: calc(var(--item-width) + -75%px);
        top: 20px;
      }
    }
  }

  .timeline {
    position: relative;
    left: -34px;
    width: 100%;
  }

  .timeline-item {
    padding: 3.5rem 0.5rem 1rem 4.5rem;
    padding-bottom: 0px;
  }

  .mt-160 {
    margin-top: 0px;
  }

  .section-top {
    padding-top: 73px;
    padding-bottom: 50px;
  }

  .team-details {
    left: 51%;
        top: 68%;
  }
  
  .image-container:hover .team-details {
    display: block;
}

.mobile-mt-slider-voice {
    margin-top: 50px !important;
}

.category-btn {
    /* width: 280px !important; */
    height: 75px !important;
}

  .mobile-btns .swiper-button-prev-1,
  .mobile-btns .swiper-button-next-1 {
    position: unset;
  }

  .mobile-btns .swiper-button-prev-1 {
    padding-right: 40px;
  }

  .mb-100 {
    margin-bottom: 50px;
  }

  .case-objective img {
    object-fit: cover;
    width: 100%;
    height: 300px;
  }

  .home-end {
    height: 400px;
    object-fit: cover;
    width: 100%;
  }

  .news-event-card .post-item {
    position: relative;
    overflow: hidden;
    max-width: 100%;
  }

  .section-mobile {
    padding-top: 0px;
  }

  .section-mobile-bottom {
    padding-bottom: 50px;
  }

  .titlemobile-inner {
    font-size: 25px !important;
  }

  .mb-90 {
    margin-bottom: 50px;
  }

  .banner-image img {
    height: 100%;
  }

  .projectSwiper .swiper-slide img {
    height: 400px;
  }
  
  .pb-120 {
    padding-bottom: 40px;
  }
  
  .sec-join .title,
  .page-title {
    font-size: 30px;
  }
  
  /*.mobile-footer-sec {*/
  /*  font-size: 22px !important;  */
  /*}*/
  
  .main-banner-text {
    font-size: 18px;
    bottom: 5px;
  }
  
  .objective-sub-para,
  .projectSwiper .header {
    font-size: 24px;
  }
  
  .mission_txt {
    font-size: 16px;
  }
  
  .task-name {
    font-size: 24px !important;
  }
  
  .main-image .main-img {
        height: 500px;
    }
    
    .mobile-pdf-banner-top {
        padding-top: 7rem !important;
        padding-bottom: 1rem;
    }

    .side-images .side-img {
        height: 125px;
    }
    
    footer .pb-230px {
    padding-bottom: 80px;
}
    
    .footer-bottom-banner {
        padding-top: 30px; 
        padding-bottom:30px;
    }
    
    .home_sec_04_link a {
      font-size: 16px;
    }
    
    .task-title .title {
    font-size: 24px;
    }
    
    .pt-100 {
    padding-top: 65px;
    }
    
    #timeline-container {
    padding: 44px 0 75px;
    }
    
    .only-mobile-text {
        text-align: center;
    }
    
    .section-margin {
    margin-top: 65px;
    margin-bottom: 65px;
}

.our-work-nav .fs-35 {
    font-size: 24px;
}

.readmore-btn {
    height: auto;
}

    .mobile-inner-main-img {
        height: 400px !important;
    }
    
    .padding-bottom-61px-mobile {
    padding-bottom: 0px;
  }
  
  .padding-bottom-61px {
    padding-bottom: 30px;
}

.padding-bottom-30px-mobile-only {
    padding-bottom: 30px;
}

.pt-80 {
    padding-top: 40px;
}

#inner-activities-programs .title {
    font-size: 24px;
}

.mt-100 {
    margin-top: 30px;
}

.our-work-card .card .hover-button, .swiper-slide .hover-button, .gallery-image .hover-button {
    display: block;
}
  
}



/* Small screens */
@media (max-width: 767px) {
  .main-container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .explore-btn {
    display: none !important;
  }

  /* Home - Section 03 */
  .mobile-border {
    border-bottom: solid 1px white;
    padding-bottom: 38px;
    padding-top: 28px;
  }

  /*.testimonials-title {*/
  /*  font-size: 18px !important;*/
  /*}*/

  .testimonials-name {
      padding-top: 20px;
    font-size: 16px !important;
  }

  /*.testimonials-position {*/
  /*  font-size: 14px !important;*/
  /*}*/

  .story-title {
    font-size: 18px !important;
  }

  .story-para {
    font-size: 16px !important;
  }
}


@media (max-width: 576px) {
    .dropdown-menu .dropdown-item {
        white-space: normal !important;
        
    }
}

