@media (min-width: 1200px) {
  .container {
    max-width: 1150px;
  }
}

@media (min-width: 1300px) {
  .container {
    max-width: 1200px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1350px;
  }
}

@media (min-width: 1023px) {
  .desktop-hide {
    display: none !important;
  }

  .navigation .menu ul > li.mega-menu ul.ls-dropdown {
    width: 510px;
  }

  .navigation .menu ul > li.mega-menu ul.ls-dropdown li {
    width: 50%;
    float: left;
  }

  /* FIX: Removed empty ruleset for .navigation .menu ul li.menu-scroll ul.ls-dropdown */

  .navigation .menu ul li.menu-scroll ul.ls-dropdown::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
  }

  .navigation .menu ul li.menu-scroll ul.ls-dropdown::-webkit-scrollbar {
    width: 7px;
    background-color: #f5f5f5;
  }

  .navigation .menu ul li.menu-scroll ul.ls-dropdown::-webkit-scrollbar-thumb {
    background-color: var(--pri);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  }

  .navigation .menu ul li.mg-li {
    position: static;
  }

  .navigation .menu ul > li.mg-li ul.ls-dropdown.megaMenu {
    width: 90%;
    max-width: 1200px;
    height: auto;
    max-height: 420px;
    /* FIX: Removed duplicate overflow: hidden; kept overflow-y: auto only */
    overflow-y: auto;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #eaeaea;
  }

  .navigation
    .menu
    ul
    > li.mg-li
    ul.ls-dropdown.megaMenu::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
  }

  .navigation .menu ul > li.mg-li ul.ls-dropdown.megaMenu::-webkit-scrollbar {
    width: 7px;
    background-color: #f5f5f5;
  }

  .navigation
    .menu
    ul
    > li.mg-li
    ul.ls-dropdown.megaMenu::-webkit-scrollbar-thumb {
    background-color: var(--pri);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  }

  .navigation .menu ul > li.mg-li ul.ls-dropdown .megaSection {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .navigation .menu ul > li.mg-li ul.ls-dropdown .megaSection ul.megaSectionUl {
    width: 100%;
    height: auto;
    columns: 4;
    -webkit-columns: 4;
    -moz-columns: 4;
    /* FIX: Removed duplicate padding-right: 5px (overridden by shorthand padding: 10px below) */
    padding: 10px;
    text-align: left;
  }

  .navigation
    .menu
    ul
    > li.mg-li
    ul.ls-dropdown
    .megaSection
    ul.megaSectionUl
    li {
    display: block;
  }

  .navigation .menu ul > li.mg-li ul.ls-dropdown li a {
    padding: 8px 9px 5px;
    width: 100%;
    display: block;
    background-color: transparent;
    color: var(--pri);
    border: 0;
  }

  .navigation .menu ul > li.mg-li ul.ls-dropdown li a span {
    font-weight: 600;
    color: var(--pri);
    font-size: 16px;
  }

  .navigation .menu ul > li.mg-li ul.ls-dropdown li a button {
    display: none;
  }

  .navigation .menu ul > li.mg-li ul.ls-dropdown li ul.ls-dropdown {
    position: relative;
    display: block;
    width: 100%;
    left: 0;
    top: 100%;
    margin: 0 0 5px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    max-height: 100%;
    overflow: visible;
  }

  /* FIX: Removed duplicate selector block that repeated display:block and border:0 */
  .navigation
    .menu
    ul
    > li.mg-li
    ul.ls-dropdown
    .megaSection
    ul.megaSectionUl
    li {
    display: block;
    border: 0;
  }

  .navigation .menu ul > li.mg-li ul.ls-dropdown li ul.ls-dropdown li a {
    font-size: 15px;
    padding: 3px 10px;
    color: var(--text-color);
    display: inline-block;
    width: auto;
  }

  .navigation .menu ul > li.mg-li ul.ls-dropdown li ul.ls-dropdown li a:hover {
    background: transparent;
    color: var(--pri);
  }

  .desk-nav-hide {
    display: none !important;
  }

  /* FIX: Removed second duplicate empty ruleset and duplicate scrollbar rules for .menu-scroll */

  .navigation .menu ul li ul.ls-dropdown li ul.ls-dropdown {
    max-height: 280px;
    overflow-y: auto;
  }

  .navigation
    .menu
    ul
    li
    ul.ls-dropdown
    li
    ul.ls-dropdown::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
  }

  .navigation .menu ul li ul.ls-dropdown li ul.ls-dropdown::-webkit-scrollbar {
    width: 7px;
    background-color: #f5f5f5;
  }

  .navigation
    .menu
    ul
    li
    ul.ls-dropdown
    li
    ul.ls-dropdown::-webkit-scrollbar-thumb {
    background-color: #999;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  }

  .navigation
    .menu
    ul
    li
    ul.ls-dropdown
    li
    ul.ls-dropdown::-webkit-scrollbar-thumb:hover {
    background-color: var(--pri);
  }

  .navigation .menu ul li.megaMenu {
    position: static;
  }

  .navigation .menu ul li ul.ls-dropdown.megaUl {
    width: 100%;
    max-width: 1200px;
    height: auto;
    max-height: 280px;
    /* FIX: Removed duplicate overflow: hidden and overflow-y: auto — kept only overflow-y: auto */
    overflow-y: auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
    padding: 25px 35px;
    left: 50%;
    transform: translateX(-50%);
    columns: 4;
    -webkit-columns: 4;
    -moz-columns: 4;
  }

  .navigation .menu ul li ul.ls-dropdown.megaUl::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
  }

  .navigation .menu ul li ul.ls-dropdown li.megaLi {
    display: inline-block;
    border: 0;
    font-family: var(--main-font);
    font-weight: 700;
    width: 100%;
  }

  .navigation .menu ul li ul.ls-dropdown li.megaLi ul.megaSub {
    display: block;
    position: relative;
    left: unset;
    margin: 0;
    width: 100%;
    box-shadow: none;
    padding: 5px 0;
    top: 0;
    opacity: 1;
    background-color: transparent;
  }

  .navigation .menu ul li ul.ls-dropdown li.megaLi ul.megaSub li a {
    color: #333;
    font-size: 14px;
    padding: 5px 0;
    background: transparent;
  }

  .navigation .menu ul li ul.ls-dropdown li.megaLi ul.megaSub li a:hover {
    color: var(--pri);
    background: transparent;
    padding-left: 3px;
  }

  .navigation .menu ul li ul.ls-dropdown li.megaLi ul.megaSub li {
    border: none;
  }

  .navigation .menu ul li ul.ls-dropdown li.megaLi ul.megaSub li a::before {
    display: inline-block;
    margin-right: 0;
    content: none;
  }

  .navigation .menu ul li ul.ls-dropdown li.megaLi a {
    font-family: var(--main-font);
    font-weight: 700;
    color: var(--text-color);
    font-size: 17px;
    background: transparent;
    padding: 10px 0;
  }

  .navigation .menu ul li ul.ls-dropdown li.megaLi a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    border-bottom: 2px solid var(--pri);
    width: 30px;
  }

  .navigation .menu ul li ul.ls-dropdown li.megaLi button {
    display: none;
  }

  .navigation .menu ul li .all-categories {
    color: var(--white) !important;
    background-color: var(--pri) !important;
    border-radius: 4px;
    margin-right: 10px;
  }

  .navigation .menu ul li .all-categories svg {
    margin-top: 0;
    color: var(--white);
    margin-inline: 5px;
  }
}

@media (min-width: 992px) {
  .row-cols-lg-8 > * {
    flex: 0 0 auto;
    width: calc(100% / 8);
  }
}

@media (max-width: 1023px) {
  .desktop-hide {
    display: block !important;
  }

  .liveSearchForm {
    position: absolute;
    margin-inline: auto;
    margin-block: auto;
    top: -100%;
    right: 6px;
    z-index: 999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .liveSearchForm.active {
    top: 102%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    left: 0;
    right: 0;

    animation: liveSearchDropBounce 0.75s ease-out forwards;
  }
  .search-bx {
    width: 95%;
    margin: 0 auto;
  }

  .search-bx input{
        height: 48px;
  }

  @keyframes liveSearchDropBounce {
    0% {
      top: -100%;
      opacity: 0;
    }

    50% {
      top: 118%;
      opacity: 1;
    }

    65% {
      top: 94%;
    }

    78% {
      top: 108%;
    }

    90% {
      top: 99%;
    }

    100% {
      top: 102%;
      opacity: 1;
    }
  }

  .ls-search-open-btn {
    color: var(--pri);
    border: none;
    padding: 9px 10px;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translatey(-50%);
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .ls-search-open-btn svg {
    height: 20px;
    width: 20px;
  }

  header {
    position: relative;
  }

  main,
  .breadcum-sec {
    margin-top: 0;
  }

  .breadcum-sec .main-tt {
    font-size: 22px;
    margin-bottom: 0;
  }

  .mobile_hide {
    display: none;
  }

  header .logo {
    display: block !important;
  }

  header.stricky-fixed .navigation .menu ul li a {
    padding: 9px 15px;
  }

  header .logo.dark {
    display: none !important;
  }

  .menubar {
    padding: 0;
    background-color: white;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }

  .menubar .logo {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .logo img {
    max-height: 45px;
  }

  .ft-bx .logo img {
    max-height: 65px;
  }

  .navigation {
    width: 100%;
    position: relative;
    text-align: right;
  }

  .navigation .navbar {
    display: block;
    width: 100%;
  }

  .navigation .menu {
    display: none;
    width: 100%;
    overflow-y: auto; /* FIX: Removed duplicate overflow:hidden then overflow-y:visible then overflow-y:auto */
    position: absolute;
    z-index: 9999;
    max-height: 480px;
    top: 100%;
    background: var(--pri);
    left: 0;
    right: 0;
    text-align: left;
  }

  .navigation .menu ul li {
    padding: 0;
    width: 100%;
    display: block;
  }

  .navigation .menu ul li a {
    padding: 9px 15px;
    text-align: left;
    font-size: 14px;
    border-right: 1px dashed transparent;
    color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: block;
    font-weight: 400;
  }

  .navigation .menu ul li.active a,
  .navigation .menu ul li:hover a {
    color: var(--white);
  }

  .navigation .menu ul li ul.ls-dropdown {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    top: auto !important;
    left: auto !important;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    width: 100%;
    display: none;
    transition: none !important;
  }

  .navigation .menu ul li ul.ls-dropdown,
  .navigation .menu ul li ul.ls-dropdown li .ls-dropdown {
    padding: 0;
    display: none;
    transition: none;
    width: 100%;
    background: transparent;
  }

  .navigation .menu ul .ls-submenu a {
    position: relative;
  }

  .navigation .menu ul li.ls-submenu a button {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    background: transparent;
    border: 0;
    color: var(--white);
    font-size: 16px;
    height: 30px;
    outline: none;
    width: 30px;
    padding: 0;
    text-align: center;
    line-height: 18px;
  }

  .navigation ul li.ls-submenu a button svg {
    width: 16px;
    height: 16px;
  }

  .navigation ul li.ls-submenu a button.rotated svg {
    transform: rotateZ(180deg);
    color: var(--white);
  }

  .navigation ul li.ls-submenu:hover svg {
    color: var(--white);
    transform: rotateZ(0deg); /* FIX: Merged duplicate :hover svg rules */
  }

  .navigation ul li.ls-submenu ul.ls-dropdown li a button svg {
    transform: rotateZ(0deg);
    color: var(--white);
  }

  .navigation ul li.ls-submenu:hover ul.ls-dropdown li.ls-submenu svg {
    color: var(--white);
  }

  .navigation ul li.ls-submenu ul.ls-dropdown li a button.rotated svg {
    transform: rotateZ(180deg);
  }

  .navigation .menu ul li ul.ls-dropdown,
  .navigation .menu ul li ul.ls-dropdown li .ls-dropdown li .ls-dropdown {
    padding: 0;
    display: none;
    transition: none;
    width: 100% !important;
    background: transparent;
    border: 0;
    max-width: 100%;
    border-radius: 0;
  }

  .navigation .menu ul li ul.ls-dropdown li ul.ls-dropdown {
    left: 100%;
    margin-top: 0;
  }

  .navigation .menu ul li ul.ls-dropdown li ul.ls-dropdown li ul.ls-dropdown {
    left: -100%;
    margin-top: 0;
  }

  .navigation .menu ul li ul.ls-dropdown li {
    border-bottom: 0;
  }

  .navigation .menu ul li ul.ls-dropdown li a {
    color: var(--white) !important;
    display: block;
    font-size: 14px;
    padding: 8px 15px;
    line-height: normal;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--black) !important;
    border-radius: 0;
  }

  .navigation .menu ul li ul.ls-dropdown li:last-child a {
    padding: 8px 15px;
  }

  .navigation .menu ul li ul.ls-dropdown li ul.ls-dropdown li a,
  .navigation .menu ul li ul.ls-dropdown li:hover ul.ls-dropdown li a:hover {
    background: var(--pri) !important;
    color: var(--white) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* FIX: Changed rgb() to rgba() for consistency */
  }

  .navigation .menu ul li:hover ul.ls-dropdown {
    display: none;
  }

  .navigation .menu ul li ul.ls-dropdown li:hover ul.ls-dropdown {
    display: none;
  }

  .top-bar {
    display: none;
  }

  header.stricky-fixed {
    top: 0;
  }
}

@media (max-width: 992px) {
  .timeline-container {
    padding-left: 25px;
  }

  .timeline-container::before {
    left: 0;
    top: 36px;
  }

  .timeline-row {
    flex-direction: column;
    position: relative;
  }

  .timeline-row .timeline-img-bx,
  .timeline-row .timeline-tx-bx {
    width: 100%;
    padding: 0;
    position: static;
  }

  .timeline-row .timeline-img-bx {
    padding-top: 100px;
    order: 0;
  }

  .timeline-row .timeline-tx-bx {
    order: 1 !important;
  }

  .timeline-row .timeline-tx-bx .years,
  .timeline-row:nth-child(even) .timeline-tx-bx .years {
    left: 6px;
    right: auto;
    top: 22px;
  }

  .timeline-row:nth-child(even) .timeline-tx-bx .years::after {
    left: -38px;
    right: auto;
  }

  .timeline-row:nth-child(even) .timeline-tx-bx .years::before {
    left: -30px;
    right: auto;
  }

  .abt-sec .img-bx {
    padding-right: 0;
  }

  .abt-sec .overly .bx {
    width: 150px;
    height: 170px;
  }

  .abt-sec .overly img {
    height: 30px;
    width: 30px;
  }

  .abt-sec .overly {
    right: 0;
  }

  .cate-img.left {
    float: none;
    margin: auto;
    margin-bottom: 20px;
  }
}


@media (max-width: 680px) {
  .abt-sec .cou-bx {
    width: calc(100% - 20px);
    padding: 20px 25px;
  }

  .scroll-top-wrapper {
    display: none !important;
  }
}

.mobile_stickybar {
  display: none;
}

@media (max-width: 480px) {
  .showcase .swiper-wrapper .swiper-slide {
    height: 200px;
  }

  .why-us .left-bx {
    float: none;
    margin-right: 0;
  }

  .swiper .swiper-slide .bx {
    padding: 20px;
  }

  .swiper .swiper-slide .bx::after {
    height: 35px;
    width: 35px;
  }

  .testi p {
    text-align: justify;
  }

  .read-mr {
    padding: 10px 13px;
    font-size: 13px;
  }

  .main-btn {
    padding: 10px 13px;
    font-size: 13px;
  }

  .product .bx .cont-bx {
    padding: 10px 15px;
    padding-bottom: 15px;
  }

  .form-sec iframe {
    height: 300px !important;
  }

  .g-recaptcha iframe {
    box-shadow: none;
    border: none;
  }

  /* FIX: Moved these rules inside the @media block — they were incorrectly placed outside
     the closing brace of the @media (max-width: 480px) block in the original */
  .card-back {
    width: 90%;
    left: 5px;
    padding: 3px;
  }

  .back-cross {
    display: none;
  }

  .back-title {
    font-size: 15px;
  }

  .back-sub {
    font-size: 13px;
  }

  .back-text {
    padding: 0 4px;
  }

  .seo-bx .expend-content-sec {
    max-height: 233px;
  }

  .abt-sec .bx .plus-sign {
    font-size: 24px;
  }

  .abt-sec .bx {
    padding: 14px 10px;
    gap: 5px;
  }

  .abt-sec p {
    text-align: justify;
  }

  .why-us .tab-content p {
    text-align: justify;
  }
  .controls {
    bottom: 38px;
    right: 0;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 12px !important;
  }

  .abt-sec .bx .odometer {
    font-size: 24px;
  }

  .contact-bx .title {
    font-size: 24px;
  }

  .copyright {
    padding-bottom: 36px;
  }

  .gallery-bx .tt {
    font-size: 15px;
  }

  .abt-sec .overly {
    display: none;
  }

  p {
    font-size: 15px;
  }

  .desp .tt {
    font-size: 15px;
  }

  .sub-ttl {
    margin-bottom: 5px;
    font-size: 16px !important;
  }

  .title {
    font-size: 24px;
    margin-bottom: 5px;
  }

  .seo-bx {
    padding: 15px;
  }

  .parent {
    padding: 15px;
  }

  .nav {
    gap: 4px;
    flex-wrap: wrap;
    /* justify-content: center; */
  }

  .nav-pills .nav-link {
    font-size: 13px;
  }

  .swiper .swiper-slide .bx::after {
    right: 5px;
  }

  .head-sec p {
    font-size: 15px;
  }

  .why-us .tab-content ul li {
    font-size: 14px;
  }

  .form {
    padding: 17px;
  }

  .accordion-button {
    font-size: 15px;
    padding: 15px 20px;
    padding-right: 30px;
  }

  .accordion-button::after {
    right: 8px;
  }

  .accordion-body {
    font-size: 14px;
    padding: 10px 15px;
  }

  .content-sec p,
  .content-sec ul li {
    font-size: 15px;
  }

  .faq-sec .nav-pills .nav-link {
    padding: 7px 13px;
    font-size: 15px;
  }

  .counter-bx .tt {
    font-size: 35px;
    margin-bottom: 0;
  }

  .jsmarquee-list a,
  .jsmarquee-list span {
    font-size: 20px;
  }

  .cate-bx {
    padding: 7px;
  }

  .cate-bx .tx-bx .tt {
    font-size: 15px;
  }

  .lead-sure-section {
    padding: 25px 0;
  }

  .head-sec .tt {
    font-size: 24px;
  }

  .head-sec {
    margin-bottom: 25px;
  }

  .business-enq,
  .whatapp_btn {
    display: none;
  }

  .contactBx-container {
    padding: 20px;
  }

  footer {
    padding: 40px 0 15px;
  }

  .mobile_stickybar {
    position: fixed;
    bottom: 0;
    transition: all 0.3s ease-in-out;
    z-index: 99;
    left: 0;
    right: 0;
    display: block;
  }

  .mobile_warpper {
    background-color: var(--white);
    z-index: 3;
    position: relative;
    padding-inline: 10px;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    box-shadow:
      0 -4px 4px -1px rgba(0, 0, 0, 0.04),
      0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
  }

  .mobile_warpper ul {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
  }

  .mobile_warpper ul li {
    list-style: none;
    width: 20%;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 11px 0 6px;
    border-radius: 100%;
  }

  .mobile_stickybar ul li > span,
  .mobile_warpper ul li a {
    font-size: 11px;
    color: var(--para-color);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: -0.5px;
    text-align: center;
  }

  .mobile_warpper ul li.active-menu a {
    color: var(--pri);
  }

  .mobile_warpper ul li svg {
    height: 24px;
    width: 24px;
    margin-bottom: 1px;
  }

  .mobile_warpper ul li a span {
    display: block;
  }

  .copyright {
    margin-bottom: 15px;
  }
  
  .carousel img{
    aspect-ratio: 1/1 ;
  }

  .filter-button-grp .swiper-button-next,
  .filter-button-grp .swiper-button-prev,
  .faq-sec .swiper-button-next,
  .faq-sec .swiper-button-prev {
    width: 20px;
  }

  .filter-button-grp {
    padding-inline: 25px;
  }

  .abt-img-bx {
    float: none;
    margin: 0;
    margin-bottom: 40px;
  }

  .cate-img {
    float: none !important;
    margin: 0 !important;
    margin-bottom: 20px !important;
  }

  .custom-from-row {
    padding: 25px;
  }
}

@media (max-width: 576px) {
  .img-breadcum .head-sec {
    padding: 28px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .breadcum-sec {
    text-align: left;
  }

  .breadcum-sec ul {
    justify-content: flex-start;
  }

  .img-breadcum .sub-ttl {
    font-size: 20px;
  }

  .name {
    font-size: 16px;
  }

  .btn-bx.btn-bx2 .main-btn,
  .btn-bx.btn-bx2 .read-mr {
    width: 100%;
  }

  .about .cont-sec,
  .abt-sec2 {
    padding: 10px;
  }

  .footer-top .title {
    font-size: 17px;
  }

  .footer-top .main-btn {
    padding: 9px 11px;
    font-size: 12px;
  }

  .footer-top .main-btn svg {
    height: 14px;
    width: 14px;
  }
}
