@media screen and (max-width:600px) {
     .sm-pt-0px{
        padding-top: 0px !important;
    }
    .sm-pb-0px{
        padding-bottom: 0px !important;
    }
    .sm-pt-10px{
        padding-top: 10px !important;
    }
    .sm-pb-10px{
        padding-bottom: 10px !important;
    }
       .sm-pt-20px{
        padding-top: 20px !important;
    }
    .sm-pb-20px{
        padding-bottom: 20px !important;
    }
    .sm-pt-50px{
        padding-top: 50px !important;
    }
    .sm-pb-50px{
        padding-bottom: 50px !important;
    }
    .sm-pt-70px{
        padding-top: 70px !important;
    }
    .sm-pb-70px{
        padding-bottom: 70px !important;
    }
    .sm-pt-100px{
        padding-top: 100px !important;
    }
    .sm-pb-100px{
        padding-bottom: 100px !important;
    }
    .sm-mb-0{
        margin-bottom: 0 !important;
    }
    .sm-mb-10{
        margin-bottom: 10px !important;
    }
    .sm-mb-20{
        margin-bottom: 20px !important;
    }
    p{
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    .h-100px {
    height: 50px !important;
    width: auto;
}
.rs-about-twelve .rs-about-thumb.rs-about-thumb-icon{
    display: none !important;
}
.excellence-hero-counter{
    margin-top: 10px !important;
    font-size: 10px !important;
}
.excellence-hero-counter strong{
    font-size: 13px !important;
}
.rs-about-twelve .rs-about-content{
    height: 265px !important;
}
 .excellence-hero-right {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
  }
.history-desc {
    margin: 20px 0;
    max-width: 350px !important;
    font-size: 16px;
    color: #666;
    margin:unset !important;
}
  /* REMOVE any display:none for ::before */

  .excellence-hero-right::before {
  content: "";
    position: absolute;
    left: 0;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(360deg, rgba(4, 42, 45, 0) 40.11%, #111416 97%) !important;
    transition: height 0.3s ease-out;
    z-index: 1;
  }
.custom-button-1 {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 13px !important;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0;
    padding: 7px 7px !important;
 
}
.excellence-hero-subheading{
    margin-bottom: 15px !important;
}
.excellence-hero-thumbnail-item {
    font-size: 11px !important;
    padding: 0 !important;
    border-bottom: none !important;
}
.tp-portfolio-details-thumb-main img {
    width: 100%;
    height: 250px !important;
    object-fit: cover;
    border-radius: 10px;
}
.bottom-text {
    color: #1a1a1a;
    font-size: 16px !important;
    /* letter-spacing: -0.5px; */
}
.ett-event-thumbnail {
    position: relative !important;
    right: 0;
    top: 50%;
    transform: unset !important;
    width: 250px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.tp-service-sidebar-list ul li {
    font-size: 14px !important;
}
.kCYTWX {
    display: flex;
    flex-wrap: unset !important;
    /* justify-content: space-between; */
    align-items: unset !important;
    gap: 20px;
    background-color: unset !important;
    padding: 60px 24px 24px 24px !important;
    flex-direction: column !important;
}
.icon-very-medium {
    width: 22px !important;
    height: 22px !important;
    color: var(--color-primary-2);
}
.feature-box {
    gap: 10px !important;
    align-items: start !important;
}
    .history-tab-image{
        display: none;
    }
    .contact-us-form .form-group{
        width: 50%;
    }
    .contact-us-form .text-area-form{
        width: 100% !important;
    }
    .spec-card{
        padding: 0 !important;
    }
    .tp-portfolio-details-thumb {
    height: 100%;
    padding-top: 30px;
    margin-bottom: 30px;
}
    .contact-us-form .text-area-form{
width: 100% !important;
    }
    .footer-menu1 ul li a {
    color: #8f8f8f;
    font-size: 14px;
    text-transform: capitalize;
    margin-bottom: 7px;
    transition: all 0.3s ease-in-out;
}
    .aboutus-image {
    height: 280px !important;
    /* padding-bottom: 50px; */
    width: 450px;
    margin-right: 40px;
    /* padding-right: 40px; */
    object-fit: cover;
    border-radius: 5px;
}
.WidgetTitle__Container-sc-9c92769d-0{
    display: none !important;
}
.gRTlEj {
    display: flex;
    /* flex-flow: column wrap; */
    align-items: center;
    background-color: transparent;
    padding: 50px 0px 4px !important;
    gap: 16px;
    justify-content: center !important;
    /* width: 400px; */
    max-width: 400px !important;
    /* margin: 0 auto; */
    flex-wrap: wrap;
    text-align: center;
    flex-direction: row !important;
}
    .stats-slider-track{
        padding-top: 15px;
    }
    .tp-team-section .section-header{
        margin-bottom: 20px !important;
    }
    .tp-team-section .section-title{
        margin-bottom: 10px !important;
    }
    .tm__slider__container .section-header{
        margin-bottom: 0 !important;
    }
    .stats-slider-container .section-title h2{
        display: none !important;
    }
      .tp-service-details-thumb img {
    width: 100%;
    border-radius: 10px;
    height: auto !important;
    object-fit: cover;
}
    .c-title {
    color: #191818;
    font-size: 32px !important;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 10px !important;
}
    .last-paragraph-no-margin p {
 margin-top: 15px !important;
}
        .portfolio-stats {
        padding: 40px 0 0;
        text-align: unset !important;
    }
    .spec-card h4 {
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
    margin: 0;
}
   .spec-card span {
    display: block;
    font-size: 10px !important;
}
    /* .swiper-portfolio-slide{
        width: 320px !important;
    } */
    .floating-btn {
    width: 40px !important;
    height: 40px !important;
    }
    .history-tab-overlay-image{
        display: none;
    }
      .history-tab-menu {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin; /* Firefox */
        gap: 0;
    }

    .history-tab-menu::-webkit-scrollbar {
        height: 4px;
    }

    .history-tab-menu::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 4px;
    }

    .history-tab-link {
        flex: 0 0 auto;
        width: auto;
        min-width: 120px;
        white-space: nowrap;
        font-size: 15px;
        padding: 14px 16px;
    }
    .section-title h3 {
    font-size: 14px !important;
   
}
.service-right-top p{
    margin-bottom: 5px !important;
}
    .excellence-hero-heading {
    font-size: 42px !important;
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -3.6px;
    color: #fff;
    margin-bottom: 20px !important;
    opacity: 0;
    animation: excellenceHeroSlideUp 1s var(--excellence-hero-transition-easing) 0.7s forwards;
}
.tabcontent {
    display: none !important;
    padding: 30px;
    background-color: #fff;
}
.excellence-hero-section {
    position: relative;
    width: 100%;
    height: 90vh !important;
}
.tech-specs-slider {
    margin-top: 20px !important;
}
.tp-service-details-feature-content{
    font-size: 14px !important;
}
.tp-service-details-feature-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--tp-heading-primary);
    margin-bottom: 15px !important;
}
.tp-service-details-feature-item:not(:last-child) {
    margin-bottom: 10px !important;
}
.tp-service-details-feature {
    margin-bottom: 30px !important;
}
.modal-header {
    background: #ebebeb;
    color: white;
    padding: 15px !important;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.tp-portfolio-details-thumb img {
    height: 350px !important;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.spec-card span {
   
    margin-bottom: 0px !important;
}
.page-header-box ol li.breadcrumb-item {
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white-color);
}
.featured-block-two .content-box .csr-text {
    margin-bottom: 15px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #8f8f8f;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}
.slicknav_nav .slicknav_row, .slicknav_nav li a {
    position: relative;
    font-size: 14px !important;
    font-weight: 500;
    text-transform: capitalize;
    /* padding: 7px 20px !important; */
    color: var(--white-color);
    line-height: normal;
    margin: 0;
    border-radius: 0 !important;
    transition: all 0.3s ease-in-out;
}
.featured-block-two .content-box {
    position: relative;
    display: block;
    padding-left: 85px !important;
    min-height: 150px;
}
.featured-block-two .inner-box {
    position: relative;
    display: block;
    background: #ffffff;
    padding: 1px 20px 0px !important;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.07);
}
.qc-testing-list {
    margin-top: 40px;
    background: #f7f7f7;
    text-align: center;
    padding: 22px 22px 2px 22px !important;
    border-radius: 12px;
}
.qc-feature-text {
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 5px !important;
}
.qc-feature-card {
    background: #1a1a1a;
    padding: 15px !important;
}
.machinery-card-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 400px !important;
    cursor: pointer;
}
.infra-intro-section {
    /* text-align: center; */
    margin-bottom: 35px !important;
}
.ett-award-description {

    margin-bottom: 0px !important;
}
.ett-awards-header {
    text-align: center;
    margin-bottom: 16px !important;
}
.tp-team-3-title {
    font-size: 19px !important;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.48px;
    color: var(--tp-common-white);
    margin-bottom: 3px !important;
    text-align: center;
}
.tp-team-3-item:hover .tp-team-3-content {
    opacity: 1;
    visibility: visible;
    bottom: -30px !important;
}
.tp-team-3-content {
    position: absolute;
    width: 175px !important;
    bottom: 30px;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    margin: auto;
    padding: 20px !important;
}
.tp-team-3-thumb img {
    width: 100%;
    height: 250px !important;
}
 .team-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
.stats-visual-img {
    /* width: 100%; */
    height: 186px !important;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.about-footer .section-title p {
    margin-top: 10px;
    margin-bottom: 15px !important;
}
.navbar-brand img {
    height: 45px !important;
    width: auto;
}
.about-footer img {
    max-width: 250px !important;
    margin-bottom: 0px !important;
}
.svc-header-section {
    text-align: center;
    margin-bottom: 0px !important;
}
.quote{
    display: none;
}
 .transformer-year-entry.transformer-year-selected .transformer-year-label {
            color: var(--color-primary-2);
               font-weight: bold;
            font-size: 60px !important;
        }
        .transformer-timeline-img img {
    height: 300px !important;
    width: 450px;
    /* width: 100%; */
    object-fit: cover;
}
.transformer-year-entry {
    padding: 23px 0 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.transformer-year-entry.transformer-year-dimmed .transformer-year-label {
    color: #ddd;
    font-weight: bold;
    font-size: 48px !important;
}
.rs-about-twelve .rs-about-title {
    margin-bottom: 5px !important;
}
.content-section ul li {
    margin-bottom: 0px !important;
    color: #444;
    font-size: 13px !important;
}
.rs-about-twelve .rs-about-content {
    padding: 30px 30px 5px 15px !important;
    background: #f7f7f7;
    border-bottom: 4px solid var(--color-primary-2);
    border-radius: 4px;
    margin-inline-start: unset !important;
    margin-top: 0px !important;
  
}
.custom-button {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    /* font-family: "Fustat", sans-serif; */
    font-size: 13px !important;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0;
    padding: 3px 10px !important;
}
.footer-menu ul li a {
    color: var(--white-color);
    font-size: 14px;
    text-transform: capitalize;
    transition: all 0.3s ease-in-out;
}
.contact-us-form form .form-control {
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1;
    color: #fff !important;
    background: transparent;
    border-width: 0 0 1px 0;
    /* border-color: var(--divider-color); */
    border-color: #ffffff33;
    border-radius: 0;
    padding: 7px 0 !important;
    outline: none;
    box-shadow: none;
}
.tp-brand-item{
    min-width: none !important;
}
.tp-brand-item img {
    max-width: 130px !important;
}
.clientele-title {
    color: #191818;
    font-size: 16px !important;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 300px;
 
}
.tp-brand-breadcrumb-ptb {
    padding-top: 0px !important;
    padding-bottom: 50px !important;
}
.quotation-mark-icon {
    flex-shrink: 0;
    width: 30px !important;
    opacity: 0.3;
}
.author-details-row {
    display: flex;
    align-items: center !important;
    gap: 20px;
}
.award-title {
    font-size: 19px !important;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #121c22;
}
.stats-icon{
    display: none;
}
.service-item-number {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 80px !important;
}
.tp-about-2-video-content {
    padding: 10px 0px 10px !important;
}
 /* Hide desktop view */
            .awards-list.desktop-view {
                display: none !important;
            }

            /* Show mobile slider */
            .awards-list.mobile-view {
                display: block !important;
            }
.tp-about-2-thumb-main img {
    width: 100%;
    border-radius: 10px;
    display: block;
    height: 280px;
    object-fit: cover;
}
.tp-about-2-list{
    margin-bottom: 0 !important;
}
.tp-about-2-wrapper p {
  
    margin-bottom: 15px !important;
}
.faqs-cta-content {
    margin-bottom: 20px;
}
.job-openings-table tbody td:first-child{
    width: 100% !important;
}
.ett-section-header h2 {
    font-size: 26px !important;
    font-weight: 600;
}
.ett-date-container::before{
    display: none;
}
.contact-us-form {
    /* background-color: var(--white-color); */
    /* border-radius: 20px; */
    padding: 27px 20px 27px 20px !important;
    /* border: 1px solid var(--text-color); */
    border: 1px solid #42424233;
    border-radius: 20px;
}
.portfolio-description p {
      
        width: 340px !important;
        max-width: -webkit-fill-available;
    }
    .tp-about-list ul li {
    list-style: none;
    font-size: 14px !important;
    font-weight: 600;

    }
    .ett-intro-text {
    margin-bottom: 30px;
    padding: 20px;
    font-size: 14px !important;
    }
    .ett-section-header {
    position: relative;
    margin-bottom: 20px !important;
}
    .portfolio-showcase-grid {
        grid-template-columns: 1fr;
        padding: 0px 20px 0px 20px;
    }
}
@media screen and (min-width:300px) and (max-width:375px) {
     .portfolio-item-swiper img{
        width: 270px  !important;
        transform: unset !important;

    }
    .blog-card{
        width: 23% !important;
    }
        .machinery-grid-wrapper {
        grid-template-columns: 1fr;
        margin-top: 0 !important;
        /* overflow: hidden; */
        max-width: 330px;
    }
}
@media screen and (min-width:376px) and (max-width:599px) {
     .portfolio-item-swiper img{
        width: 350px  !important;
        transform: unset !important;

    }
    .blog-card{
        width: 26% !important;
    }
        .machinery-grid-wrapper {
        grid-template-columns: 1fr;
        margin-top: 0 !important;
        /* overflow: hidden; */
        max-width: 380px;
    }
}
@media screen and (min-width:1200px) and (max-width:1599px) {
        .history-tab-link {
        font-size: 16px !important;
    }
    .tp-service-sidebar-list ul li a {
    padding: 10px 12px 10px 12px !important;
    display: block;
    font-size: 14px !important;
    text-decoration: none;
    color: inherit;
    line-height: 1.1;
}
    .lap-w-100{
        width: 100% !important;
    }
    p{
        font-size: 14px !important;
    }
       .job-openings-table {
        font-size: 13px !important;
    }

    .job-openings-table thead th {
        padding: 12px 10px !important;
        font-size: 13px !important;
        letter-spacing: 0 !important;
    }

    .job-openings-table tbody td {
        padding: 14px 10px !important;
        font-size: 13px !important;
    }

    .job-openings-table tbody td:first-child {
        width: 45px !important;
    }

    .job-openings-table .apply-btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }

    .openings-title {
        font-size: 17px !important;
    }

    /* Prevent table from overflowing its container */
    .openings-section {
        width: 100%;
        overflow-x: auto;
    }

    .job-openings-table {
        /* table-layout: fixed; */
        width: 100%;
    }

    /* Column width distribution */
    .job-openings-table thead th:nth-child(1) { width: 8%; }
    .job-openings-table thead th:nth-child(2) { width: 28%; }
    .job-openings-table thead th:nth-child(3) { width: 28%; }
    .job-openings-table thead th:nth-child(4) { width: 18%; }
    .job-openings-table thead th:nth-child(5) { width: 18%; }
    .excellence-hero-heading {
    font-size: 42px !important;
    }
    .excellence-hero-section {
    position: relative;
    width: 100%;
    height: 100vh !important;
    display: flex;
    overflow: hidden;
}


    .excellence-hero-thumbnails {
    margin-top: 30px !important;
    }
    .custom-button-1 {
    font-size: 12px !important;
    padding: 7px 7px !important;
    }
    .excellence-hero-subheading {
    font-size: 14px !important;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 15px !important;
    line-height: 1.6;
    animation: excellenceHeroSlideUp 0.8s var(--excellence-hero-transition-easing) 0.25s both;
}
    .excellence-hero-left {
    padding: 220px 160px 160px 100px !important;
 justify-content: center !important;
}
    .portfolio-showcase-wrapper {
    max-width: 1200px !important    ;
    margin: 0 auto;
}
    .section-title {
    /* margin-bottom: 40px; */
    margin-bottom: 40px !important;
}
.col-sm-45{
    width: 45% !important;
}
.col-sm-10{
    width: 10% !important;
}
.stats-slider-track{
    padding-top: 50px !important;
}
    .main-menu ul li.mega-menu-item > .mega-menu {
    visibility: hidden;
    opacity: 0;
    transform: scaleY(0.8);
    transform-origin: top;
    position: absolute;
    /* left: 50%; */
    left: 100% !important;
    transform: translateX(-50%) scaleY(0.8);
    top: 100%;
    background-color: #fff;
    min-width: 1400px !important;
    /* max-width: 1200px; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    z-index: 999;
    border-radius: 0 0 10px 10px;
    }
    .main-menu ul li .segment-tabs a {
    font-size: 11px !important;
    }
    .tabcontent .text-center div:last-child {
    font-size: 11px !important;
    }
    .container {
    max-width: 1100px !important;
}
.main-header .container-fluid {
    position: relative;
    max-width: 1200px !important;
}
.ett-awards-tabs-nav .nav-pills .nav-link {
    text-align: left;
    font-size: 18px;
    border-radius: 7px !important;
    font-weight: 500;
    padding: 10px 20px 10px !important;
    letter-spacing: -0.36px;
}
.footer-social-links ul li a {
   
    width: 30px !important;
    height: 30px !important;
  
}
.tp-portfolio-details-thumb img {
    height: 450px !important;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.stats-showcase-container {
    max-width: 1100px !important;
    margin: 0 auto;
    position: relative;
    z-index: 99;
    padding-top: 50px;
    padding-bottom: 200px;
}
.rs-about-twelve .rs-about-content {
    padding: 25px 30px 25px 25px !important;
height: 340px !important;
    /* margin-inline-start: 120px !important; */

}
.rs-about-twelve{
    padding-top: 100px !important;
}
.ett-event-details {
    position: relative;
    display: block;
    width: 250px !important;
    /* padding-right: 160px; */
}
.container-1288 {
    max-width: 1100px !important;
    margin: 0 auto;
    /* padding: 0  !important; */
}
.ett-event-details {
    position: relative;
    display: block;
    width: 320px !important;
    /* padding-right: 160px; */
}
.ett-event-thumbnail {
    width: 200px !important;
    height: 200px !important;

}
.machinery-description-text {
    height: 240px !important;
    font-size: 13px !important;
}


.stats-slide-item {
        flex: calc(26% - 19.5px) !important;
        min-width: calc(26% - 19.5px) !important;
    }
.stats-card{
    height: 300px !important;
}
.main-menu ul li a {
        padding: 12px 0 12px 0px !important;
        font-size: 14px !important;
    }
    .lap-none{
        display: none !important;
    }
        .tp-counter-item-title {
        font-size: 48px !important;
    }
}
@media screen and (min-width:601px) {
    .excellence-hero-right::before{
        display: none;
    }
}

/* ── LAPTOP / WINDOWS SCREENS (height fix) ── */
@media (min-width: 769px) and (max-height: 900px) {
  .excellence-hero-section {
    height: 100vh !important;
  
  }
  .excellence-hero-left {
    padding-top: 120px !important;
    padding-bottom: 80px !important;
  }
  .excellence-hero-heading { font-size: 52px !important; }
  .excellence-hero-thumbnails { margin-top: 28px !important; }
  .excellence-hero-counter { margin-top: 18px !important; }
}

@media (min-width: 769px) and (max-height: 768px) {

 .excellence-hero-left {
             padding-top: 115px !important;
        padding-bottom: 48px !important;
        padding-right: 140px !important;
        padding-left: 150px !important;
    }
  .excellence-hero-heading { font-size: 44px !important; margin-bottom: 20px !important; }
  .excellence-hero-subheading { margin-bottom: 20px !important; font-size: 16px !important; }
  .excellence-hero-thumbnails { margin-top: 20px !important; gap: 0 !important; }
  .excellence-hero-thumbnail-item { padding: 7px 0 !important; }
  .excellence-hero-counter { margin-top: 12px !important; }
}

@media (min-width: 769px) and (max-height: 650px) {
  /* .excellence-hero-section {
    max-height: 560px !important;
  } */
  .excellence-hero-heading { font-size: 36px !important; margin-bottom: 14px !important; }
  .excellence-hero-subheading { font-size: 14px !important; margin-bottom: 14px !important; }
  .excellence-hero-thumbnails { margin-top: 14px !important; }
  .excellence-hero-thumbnail-item { padding: 5px 0 !important; font-size: 12px !important; }
  .excellence-hero-counter { margin-top: 8px !important; font-size: 11px !important; }
}

    .excellence-hero-thumbnails ,.excellence-hero-counter{
        display: none !important;
    }
@media screen and (min-width:991px) and (max-width:1199px) {
    .excellence-hero-section {
    position: relative;
    width: 100%;
    height: 100vh !important;
    display: flex;
    overflow: hidden;
}
}