@media (min-width: 1440px) {
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
    /* right: -170%; */
    left: -400px;
    right: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .slider-content {
    flex-direction: row;
    /* Stack image and text vertically on smaller screens */
    padding: 1.5rem;
  }

  .slider-image-wrapper {
    width: 100%;
    height: auto;
    /* Allow height to adjust */
  }

  .slider-image {
    height: 250px;
    /* Smaller height for mobile images */
  }

  .slider-text-content {
    padding: 0;
  }

  .slider-text-content h2 {
    font-size: 20px;
  }

  .slider-text-content p {
    font-size: 14px;
  }

  .slider-button-group {
    align-items: center;
  }
}

@media (max-width: 575.98px) {
  .slider-container {
    width: 95%;
    padding: 1rem;
  }

  .slider-image {
    height: 200px;
  }

  .slider-text-content h2 {
    font-size: 1.5rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
    right: 0;
  }
}

@media (max-width:991px) and (min-width:768px) {
  .video-slides .carousel-control-prev {
    left: -45px !important;
    font-size: 20px !important;
    width: 50px;
  }

  .video-slides .carousel-control-next {
    right: -45px !important;
    font-size: 20px !important;
    width: 50px;
  }

  .video-slides .carousel-control-next i,
  .video-slides .carousel-control-prev i {
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 25px;
  }

  .video-slides.pointer-event {
    padding: 0px 10px;
  }

  .home-banner-txt {
    top: 36%;
  }

  .home-banner-txt h1 {
    width: 80%;
    font-size: 30px;
    line-height: 36px;
  }

  .hero-section img {
    height: 350px !important;
  }

  .slider-content {
    padding: 2rem;
    gap: 2rem;
    height: auto;
  }

  .epoxy-btn {
    padding: 10px 15px;
    font-size: 12px;
  }

  .tab-px-15 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .comn-main-heading,
  .fv-group-section h2 {
    font-size: 36px;
  }

  .comn-sub-heading,
  .comn-sub-heading-1,
  .fv-group-section .lead {
    font-size: 16px;
  }

  .tab button {
    padding: 15px 12px;
    font-size: 12px;
  }

  .icon-built {
    font-size: 18px;
  }

  .custom-carousel .carousel-control-prev {
    width: 4% !important;
    left: -1%;
  }

  .custom-carousel .carousel-control-next {
    width: 4% !important;
    right: -1%;
  }

  #built1 img,
  #built2 img,
  #built3 img,
  #built4 img,
  #built5 img {
    height: 450px;
  }

  .build-img-text h2 {
    font-size: 2rem;
  }

  .build-img-text p {
    font-size: 16px !important;
  }

  .btn {
    font-size: 14px;
  }

  .build-img-text {
    top: 40px;
    left: 70px;
  }

  .tab-none {
    display: none !important;
  }



  .abouthero-content h1 {
    font-size: 30px;
    line-height: 40px;
  }

  .abouthero-content {
    font-size: 15px;
  }

  .abouthero-content {
    top: 0rem;
  }

  .hero-section-about {
    height: 500px;
  }

  .section-padding {
    padding: 20px 0;
  }

  .tabs-wrapper {
    padding: 0px 50px;
  }

  .tab-list li {
    flex-basis: 25%;
    min-width: 25%;
    height: 120px;
  }

  .tab-list li a {
    padding: 25px 12px;
    font-size: 14px;
    height: 100%;
  }

  .tab-list li a .gap-3 {
    gap: .5rem !important;
  }

  span.left,
  span.right {
    height: 20px;
    width: 20px;
  }
}

@media (max-width:1199px) and (min-width:992px) {
  li.nav-item {
    padding: 0px 4px;
    font-size: 14px;
  }

  .video-slides .carousel-control-next {
    right: -20px !important;
    width: 5%;
    font-size: 16px !important;
  }

  .video-slides .carousel-control-prev {
    left: -20px !important;
    width: 5%;
    font-size: 20px !important;
  }

  .video-slides .carousel-control-next i,
  .video-slides .carousel-control-prev i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0
  }

  .video-slides.pointer-event {
    padding: 0px 20px !important;
  }

  .hero-section img {
    height: 450px !important;
  }

  .home-banner-txt {
    top: 50%;
    ;
  }

  .home-banner-txt h1 {
    font-size: 40px;
    line-height: 50px;
  }

  .slider-content {
    height: auto;
  }

  .tab button {
    padding: 6px 20px;
    font-size: 14px;
  }

  .custom-carousel .carousel-control-next {
    top: 2% !important;
    right: 0%;
  }

  .custom-carousel .carousel-control-prev {
    top: 2% !important;
    left: 0%;
  }

  .section-padding {
    padding: 40px 0;
  }

  .section-title-about {
    font-size: 2rem;
  }

  .tabs-wrapper {
    padding: 0px 40px;
  }

  span.left,
  span.right {
    height: 20px;
    width: 20px;
  }

  .tab-list li {
    height: 90px;
  }

  .tab-list li a {
    padding: 18px 8px;
    font-size: 14px;
    height: 100%;
  }

  .build-img-text {
    top: 40px;
    left: 40px;
  }

  .build-img-text h2 {
    font-size: 3rem;
  }

  .icon-built {
    font-size: 24px;
  }
}

@media (max-width:1440px) and (min-width:1200px) {
  .video-slides .carousel-control-next {
    right: -40px !important;
    font-size: 20px !important;
  }

  .video-slides .carousel-control-next i,
  .video-slides .carousel-control-prev i {
    width: 35px;
    height: 35px;
    line-height: 35px;
    padding: 0;
  }

  .video-slides .carousel-control-prev {
    left: -40px !important;
    font-size: 20px !important;
  }

  /* .carousel-control-next,
  .carousel-control-prev {
    width: 9%;
  } */
  #projectCarousel .carousel-control-next,
  #projectCarousel .carousel-control-prev {
    width: 7% !important;
  }

  .carousel-inner {
    width: 96%;
  }

  #projectCarousel {
    display: flex;
    justify-content: center;
  }

  .carousel-control-prev {
    left: -5%;
  }

  .carousel-control-next {
    right: -5%;
  }

  .video-slides.pointer-event {
    padding: 0px 50px;
  }

  .tab button {
    padding: 10px 15px;
    transition: 0.3s;
    font-size: 16px;
  }

  .custom-carousel .carousel-control-next {
    top: 2% !important;
    right: 0%;
  }

  .custom-carousel .carousel-control-prev {
    top: 4% !important;
    left: 3%;
  }

  .hero-section img {
    height: 600px !important;
  }

  .home-banner-txt {
    top: 30%;
  }
    .banner-carousel-inner {
    width: 100%;
  }

  .content-block {
    padding: 10px;
    max-width: 300px;
  }

  .content-block h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
  }

  .content-block p {
    font-size: .8rem;
  }

  .icon-wrapper img {
    width: 60px;
    height: 60px;
  }

  .icon-wrapper {
    margin: 0 auto 10px auto;
  }

  .servicedropdown::before {
    left: 10%;
  }

  .industries-dropdown::before {
    left: 10%;
  }

  .technical-dropdown::before {
    left: 15%;
  }

  .sample-dropdown::before {
    left: 60%;
  }

  .about-us-dropdown::before {
    left: 80%;
  }

  .technical-dropdown {
    left: -80px !important;
  }

  .sample-dropdown {
    left: -360px !important;
  }

  .about-us-dropdown {
    left: -500px !important;
  }

  .tab-list li a {
    padding: 20px 10px;
    height: 100%;
    font-size: 16px;
  }

  .tab-list li {
    height: 100px;
  }

  .tabs-wrapper {
    padding: 0px 50px;
  }

  .icon-built {
    font-size: 24px;
  }

  .build-img-text {
    top: 40px;
    left: 40px;
  }

  .build-img-text h2 {
    font-size: 4rem;
  }


}

@media (max-width:1600px) and (min-width:1441px) {
  .video-slides .carousel-control-next {
    right: -85px !important;
  }

  .video-slides .carousel-control-prev {
    left: -85px !important;

  }

  .carousel-control-next {
    right: -100px;
  }

  .carousel-control-prev {
    left: -100px;
  }

  .carousel-item {
    padding: 0px 50px;
  }

  .tab-list li a {
    padding: 18px 20px;
    font-size: 16px;
  }
}

@media (max-width:991px) and (min-width:320px) {
  .bg-mob {
    display: flex !important;
  }

  /* Hide the checkbox input */
  #menu-toggle {
    display: none;
  }

  /* Hamburger icon styling */
  .hamburger-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: 20;
    position: relative;
  }

  .hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 9999px;
    transition: all 0.3s ease-in-out;
  }

  /* Hamburger animation: cross transform */
  #menu-toggle:checked~.hamburger-icon span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  #menu-toggle:checked~.hamburger-icon span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked~.hamburger-icon span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  /* Mobile menu container styling */
  .mobile-menu-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    height: 100%;
    background-color: #2d3748;
    padding: 15px 10px;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 10;
  }

  /* Slide in animation when checked */
  #menu-toggle:checked~.mobile-menu-container {
    transform: translateX(0);
  }

  /* Mobile menu list styling */
  .mobile-menu-container ul {
    padding-left: 0;
    list-style: none;
  }

  .mobile-menu-container a {
    display: block;
    padding: 8px;
    color: #e2e8f0;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
  }

  .mobile-menu-container a:hover {
    background-color: #4a5568;
  }

  /* Submenu dropdown logic and animation */
  .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }

  .menu-item-toggle {
    display: none;
  }

  .menu-item-toggle:checked+label+.submenu {
    max-height: 500px;
    overflow: auto;
  }

  .submenu label {
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .submenu-toggle-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem 1rem;
    color: #e2e8f0;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
  }

  .submenu-toggle-label:hover {
    background-color: #4a5568;
  }

  .submenu-toggle-label.active {
    background-color: #4a5568;
    color: #ffdd99;
    font-weight: 600;
    border-left: 4px solid #ffdd99;
  }

  .submenu-toggle-label.active a {
    color: #ffdd99;
  }

  .submenu-toggle-label .chevron {
    transition: transform 0.3s ease-in-out;
  }

  .menu-item-toggle:checked+.submenu-toggle-label .chevron {
    transform: rotate(180deg);
  }

  .submenu-item a {
    padding-left: 2.5rem;
    color: #cbd5e0;
    background-color: #4a5568;
    border-radius: 0;
  }

  .submenu-item a:hover {
    background-color: #616e84;
  }

  .bg-theme {
    background: linear-gradient(90deg, #195589 0%, #5597d0 100%);
  }

  .bg-mob {
    position: sticky !important;
    z-index: 100;
  }

  /* Hide desktop menu on small screens */
  @media (max-width: 991.98px) {
    .desktop-menu {
      display: none;
    }
  }

  /* Hide mobile-specific elements on large screens */
  @media (min-width: 992px) {

    #menu-toggle,
    .hamburger-icon,
    .mobile-menu-container {
      display: none;
    }
  }
}


@media (max-width:767px) and (min-width:320px) {
  .tab-none {
    display: none;
  }

  .mob-pb-5 {
    padding-bottom: 12px !important;
  }

  .home-banner-txt h4 {
    display: none;
  }

  /*Homepage*/
  .home-banner-txt {
    top: 25%;
  }

  .home-banner-txt h1 {
    width: 90%;
    margin: auto;
    font-size: 20px;
    line-height: 25px;
  }

  .btn-banner-1,
  .btn-banner-2,
  .comn-sub-heading,
  .heading-color,
  .fullimg-card p {
    font-size: 14px !important;
  }

  .build-img-text p {
    font-size: 12px !important;
  }

  .slider-container {
    width: 95%;
    padding: 0;
  }

  .slider-content {
    flex-direction: column;
    padding: 0px;
    height: auto;
  }

  .slider-image-wrapper {
    width: 100%;
    height: auto;
  }

  .slider-image {
    height: 150px;
  }

  .epoxy-btn {
    font-size: 10px;
  }

  .slider-text-content {
    padding: 0;
    width: 90%;
  }

  .slider-text-content h2 {
    font-size: 1.5rem;
  }

  .slider-text-content p,
  .content-block p,
  .fv-group-section .lead,
  .comn-sub-heading-1 {
    font-size: 14px !important;
  }

  .btn-yellow {
    font-size: 12px;
    padding: 2px 8px !important;
    border-radius: 3px;
  }

  #customCarousel {
    padding: 10px;
  }

  .comn-main-heading,
  .fv-group-section h2 {
    font-size: 24px;
  }

  .icon-wrapper img {
    width: 35px;
    height: 35px;
  }

  .icon-wrapper {
    width: 40px;
    height: 40px;
    margin: 0 auto 11px auto;
  }

  .fullimg-bg {
    height: 350px;
  }

  .fullimg-card i {
    font-size: 2rem;
    margin: 5px auto;
  }

  .fullimg-card h4 {
    font-size: 24px;
  }

  .video-slides .carousel-control-next {
    right: 0 !important;
  }

  .video-slides .carousel-control-prev {
    left: 0 !important;
  }

  .content-block h3 {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .header-logo {
    width: 90px;
  }

  .hero-section img {
    height: 250px !important;
  }

  .content-block {
    padding: 10px;
    max-width: 100%;
  }

  .logo_items img {
    height: 30px;
  }

  .flooring-btn {
    font-size: 14px;
    height: 30px;
    line-height: 15px;
  }

  #built1 img,
  #built2 img,
  #built3 img,
  #built4 img,
  #built5 img,
  .built-performance-card img {
    height: 190px !important;
    border-radius: 10px !important;
  }

  .built-performance-card,
  .mob-round {
    border-radius: 10px !important;
  }

  .mob-p-10 {
    padding: 10px;
  }

  .built-performance-card::before {
    top: -1px;
    left: 0;
    height: 100%;
    border-radius: 10px;
  }

  .build-img-text {
    top: 10px;
    left: 10px;
  }

  .build-img-text h2 {
    font-size: 1rem;
  }

  .tab.container {
    overflow: auto;
    display: none !important;
  }

  .tab button {
    padding: 10px 15px;
    font-size: 12px;
  }

  .custom-carousel .carousel-control-next,
  .custom-carousel .carousel-control-prev {
    display: none !important;
  }

  iframe {
    height: 200px !important;
    margin-right: 10px !important;
  }

  .video-slides .carousel-control-next i,
  .video-slides .carousel-control-prev i {
    padding: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    line-height: 40px;
  }

  .video-slides .carousel-control-next {
    font-size: 20px !important;

  }

  .carousel-control-next,
  .carousel-control-prev {
    top: 0;
    display: none;
  }

  .mobile-slider .carousel-control-next,
  .mobile-slider .carousel-control-prev {
    top: 130px;
  }

  .mobile-slider .carousel-control-prev-icon {
    background-image: url('../images/previous-ico.png');
    opacity: 1;
    width: 30px;
    height: 25px;
  }

  .mobile-slider .carousel-control-next-icon {
    background-image: url('../images/next-ico.png');
    opacity: 1;
    width: 30px;
    height: 25px;
  }

  .mobile-slider .carousel-control-prev {
    left: 70%;
  }

  .mobile-slider .carousel-control-next {
    right: 10px;
    z-index: 10;
  }

  .hero-section-mmmflooring {
    padding: 0px 0;
    height: 500px;
  }

  .abouthero-content h1 {
    font-size: 24px;
    line-height: 30px;
  }

  .section-padding {
    padding: 40px 0;
  }

  .hero-section-about {
    padding: 170px 0 50px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .mob-none {
    display: none;
  }

  .mobile-slider {
    display: block;
  }
}

@media (max-width:1900px) and (min-width:1440px) {
  .navbar-expand-lg .navbar-nav .about-us-dropdown {
    left: -320px !important;
  }

  .dropdown-menu::before {
    left: 60%;
    ;
  }

  .industries-dropdown::before {
    left: 70%;
  }

  .about-us-dropdown::before {
    left: 60%;
  }
}

/* @media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .about-us-dropdown {
        left: -140px !important;        
    }
    .about-us-dropdown{
          min-width: 500px;
    }
} */
@media (max-width:1199px) and (min-width:1025px) {
  .carousel-control-prev {
    left: -8%;
  }

  .carousel-control-next {
    right: -8%;
  }

  .carousel-inner {
    width: 90%;
  }
    .home-banner-txt {
    top: 30%;
  }
    .banner-carousel-inner {
    width: 100%;
  }

  #projectCarousel {
    display: flex;
    justify-content: center;
  }
}

@media (max-width:1024px) and (min-width:769px) {
  .carousel-control-prev {
    left: -2%;
  }

  .carousel-control-next {
    right: -2%;
  }

  .carousel-inner {
    width: 86%;
  }
      .home-banner-txt {
    top: 30%;
  }
    .banner-carousel-inner {
    width: 100%;
  }


  #projectCarousel {
    display: flex;
    justify-content: center;
  }
}

@media(max-width:768px) and (min-width:320px) {
  #projectCarousel {
    display: flex;
    justify-content: center;
  }

  .carousel-inner {
    width: 88% !important;
  }

  .carousel-control-prev {
    left: -5%;
  }

  .carousel-control-next {
    right: -5%;
  }
      .home-banner-txt {
    top: 30%;
  }
    .carousel-inner.banner-carousel-inner {
    width: 100% !important;
  }
.mob-p-0{
  padding: 0 !important;
}
.avatar-circle {
    width: 50px;
    height: 50px;
    font-size: 1rem;
    margin-bottom: .5rem;
}
.profile-card h3{
  font-size: 18px;
}
.contact-link {
    padding: 5px;
    border-radius: 8px;
}
.contact-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 1rem;
}
}