/*===headder-responsive===*/
@media (max-width:991px) {
  .social-icons {
    display: none;
  }
}
@media(max-width:1199px){
.mega-dropdown .dropdown-menu {
  height: 250px;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

/* ==== Scrollbar Design Start ==== */
.mega-dropdown .dropdown-menu::-webkit-scrollbar {
  width: 8px; /* scrollbar ki width */
}

.mega-dropdown .dropdown-menu::-webkit-scrollbar-track {
  background: #f1f1f1; /* scrollbar background (track) */
  border-radius: 10px;
}

.mega-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #5875dd, #5875dd); /* scrollbar color */
  border-radius: 10px;
}

.mega-dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5875dd,#5875dd); /* hover effect */
}
}
/* dropdown-media */
/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  .navbar .dropdown-menu {
    margin-top: 0;
  }
}

/* end dropdown-media */
/*====button-media===*/
@media (max-width:1199px) {
  .our-secondary-btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
  }
  .our-primary-btn.contact-btn {
    display: block;
    text-align: center;
    margin-bottom: 15px;
    width:100%;
}
}
@media(max-width:1199px){
      body{
     padding-top:45px;
  }
}
@media(max-width:767px){
      body{
     padding-top:0px;
  }
}
/*===hero-secation-media==*/
@media (max-width: 1199px){
    .nested-item img{
        max-width:80px;
    }
    .nested-item{
    width: 10rem;
    }
}
@media (max-width: 767px) {
  .nested-item img {
    width: 100%;
    max-width:60px;
  }

  .nested-item {
    width: 6rem;
    height: 4rem;
  }

  section.hero-section {
    padding: 30px 0;
  }
}

/*===about-sec==*/
@media (max-width:1199px) {
  .about-content p {
    font-size: 14px;
  }

  .about-img::after {
    bottom: -100px;
    right: -20px;
  }

}

@media (max-width:991px) {
  .about-img::after {
    bottom: -40px;
    right: 0px;
  }
}

@media (max-width: 767px) {
  .about-img::after {
    bottom: -10px;
    max-width: 170px;
    height: 120px;
  }

  .our-primary-btn {
    width: 100%;
  }

  .our-secondary-btn {
    width: 100%;
  }

  .heading-tittle h2 {
    font-size: 24px;
  }

  .heading-tittle p {
    font-size: 15px;
  }

  .heading-tittle {
    padding: 0 0 10px;
  }
}

/*=====service-secation-media====*/
@media (max-width: 1199px) {

  .service-carousel .owl-nav button.owl-prev,
  .service-carousel .owl-nav button.owl-next {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .service-carousel .owl-nav button.owl-prev {
    left: 0;
    right: auto;
  }

  .service-carousel .owl-nav button.owl-next {
    right: 0;
    left: auto;
  }

  .service-card ul.list-unstyled li a {
    font-size: 13px;
  }

  .why-choose-us-content {
    min-height: 200px;
  }
}

@media (max-width: 991px) {

  .service-carousel .owl-nav button.owl-prev,
  .service-carousel .owl-nav button.owl-next {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    /* Remove left/right for mobile, handled below */
    left: unset;
    right: unset;
  }

  .service-carousel .owl-nav {
    top: 45%;
  }
}

@media (max-width: 992px) {
  .service-carousel .owl-nav {
    top: auto;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    justify-content: center;
    pointer-events: none;
    display: flex;
    z-index: 10;
  }

  .service-carousel .owl-nav button.owl-prev,
  .service-carousel .owl-nav button.owl-next {
    position: static;
    margin: 0 8px;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    transform: none;
    pointer-events: auto;
    left: unset;
    right: unset;
  }
}

/*==portfolio-media==*/
/*===anivarsary-sec-media===*/
@media (max-width: 991px) {
  .annivarsary-info h2 {
    color: #080b39;
    font-size: 21px;
  }
}

@media (max-width:767px) {
  .annivarsary-img figure img {
    max-width: 100%;
  }

  .annivarsary-info {
    text-align: center;
  }
}

/* Responsive */
@media (max-width: 767px) {
  .webiste-img figure {
    height: 180px;
  }
}

/*====why-choose-media===*/
@media (max-width: 991px) {
  .why-choose-us-content {
    flex-direction: column;
    /* icon upar, text niche */
    text-align: center;
    padding: 16px;
    min-height: 210px;
  }

  .why-choose-us-text {
    padding-left: 0;
  }

  .why-choose-us-icon i {
    margin-bottom: 10px;
  }

  .why-choose-us-text p {
    font-size: 16px;
  }

  .why-choose-us-text h5 {
    font-size: 20px;
  }
}

@media (max-width:767px) {
  .why-choose-us-content {
    min-height: 100%;
  }
}

/*===testimonila-media===*/
@media (max-width: 1200px) {

  .testimonial-carousel .owl-nav button.owl-prev,
  .testimonial-carousel .owl-nav button.owl-next {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .testimonial-carousel .owl-nav button.owl-prev {
    left: 0;
    right: auto;
  }

  .testimonial-carousel .owl-nav button.owl-next {
    right: 0;
    left: auto;
  }
}

@media (max-width: 768px) {

  .testimonial-carousel .owl-nav button.owl-prev,
  .testimonial-carousel .owl-nav button.owl-next {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    /* Remove left/right for mobile, handled below */
    left: unset;
    right: unset;
  }

  .testimonial-carousel .owl-nav {
    top: 45%;
  }
}

@media (max-width: 576px) {
  .testimonial-carousel .owl-nav {
    top: auto;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    justify-content: center;
    pointer-events: none;
    display: flex;
    z-index: 10;
  }

  .testimonial-carousel .owl-nav button.owl-prev,
  .testimonial-carousel .owl-nav button.owl-next {
    position: static;
    margin: 0 8px;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    transform: none;
    pointer-events: auto;
    left: unset;
    right: unset;
  }
}

/* Responsive tweak */
@media (max-width: 576px) {
  .breadcrumb-info {
    font-size: 14px;
    text-align: center;
    justify-content: center;
  }
}

/*=====footer-media=======*/
@media(max-width:1199px) {
  .footer-links li a {
    font-size: 14px;
  }

  ul.list-unstyled li a i {
    font-size: 12px;
  }
}