 
 /*navbar*/
 @media (max-width: 991.98px) {
      .custom-navbar {
        height: auto;
        padding-top: 5px;
        padding-bottom: 5px;
      }
      .custom-navbar .navbar-brand img {
        height: 44px;
        margin-top: 0;
      }
      .custom-navbar .navbar-nav .nav-link {
        font-size: 18px;
        padding: 10px 0;
      }
      .navbar-collapse {
        background: #173859;
      }
    }

@media (max-width: 992px) {
  .custom-navbar {
    font-size: 14px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .carousel-item img,
  .carousel-item video {
    height: 50vh;
  }
  .hero-carousel {
    height: 70vh;
    min-height: unset;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    width: 180px;
    height: auto;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
  .explore-btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

    /*about*/
    @media (max-width: 992px) {
      .about-section { height: auto; padding: 60px 0; }
      .about-bg { display: none; }
      .about-container { flex-direction: column; align-items: flex-start; }
      .about-images, .about-content { width: 100%; padding-left: 0; }
      .about-img-main, .about-img-top { width: 70%; }
      .about-content { margin-top: 24px; }
    }
    @media (max-width: 600px) {
      .about-container { padding: 0 10px;}
      .about-img-main, .about-img-top { width: 100%; }
      .about-heading { font-size: 22px; }
      .about-desc, .about-list li, .learn-btn { font-size: 15px; }
    }
    /*our expertise*/
   @media (max-width: 1200px) {
  .custom-what-we-offer .boxes-row { width: 98vw; left: 1%; transform: none; }
}
@media (max-width: 991px) {
  .custom-what-we-offer .offer-content { flex-direction: column; }
  .custom-what-we-offer .expertise-group, 
  .custom-what-we-offer .paragraph-group {max-width: 100%; min-width: 0;}
  .custom-what-we-offer .paragraph-group {margin-top: 16px;}
  .custom-what-we-offer .boxes-row { flex-direction: column; height: auto; position: relative; top: auto; left: auto; transform: none; margin-top: 32px;}
  .custom-what-we-offer .offer-box { margin-bottom: 16px; }
}
    /*services*/
    @media (max-width: 1200px) {
      .services-section { width: 98vw; }
    }
    @media (max-width: 991px){
      .services-row { flex-direction: column; }
      .service-card { border-right: none; border-bottom: 1px solid #EEE; min-height: 90px;}
      .service-card:last-child { border-bottom: none; }
      .services-section { height: auto; width: 98vw; position: static; transform: none; margin: 16px auto 0 auto;}
      .offer-banner { height: auto; min-height: 320px;}
      .offer-content { flex-direction: column; padding: 32px 16px; }
      .offer-left, .offer-right { width: 100%; }
      .offer-right { margin-top: 22px;}
      .offer-heading { font-size: 24px; }
      .offer-desc { margin-left: 0;}
    }

     /*industry*/
    @media (max-width: 991.98px) {
  .industry-section__main-heading,
  .industry-section__vertical-heading {
    font-size: 1.3rem;
  }
  .industry-section__image {
    max-width: 96vw;
    min-width: 180px;
  }
}
@media (max-width: 767.98px) {
  .industry-section {
    padding-left: 8px;
    padding-right: 8px;
  }
  .industry-section__image {
    max-width: 99vw;
  }
}
    /*statistics*/
 @media (max-width: 575.98px) {
      .custom-stats-card-wrapper {
        max-width: 95vw;
      }
      .icon-circle {
        width: 56px;
        height: 56px;
      }
      .icon-circle svg,
      .icon-circle img {
        width: 28px;
        height: 28px;
      }
      .custom-stats-card {
        height: 9rem;
        padding: 1.2rem 1rem;
      }
      .stat-number {
        font-size: 2.5rem;
        gap: 4px;
      }
      .stat-number .plus-sign {
        font-size: 1.4rem;
      }
      .stat-label {
        font-size: 1rem;
      }
    }
    
    /*Why Choose us*/
     @media (max-width:1200px){
    .why-section{flex-direction:column; min-height:500px; height:auto;}
    .why-left{padding:44px 18px;}
    .why-right{width:100%;height:340px;}
    .why-img{width:100%;height:340px;}
  }
  @media (max-width:991px){
    .features-grid{grid-template-columns:1fr;max-width:100%;gap:18px;}
    .why-heading{font-size:26px;}
    .why-left{padding:36px 12px;}
    .why-right{height:220px;}
    .why-img{height:220px;}
  }
  @media (max-width:576px){
    .why-section{min-height:350px;}
    .why-heading{font-size:18px;}
    .why-left{padding:18px 6px;}
    .why-img{height:120px;}
    .feature-card{padding:12px 6px;min-height:80px;}
    .feature-title{font-size:15px;}
    .feature-desc{font-size:12px;}
    .feature-icon{width:22px;height:22px;}
  }

  /*Products*/
 @media (max-width: 991px) {
    .carousel-v12-slide {
      gap: 15px;
    }

    .product-card {
      flex: 1 0 45%;
    }

    .product-image {
      height: 180px;
    }
  }

  @media (max-width: 576px) {
    .products-header-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }

    .carousel-v12-slide {
      flex-direction: column;
      gap: 20px;
    }

    .product-card {
      flex: 1 0 100%;
    }

    .product-image {
      height: 250px;
    }

    .learn-btn {
      width: 100%;
      justify-content: center;
    }
  }


  @media (max-width: 991.98px) {
    .product-section__container {
      width: 98% !important;
    }
    .product-section__row {
      min-height: auto;
    }
    .product-section__left {
      padding-top: 18px;
      padding-bottom: 18px;
    }
    .product-section__title {
      font-size: 1.3rem;
    }
  }
  @media (max-width: 767.98px) {
    .product-section__left {
      border-radius: 10px 10px 0 0;
      margin-bottom: 12px;
    }
    .product-section__carousel-item {
      min-height: auto;
    }
  }
  /*Manufacturing*/
@media (max-width: 991.98px) {
  .manufacturing-section {
    height: 320px;
  }
  .manufacturing-section__title {
    font-size: 28px;
  }
  .manufacturing-section__subtitle {
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  .manufacturing-section {
    height: 220px;
  }
  .manufacturing-section__title {
    font-size: 20px;
  }
  .manufacturing-section__subtitle {
    font-size: 14px;
  }
}
  
/*Testimonial*/
     @media (max-width: 992px) {
    .testimonial-box {
      min-height: auto;
      margin-bottom: 1.5rem;
    }
  }

  /*client*/
  @media (max-width: 576px) {
    #clientSection .clients-container {
      gap: 1rem;
      justify-content: space-around;
    }
    #clientSection .client-box {
      width: 90px;
      height: 90px;
    }
  }
    
    /*Footer*/
    @media (max-width: 575.98px) {
  #prashant-footer .footer p,
  #prashant-footer .footer .small {
    font-size: 13px;
  }

  #prashant-footer .footer h5 {
    font-size: 18px;
  }

  #prashant-footer .footer h1 {
    font-size: 28px;
  }
}


/*About page Media*/

/* Hover-open dropdowns on desktop (optional) */
@media (min-width: 992px){
  .navbar .dropdown:hover > .dropdown-menu{display:block;}
}

 @media (max-width: 992px) {
    .brand img {
      width: 200px;
      height: 200px;
    }
    .hero-title {
      font-size: 2rem;
    }
    .custom-navbar {
      height: auto;
      margin-top: 10px;
      font-size: 14px;
    }
    .custom-navbar .navbar-nav .nav-link {
      font-size: 14px;
      padding: 0.5rem 0;
      line-height: normal;
    }
  }
  
/* Responsive tweaks */
@media (max-width: 991.98px){
  /* Center text on tablets if desired */
  .display-title, .display-title-strong{ font-size:42px; } /* keeps hierarchy while fitting smaller screens. [7][11] */
}
@media (max-width: 575.98px){
  .display-title, .display-title-strong{ font-size:34px; }
  .about-copy{ font-size:14px; }
}

/*What Sets Us Apart*/

@media (max-width: 768px) {
  .set-apart-row {
    flex-wrap: wrap;
  }

  .set-apart-image,
  .set-apart-content {
    flex-basis: 100%;
    max-width: 100%;
    text-align: center;
  }
}
/* our process */
@media (max-width: 991.98px) {
    .feature-img { width: 100%; height: auto; max-height: 350px; }
    .main-heading { font-size: 28px; }
    .section-title { font-size: 24px; }
  }
  
/*ceo speech*/
@media (max-width: 991.98px) {
  .overlay-image {
    left: 10px !important;
    width: 120px !important;
  }
}



@media (max-width: 991px) {
  .ceo-welcome-section .row > div {
    text-align: center !important;
    min-height: 180px !important;
    justify-content: center !important;
  }
  .ceo-welcome-section h1 { font-size: 1.6rem !important; }
}

  /*Manufacturing Capabilities*/
  @media (max-width: 1199.98px) {
    .image-2 { width: 440px; height: 330px; }
  }
  @media (max-width: 991.98px) {
    .image-1, .image-2 { width: 100%; height: auto; }
    .capabilities-heading { font-size: 28px; }
  }
  @media (max-width: 767.98px) {
    .capabilities-heading { font-size: 22px; }
    .capability-title, .capability-text { font-size: 13px; }
    .number-icon { width: 28px; height: 28px; }
  }
  @media (max-width: 991.98px) {
  .image-stack { width: 100%; height: auto; }
  .main-img { width: 100%; height: auto; margin-top:80px; width: 320px;
    height: 257px; }
  .overlay-img {
    width: 54vw;
    height: auto;
    top: 10px;
    right: 10px;
    transform: none; width: 180px;
    height: 180px;
  }
}
@media (max-width: 575.98px) {
  .main-img { margin-top:30px; width: 240px;
    height: 193px;
 }
  .overlay-img { width: 74vw; top: 12px; right: 12px; width: 140px;
    height: 140px;  }
}

  /*certification*/
   @media (max-width: 991.98px) {
    .cert-heading { font-size: 28px; }
    .cert-card-title { font-size: 20px; }
  }
  @media (max-width: 575.98px) {
    .cert-card { border-radius: 12px; padding: 1.5rem 1rem; }
  }
    .certifications-section { padding-top: 4rem; }



    /*Contact us page*/
    /*hero section*/
    @media (min-width: 992px) {
    .row.align-items-stretch {
      min-height: 650px; /* Ensures row is tall enough for centering */
    }
    .contact-form-card {
      margin-top: 24px !important;
    }
  }
  @media (max-width: 991.98px) {
    .contact-form-card {
      margin-top: 0px; /* Adds extra top spacing on mobile/tablet */
    }
    .row.align-items-stretch {
      min-height: unset;
    }
  }


  /*map*/
  @media (max-width: 575.98px) {
  .map-container, .ratio {
    height: 300px;
  }
}
  
/*facilities page*/
/*machining setup */
@media (max-width: 992px) {
  #machiningSetupSection {
    height: auto;
    padding: 1.5rem;
    flex-direction: column;
  }

  #machiningSetupSection .setup-image {
    max-width: 100%;
    height: auto;
    margin-top: 1.5rem;
  }
}

  /*category of machine*/
  @media (max-width: 768px) {
  #accordion1 thead tr th,
  #accordion1 tbody td {
    font-size: 13px !important;
    padding: 9px 4px !important;
  }
  #accordion1 tbody td:first-child {
    padding-left: 8px !important;
  }
}


@media (max-width: 768px) {
  #accordion2 thead th,
  #accordion2 tbody td {
    font-size: 12px !important;
    padding: 12px 6px !important;
  }
  #accordion2 tbody td:first-child,
  #accordion2 thead th:first-child {
    font-size: 13px !important;
    padding-left: 12px !important;
  }
}

@media (max-width: 768px) {
  #accordion3 thead tr th,
  #accordion3 tbody td,
  #accordion3 tbody td:first-child {
    font-size: 13px !important;
    padding: 9px 4px !important;
  }
  #accordion3 tbody td:first-child { padding-left: 8px !important; }
}

/*machine specification*/
@media (max-width: 768px) {
  .machine-spec-section {
    width: 100%;
    height: auto;
    padding: 20px 15px;
  }

  .machine-spec-section .text-col {
    padding-left: 15px; /* reduced padding on smaller screens */
  }

  .machine-spec-heading {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .machine-spec-text {
    font-size: 14px;
    max-width: 100%;
  }

  .machine-spec-img {
    width: 100%;
    max-width: 316px;
    height: auto;
  }
}

/*types of machine specification*/
@media (max-width: 575.98px) {
  .pec-card {
    width: 100% !important;
  }
}

/* Product 1*/
/* ------ MEDIA QUERIES FOR RESPONSIVE PRODUCT CARDS ------ */

/* For small devices up to 576px width */
@media (max-width: 576px) {
  section.container {
    border-radius: 8px;
    padding: 12px !important;
  }
  .card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(40,60,90,0.06);
    margin-bottom: 18px;
  }
  .card-img-top {
    max-height: 120px;
    padding: 9px;
  }
  h2 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }
  .card-title {
    font-size: 1rem;
  }
  .card-text {
    font-size: 0.98rem;
  }
  .btn-primary {
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: 18px;
  }
}

/* For medium devices up to 768px width */
@media (max-width: 768px) {
  section.container {
    padding: 16px !important;
  }
  .card-img-top {
    max-height: 140px;
    padding: 12px;
  }
  h2 {
    font-size: 1.6rem;
  }
  .btn-primary {
    font-size: 0.98rem;
    padding: 9px 24px;
    border-radius: 22px;
  }
}

/* For large desktops (wider than 1200px) */
@media (min-width: 1200px) {
  section.container {
    padding: 32px 0 !important;
    max-width: 1280px;
    margin: 0 auto;
  }
  .card-img-top {
    max-height: 200px;
    padding: 18px;
  }
  h2 {
    font-size: 2.4rem;
  }
}

/* 404 not found  */
 @media (min-width: 992px) {
  section.notfound-section > .container > .row > .col-lg-6:first-child {
    padding-left: 80px !important;
    padding-top: 40px !important;
  }
}

section.notfound-section > .container > .row > .col-lg-6.text-center > img {
  max-width: 480px !important;
  height: auto !important;
}

/*coming soon*/
@media (max-width: 576px) {
  .pe-coming-soon-container .content h1 {
    font-size: 2rem;
  }
  .pe-coming-soon-container .content p {
    font-size: 1rem;
  }
}

/*precision*/
@media (max-width: 991px) {
  .precision-section h2 {
    font-size: 2rem;
  }
  
  .precision-section h5 {
    font-size: 1.25rem;
  }
  
  .precision-section p,
  .precision-section ul li {
    font-size: 0.95rem;
  }
}