/* all media queries */
@media(min-width: 992px){
    .navbar-nav li > button.dropdown-toggle {
        display: none;
    }

    .header-main .navbar .dropdown-menu {
        display: unset !important;
        opacity: 0;
        visibility: hidden;
        border: none;
        transform: translateY(30px);
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    }

    .header-main .navbar .navbar-nav .nav-item:hover >.dropdown-menu , 
    .header-main .navbar .navbar-nav .nav-item:focus-within > .dropdown-menu ,
    .header-main .navbar .navbar-nav li:hover >.dropdown-menu , 
    .header-main .navbar .navbar-nav li:focus-within >.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0px);
        transition: 0.35s;
    }

    .header-main .navbar-nav .nav-item.dropdown .nav-link::after {
        content: "\f107";
        font-family: "FontAwesome";
        font-weight: 900;
        border: none;
        transition: 0.3s;
        position: absolute;
        font-size: 13px;
        line-height: 2;
    }
    .offcanvas .btn-close {
        display: none;
    }
    
}

@media (max-width: 991px){
	.offcanvas-start{
		margin-top:40px;
	}
    .topbar{
        display: none;
    }
    .menubar_bg{
        background: none;
    }
    .menu-bar .right-menu ul li:has(> .btn_main){
        display: none;
    }
    .header-main .navbar .navbar-nav .nav-item .nav-link{
        margin: 0;
    }
    .navbar .navbar-nav li.dropdown {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
    }
    .navbar .navbar-nav li.dropdown .dropdown-toggle {
        border: 1px solid var(--pink);
        color: var(--white);
        width: 30px;
        height: 30px;
        background: var(--primary-color);
        border-radius: 30px;
        line-height: 2;
    }
    .navbar .navbar-nav .dropdown-menu {
        width: 100%;
    }
    .navbar .navbar-nav > li.nav-item,.navbar .navbar-nav .dropdown-menu > li:not(:last-child)  {
        border-bottom: 1px solid rgba(120 120 120 / 20%);
    }
    .navbar .navbar-nav .dropdown-menu{
        border-top: 1px solid rgba(120 120 120 / 20%);
        padding-left: 10px;
    }
    .navbar .navbar-nav .dropdown-menu .dropdown-item{
        padding: 0.5rem 0;
    }
    .header-main .navbar .navbar-nav .nav-item:first-child .nav-link{
        margin: 0;
    }
    .offcanvas .btn-close {
        position: absolute;
        right: 10px;
        top: 10px;
        display: block;
    }
    .offcanvas-body{
        padding-top: 30px;
    }
    .feature-section{
        height: unset;
        padding: 100px 0 75px;
    }
    .feature-item_inner {
        bottom: unset;
    }
    .feature-item{
        margin-bottom: 25px;
    }
    .slider-content .main-content {
        width: 100%;
    }
    .slide-item > img{
        height: 450px;
    }
    .slider-section .owl-nav{
        right: 25px;
    }
    .footer-main .footer-item{
        margin-bottom: 25px;
    }
}

@media(max-width: 575px){
    .main-contact_Form form p:nth-child(1), .main-contact_Form form p:nth-child(2){
        width: 100%;
    }
    .about-image::before{
        width: 310px;
    }
    ul.about-feature{
        flex-wrap: wrap;
    }
    ul.about-feature li {
        width: 100%;
        flex: auto;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px){
    .slide-title {
        font-size: 30px;
    }
    span.slide-subtitle{
        font-size: 16px;
    }
}
/* For devices with a max width of 1200px */
@media only screen and (max-width: 1200px) {
  .slider-section .item .cover .header-content h1 {
    font-size: 48px;
  }
  .slider-section .item .cover .header-content h2 {
    font-size: 28px;
  }
  .slider-section .item .cover .header-content h4 {
    font-size: 16px;
  }
}

/* For devices with a max width of 992px (large tablets) */
@media only screen and (max-width: 992px) {
  .slider-section .item .cover .header-content h1 {
    font-size: 40px;
  }
  .slider-section .item .cover .header-content h2 {
    font-size: 24px;
  }
  .slider-section .item .cover .header-content h4 {
    font-size: 14px;
    line-height: 15px;
  }
  .slider-section .item .cover .header-content {
    padding: 40px;
  }
  .slider-section .owl-nav .owl-prev, .slider-section .owl-nav .owl-next {
    width: 35px;
    height: 35px;
  }
  .slider-section .slide-carousel .owl-nav button {
    margin-bottom: 20px;
  }
}

/* For devices with a max width of 768px (tablets) */
@media only screen and (max-width: 768px) {
  .slider-section .item {
    height: 80vh;
  }
  .slider-section .item .cover .header-content h1 {
    font-size: 32px;
  }
  .slider-section .item .cover .header-content h2 {
    font-size: 22px;
  }
  .slider-section .item .cover .header-content h4 {
    font-size: 12px;
  }
  .slider-section .item .cover .header-content {
    padding: 30px;
  }
  .slider-section .owl-nav .owl-prev, .slider-section .owl-nav .owl-next {
    width: 30px;
    height: 30px;
  }
  .slider-section .slide-carousel .owl-nav button {
    margin-bottom: 15px;
  }
}

/* For devices with a max width of 576px (mobile phones) */
@media only screen and (max-width: 576px) {
  .slider-section .item {
    height: 70vh;
  }
  .slider-section .item .cover .header-content h1 {
    font-size: 26px;
  }
  .slider-section .item .cover .header-content h2 {
    font-size: 18px;
  }
  .slider-section .item .cover .header-content h4 {
    font-size: 10px;
  }
  .slider-section .item .cover .header-content {
    padding: 20px;
  }
  .slider-section .owl-nav .owl-prev, .slider-section .owl-nav .owl-next {
    width: 25px;
    height: 25px;
  }
  .slider-section .slide-carousel .owl-nav button {
    margin-bottom: 10px;
  }
}

/* For devices with a max width of 400px (small mobile phones) */
@media only screen and (max-width: 400px) {
  .slider-section .item {
    height: 60vh;
  }
  .slider-section .item .cover .header-content h1 {
    font-size: 20px;
  }
  .slider-section .item .cover .header-content h2 {
    font-size: 16px;
  }
  .slider-section .item .cover .header-content h4 {
    font-size: 9px;
  }
  .slider-section .item .cover .header-content {
    padding: 15px;
  }
}
