@media (min-width: 992px) and (max-width: 1200px) {
    .abt-img {
        position: inherit;
        top: 0px;
        padding: 0 24px 0 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .logo h2 {
        font-family: 'Rubik', sans-serif;
        font-size: 30px;
        font-weight: 600;
        margin-bottom: 0px;
    }
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: .5rem;
        padding-left: .5rem;
    }
    .nav-item a {
        color: #5b5b5b;
        font-family: 'Rubik', sans-serif;
        font-size: 16px;
        font-weight: 300 !important;
    }
    .slider-bg {
        background: url(../images/slider.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        padding: 5% 0;
    }
    .abt-img {
        position: inherit;
        top: 0;
        padding: 0 20px 0 0;
    }
    .footer-logo h2 a {
        color: #dc3545;
        font-size: 25px;
        font-family: 'Poppins', sans-serif;
        font-weight: 800;
        text-transform: uppercase;
    }
    .footer {
        background: #fff;
        padding: 20px 0;
    }
    .slider-content h1 {
        font-size: 37px;
        color: #dc3545;
        font-family: 'Poppins', sans-serif;
        font-weight: 900;
        text-transform: uppercase;
        margin-bottom: 10px;
    }
    .slider-content h3 {
        font-size: 19px;
        color: #dc3545;
        font-family: 'Poppins', sans-serif;
        font-weight: 300;
        margin-bottom: 5px;
        line-height: 30px;
    }
    .slider-content h5 {
        font-size: 20px;
        color: #1e2129;
        font-family: 'Poppins', sans-serif;
        font-weight: 800;
        margin-bottom: 4px;
    }
    .sl-btn {
        background: #fff;
        color: #dc3545;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 30px;
        border-bottom: 4px solid #dc3545;
        transition: 1s;
        margin-right: 10px;
        font-family: 'Poppins', sans-serif;
    }
}

@media (max-width: 767px) {
    #mobile-menu a{display: flex;}
      #mobile-menu a img {    width: 22px;
    height: 22px;
    margin-right: 10px;}
    .pb-100 {
        padding-bottom: 35px;
    }
    .pt-100 {
        padding-top: 36px;
    }
    .slider-bg {
         text-align: center;
        background: url(../images/slider.jpg);
        background-repeat: no-repeat;
        background-size: cover;
             padding: 40px 0px 50px 0px;
        background-color: #cecece;
    }
    .slider-content h1 {
        font-size: 36px;
        color: #dc3545;
        font-family: 'Poppins', sans-serif;
        font-weight: 900;
        text-transform: uppercase;
        margin-bottom: 5px;    -webkit-text-stroke-width: 1px;
    }
    .slider-content h3 {
        font-size: 18px;
        color: #dc3545;
        font-family: 'Poppins', sans-serif;
        font-weight: 300;
        margin-bottom: 5px;
        line-height: 28px;
    }
    .slider-content h5 {
        font-size: 20px;
        color: #1e2129;
        font-family: 'Poppins', sans-serif;
        font-weight: 800;
        margin-bottom: 5px;
    }
    .slider-button {
        margin-top: 25px;    padding: 14px 0rem;
    }
    .nav-tabs {
        border-bottom: 1px solid #dee2e6;
        margin-top: 0px;
    }
    .form-content {
              background: #ffffff;
        padding: 10px;        padding-bottom: 30px;
        margin-top: 32px;
    }
    .info-box {
    text-align: center;
    padding: 0px 10px 10px 15px;     margin-top: -40px;}
    .sl-btn {
        background: #fff;
        color: #dc3545;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 30px;
        border-bottom: 4px solid #dc3545;
        transition: 1s;
        margin-right: 10px;
        font-family: 'Poppins', sans-serif;
    }
    .general-info h2 {
        text-align: center;
        color: #dc3545;
        font-size: 26px;
        font-weight: 800;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 10px;
        font-family: 'Poppins', sans-serif;
    }
    .pt-60 {
        padding-top: 20px;
    }
    .abt-img {
        position: inherit;
        top: 0;
    }
    .footer .text-right {
        text-align: left !important;
    }
    .footer-link ul li {
        list-style: none;
              display: masonry;
        padding: 25px 0px 0px 0px;

    }
    .justyend {
    justify-content: start;
    display: flex
;}
    .con-address-bg {
    padding: 45px 0px;}
    .footer-link ul {
        margin-bottom: 0px;
        margin-top: 0px;
        padding-left: 0px;        display: grid;
    }
      .footer   {padding: 25px 10px 10px 15px!important;}
    .footer-logo h2 a {
        color: #dc3545;
        font-size: 26px;
        font-family: 'Poppins', sans-serif;
        font-weight: 800;
        text-transform: uppercase;
    }
    .footer {
        background: #fff;
        padding: 10px 0;
    }
    .social-media {
        text-align: left;
        margin-top: 10px;
    }
    .footer hr {
        margin-top: 1.3rem;
        margin-bottom: 1.3rem;
    }
    .about {
        background: #fff;
        margin-top: 30px;
        padding: 15px;
        position: relative;
    }
    .general-info p {
        color: #505050;        display: block;
        font-family: 'Rubik', sans-serif;
        font-size: 14px;
        font-weight: 300;     
    }
    .datedate p{   margin: 0px 20px;
        margin-bottom: -15px;}
    .general-info ul li,
    ol {
        padding: 4px 0;
        color: #505050;
        font-family: 'Rubik', sans-serif;
        font-size: 14px;
        font-weight: 300;
    }
    .venue-box {
        text-align: center;
        margin-bottom: 15px;
    }
}

/* FINAL MOBILE FIX — NO LEFT/RIGHT SLIDE */
@media (max-width: 767px) {
  /* 1. Force body & html to stay inside viewport */
  html, body {
    overflow-x: hidden !important;
    position: relative !important;
  }

  /* 2. Fix all containers */


  /* 3. Fix your main problem areas */
  .slider-bg,
  .hero-wrapper,
  .about,
  .abt-img,
  .form-content,
  .info-box,
  .footer,
  .con-address-bg,
  .general-info,
  .datedate {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
  }

  /* 4. Images must not overflow */


  /* 5. Fix footer & social links */
  .footer, .social-media, .footer-link ul {
    text-align: center !important;
    padding: 15px !important;
  }

  /* 6. Fix any absolute/fixed elements */
  .abt-img,
  .vector_image img,
  .datedate p {
    position: static !important;
    transform: none !important;
  }

  /* 7. Extra safety */
  * {
    box-sizing: border-box !important;
  }
}