@media (max-width: 1799px) {
  .sid-gallery {
    margin-left: -87px;
  }
}

@media (max-width: 1699px) {
  :root {
    --container-max-width: 1440px;
  }
}


@media (max-width: 1599px) {
  .sid-gallery {
    margin-left: -49px;
  }
}

@media (max-width: 1499px) {
  :root {
    --container-max-width: 1320px;
  }

  .about-hero .hero-social {
    width: calc(100vw - 93vw);
  }

  .service-inner-hero {
    height: 510px;
  }

  .sid-gallery {
    margin-left: -61px;
  }
}

@media (max-width: 1399px) {
  :root {
    --heading-3xl: 60px;
    --heading-2xl: 44px;
    --heading-xl: 38px;
    --container-max-width: 90%;
    --heading-lg: 34px;
  }

  .hero-slider-wrap {
    margin-left: 80px;
  }

  .hero-social,
  .hero-thumbs {
    width: 80px;
  }

  .gallery-section .masonry-grid {
    column-count: 3;
  }

  .portfolio-hero-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
  }

  .portfolio-hero-right {
    padding: 120px 20px 20px;
  }

  .portfolio-hero-title h2 {
    font-size: var(--heading-2xl);
  }

  .sid-gallery {
    margin-left: -69px;
  }
}

@media (max-width: 1299px) {
  .comming-soon-content {
    padding: 20px 40px;
  }

  .comming-soon-content p {
    font-size: var(--text-lg);
    margin: 16px 0 20px;
  }

  .experiences-content p {
    font-size: var(--text-lg);
  }

  /* .sid-gallery {
    width: calc(50% - 145px);
  } */
}

@media (max-width: 1199px) {
  :root {
    --heading-3xl: 52px;
    --heading-2xl: 38px;
    --heading-xl: 34px;
    --heading-lg: 30px;
    --heading-md: 28px;
    --footer-md: 28px;
    --heading-sm: 26px;
  }

  .main-header .navbar-nav,
  .nav-right {
    gap: 30px;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-showreel iframe {
    height: 700px;
  }

  .service-text {
    padding: 20px 40px;
  }

  .service-text a.btn-primary {
    margin-top: auto;
    max-width: auto;
    padding: 0 40px;
  }

  .sid-grid {
    grid-template-columns: 1fr;
  }

  .sid-gallery {
    margin-left: 0;
  }

  /* .sid-gallery {
    width: 100%;
    position: relative;
    top: auto;
    margin-top: 30px;
  } */
  .service-inner-hero {
    height: 470px;
  }

  .experiences-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-detail-grid {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }

  .blog-detail-grid .img-box {
    position: relative;
    top: auto;
  }
}

@media (min-width: 992px) {
  .main-header .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .main-header .navbar-nav .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    transition: 0.3s;
  }
}

@media (max-width: 991px) {
  :root {
    --heading-3xl: 46px;
    --heading-2xl: 34px;
    --heading-xl: 30px;
    --heading-lg: 26px;
  }

  main {
    padding-top: 86px;
  }

  .py-100 {
    padding: 80px 0;
  }

  .experience-main {
    padding-top: 80px;
  }

  .main-header .navbar-nav {
    gap: 0;
    text-align: start;
    padding: 10px 10px;
  }

  .main-header .navbar-collapse {
    position: absolute;
    top: 86px;
    background: linear-gradient(180deg,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 100%;
    left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
  }

  .main-header .navbar-nav li a {
    color: var(--color-light-gray) !important;
    padding: 10px 20px !important;
    font-size: 18px;
    letter-spacing: 0.5px;
    transition:
      transform 0.3s ease,
      color 0.3s ease;
    display: block;
  }

  .main-header .navbar-nav .sub-menu {
    position: static;
    margin-bottom: 10px;
    display: none;
  }

  .main-header .navbar-nav li:hover .sub-menu {
    display: none;
  }

  .main-header .navbar-nav .menu-item-has-children.active::after {
    transform: rotate(180deg) !important;
  }

  .main-header .navbar-nav .menu-item-has-children:hover::after {
    transform: none;
  }

  .main-header .navbar-nav .sub-menu.show {
    display: block !important;
  }

  .main-header .navbar-nav .menu-item-has-children {
    position: relative;
  }

  .main-header .navbar-nav .menu-item-has-children a {
    display: inline-block;

  }

  .main-header .navbar-nav .menu-item-has-children::after {
    position: absolute;
    right: 10px;
    top: 16px;
    transform: rotate(0deg);
  }

  .header-logo {
    height: 76px;
  }

  .main-header .dropdown-toggle::after {
    position: absolute;
    right: 14px;
    top: 16px;
  }

  .nav-link:focus-visible {
    box-shadow: none;
  }

  a.btn-primary {
    min-width: 300px;
    height: 55px;
  }

  .how-different-grid {
    grid-template-columns: 1fr;
    margin: 0;
  }

  .header-action .btn-heart img {
    width: 22px;
    height: 22px;
  }

  .main-header li:not(:last-of-type) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .main-header .navbar-nav .nav-item {
    transition: all 0.3s ease;
  }

  .main-header .navbar-nav .nav-item:hover {
    transform: translateX(5px);
  }

  .main-header .dropdown-menu li {
    padding-bottom: 0;
    border-bottom: none;
  }

  .bts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-text {
    padding: 20px;
    gap: 12px;
  }

  .service-text p {
    font-size: var(--text-xm);
  }

  .sid-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .sid-gallery {
    margin-top: 40px;
    /* position: static;
    width: 100%; */
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .masonry-grid {
    column-count: 2;
    column-gap: 20px;
  }

  .masonry-grid img {
    margin-bottom: 20px;
  }

  .gallery-section .masonry-grid {
    column-count: 2;
  }

  .portfolio-hero-grid {
    display: flex;
    flex-direction: column-reverse;
  }

  .portfolio-hero-right {
    margin-bottom: 0;
  }

  .portfolio-hero-right p {
    margin-bottom: 20px;
  }

  .comming-soon-content {
    padding: 20px;
  }

  .comming-soon-content a.btn-primary {
    min-width: auto;
    padding: 10px 20px;
  }

  .service-text a.btn-primary {
    padding: 0 10px;
  }

  .service-inner-hero {
    height: 410px;
  }

  .about-hero .hero-social {
    display: none;
  }

  .about-hero {
    padding-bottom: 20px;
  }

  .about-banner img {
    height: 500px;
  }
}

@media (max-width: 767px) {
  :root {
    --heading-3xl: 40px;
    --heading-2xl: 30px;
    --heading-xl: 26px;
    --heading-lg: 24px;
    --heading-md: 24px;
    --footer-md: 24px;
    --heading-sm: 22px;
    --text-xl: 24px;
    --text-lg: 20px;
    --text-md: 18px;
    --text-sm: 16px;
  }

  .hero-slider-wrap {
    margin: 0 10px;
  }

  .py-100 {
    padding: 60px 0;
  }

  .experience-main {
    padding-top: 60px;
  }

  .brand-content p:first-of-type {
    margin-top: 30px;
  }

  .footer-copyright .bm-container {
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0;
  }

  .nav-right {
    gap: 20px;
  }

  .why-us-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .client-feedback-slider {
    padding-right: 0;
  }

  .feedback-navigation {
    top: 100%;
    transform: translateY(-100%);
  }

  .hero-social {
    display: none;
  }

  .hero-section {
    flex-direction: column;
    height: 600px;
  }

  .hero-section.about-hero {
    height: auto;
  }

  .hero-thumbs {
    width: 100%;
  }

  .hero-thumbs .swiper-vertical>.swiper-wrapper {
    flex-direction: row;
  }

  .video-showreel iframe {
    height: 500px;
  }

  .service-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .service-text {
    width: 100%;
  }

  .sid-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .si-desc {
    padding: 20px;
  }

  .service-inner-hero {
    max-height: 400px;
  }

  .experiences-grid,
  .comming-soon-grid {
    grid-template-columns: 1fr;
  }

  .comming-soon-content {
    width: 100%;
  }

  .experiences-header h2::after {
    margin: 20px auto;
  }

  .sid-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-inner-hero {
    max-height: 340px;
  }

  .discount-modal .modal-body {
    padding: 50px;
  }

  .about-banner img {
    height: 450px;
  }
}

@media (max-width: 575px) {
  :root {
    --heading-3xl: 34px;
    --heading-xl: 24px;
    --heading-lg: 22px;
    --footer-md: 20px;
    --heading-md: 20px;
    --heading-sm: 18px;
    --text-xl: 20px;
    --text-lg: 16px;
    --text-md: 16px;
    --text-xs: 14px;
  }

  .py-100 {
    padding: 50px 0;
  }

  .experience-main {
    padding-top: 50px;
  }

  a.btn-primary {
    min-width: 100%;
    height: 48px;
  }

  .testimonial-img {
    height: 100%;
    max-width: 204px;
    margin: 0 auto;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-content .quote {
    text-align: center;
  }

  .testimonial-content .author {
    display: block;
    text-align: center;
  }

  .hero-section {
    flex-direction: column;
    height: 400px;
  }

  .custom-offcanvas .offcanvas-body {
    padding: 20px;
  }

  .custom-offcanvas .offcanvas-header {
    padding: 30px 20px 0px 20px;
  }

  .bts-grid {
    grid-template-columns: 1fr;
  }

  .sid-gallery {
    grid-template-columns: 1fr;
  }

  .sid-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .masonry-grid {
    column-count: 1;
  }

  .gallery-section .masonry-grid {
    column-count: 1;
  }

  .portfolio-hero-title {
    flex-direction: column;
    gap: 0;
    justify-content: start;
    align-items: start;
  }

  .portfolio-hero-title::before {
    display: none;
  }

  .portfolio-hero-description h3 {
    margin-top: 20px;
  }

  .gallery-section .portfolio-hero-title {
    align-items: center;
  }

  .blog-card-grid {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .blog-card img {
    width: 100%;
    height: 256px;
  }

  .privacy-policy-page {
    padding: 40px 0px 40px;
  }

  .video-wrapper iframe,
  .video-wrapper video {
    aspect-ratio: 16 / 15;
  }

  .service-inner-hero {
    max-height: 260px;
  }

  .discount-modal .modal-body {
    padding: 55px 20px 20px;
  }

  .about-banner img {
    height: 380px;
  }

}

@media (max-width: 479px) {
  .about-banner img {
    height: 290px;
  }
}