/* ==========================================================================
   Responsive
   Section padding: min 60px | Body text: min 15px | Inputs: min 16px on mobile
   ========================================================================== */

@media (min-width: 1280px) {
  .container_right {
    margin-left: calc((100% - (1223px - 1.5rem)) / 2);
  }

  .container_left {
    margin-right: calc((100% - (1223px - 1.5rem)) / 2);
  }
}

/* --------------------------------------------------------------------------
   Large desktops
   -------------------------------------------------------------------------- */
@media (max-width: 1600px) {
  .container {
    max-width: 1240px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .header-main-inner {
    min-height: 70px;
  }

  .header-phone {
    font-size: 15px;
  }

  .header .menu-ul > li > a,
  .header .nav-bar ul > li > a {
    font-size: 18px;
  }

  .banner {
    height: calc(100vh - 110px);
  }

  .banner-container h1 {
    font-size: 60px;
    line-height: 1.2;
  }

  .main-title {
    font-size: 40px;
    line-height: 1.25;
  }

  .sub-banner {
    height: 420px;
  }

  .sub-banner h1 {
    font-size: 48px;
  }
}

/* --------------------------------------------------------------------------
   Mid desktops
   -------------------------------------------------------------------------- */
@media (max-width: 1367px) {
  .container {
    max-width: 1140px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .px-100 {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .pt-100 {
    padding-top: 80px;
  }

  .pb-100 {
    padding-bottom: 80px;
  }

  .pt-120 {
    padding-top: 90px;
  }

  .pb-120 {
    padding-bottom: 90px;
  }

  .mb-50 {
    margin-bottom: 40px;
  }

  .mb-60 {
    margin-bottom: 48px;
  }

  .banner-container h1 {
    font-size: 52px;
    line-height: 1.2;
  }

  .main-title {
    font-size: 36px;
    line-height: 1.25;
    margin-bottom: 40px;
  }

  .main-title::after {
    width: 50px;
    height: 8px;
    bottom: -12px;
    background-size: 100%;
  }

  .main-btn {
    min-width: 180px;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
    border-radius: 23px;
  }

  .main-btn::after {
    border-radius: 23px;
  }

  .product-title,
  .product-cat-title,
  .footer-title {
    font-size: 22px;
  }

  .value-title,
  .industry-title,
  .career-content h3,
  .apply-popup-title,
  .contact-form-title,
  .tech-title {
    font-size: 24px;
  }

  .sub-banner {
    height: 380px;
  }

  .sub-banner h1 {
    font-size: 42px;
  }

  .product-media {
    width: 220px;
    margin-bottom: -50px;
  }

  .product-card-body {
    padding: 68px 20px 28px;
  }

  .product-card,
  .testimonial-card,
  .mission-card,
  .service-item,
  .tech-card,
  .product-cat,
  .contact-info-card,
  .contact-form-wrap {
    border-radius: 14px;
  }

  .whatsapp-icon {
    width: 52px;
    height: 52px;
    bottom: 36px;
    right: 36px;
  }
}

/* --------------------------------------------------------------------------
   Tablet landscape / small laptop
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .px-100 {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pt-100 {
    padding-top: 70px;
  }

  .pb-100 {
    padding-bottom: 70px;
  }

  .pt-120 {
    padding-top: 80px;
  }

  .pb-120 {
    padding-bottom: 80px;
  }

  .mb-50 {
    margin-bottom: 36px;
  }

  .mb-60 {
    margin-bottom: 40px;
  }

  .header .menu-ul,
  .header .nav-bar ul {
    gap: 24px;
  }

  .banner {
    height: calc(100vh - 100px);
    min-height: 420px;
  }

  .banner-container h1 {
    font-size: 44px;
    line-height: 1.2;
  }

  .main-title {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 36px;
  }

  .section-tag {
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }

  .vision-text {
    font-size: 18px;
    line-height: 1.7;
  }

  .home-about-wrap p,
  .value-card p,
  .testimonial-text,
  .mission-card p,
  .why-card p,
  .tech-list li,
  .product-cat-list li,
  .contact-info-item p,
  .footer-menu a,
  .default-page p,
  .default-page ul li,
  .default-page ol li {
    font-size: 16px;
    line-height: 1.65;
  }

  .product-slider,
  .values-grid,
  .testimonials-slider,
  .careers-grid,
  .products-cats {
    margin-top: 50px;
  }

  .product-card-head {
    padding: 24px 24px 0;
  }

  .product-media {
    width: 200px;
    margin-bottom: -45px;
    border-width: 5px;
  }

  .product-card-body {
    padding: 60px 18px 24px;
  }

  .product-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .product-more {
    font-size: 15px;
  }

  .value-card {
    padding: 24px;
    min-height: 180px;
  }

  .value-title,
  .industry-title {
    font-size: 22px;
  }

  .industry-card {
    min-height: 180px;
  }

  .testimonial-card {
    padding: 28px 24px;
    border-radius: 12px;
  }

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

  .sub-banner {
    height: 320px;
  }

  .sub-banner h1 {
    font-size: 36px;
  }

  .career-card {
    padding: 20px;
    border-radius: 8px;
  }

  .career-content h3 {
    font-size: 22px;
  }

  .mission-card {
    padding: 30px 24px 26px;
    border-radius: 12px;
  }

  .mission-num {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .why-card {
    padding: 20px;
    border-radius: 10px;
    gap: 12px;
  }

  .service-body {
    padding: 18px 20px;
  }

  .service-name {
    font-size: 18px;
  }

  .tech-head {
    height: 170px;
  }

  .tech-head-inner {
    padding: 0 24px;
  }

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

  .tech-body {
    padding: 22px 24px;
  }

  .tech-group-title {
    font-size: 18px;
  }

  .product-cat-content {
    padding: 26px 28px;
  }

  .product-cat-title {
    font-size: 22px;
    margin-bottom: 18px;
    padding-bottom: 12px;
  }

  .contact-wrap {
    gap: 36px;
  }

  .contact-info-card,
  .contact-form-wrap {
    padding: 26px;
    border-radius: 14px;
  }

  .contact-form-title {
    font-size: 24px;
    margin-bottom: 22px;
  }

  .contact-info-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .contact-info-item h3 {
    font-size: 18px;
  }

  .footer-main {
    padding: 50px 0 40px;
  }

  .footer-main-inner {
    gap: 36px;
  }

  .footer-logo img {
    width: 150px;
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .default-page h1 {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .default-page h2 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 20px;
  }

  .default-page h3 {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .default-page h4 {
    font-size: 20px;
  }

  .default-page h5 {
    font-size: 18px;
  }

  .default-page h6 {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .px-100 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .pt-100 {
    padding-top: 60px;
  }

  .pb-100 {
    padding-bottom: 60px;
  }

  .pt-120 {
    padding-top: 70px;
  }

  .pb-120 {
    padding-bottom: 70px;
  }

  .mb-50 {
    margin-bottom: 30px;
  }

  .mb-60 {
    margin-bottom: 36px;
  }

  body {
    font-size: 16px;
  }

  .banner {
    height: auto;
    min-height: auto;
  }

  .banner-swiper .swiper-slide {
    min-height: 380px;
    padding: 60px 0;
  }

  .banner-container h1 {
    font-size: 38px;
    line-height: 1.2;
  }

  .main-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 30px;
  }

  .main-title::after {
    width: 44px;
    height: 7px;
    bottom: -10px;
  }

  .main-btn {
    min-width: 160px;
    height: 44px;
    line-height: 44px;
    font-size: 15px;
    border-radius: 22px;
    margin-top: 16px;
  }

  .main-btn::after {
    border-radius: 22px;
  }

  .vision-text {
    font-size: 16px;
  }

  .home-about-wrap p,
  .value-card p,
  .testimonial-text,
  .mission-card p,
  .why-card p,
  .tech-list li,
  .product-cat-list li,
  .contact-info-item p,
  .footer-menu a,
  .footer-address p,
  .default-page p,
  .default-page ul li,
  .default-page ol li {
    font-size: 15px;
    line-height: 1.6;
  }

  .product-slider,
  .values-grid,
  .testimonials-slider,
  .careers-grid,
  .products-cats {
    margin-top: 40px;
  }

  .product-card,
  .testimonial-card,
  .mission-card,
  .service-item,
  .tech-card,
  .product-cat,
  .contact-info-card,
  .contact-form-wrap,
  .career-card {
    border-radius: 12px;
  }

  .product-card-head {
    padding: 20px 20px 0;
    border-radius: 0 0 50% 50%;
  }

  .product-media {
    width: 170px;
    margin-bottom: -40px;
    border-width: 4px;
  }

  .product-card-body {
    padding: 52px 16px 22px;
  }

  .product-title {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .product-slider-action {
    margin-top: 28px;
  }

  .value-card {
    padding: 20px;
    min-height: 160px;
  }

  .value-title,
  .industry-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .industry-card {
    min-height: 160px;
  }

  .industry-title {
    padding: 16px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .testimonial-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .testimonial-stars {
    margin-bottom: 16px;
    font-size: 15px;
  }

  .testimonial-text {
    margin-bottom: 18px;
  }

  .testimonials-slider .swiper-pagination {
    margin-top: 24px;
  }

  .sub-banner {
    height: 280px;
  }

  .sub-banner h1 {
    font-size: 32px;
  }

  .careers-grid ul {
    gap: 16px;
  }

  .career-card {
    padding: 18px;
  }

  .career-media {
    width: 80px;
  }

  .career-content {
    width: calc(100% - 80px);
  }

  .career-content h3 {
    font-size: 20px;
  }

  .mission-grid,
  .why-grid,
  .services-cards {
    gap: 16px;
  }

  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .mission-card {
    padding: 26px 20px;
  }

  .mission-num {
    font-size: 22px;
  }

  .why-card {
    padding: 18px;
  }

  .why-check {
    width: 24px;
    height: 24px;
  }

  .service-body {
    padding: 16px 18px;
    gap: 12px;
  }

  .service-name {
    font-size: 16px;
  }

  .tech-head {
    height: 150px;
  }

  .tech-head-inner {
    padding: 0 20px;
  }

  .tech-title {
    font-size: 20px;
  }

  .tech-body {
    padding: 20px;
  }

  .tech-list li {
    padding-left: 22px;
    margin-bottom: 10px;
  }

  .tech-group-title {
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .product-cat-media,
  .product-cat-slider,
  .product-cat-slider .swiper-slide img {
    height: 200px;
    min-height: 200px;
  }

  .product-cat-content {
    padding: 22px 20px;
  }

  .product-cat-title {
    font-size: 20px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .product-cat-list {
    column-gap: 20px;
  }

  .product-cat-list li {
    margin-bottom: 10px;
    padding-left: 20px;
  }

  .contact-wrap {
    gap: 30px;
  }

  .contact-info-card,
  .contact-form-wrap {
    padding: 22px;
    border-radius: 12px;
  }

  .contact-form-title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .contact-info-item + .contact-info-item {
    margin-top: 16px;
    padding-top: 16px;
  }

  .contact-info-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .contact-info-item h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .apply-form-group input[type="text"],
  .apply-form-group input[type="tel"],
  .apply-form-group input[type="email"] {
    height: 46px;
    border-radius: 6px;
  }

  .apply-form-group > label {
    font-size: 15px;
  }

  .contact-form .apply-form-group textarea {
    border-radius: 6px;
  }

  .footer-main {
    padding: 44px 0 36px;
  }

  .footer-title {
    font-size: 18px;
  }

  .footer-menu a {
    font-size: 15px;
    line-height: 1.5;
  }

  .footer-menu li + li {
    margin-top: 14px;
  }

  .footer-social {
    margin-top: 20px;
    gap: 12px;
  }

  .footer-copyright,
  .footer-legal a {
    font-size: 15px;
  }

  .default-page h1 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .default-page h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .default-page h3 {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .default-page h4 {
    font-size: 18px;
  }

  .default-page h5,
  .default-page h6 {
    font-size: 15px;
  }

  .error-404-section .main-btn {
    margin-top: 28px;
  }

  .whatsapp-icon {
    width: 48px;
    height: 48px;
    bottom: 24px;
    right: 20px;
  }

  .why-check::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 6px;
    width: 6px;
    height: 11px;
    border: solid #002e61;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
}

/* --------------------------------------------------------------------------
   Mobile landscape / small tablet
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .px-100 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .pt-100,
  .pt-120 {
    padding-top: 60px;
  }

  .pb-100,
  .pb-120 {
    padding-bottom: 60px;
  }

  .mb-50,
  .mb-60 {
    margin-bottom: 28px;
  }

  .site-logo {
    max-width: 180px;
  }

  .banner-swiper .swiper-slide {
    min-height: 340px;
    padding: 50px 0;
  }

  .banner-container h1 {
    font-size: 32px;
  }

  .banner-swiper .swiper-pagination {
    bottom: 18px;
  }

  .main-title {
    font-size: 26px;
    margin-bottom: 28px;
  }

  .section-tag {
    font-size: 14px;
    letter-spacing: 1.3px;
  }

  .product-card-head {
    padding: 18px 16px 0;
  }

  .product-media {
    width: 150px;
    margin-bottom: -36px;
  }

  .product-card-body {
    padding: 48px 14px 20px;
  }

  .product-title {
    font-size: 17px;
  }

  .value-card {
    padding: 18px;
    min-height: 0;
  }

  .value-title,
  .industry-title {
    font-size: 18px;
  }

  .testimonial-card {
    padding: 20px 16px;
    border-radius: 10px;
  }

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

  .sub-banner {
    height: 240px;
  }

  .sub-banner h1 {
    font-size: 28px;
  }

  .careers-grid ul {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .career-card {
    padding: 16px;
    border-radius: 8px;
  }

  .career-media {
    width: 70px;
  }

  .career-content {
    width: calc(100% - 70px);
    padding-left: 12px;
  }

  .career-content h3 {
    font-size: 18px;
  }

  .apply-popup-title {
    font-size: 22px;
  }

  .apply-popup-sub {
    font-size: 15px;
  }

  .apply-popup-head {
    padding: 20px 18px;
  }

  .apply-form {
    padding: 22px 18px 0;
  }

  .mission-card {
    padding: 22px 18px;
    border-radius: 10px;
  }

  .mission-num {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .why-card {
    padding: 16px;
    border-radius: 8px;
  }

  .service-item,
  .tech-card,
  .product-cat,
  .contact-info-card,
  .contact-form-wrap {
    border-radius: 10px;
  }

  .service-body {
    padding: 14px 16px;
  }

  .service-name {
    font-size: 15px;
  }

  .tech-head {
    height: 130px;
  }

  .tech-head-inner {
    padding: 0 16px;
  }

  .tech-title {
    font-size: 18px;
  }

  .tech-body {
    padding: 18px 16px;
  }

  .product-cat-media,
  .product-cat-slider,
  .product-cat-slider .swiper-slide img {
    height: 180px;
    min-height: 180px;
  }

  .product-cat-content {
    padding: 18px 16px;
  }

  .product-cat-title {
    font-size: 18px;
  }

  .contact-info-card,
  .contact-form-wrap {
    padding: 20px 16px;
  }

  .contact-form-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .contact-info-item {
    gap: 12px;
  }

  .contact-info-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .contact-form .apply-form-group textarea {
    height: 120px;
    padding: 12px 14px;
  }

  .footer-logo img {
    width: 140px;
  }

  .footer-title {
    font-size: 17px;
    margin-bottom: 14px;
  }

  .footer-links-columns {
    gap: 16px;
  }

  .default-page h1 {
    font-size: 26px;
  }

  .default-page h2 {
    font-size: 22px;
  }

  .default-page h3 {
    font-size: 18px;
  }

  .default-page h4,
  .default-page h5,
  .default-page h6 {
    font-size: 15px;
  }

  .default-page ul,
  .default-page ol {
    padding-left: 20px;
    margin-bottom: 16px;
  }

  /* Inputs stay 16px on mobile */
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  input[type="password"],
  textarea,
  select,
  .form-field,
  .apply-form-group input[type="text"],
  .apply-form-group input[type="tel"],
  .apply-form-group input[type="email"],
  .contact-form .apply-form-group textarea {
    font-size: 16px !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 575px) {
  body {
    font-size: 15px;
  }

  .banner-swiper .swiper-slide {
    min-height: 300px;
    padding: 40px 0;
  }

  .banner-container h1 {
    font-size: 28px;
  }

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

  .main-title::after {
    width: 40px;
    height: 6px;
    bottom: -8px;
  }

  .main-btn {
    min-width: 140px;
    height: 42px;
    line-height: 42px;
    font-size: 15px;
    border-radius: 21px;
  }

  .main-btn::after {
    border-radius: 21px;
  }

  .vision-text {
    font-size: 15px;
    line-height: 1.65;
  }

  .product-slider,
  .values-grid,
  .testimonials-slider,
  .careers-grid,
  .products-cats {
    margin-top: 32px;
  }

  .product-card-head {
    padding: 16px 14px 0;
  }

  .product-media {
    width: 130px;
    margin-bottom: -30px;
    border-width: 3px;
  }

  .product-card-body {
    padding: 42px 12px 18px;
  }

  .product-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .product-more {
    font-size: 15px;
  }

  .value-title,
  .industry-title {
    font-size: 17px;
  }

  .industry-card {
    min-height: 140px;
  }

  .testimonial-card {
    padding: 18px 14px;
  }

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

  .testimonial-author {
    font-size: 15px;
  }

  .sub-banner {
    height: 200px;
  }

  .sub-banner h1 {
    font-size: 24px;
  }

  .career-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .career-media,
  .career-content {
    width: 100%;
  }

  .career-content {
    padding-left: 0;
  }

  .career-content h3 {
    font-size: 17px;
  }

  .mission-card {
    padding: 20px 16px;
  }

  .mission-num {
    font-size: 18px;
  }

  .why-card {
    padding: 14px;
  }

  .service-name {
    font-size: 15px;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .certification-card {
    border-width: 2px;
  }

  .tech-head {
    height: 120px;
  }

  .tech-title {
    font-size: 17px;
  }

  .tech-list li {
    font-size: 15px;
  }

  .tech-group-title {
    font-size: 15px;
  }

  .product-cat-media,
  .product-cat-slider,
  .product-cat-slider .swiper-slide img {
    height: 160px;
    min-height: 160px;
  }

  .product-cat-title {
    font-size: 17px;
  }

  .product-cat-list li {
    font-size: 15px;
  }

  .contact-form-title {
    font-size: 18px;
  }

  .contact-info-item h3 {
    font-size: 15px;
  }

  .apply-file-btn,
  .apply-file-name {
    font-size: 15px;
  }

  .footer-main {
    padding: 40px 0 32px;
  }

  .footer-logo img {
    width: 130px;
  }

  .footer-title {
    font-size: 16px;
  }

  .footer-bottom {
    padding: 16px 0;
  }

  .default-page h1 {
    font-size: 24px;
  }

  .default-page h2 {
    font-size: 20px;
  }

  .default-page h3 {
    font-size: 17px;
  }

  .whatsapp-icon {
    width: 44px;
    height: 44px;
    bottom: 18px;
    right: 14px;
  }
}

/* --------------------------------------------------------------------------
   Small mobile
   -------------------------------------------------------------------------- */
@media (max-width: 479px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }


  .product-slider-action{
    margin-top: 0;
  }
  .banner-container h1 {
    font-size: 24px;
  }

 
  .sub-banner {
    height: 180px;
  }

  .header-social [class^="icon-"] {
    font-size: 14px;
}

  .sub-banner h1 {
    font-size: 22px;
  }

  .product-media {
    width: 110px;
    margin-bottom: -26px;
  }

  .product-card-body {
    padding: 38px 12px 16px;
  }

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

  .value-title,
  .industry-title,
  .testimonial-title,
  .career-content h3,
  .tech-title,
  .product-cat-title,
  .contact-form-title {
    font-size: 16px;
  }

  .service-body {
    padding: 12px 14px;
  }

  .tech-head {
    height: 110px;
  }

  .tech-body,
  .product-cat-content,
  .contact-info-card,
  .contact-form-wrap {
    padding: 16px 14px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .default-page h1 {
    font-size: 22px;
  }

  .default-page h2 {
    font-size: 18px;
  }

  .default-page h3 {
    font-size: 16px;
  }

  .section-tag {
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   Extra small
   -------------------------------------------------------------------------- */
@media (max-width: 399px) {
  .banner-container h1 {
    font-size: 22px;
  }



  .sub-banner h1 {
    font-size: 20px;
  }

  .main-btn {
    min-width: 100%;
  }

  .footer-menu a,
  .footer-copyright,
  .footer-legal a {
    font-size: 15px;
  }
}
