@media screen and (min-width: 1599px) {
}

@media screen and (max-width: 1499px) {
  .common-header {
    max-width: 16.2rem;
    padding: 2rem 2rem;
  }
  .body-main {
    width: calc(100% - 16.2rem);
}
.common-header .logo-wrap {
    max-width: 9.8rem;
    margin-bottom: 1rem;
}
.common-header .nav-container > ul {
    gap: 1rem;
}
  .common-header .inner-wrap:before {
    left: 0rem;
    width: 14.6rem;
  }
}

@media screen and (max-width: 1439px) {
  :root {
    font-size: 17px;
  }
}

@media screen and (max-width: 1365px) {
  .body-main .container {
    max-width: 816px;
  }
}

@media screen and (max-width: 1199px) {
  .header-main .nav-container .logo-center {
    margin: 0 3rem;
  }
  .header-main .nav-container ul {
    padding: 3vw 0 0;
    gap: 1rem 1rem;
    font-size: 14px;
    letter-spacing: 1px;
  }
  .header-main .nav-container .logo-center .menu-image {
    max-width: 14.3rem;
  }

  .home .m-header {
    display: none !important;
  }

  .common-header {
    max-width: 18.2rem;
    padding: 2rem 2rem;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
  }
  .common-header .logo-wrap {
    max-width: 9.8rem;
    margin-bottom: 2rem;
  }
  .common-header .nav-container > ul {
    gap: 1.5rem;
  }
  .common-header .inner-wrap:before {
    left: -2rem;
    width: 13.6rem;
    display: none;
  }
  .common-header {
    transform: translateX(-100%);
    transition: 0.3s ease;
  }
  .common-header.active {
    transform: translateX(0);
  }

  .m-header .toggle-btn .close-icon {
    display: none;
  }

  .m-header .toggle-btn.open-toggle .open-icon {
    display: none;
  }
  .m-header .toggle-btn.open-toggle .close-icon {
    display: block;
  }
  .m-header .m-logo {
    max-width: 15rem;
  }

  .m-header .toggle-btn {
    max-width: 3.5rem;
    background: transparent;
    border: 0;
  }

  .m-header .row {
    padding: 0.5rem 0;
  }
  .body-main {
    width: 100%;
  }
  .ab-footer-bg img {
    max-width: 12rem;
  }
  .fs-70 {
    font-size: 2.5rem !important;
  }
  .testimonial-section::before {
    top: -3.4rem;
    width: 10.5rem;
  }
  .testimonial-section::after {
    bottom: -3.7rem;
    width: 15.05rem;
  }
  .ab-footer-bg {
    margin-top: -9.5rem;
  }
}

@media screen and (max-width: 991px) {
  :root {
    --bs-space: 3rem;
    --bs-space-mini: 2rem;
  }
  .body-main .container {
    max-width: 720px;
  }
  .fs-80 {
    font-size: 3rem !important;
  }
  .fs-70 {
    font-size: 2rem !important;
  }
  .fs-48 {
    font-size: 2rem !important;
  }
  .slider-track {
    gap: 1rem;
  }
  .slide {
    flex: 0 0 calc((100% - (1rem * 3)) / 4);
  }
  .home .m-header {
    display: block !important;
  }
  .home header.common-header {
    display: block;
  }
  .common-header .nav-container > ul li.logo-center {
    display: none;
  }

  section.home-banner {
    margin-top: 0;
  }
  .butterfly-wrap:before {
    width: 14.25rem;
    height: 11rem;
  }
  .newsletter {
    margin-top: 1rem;
  }
  .ab-footer-bg {
    margin-top: -7.5rem;
  }
  .common-footer .newsletter {
    margin-top: 2rem !important;
  }
  .alphabetic-tabs .tab-pane .social_list {
    margin-left: 0;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --bs-space: 2rem;
    --bs-space-mini: 1.5rem;
  }
  .fs-80 {
    font-size: 2.5rem !important;
  }
  .fs-70 {
    font-size: 1.6rem !important;
  }
  .fs-52 {
    font-size: 1.8rem !important;
  }
  .fs-48 {
    font-size: 1.6rem !important;
  }
  .btn {
    --bs-btn-font-size: 13px;
  }
  .slide {
    flex: 0 0 calc((100% - (1rem * 2)) / 3);
  }
  .testimonial-img img {
    max-width: 100%;
  }

  footer .logo-wrap img {
    margin-inline: auto;
  }
  .about-banner .about-butterfly img {
    max-width: 10rem;
  }
  .photographer-section-main .social_list {
    margin-left: 0;
  }

  .wedding-gallery-main .slider .slide {
    flex: 0 0 calc((100% - (1.8rem * 2)) / 3);
  }
  .alphabetic-tabs .tab-pane .custom-row {
    column-count: 1;
    -webkit-column-count: 1;
    -moz-column-count: 1;
  }

  .newsletter .col-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0 !important;
  }
  .newsletter .col-row .col {
    text-align: center;
    width: 100%;
  }
  .newsletter .col-row .col-md-8.col-xl-8 {
    width: 100%;
  }
}

@media screen and (max-width: 575px) {
  .slide {
    flex: 0 0 calc((100% - (1rem * 1)) / 2);
  }
  .split-box {
    padding: 3rem 1rem;
  }
  .testimonial-section::before {
    top: -1.4rem;
    width: 5.5rem;
  }
  .testimonial-section::after {
    bottom: -1.7rem;
    width: 7.05rem;
  }

  .newsletter .row .col {
    width: 100%;
  }

  .newsletter .row .col-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0 !important;
  }

  .newsletter .row .col-row .col-md-8 {
    width: 100%;
  }
  .wedding-gallery-main .slider .slide {
    flex: 0 0 calc((100% - (1.8rem * 1)) / 2);
  }
}
