/* XXL devices (very large screens, 1400px and up) */
@media (min-width: 1400px) {
    .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

}

/* Extra large devices (large desktops, 1200px to 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

}

/* Large devices (desktops, 992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
















}

/* Medium devices (tablets, 768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .top-bar {
    display: none;
  }

  .stats-row {
    flex-direction: row;
  }

  .abt-img {
    margin-bottom: 20px;
  }

  .stat-item {
    margin-bottom: 0px;
  }

  .stats-row {
    margin-top: 20px;
  }

  .mb-5 {
    margin-bottom: 1rem !important;
  }
  .section-padding {
    padding: 60px 0;
  }
}

/* Small devices (phones, 576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .top-bar {
    display: none;
  }

  .navbar-brand img {
    height: 40px;
    transition: var(--transition);
  }

  .hero-section {
    position: relative;
    height: 50vh !important;
    min-height: 300px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .btn-primary {
    padding: 5px 15px;
  }

  .stat-icon {
    /* height: 40px;
    width: 40px;
    font-size: 1rem !important; */
    margin: 0 10px;
  }

  .stat-item {
    text-align: center;
    margin: 10px 0px;
    display: flex;
    align-items: center;
  }
  .stat-item h3 {
    font-size: 1.5rem;
  }

  .abt-img {
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .stat-item p {
    color: var(--gray);
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0 !important;
  }

  .stat-icon {
    width: 50px;
    height: 50px;

    font-size: 1.5rem;
    color: var(--white);
  }

  .stats-row {
    margin-top: 15px;
  }
  .mb-5 {
    margin-bottom: 1rem !important;
  }

  .mt-5 {
    margin-top: 1rem !important;
  }

  .disease-slider-card {
    background: var(--white);
    padding: 30px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: block;
    text-decoration: none;
    height: auto;
    border: 2px solid transparent;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .top-bar {
    display: none;
  }

  .navbar-brand img {
    height: 40px;
    transition: var(--transition);
  }

  .hero-section {
    position: relative;
    height: 50vh !important;
    min-height: 300px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .btn-primary {
    padding: 5px 15px;
  }

  .stat-icon {
    /* height: 40px;
    width: 40px;
    font-size: 1rem !important; */
    margin: 0 10px;
  }

  .stat-item {
    text-align: center;
    margin: 10px 0px;
    display: flex;
    align-items: center;
  }
  .stat-item h3 {
    font-size: 1.5rem;
  }

  .abt-img {
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .stat-item p {
    color: var(--gray);
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0 !important;
  }

  .stat-icon {
    width: 50px;
    height: 50px;

    font-size: 1.5rem;
    color: var(--white);
  }

  .stats-row {
    margin-top: 15px;
  }
  .mb-5 {
    margin-bottom: 1rem !important;
  }

  .mt-5 {
    margin-top: 1rem !important;
  }

  .disease-slider-card {
    background: var(--white);
    padding: 30px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: block;
    text-decoration: none;
    height: auto;
    border: 2px solid transparent;
  }
  .fancybox__content {
    padding: 30px 10px;
    width: 500px;
}
}
