@media (max-width: 1300px) {
  #hero {
    margin-top: 135px;
  }
}

@media (max-width: 1250px) {
  .navbar a,
  .navbar a:focus {
    font-size: 13px;
  }
}

@media (max-width: 1199.98px) {
  .navbar a,
  .navbar a:focus {
    font-size: 12px;
    padding: 5px 10px 7px 10px;
  }

  #header .logo {
    margin-left: -10px;
  }

  #header .logo img {
    max-height: 70px;
  }
}

@media (max-width: 991.98px) {
  #hero {
    margin-top: 128px;
  }

  #hero .carousel-container {
    height: 230px;
  }

  .cta .cta-btn-container {
    justify-content: center;
  }
  .agenda-tabs {
    justify-content: center;
    row-gap: 20px;
  }
}

@media (max-width: 767.98px) {
  #header .logo {
    margin-left: 0;
  }
  #hero .carousel-container {
    height: 175px;
  }

  #galleryCarousel .carousel__item {
    height: 22rem;
    width: 15rem;
  }

  #galleryCarousel .carousel__btns {
    transform: translate(-50%, 15rem);
  }

  #footer .footer-title {
    font-size: 30px;
  }
  /* Conference Venue */
  .venue-section .venue-image-stack {
    padding-bottom: 0;
  }
  .venue-section .main-image-frame {
    border: 5px solid white;
    border-radius: 10px;
    transform: none;
  }
  .venue-section .map-overlay-card {
    position: relative;
    bottom: 0px;
    right: 0;
    width: 100%;
    border-radius: 10px;
    padding: 5px;
    transform: none;
    margin-top: 10px;
  }

  .abstract-list .nav-pills .nav-link {
    font-size: 15px;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 36px;
  }
  #header .d-flex {
    padding: 5px 10px;
  }
  #header .logo img {
    max-height: 55px;
  }
  #hero {
    margin-top: 160px;
  }
  #hero .carousel-container {
    height: 100px;
  }
  .lead {
    font-size: 1.1rem;
  }

  .about-section p {
    text-align: justify;
  }

  .cont {
    width: 100%;
  }

  #timer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 0 15px;
  }

  #timer > div {
    width: calc(50% - 7.5px);
    /* flex: 0 0 calc(50% - 15px); */
  }

  #galleryCarousel .carousel__item {
    height: 15rem;
    width: 9rem;
  }

  .testimonials-slider .swiper-slide {
    margin-right: 0 !important;
  }

  .testimonials .testimonial-item {
    margin: 0;
  }

  .testimonials .testimonial-item h2 {
    font-size: 20px;
    line-height: 1.5;
  }

  .main-gallery-wrapper {
    min-height: 280px;
  }

  #galleryCarousel .carousel__btns {
    transform: translate(-50%, 10rem);
  }

  .c-counter {
    font-size: 1.8rem;
    padding: 5px 15px;
    margin-bottom: 5px;
  }

  .c-content-item {
    margin-bottom: 25px;
  }

  .about-conf {
    overflow: hidden;
  }

  .about-conf .content {
    margin-top: 20px;
  }

  .about-conf .bottom-content p {
    padding: 0;
  }

  #footer .footer-title {
    font-size: 25px;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  #footer .copyright {
    margin: 0;
  }
  #heroCarousel .carousel-control-next-icon,
  #heroCarousel .carousel-control-prev-icon {
    width: 25px;
    height: 25px;
  }
}
