/* Mobile Styles */
@media screen and (max-width: 768px) {
  .nav-menu ul {
    flex-direction: column;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 60px;
    right: 20px;
    display: none;
  }

  .main-header.active .nav-menu ul {
    display: flex;
  }

  .hero-content h1 {
    font-size: 26px;
    margin-bottom: 17px;
    width: 396px;
  }
 
  .hero-buttons a {
    display: inline-block;
    margin: 0 10px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 3px;
    text-decoration: none;
    transition: 0.3s;
  }

  .hero-content p {
    font-size: 14px;
    display: none;
  }

  .logo img {
    width: 152px;
  }
  .logo{
    margin-top: 16px;
  }

  .arrow {
    font-size: 4px;
    padding: 5px;
  }
}

/* about */

@media (max-width: 768px) {
  .about-section .container {
    flex-direction: column;
    padding: 30px 20px;
  }

  .about-left, .about-right {
    width: 100%;
  }

  .img-stack {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .img-small {
    width: 132%;
    position: relative;
    top: -110px;
    left: -32px;
  }

  .section-title{
    margin-top: -149px;
    font-size: 25px;
  } 

  .section-title::after {
    bottom: -6px;
    left: 3px;
  }

  .product-header h3 {
    font-size: 23px;
  }

  .product-header h3::after{
    bottom: -7px;
  }

  .feature-section {
    padding: 18px 0px;
  }

  .product-header p{
   font-size: 16px;
   margin: 30px -52px;
  }

  .about-right h2 {
    font-size: 20px;
    padding: 0px 0px;
    margin-top: -29px;
  }

  .img-main {
    display: none;
  }

  .about-right {
    text-align: center;
    padding-top: 20px;
  }

  .about-right ul.features {
    padding-left: 0;
    list-style: none;
  }

  .experience-box {
    display: none;
  }
}

/* about */

/* product */

 @media (min-width: 769px) {
    /* On large screens (desktop) */
    .product-slider {
      display: flex;
    }

    .product-card {
      width: calc(33.33% - 20px); /* 3 cards per slide */
      margin: 0 4px;
    }

    /* Show dots for larger screens */
    .slider-dots {
      display: block;
    }
  }

/* End Peoduct */

/* Mobile responsiveness */
@media (max-width: 768px) {
  /* Grid Layout for Mobile */
  .feature-grid {
    grid-template-columns: 1fr; /* Stacking the features vertically on mobile */
  }

  .feature-box {
    margin-bottom: 20px; /* Adds space between stacked boxes */
  }

  /* Feature Title and Subtitle Adjustments */
  .feature-title {
    font-size: 22px;
  }

  .feature-subtitle {
    font-size: 14px;
    margin-bottom: -2px;
  }

  .feature-title::after {
    bottom: -8px;
  }

  .success-section {
    padding: 15px 20px;
  }

  .counter-title {
    font-size: 32px;
  }

  .counter-title ::after {
    bottom: -15px;
  }

  /* Hover Image on Mobile */
  .hover-img {
    display: none; /* Hide hover image effect on mobile */
  }

  /* Feature image adjustments for mobile */
  .feature-image {
    display: block;
  }

  .feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
}

/* testimonial */

/* Mobile responsiveness */
@media (max-width: 768px) {
  .testimonial-wrapper {
    flex-direction: column; /* Stack image and content vertically on mobile */
  }

  .testimonial-img {
    padding-right: 0;
    margin-bottom: 20px; /* Space between image and content */
  }

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

  .testimonial-title {
    font-size: 22px;
  }

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

  .testimonial-user {
    justify-content: center;
    margin-top: 17px;
    margin-left: -110px;
  }

  .testimonial-user img {
    width: 50px;
    height: 50px;
  }

  .testimonial-nav button {
    font-size: 16px;
    padding: 8px;
  }
}

/* end testimonial */

/* footer */ 

/* Mobile responsiveness */
@media (max-width: 768px) {
  .newsletter {
    flex-direction: column; /* Stack content vertically on mobile */
    padding: 30px 10%; /* Adjust padding for mobile */
  }

  .newsletter-left {
    margin-right: 0;
    text-align: center;
    margin-bottom: 20px; /* Space between sections */
  }

  .newsletter-left h3 {
    font-size: 24px;
  }

  .newsletter-left p {
    font-size: 14px;
  }

  .newsletter-right form {
    width: 100%; /* Full-width form on mobile */
    flex-direction: column; /* Stack form elements vertically */
  }

  .newsletter-right input {
    width: 100%; /* Full-width input on mobile */
    margin-bottom: 10px; /* Space between input and button */
  }

  .newsletter-right button {
    width: 100%; /* Full-width button on mobile */
  }
}

/* end footer */

@media (max-width: 768px) {
  .main-header {
    z-index: 1001;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 42px;
    z-index: 1100;
    font-size: 24px;
    color: #fff;
    background-color: #D51920;
    padding: 10px 10px;
    border-radius: 50px;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #111;
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-menu.open {
    max-height: 500px;
  }

  .nav-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
  }

  .nav-menu ul li a {
    color: #fff;
    font-size: 18px;
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .service-page-title {
    font-size: 32px;
  }

  .service-banner-area {
    padding: 70px 0;
  }

  .service-breadcrumb li {
    font-size: 14px;
    margin: 0 5px;
  }
}

@media (max-width: 480px) {
  .service-page-title {
    font-size: 24px;
  }

  .service-banner-area {
    padding: 50px 0;
  }

  .service-breadcrumb {
    flex-direction: column;
    align-items: center;
  }

  .service-breadcrumb li {
    margin: 4px 0;
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  ._container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }

  ._title {
    font-size: 18px;
  }

  ._desc {
    font-size: 13px;
  }

  ._btn {
    font-size: 13px;
    padding: 7px 14px;
  }
}

@media (max-width: 480px) {
  ._container {
    grid-template-columns: 1fr;
  }

  ._card {
    padding: 15px;
  }

  ._title {
    font-size: 16px;
  }

  ._desc {
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  .mech-container {
    flex-direction: column;
  }

  .mech-sidebar {
    width: 100%;
    order: 2;
  }

  .mech-main {
    order: 1;
  }

  .mech-main img {
    max-height: 250px;
  }
}

@media (max-width: 576px) {
  .mech-main h1 {
    font-size: 22px;
  }

  .mech-desc,
  .mech-section p,
  .mech-section li {
    font-size: 14px;
  }

  .mech-feature-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mech-feature-box img {
    margin-bottom: 10px;
  }

  .mech-feature-box div {
    text-align: center;
  }

  .mech-features {
    gap: 8px;
  }
}

/* ✅ Responsive styles */
@media (max-width: 768px) {
  .apply-cta {
    padding: 35px 20px;
  }

  .apply-cta h3 {
    font-size: 22px;
  }

  .apply-cta p {
    font-size: 14px;
  }

  .apply-cta .btn-primary {
    width: 100%;
    font-size: 9px;
  }

  .careers-full {
    margin: 30px;
  }
}

@media (max-width: 480px) {
  .apply-cta h3 {
    font-size: 20px;
  }

  .apply-cta p {
    font-size: 13px;
  }

  .hero-banner {
    height: 50vh;
  }
}


