.ul-mb-0 ul {
  margin-bottom: 0px;
}

.half-list ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media only screen and (min-width: 1728px) {
  .container {
    max-width: 1410px;
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media only screen and (max-width: 1727px) {
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-content-info .hero-title {
    font-size: 74px;
  }

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

  .capability-card,
  .certificate-card,
  .why-card {
    padding: 16px;
  }

  .why-card-icon,
  .light-icon-circle,
  .service-product-content .service-product-icon,
  .capability-card i {
    font-size: 30px;
  }

  .cardTitle {
    font-size: 22px;
  }

  .cardTitleSmall {
    font-size: 18px;
  }

  .cardTitleSmalllg {
    font-size: 16px;
  }

  .company-images {
    padding: 40px;
  }

  .company-images img {
    width: 80%;
  }

  .why-card-head {
    gap: 12px;
  }

  .contact-card {
    padding: 20px;
  }
}

@media only screen and (max-width: 1439px) {
  .hero-content-info .hero-title {
    font-size: 66px;
  }

  .section-title,
  .statistics-item .statistics-icon {
    font-size: 40px;
  }

  .section-subtitle,
  .capability-description,
  .highlights-text ul li,
  .certificate-card p,
  .service-product-content p {
    font-size: 14px;
  }

  .section-subtitle::before {
    height: 6px;
  }

  .why-card-icon,
  .light-icon-circle,
  .service-product-content .service-product-icon {
    width: 60px;
  }

  .section-description {
    font-size: 16px;
  }

  .client-logo-card {
    padding: 20px;
  }

  .client-logo-card img {
    max-height: 60px;
  }

  .cardTitle {
    font-size: 20px;
  }

  .cardTitleSmall {
    font-size: 16px;
  }

  .custom-blog-title {
    font-size: 20px;
  }

  .custom-blog-card {
    height: 420px;
  }

  .timeline-description {
    font-size: 14px;
  }

  .timeline-line {
    top: 93px;
  }

  .why-choose-grid-row .why-card {
    padding: 24px 10px;
  }

  .infrastructure-overview .pillar-number {
    font-size: 20px;
  }

  .infrastructure-overview .pillar-title {
    font-size: 16px;
  }

  .infrastructure-overview .stat-number {
    font-size: 32px;
  }

  .blog-detail-wrapper img {
    max-height: 500px;
  }

  .contact-value {
    font-size: 16px;
    line-height: normal;
  }
}

@media only screen and (max-width: 1199px) {
  .flexico-overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 997;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.7);
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s ease;
  }

  .mobile-nav-active {
    overflow: hidden;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    bottom: 0;
    left: 0;
  }

  .mobile-nav-active .flexico-overlay {
    visibility: visible;
    opacity: 1;
  }

  .custom-nav {
    position: fixed;
    left: -100%;
    top: 0px;
    background: #fff;
    height: 100vh;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
  }

  .menu-flexico-menu-container {
    flex: 1;
    overflow: hidden;
  }

  .home-header .custom-nav {
    top: -20px;
  }

  .home-header .custom-nav.menu-open {
    left: -20px;
  }

  .custom-nav.menu-open {
    left: 0px;
  }

  /* Mobile: open submenu on click (not hover) */
  .flexico-menu .menu-item .sub-menu {
    visibility: hidden;
    opacity: 0;
    height: 0;
    padding-top: 5px;
  }

  .flexico-menu .menu-item.open .sub-menu {
    visibility: visible;
    opacity: 1;
    height: auto;
    transition: all .35s ease 0s;
  }

  .flexico-menu .menu-item {
    width: 100%;
  }

  .site-header .flexico-menu .menu-item>a {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 15px;
    font-weight: 700;
  }

  .flexico-menu>.menu-item:last-child a {
    border-bottom: 0px;
  }

  .site-header.home-header .flexico-menu li.current-menu-item a,
  .site-header .flexico-menu .current-menu-parent>a,
  .site-header .flexico-menu .current-menu-parent .dropdown-toggle-icon {
    color: var(--color-primary);
  }

  .flexico-menu .menu-item .sub-menu li a {
    padding: 5px 0 5px 15px;
    border-bottom: none;
    line-height: 24px;
    font-weight: 500;
  }

  .dropdown-toggle-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    border: none;
    font-size: 16px;
    color: #000;
    border-radius: 0;
    background: transparent;
  }

  .flexico-menu .menu-item.open .dropdown-toggle-icon {
    transform: rotate(90deg);
  }

  .mobile-menu-head {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
  }

  .mobile-menu-head span {
    border-bottom: 2px solid var(--color-secondary);
  }

  .flexico-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    padding: 0 30px;
    height: 100%;
    overflow-y: auto;
  }

  .site-header .header-inner .logo {
    order: 2;
  }

  .toggleButton {
    order: 1;
    width: 30px;
    height: 20px;
    border: none;
    background: transparent;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
  }

  .toggleButton span {
    width: 100%;
    height: 2px;
    background: var(--color-light);
    transition: all 0.3s ease-in-out;
  }

  .inner-header .toggleButton span {
    background: var(--color-primary);
  }

  .toggleButton span.two {
    width: 80%;
  }

  .toggleButton span.three {
    width: 70%;
  }

  .toggleButtonClose span {
    background: var(--color-primary);
    width: 75% !important;
  }

  .toggleButtonClose span.one {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .toggleButtonClose span.two {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .flexico-menu li a {
    color: var(--color-primary);
  }

  .site-header .header-inner .button {
    order: 3;
  }

  .button {
    gap: 12px;
    font-size: 14px;
    padding-left: 20px;
  }

  .button .button-icon {
    width: 32px;
  }

  .hero-content-info {
    max-width: 60%;
    padding-top: 9%;
  }

  .hero-content-info .hero-title {
    font-size: 48px;
    margin-bottom: 40px;
    line-height: 1.2;
  }

  .section-subtitle {
    margin-bottom: 8px;
  }

  .qual-step-card {
    padding: 30px 20px;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    padding-top: 80px;
  }

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

  .site-footer::after {
    bottom: 40px;
    font-size: 200px;
  }

  .footer-info-grid {
    gap: 20px;
  }

  .footer-info-item p,
  .footer-info-item a {
    font-size: 16px;
  }

  .footer-logo img {
    max-width: 120px;
  }

  .footer-heading {
    font-size: 32px;
  }

  .section-padding-y {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-padding-t {
    padding-top: 80px
  }

  .section-padding-b {
    padding-bottom: 80px
  }

  .statistics-card-title {
    font-size: 22px;
  }

  .service-product-card .service-product-content {
    padding: 0px 12px 12px 12px;
  }

  .infrastructure-overview .stat-number {
    font-size: 26px;
  }

  .cert-left-col {
    padding-right: 12px;
  }

  .cert-grid-layout {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-content,
  .service-capability-card {
    padding: 16px;
  }

  .process-step-number {
    font-size: 32px;
  }

  .process-step-title {
    font-size: 16px;
  }

  .process-step-desc {
    font-size: 14px;
  }

  .quality-description {
    margin-bottom: 16px;
  }

  .quality-step-item {
    padding: 16px 0;
  }

  .quality-step-number {
    margin-right: 16px;
  }

  .quality-step-title {
    margin-bottom: 0px;
  }

  .steelix-industry-box {
    padding: 10px 20px;
    min-width: inherit;
  }

  .service-capability-title,
  .industry-highlight-box h5 {
    font-size: 18px;
  }

  .service-intro-desc,
  .cs-solution-block p {
    font-size: 16px;
    line-height: normal;
  }

  .industry-highlight-box p {
    font-size: 14px;
  }

  .blog-detail-wrapper img {
    max-height: 400px;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 1023px) {
  .section-padding-t {
    padding-top: 80px
  }

  .section-padding-b {
    padding-bottom: 80px
  }

  .hero-content-info {
    max-width: 65%;
    padding-top: 15%;
  }

  .hero-content-info .hero-title {
    margin-bottom: 32px;
  }

  .section-title,
  .statistics-item .statistics-icon {
    font-size: 32px;
  }

  .blog-detail-content .wp-block-heading {
    font-size: 24px;
  }

  .company-content {
    padding: 20px;
  }

  .company-images {
    width: 44%;
  }

  .learn-more {
    font-size: 14px;
  }

  .section-title {
    margin-bottom: 16px;
  }

  .section-title br {
    display: none;
  }

  .cta-wrapper {
    padding: 40px;
  }

  .cert-left-col {
    padding-right: calc(var(--bs-gutter-x) * .5);
  }

  .cert-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .qual-comm-title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .qual-comm-desc {
    font-size: 16px;
    border-left: none;
    padding-left: 0;
  }

  .qual-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }

  .qual-step-item:nth-child(even),
  .qual-step-item:nth-child(odd) {
    transform: none !important;
  }

  .qual-process-wrapper::before {
    display: none;
  }

  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form-area {
    padding: 24px;
  }

  .footer-social-wrapper {
    justify-content: center;
    margin-top: 20px;
  }

  .footer-copyright {
    text-align: center;
  }

  .hero-content-info .hero-title {
    font-size: 40px;
  }

  .custom-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facility-card,
  .machinery-card {
    padding: 20px;
  }

  .half-list ul {
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;
  }

  .qc-main-image {
    max-height: 400px;
  }

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

@media (min-width:992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }

  .service-list-card {
    flex-direction: row;
  }

  .contact-content-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Remove right border for every 3rd item */
  .why-choose-grid-row>div:nth-child(3n)::after {
    display: none;
  }

  /* Remove bottom border for the last row (last 3 items) */
  .why-choose-grid-row>div:nth-last-child(-n+3)::before {
    display: none;
  }
}

@media only screen and (max-width: 991px) {

  .timeline-line,
  .timeline-dot {
    display: none;
  }

  .timeline-year {
    font-size: 20px;
    margin-top: 12px;
  }

  .cert-image-wrapper {
    margin-top: 40px;
    height: auto;
  }

  .qual-comm-top {
    margin-bottom: 0px;
  }

  .qual-process-grid {
    gap: 30px;
  }

  .cert-card-title {
    font-size: 18px;
  }

  .qual-process-wrapper {
    padding-bottom: 0px;
  }

  .service-list-image {
    width: 100%;
  }

  .clipped-image-wrapper,
  .journey-image {
    clip-path: none;
    border-radius: 12px;
  }

  .process-timeline-row {
    padding-top: 0px;
    grid-template-columns: repeat(3, 1fr);
  }

  .industries-heading br {
    display: none;
  }

  .footer-info-grid {
    border-top: 1px solid color-mix(in srgb, var(--color-light, #ffffff) 30%, transparent);
    padding-top: 40px;
  }

  .tab-content .tab-pane .table tr th,
  .tab-content .tab-pane .table tr td {
    white-space: nowrap;
  }
}

@media only screen and (max-width: 767px) {
  .section-padding-y {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-padding-t,
  .site-footer {
    padding-top: 60px
  }

  .section-padding-b,
  .footer-top {
    padding-bottom: 60px
  }

  .cert-cards-grid {
    grid-template-columns: 1fr;
  }

  .service-features ul {
    flex-wrap: wrap;
  }

  .service-features ul li {
    white-space: normal;
  }

  .custom-blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px;
  }

  .custom-blog-card {
    height: 400px;
  }

  .custom-blog-content {
    padding: 16px;
    padding-bottom: 24px;
    margin-bottom: 0;
    transform: none !important;
  }

  .custom-blog-title {
    font-size: 18px;
    margin-bottom: 24px;
  }

  /* Make button visible on mobile since there is no hover state */
  .custom-blog-action {
    opacity: 1;
    position: relative;
    bottom: auto;
    left: auto;
    transform: translateY(0px);
  }

  .facility-card,
  .machinery-card {
    padding: 24px;
  }

  .cert-grid-layout {
    grid-template-columns: 1fr;
  }

  .qual-process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .awards-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-grid-row>div::after {
    display: none;
  }

  .why-choose-grid-row>div:last-child::before {
    display: none;
  }

  .cta-contact-info {
    flex-direction: column;
    gap: 24px;
  }

  .custom-investor-tabs {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
    padding: 8px;
    gap: 6px;
  }

  .custom-investor-tabs .nav-item {
    width: 100%;
  }

  .custom-investor-tabs .nav-link {
    width: 100%;
    border-radius: 12px;
    text-align: center;
    padding: 12px 16px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    top: 16px;
  }

  .flexico-menu .menu-item .sub-menu li a {
    font-size: 14px;
  }

  .flexico-menu {
    padding: 0 16px;
  }

  .mobile-menu-head {
    padding: 16px;
  }

  .home-header .custom-nav {
    top: -16px;
  }

  .site-header .logo img {
    max-height: 70px;
  }

  .hero-banner .heroSwiper .swiper-slide img {
    height: 420px;
    object-fit: cover;
  }

  .hero-content {
    bottom: 40px;
    top: auto;
    transform: inherit;
    left: 0;
  }

  .hero-content-info {
    max-width: 100%;
    padding-top: 0px;
  }

  .hero-content-info .hero-title {
    font-size: 32px;
  }

  .button {
    gap: 8px;
    padding-left: 16px;
  }

  .site-header .header-inner {
    gap: 16px;
    flex-direction: row-reverse;
  }

  .site-header .header-inner .btn-primary {
    display: none;
  }

  .company-intro-wrapper {
    flex-direction: column;
    border-radius: 12px;
  }

  .toggleButton {
    align-items: flex-end;
  }

  .company-images {
    width: 100%;
    padding: 20px;
    clip-path: inherit;
  }

  .company-images img {
    width: 100%;
  }

  .section-title,
  .statistics-item .statistics-icon,
  .footer-heading,
  .service-card-title {
    font-size: 24px;
  }

  .blog-detail-content .wp-block-heading {
    font-size: 20px;
  }

  .why-choose-grid-row .why-card {
    padding: 20px 0;
  }

  .premium-industry-info {
    padding: 20px;
  }

  .premium-industry-title,
  .statistics-card-title {
    font-size: 20px;
  }

  .statistics-number,
  .statistics-suffix {
    font-size: 32px !important;
  }

  .footer-logo img {
    max-width: 80px;
    margin-bottom: 20px;
  }

  .footer-info-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .site-footer::after {
    bottom: 120px;
    font-size: 100px;
  }

  .site-content {
    padding-top: 86px;
  }

  .inner-page-banner {
    padding: 60px 0;
    background-position: center right;
  }

  .mission-card {
    border: 0px;
    padding-right: 0px;
  }

  .infrastructure-overview .overview-image img {
    min-height: inherit;
  }

  .cert-filter-btn {
    padding: 8px 16px;
  }

  .qual-step-title {
    font-size: 18px;
  }

  .process-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin: 0 0 16px;
    font-size: 24px;
  }

  .service-list-content,
  .service-image-inner {
    padding: 1rem;
  }

  .process-timeline-row,
  .tech-items-row {
    grid-template-columns: repeat(1, 1fr);
  }

  .tech-heading,
  .quality-step-title {
    font-size: 18px;
  }

  .steelix-app-card {
    height: auto;
  }

  .industries-grid {
    gap: 10px;
  }

  .steelix-industry-box {
    padding: 6px 10px;
    font-size: 14px;
  }

  .quality-step-desc {
    font-size: 14px;
    line-height: normal;
  }

  .quality-step-number {
    margin-right: 12px;
    font-size: 20px;
  }

  .cta-wrapper {
    padding: 20px;
    border-radius: 12px;
  }

  .tech-item,
  .material-card {
    padding: 12px;
  }

  .cs-number-bg {
    top: -10px;
    right: -10px;
    font-size: 100px;
  }

  .cs-challenge-block h4 {
    font-size: 20px;
  }

  .adv-number {
    display: none;
  }

  .investor-doc-row {
    border-radius: 8px;
  }

  .tab-content .tab-pane .table tr th,
  .tab-content .tab-pane .table tr td {
    font-size: 14px;
    padding: 12px !important;
  }

  .blog-detail-wrapper img {
    max-height: 200px;
  }

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

  .contact-icon {
    font-size: 32px;
    margin-bottom: 6px;
  }

  .contact-label {
    margin-bottom: 6px;
  }

  .wpcf7 form .wpcf7-response-output {
    margin-left: 0px;
    margin-right: 0px;
  }

  .form-select-lg {
    font-size: 16px;
  }
}


/* START - Service List Card Horizontal Layout ============================================================ */
@media (min-width: 768px) {
  .service-list-content {
    padding: 2rem;
  }

  .premium-industry-img-box {
    width: 45%;
  }

  .premium-industry-info {
    width: 55%;
  }

}