/*
===================================================
PROJECT: Nehal Machinery Ltd
RESPONSIVE DESIGN BREAKPOINTS
DEVELOPER: IBNA AQUAR SAHOS (AQUAR) | Dhaka Solutions
===================================================
*/

/* Viewports <= 1024px */
@media screen and (max-width: 1024px) {
  .hero-slide {
    height: 50vh;
    min-height: 400px;
  }

  .banner-title-1 {
    font-size: 64px;
  }

  .banner-title-2 {
    font-size: 40px;
  }

  .section-title {
    font-size: 60px;
    background-size: 100% 35px;
  }
}

/* Viewports <= 991px (Tablets & Mobile Menu Activation) */
@media screen and (max-width: 991px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    display: none;
    width: 100%;
    margin-top: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 10px 12px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    display: block;
  }

  .detail-image {
    height: 420px;
  }

  .homeAboutUsBackgroundImage {
    padding-bottom: 60px;
  }
}

/* Viewports <= 768px (Mobile Devices) */
@media screen and (max-width: 768px) {
  .banner-title-1 {
    font-size: 46px;
    margin-bottom: 20px;
  }

  .banner-title-2 {
    font-size: 30px;
  }

  .section-title {
    font-size: 38px;
    background-size: 100% 25px;
    padding-bottom: 15px;
  }

  .chooseLogo {
    height: 260px;
    width: 260px;
  }

  .aboutUsBannerContainer,
  .machineryBannerContainer,
  .moldsBannerContainer,
  .rawMaterialsBannerContainer,
  .shopBannerContainer,
  .blogBannerContainer,
  .affiliateBannerContainer,
  .contactUsBannerContainer {
    height: 50vh;
  }

  .homeAboutUsCount {
    font-size: 36px;
  }

  .homeAboutUs {
    font-size: 15px;
  }

  .counter-icon {
    width: 60px;
    height: 60px;
  }

  .detail-image {
    height: 320px;
  }

  .detail-title {
    font-size: 28px;
  }

  .detail-desc {
    font-size: 17px;
  }

  .card img.product-img {
    height: 240px;
  }

  .contactCard {
    height: auto;
    min-height: 280px;
    padding: 30px 15px;
  }

  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}

/* Small Mobile <= 480px */
@media screen and (max-width: 480px) {
  .banner-title-1 {
    font-size: 34px;
  }

  .banner-title-2 {
    font-size: 22px;
  }

  .section-title {
    font-size: 28px;
  }

  .chooseLogo {
    height: 210px;
    width: 210px;
  }

  .btn-action {
    width: 100%;
  }

  .footer h2 {
    font-size: 20px;
  }
}
