@media screen and (max-width:1600px) {
    .invitation-section {
    background-size: cover;
}
}
@media screen and (max-width:1500px) {
  .hero-slider {
  background-size: cover;
}
}
@media screen and (max-width:1235px) {
    .header .container {
        padding-inline: 15px;
    }
    .container {
     padding-inline: 2%;
    }
}
@media screen and (max-width:1100px) {
.offcanvas.offcanvas-top {height: 100%;}
.navbar-nav {
  flex-direction: column;
  align-items: baseline;
}
}
@media screen and (max-width:1080px) {
    .inner_main {
  background-size: auto;
}
}
@media screen and (max-width:992px) {
      .history-content p {
        font-size: 16px;
        line-height: 22px;
        max-width: 550px;
        margin: auto;
        margin-bottom: auto;
        margin-bottom: 20px;
      }
    .invitation-card .row > div {border: none;padding: 15px;}
    .dot {display: none;}
    .mobi_block_set{display: none;}
    .set_mobi_order1 , .set_mobi_order2 {display: none;}
    .invitation-card .row > div.wel_div {margin-top: 20px;}
    .col-lg-8.wel_div {padding-top: 30px !important;}
    .wel_img {top: -80px;}
    .inner_main .dot {display: block;}
    .inner_main .invitation-card .row > div {border: 2px solid #ccb8909c;}
    .section-title {font-size: 32px;}
    .invitation-card .row > div.wel_div > img {height: 45px;}
    .card_main {flex-direction: column;height: 100%;}
    .card_content p {margin-bottom: 0;}
    .gallery_img img {width: 100%;}
    .invitation-mobile{
          border: 1px solid #d9c796;
    border-radius: 20px;
    margin-top: 16px;
    }
}


@media screen and (max-width:768px) {
    .mobile_banner{display: block;}
    .desk_banner{display: none;}
    .navbar .btn.btn_primary {
        display: none;
    }
    .brand_logo img {
    height: 100px !important;
    margin-bottom: 6px;
}
    .mobi_menu {
        display: flex;
        position: fixed;
        bottom: 0;
        width: 100%;
        background: #1e1739;
        padding: 10px 15px;
        justify-content: space-between;
    }
    .btn.btn_primary.ss {margin-left: 0;}
    .offcanvas.offcanvas-top {
        top: auto;
        bottom: 0;
        transform: translateY(100%);
        height: 87%;
        max-width: 97%;
        margin-inline: auto;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        padding-top: 20px;
    }
    .btn-close:focus {
  box-shadow: none;
}
    .navbar-brand {
        margin: auto;
    }
    .footer {
        padding-bottom: 25px;
        text-align: center;
        overflow-x: hidden;
    }
    
    .btn-close {
  margin-left: auto;
  margin-right: 20px;
  filter: brightness(100%) invert(1);
  opacity: 1;
}
  .section-title {
    font-size: 26px;
  }
  .hero-slider {
  overflow-x: hidden;
}
.carousel-indicators [data-bs-target]
 {
    width: 10px;
    height: 10px;}
}
@media screen and (max-width:576px) {

.wel_sides {
  max-height: 100px;
}
.common-sec {
  padding-block:20px;
}
.tbox-gap {
  overflow-x: hidden;
}
.invitation-section {
  overflow-x: hidden;
}
.registration-box {padding:30px 20px 20px;}
.section-subtitle {font-size: 15px;line-height: 23px;}
.carousel-control-next, .carousel-control-prev {
  display: none;
}
.content_start {
  padding-inline: 15px;
}
.content_start {
padding: 20px;
}
.inner_main {
    overflow-x: hidden;
    background-repeat: repeat-y;
    background-attachment: unset;
}
 .bar_line {
    position: fixed;
    top: auto;
    bottom: 0;
    display: block;
    z-index: 999;
    background: transparent;
    width: 100%;
    left: 0;
    padding-block: 0;
  }
  .donate_btn_set {
    position: relative;
    top: 50%;
    transform: translateX(-50%);
    display: inline-block;
    box-shadow: none;
        padding: 4px 10px;
  }
  .bar_line > img {
  display: none;
}
.btn-donation-amount {font-size: 16px;}
.amount-display {min-width: 260px;font-size: 32px;}
.btn-donation-amount.active::after{display: none;}
.card_title {
  font-size: 20px;
  line-height: 27px;}
  .card_content p {font-size: 15px;}
  .card_image img {
  width: 140px;}
  .card_main {
  padding: 15px 15px 30px;
  gap: 10px;
}
 .section-title {
    font-size: 22px;
  }
  .gallery_content h5 {
  font-weight: 500;
}
.inner-btn {
      border: none;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 400;
    margin-top: 10px;
}
div#heroCarousel {
    position: relative;
}
.carousel-indicators {
    top: 104%;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    margin-inline: 0;
    display: flex !important;
    justify-content: center !important;
}
    .footer .social-icons {
    display: flex;
    justify-content: center !important;
    gap: 6px;
    padding-top: 6px;
    padding-bottom: 20px;
    
}
.footer .social-icons i {
  position: relative;
  line-height: 100%;
    top: 1px;
    left: 0.2px;
}
}
@media (max-width: 450px) {
  .hero-slider {
padding-bottom: 30px;
}
  .history-content p {
  padding-inline: 0;
}
.invitation-card .row > div.wel_div {
  flex-direction: column;
}

 .invitation-card .row > div.wel_div > img {
    position: absolute;
    opacity: .1;
  }
  .invitation-card .row > div {
  padding-bottom: 0;
}
.total-donation-amount {
  margin-top: -10px;}
     .wel_img {
        top: -50px;
        height: 100px;
    }
      .section-title {
    font-size: 22px;
  }
  .invitation-card .row > div.wel_div {
  padding-inline: 0;
  margin-bottom: 7px;
}
.invitation-card {
  margin-bottom: 20px;
}
   .registration-form {
    padding: 10px 0 0;
  }
  .submit-btn {margin-top: 10px;}
  .form-group {
  margin-bottom: 10px;
}
.history-content {
padding-inline: 0;
}
.history-content p {
  margin-bottom: 5px;
  margin-top: -10px;
}
.gallery__icon {
  aspect-ratio: 1/0.7;
}
.form-control {font-size: 14px;}
.btn.btn_primary.ss {
  font-size: 14px;
  max-width: 170px;
}
.btn.btn_primary.ss::after {
  width: 174px;
}
.brand_logo img {
   height: 126px;
   width: 126px;
  margin-bottom: 10px;

}
.carousel-item {
  padding: 2px;
}
.carousel-item img {
  border-radius: 15px;
}
.card_title {
  margin-bottom: 3px;
}
  .card_main {
    gap: 5px;
  }
}
@media (min-width: 457px) and (max-width:992px) {
 .brand_logo img {
    width: 100%;
    object-fit: contain;
  }
}
@media (max-width: 457px) {
  .brand_logo img {
    content: url("../images/mobile-logo.png");
    width: 100%;  
    height: auto !important;
    object-fit: contain;
  }

}



@media (max-width: 400px) {
    .navbar-brand .logo {
        height: 40px;
    }
   
    .carousel-control-next {
    right: 10px;
    }
    .carousel-control-prev {
    left: 10px;
    }
      .wel_sides {
    max-height: 80px;
  }
  
}

@media (max-width: 767px) {
  .address-section {
    padding: 12px 22px;
    border-radius: 50px;
  }
  .carousel-control-prev {
  left: 0px;
}
.carousel-control-next {
  right: 0px;
}
.address-section p {
    font-size: 14px;
    line-height: 22px;
}
.section-title-small {
    font-size: 16px;}
    .Contact-img-text {
    gap: 10px}
    .section-title-new a{
    text-align: center;
    font-size: 16px;}
}
.form-control:focus, .form-control, input.form-control:focus-visible, input.form-control:hover, input.form-control:out-of-range{
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: #f3efe7 !important;
  background-color: #f3efe7 !important;
}
@media (max-width: 991px) {
  .history_2 ul {
    grid-template-columns: repeat(2, auto);
  }
  .history_2 ul {

    row-gap: 0px;
}
}
@media (max-width: 575px) {
  .history_2 ul {
    grid-template-columns: repeat(1, auto);
  }
}
