/* ==========================================================================
   PREMIUM SYSTEM DESIGN VARIABLES & RESETS
   ========================================================================== */
:root {
    --color-primary: #e05a2b;
    --color-primary-hover: #c8491f;
    --color-black: #000000;
    --color-dark-bg: #0a0a0a;
    --color-white: #ffffff;
    --color-gray-text: #6b7280;
    --color-light-gray: #f3f4f6;
    --color-border-light: #f3f4f6;
    --color-border-card: rgba(255, 255, 255, 0.05);
    --color-line: rgba(245, 242, 236, 0.28);
    --header-height: 0px;
    --font-primary: "Montserrat", sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    background-color: #fff;
    color: #101828;
    font-family: Montserrat;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.btn-2 {
    align-self: flex-start;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 14px 28px;
    border-radius: 2px;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.btn-2:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

html {
    scroll-behavior: auto;
}

.scroll {
    scroll-margin-top: 100px;
}

.outer-nav .menu-link {
    font-size: 16px !important;
    font-weight: 500;
    color: var(--color-white) !important;
}

.outer-nav .menu-link:hover {
    transform: translateX(0rem) !important;
}

#aerospace,
#automotive,
#energy,
#medtech,
#industry-aerospace,
#industry-automotive,
#industry-energy,
#industry-medtech,
[data-id="aerospace"],
[data-id="automotive"],
[data-id="energy"],
[data-id="medtech"],
#industrial-design,
#engg-design,
#advance-engineering,
#smart-manufacturing,
#mechatronics,
#methodology {
    scroll-margin-top: 100px;
}

/* Prevent browser scroll anchoring interference in horizontal pinned sections */
.svc-h-section2,
.svc-h-section,
.svc-h-viewport,
.svc-h-track,
.svc-h-card,
#services-pin,
#services-track,
.panel {
    overflow-anchor: none;
}

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

.header-logo {
    width: 250px;
}

/* Laptop */
@media (max-width: 1279px) {
    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Tablet */
@media (max-width: 1023px) {
    .section-padding {
        padding-top: 35px;
        padding-bottom: 35px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .header-logo {
        width: 165px;
    }

    .section-padding {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* Custom styles for horizontal scroll panel */
.panel {
    flex-shrink: 0;
    width: 45vw;
    /* Desktop par 3 boxes dikhane ke liye */
    height: 400px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.nmt-p-15 {
    margin-top: -20%;
}

.my-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.tcolor1 {
    color: #e05a2b;
}

.bg-primary-color {
    background-color: #e05a2b;
}

.hover-bg-primary-color:hover {
    background-color: #e05a2b;
}

.hover-text-primary-color:hover,
.text-primary-color {
    color: #e05a2b;
}

.border-primary-color {
    border-color: #e05a2b;
}

#services-pin,
#faq_section {
    background-color: #f9feff;
}

#methodology-section {
    background-color: #fffcf9;
}

/* our approch  */

/* Services Heading Spacing */
.services-heading-wrapper {
    margin-top: 80px;
    margin-bottom: 40px;
}

/* Main Row */
.section-heading-row {
    margin: auto;
    text-align: center;
    max-width: 960px;
}

/* Left Content */
.section-heading-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Section Title */
.section-title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: var(--color-primary);
}

/* Main Heading */
.section-heading {
    margin: 0;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.35;
    color: var(--color-black);
}

/* Highlight Text */
.section-heading-highlight {
    font-weight: 500;
    color: var(--color-primary);
}

/* Description */
.section-description {
    padding-bottom: 4px;
}

.section-description p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.625;
    letter-spacing: 0.5px;
    color: #101828;
}

/* Laptop */
@media (max-width: 1279px) {
    .section-heading {
        font-size: 32px;
    }
}

@media (max-width: 1280px) {
    #hero-section h1 {
        font-size: 3rem;
    }

    .home-banner-h2 {
        font-size: 3rem;
    }
}

/* Tablet */
@media (max-width: 767px) {
    .section-heading {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .leadership .section-description p {
        font-size: 13px !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .section-heading {
        font-size: 24px;
        line-height: 1.3;
        letter-spacing: 0;
    }
}

@media (max-width: 767px) {

    /* Hide the empty right column so menu items breathe */
    .menu-content-column {
        display: none !important;
    }

    /* Make menu items clearly tappable */
    .menu-left-column {
        gap: 1.25rem !important;
    }

    /* Show a subtle arrow hint that items are clickable */


    .menu-nav-item {
        display: flex;
        align-items: center;
        width: 100%;
    }
}

@media (min-width: 1300px) {
    #hero-text p {
        margin-top: 30px !important;
        margin-bottom: 35px !important;
    }
}

/* SERVICES — pinned/editorial-scroll panels  */

.cine-section {
    position: relative;
    background: var(--color-black);
    color: var(--color-white);
    font-family: "Montserrat", sans-serif;
    isolation: isolate;
}

.cine-section .bg-stack {
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    background: var(--color-black);
    margin-bottom: -100vh;
}

.cine-section .bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition:
        opacity 1.1s ease,
        filter 1.1s ease;
    will-change: opacity;
}

.cine-section .bg-image.active {
    opacity: 1;
}

.cine-section .bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(11, 10, 9, 0.72) 0%, rgba(11, 10, 9, 0.45) 20%, rgb(11 10 9 / 28%) 100%);
    pointer-events: none;
}

.cine-section h2 {
    color: var(--color-white);
}

.cine-section .cine-cta {
    display: inline-flex;
    align-items: center;
    padding: 13px 28px;
    margin-top: 8px;
    border: 1px solid var(--color-primary);
    border-radius: 999px;
    color: var(--color-white);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.2s ease;
}

.cine-section .cine-cta:hover {
    background: rgba(255, 90, 31, 0.15);
}

#services main {
    position: relative;
    z-index: 2;
}

#services .services-intro {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 6vw;
}

#services .services-intro p {
    margin-top: 18px;
    max-width: 480px;
    font-size: 15px;
    color: var(--color-light-gray);
    line-height: 1.7;
}

/* ---- index nav: sticky list of all 5 services, top-right ---- */
#services .svc-index-nav {
    position: sticky;
    top: 50%;
    right: 0;
    z-index: 15;
    float: right;
    margin-right: 6vw;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--color-gray-text);
}

#services .svc-index-nav span {
    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
    border-left: 2px solid transparent;
    padding-left: 10px;
}

#services .svc-index-nav span.is-active {
    color: var(--color-light-gray);
    border-left-color: var(--color-primary);
}

/* ---- continuous rail spanning the whole services list ---- */
#services .svc-timeline {
    position: relative;
}

#services .svc-timeline .rail-base,
#services .svc-timeline .rail-fill {
    position: absolute;
    top: 0;
    left: calc(6vw + 45px);
    width: 1px;
    transform: translateX(-0.5px);
    height: 100%;
    z-index: 1;
}

#services .svc-timeline .rail-base {
    background-image: repeating-linear-gradient(to bottom, var(--color-line), var(--color-line) 10px, transparent 10px, transparent 16px);
}

#services .svc-timeline .rail-fill {
    height: 0%;
    background: var(--color-primary);
    transition: height 0.1s linear;
}

/* ---- panel: badge sits on top of the continuous rail + centered content + ghost number ---- */
#services .svc-panel {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    padding: 0 6vw;
    opacity: 0.35;
    transition: opacity 0.6s ease;
}

#services .svc-panel.is-active {
    opacity: 1;
}

#services .svc-rail {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#services .svc-num-badge {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    font-family: monospace;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border: 1px solid var(--color-line);
    color: var(--color-black);
    background: var(--color-primary);
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

#services .svc-panel.is-visited .svc-num-badge {
    border-color: var(--color-primary);
    color: var(--color-light-gray);
}

#services .svc-panel.is-active .svc-num-badge {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #0b0a09;
}

#services .svc-content {
    position: relative;
    padding: 6vh 0;
}

#services .svc-ghost-num {
    position: absolute;
    top: -8vh;
    left: -1vw;
    font-weight: 700;
    font-size: clamp(120px, 16vw, 220px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(245, 242, 236, 0.12);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

#services .svc-content-inner {
    position: relative;
    z-index: 1;
}

#services .svc-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.1em;
    font-family: monospace;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 90, 31, 0.4);
    border-radius: 999px;
}

#services .svc-panel h3 {
    font-weight: 500;
    font-size: clamp(24px, 3.2vw, 28px);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: var(--color-white);
}

#services .svc-panel p {
    font-size: 15.5px;
    color: var(--color-light-gray);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 26px;
}

@media (max-width: 800px) {
    #services .svc-panel {
        grid-template-columns: 40px 1fr;
    }

    #services .svc-index-nav {
        display: none;
    }

    #services .svc-ghost-num {
        font-size: clamp(80px, 22vw, 140px);
        top: -6vh;
    }
}

.engineering {
    background-image: url("../img/01_Home_Services_Engg_Design.webp");
}

.industrial-design {
    background-image: url("../img/01_Home_Services_Industrial_Design.webp");
}

.advance-engineering {
    background-image: url("../img/01_Home_Services_Advanced_Engg.webp");
}

.smart-manufacturing {
    background-image: url("../img/01_Home_Services_Smart_Manuf.webp");
}

.mechatronics {
    background-image: url("../img/01_Home_Services_Mechatronics.webp");
}

.service-item-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 25%, rgba(102, 102, 102, 0) 59%);
}

.heading-xl {
    font-size: 1.5rem;
    /* text-2xl = 24px */
    line-height: 2rem;
}

.left-right-animation {
    animation: leftRight 3s ease-in-out infinite;
}

.explore-line {
    position: relative;
    width: fit-content;
}

.explore-line:before {
    content: "";
    height: 90px;
    width: 1px;
    background-color: #a2a2a2;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* nav start */

.menu-left-column {
    grid-column: span 1 / span 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* space-y-6 = 24px */
}

/* Menu Item */
.menu-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* space-x-4 */
    cursor: pointer;
}

/* Number */
.menu-number {
    font-size: 0.75rem;
    /* text-xs */
    font-family: monospace;
    padding: 0.125rem 1rem;
    /* py-0.5 px-4 */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0.375rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

/* Text */
.menu-text {
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: 300;
    /* font-light */
    line-height: 1;
    letter-spacing: -0.025em;
    color: rgba(255, 255, 255);
    transition: all 0.2s ease;
}

/* Hover */
.menu-nav-item:hover .menu-number {
    border-color: #fff;
    color: #fff;
}

.menu-nav-item:hover .menu-text {
    color: #fff;
}

/* Active */
.menu-nav-item.is-active .menu-number {
    border-color: #fff;
    color: #fff;
}

.menu-nav-item.is-active .menu-text {
    color: #fff;
    font-weight: 500;
}

.menu-content-column {
    grid-column: span 1 / span 1;
    display: flex;
    align-items: center;
    min-height: 250px;
    padding-left: 2rem;
    /* pl-8 */
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    /* text-base */
    font-weight: 300;
    /* font-light */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* tracking-wider */
    transition: all 200ms ease;
}

.menu-link:hover {
    color: #ffffff;
    transform: translateX(0.5rem);
    /* 8px */
}

.menu-link.active {
    color: #fff;
    font-weight: 600;
    transform: translateX(0.5rem);
    /* Optional: keep it shifted */
}

.text-content {
    display: block;
    color: #ffffff;
    font-size: 1.125rem;
    /* text-lg = 18px */
    font-weight: 300;
    /* font-light */
    line-height: 1.625;
    /* leading-relaxed */
    max-width: 28rem;
    /* max-w-md = 448px */
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 0.875rem;
    /* 14px */
    line-height: 1.25rem;
    font-weight: 500;
    padding-top: 0.75rem;
    /* 12px */
    padding-bottom: 0.75rem;
    /* 12px */
    padding-left: 1.5rem;
    /* 24px */
    padding-right: 1.5rem;
    /* 24px */
    margin-bottom: 3.75rem;
    /* 60px */
    border-radius: 0.75rem;
    /* 12px */
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background-color: #c94f24;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
    transform: scale(0.98);
}

.nav-contact-btn {
    display: inline-block;
    border: 1px solid var(--color-primary);
    color: #374151;
    /* text-gray-700 */
    font-size: 0.875rem;
    /* text-sm = 14px */
    font-weight: 500;
    /* font-medium */
    padding: 0.5rem 1.25rem;
    /* py-2 px-5 = 8px 20px */
    border-radius: 9999px;
    /* rounded-full */
    text-decoration: none;
    transition: all 200ms ease;
}

.nav-contact-btn-w {
    display: inline-block;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    /* text-gray-700 */
    font-size: 0.875rem;
    /* text-sm = 14px */
    font-weight: 500;
    /* font-medium */
    padding: 0.5rem 1.25rem;
    /* py-2 px-5 = 8px 20px */
    border-radius: 9999px;
    /* rounded-full */
    text-decoration: none;
    transition: all 200ms ease;
}

.nav-contact-btn-active,
.nav-contact-btn:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

@media (min-width: 768px) {
    .menu-link {
        font-size: 1.125rem;
        /* text-lg */
    }
}

@media (min-width: 768px) {
    .menu-link {
        font-size: 1.125rem;
        /* text-lg */
    }
}

@media (min-width: 768px) {
    .menu-content-column {
        grid-column: span 6 / span 6;
        padding-left: 3rem;
        /* pl-12 */
    }
}

/* Responsive */
@media (min-width: 768px) {
    .menu-number {
        font-size: 1.125rem;
        /* text-lg */
    }

    .menu-text {
        font-size: 2.25rem;
        /* text-4xl */
    }
}

@media (min-width: 1024px) {
    .menu-text {
        font-size: 3rem;
        /* text-5xl */
    }
}

@media (min-width: 768px) {
    .menu-left-column {
        grid-column: span 6 / span 6;
        gap: 2rem;
        /* space-y-8 = 32px */
    }
}

/* nav end */

@media (min-width: 768px) {
    .heading-xl {
        font-size: 1.875rem;
        /* text-3xl = 30px */
        line-height: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .heading-xl {
        font-size: 2.25rem;
        /* text-4xl = 36px */
        line-height: 2.5rem;
    }
}

@media (max-width: 768px) {
    .panel {
        width: 80vw;
        /* Mobile par ek baar mein ek se thoda zyada dikhega */
    }

    .nmt-p-15 {
        margin-top: -80%;
    }
}

@keyframes leftRight {
    0% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(-5px);
    }
}

/* About Us Page Start  */

/* =========================================================
   WHO WE ARE
========================================================= */
.who-we-are-section {
    width: 100%;
    overflow: visible;
    padding-bottom: 30px;
}

.who-we-are-title-wrap {
    grid-column: 1 / -1;
    width: 100%;
    height: 25vh;
    top: 0;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.who-we-are-title {
    display: inline-block;
    position: relative;
    z-index: 2;
}

/* Two Column Layout */
.who-we-are-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
    align-items: stretch;
    position: relative;
}

/* =========================================================
   LEFT SIDE - MORPH
========================================================= */
.who-we-are-morph {
    position: relative;
    min-width: 0;
}

/* Override full screen scroll height */
.who-we-are-morph .morph-wrap {
    position: relative;
    height: 210vh;
}

/* Sticky Left Image */
.who-we-are-morph .morph-sticky {
    position: sticky;
    top: 25vh;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.who-we-are-morph .morph-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 1;
    clip-path: inset(100% 0 0 0);
    -webkit-clip-path: inset(100% 0 0 0);
    will-change: clip-path;
}

.who-we-are-morph .morph-image[data-index="0"] {
    clip-path: inset(0% 0 0 0);
    -webkit-clip-path: inset(0% 0 0 0);
    z-index: 1;
}

.who-we-are-morph .morph-image[data-index="1"] {
    z-index: 2;
}

.who-we-are-morph .morph-image[data-index="2"] {
    z-index: 3;
}

.who-we-are-morph .morph-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgb(20 19 17 / 78%) 0%, rgb(20 19 17 / 0%) 55%, rgb(20 19 17 / 0%) 0%);
    pointer-events: none;
    z-index: 4;
}

.who-we-are-morph .morph-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 6;
}

.who-we-are-morph .morph-label {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 24px;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    animation: morphContentFade 0.6s ease;
}

.who-we-are-morph .morph-label.active {
    display: flex;
}

.who-we-are-morph .morph-label .section-title {
    color: var(--color-primary);
}

.who-we-are-morph .morph-label h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -1px;
    line-height: 40px;
    color: var(--color-white);
}

.who-we-are-morph .morph-description {
    max-width: 520px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.625;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.82);
}

.who-we-are-morph .morph-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 5;
}

.who-we-are-morph .morph-progress-fill {
    width: 0%;
    height: 100%;
    background: var(--color-primary);
    transition: width 0.1s linear;
}

/* Triggers */
.who-we-are-morph .trigger {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
}

.who-we-are-morph .trigger:nth-child(1) {
    top: 0;
}

.who-we-are-morph .trigger:nth-child(2) {
    top: 100vh;
}

.who-we-are-morph .trigger:nth-child(3) {
    top: 200vh;
}

/* =========================================================
   RIGHT SIDE - PHILOSOPHY
========================================================= */
.who-we-are-philosophy {
    position: relative;
    min-width: 0;
    min-height: 210vh;
}

.philosophy-sticky {
    position: sticky;
    top: 25vh;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    padding-top: 100px;
}

.who-we-are-philosophy .philosophy-content {
    width: 100%;
    max-width: 672px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* =========================================================
   ANIMATION
========================================================= */
@keyframes morphContentFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
========================================================= */
@media (max-width: 1024px) {
    .who-we-are-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .philosophy-sticky {
        padding: 30px;
    }

    .who-we-are-morph .morph-label h2 {
        font-size: 32px;
        line-height: 38px;
    }
}

@media (max-width: 768px) {
    .who-we-are-title {
        margin-bottom: 24px;
    }

    /* Stack Both Sections */
    .who-we-are-layout {
        grid-template-columns: 1fr;
    }

    .who-we-are-morph .morph-wrap {
        height: 300vh;
    }

    .who-we-are-morph .morph-sticky {
        height: 70vh;
    }

    .who-we-are-morph .morph-label {
        left: 20px;
        right: 20px;
        bottom: 40px;
    }

    .who-we-are-morph .morph-label h2 {
        font-size: 24px;
        line-height: 36px;
    }

    .who-we-are-morph .morph-description {
        max-width: 100%;
        font-size: 14px;
    }

    /* Convert sticky philosophy to block element on mobile */
    .philosophy-sticky {
        position: relative;
        top: auto;
        height: auto;
        padding: 60px 0 0;
    }

    .who-we-are-philosophy {
        min-height: auto;
        padding-left: 10px;
        padding-right: 10px;
    }

    .who-we-are-philosophy .philosophy-content {
        gap: 18px;
    }

    .who-we-are-philosophy .section-description p {
        font-size: 15px;
    }
}

/* capabilities-section  */

.capabilities-section {
    width: 100%;
    background-color: var(--color-white);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-head .section-title {
    display: block;
    margin-bottom: 12px;
}

.section-head .section-heading {
    text-align: center;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 0px 5px;
}

.cap-card {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.cap-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.cap-card:hover img {
    transform: scale(1.05);
}

.cap-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(0deg, rgba(20, 19, 17, 0.85) 0%, rgba(20, 19, 17, 0.05) 55%, transparent 75%);
}

.cap-num {
    margin: 0 0 8px;
    font-family: monospace;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
}

.cap-card h3 {
    margin: 0 0 8px;
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-white);
}

.cap-card p:not(.cap-num) {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1024px) {
    .cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .section-head {
        margin-bottom: 30px;
    }

    .cap-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cap-card {
        aspect-ratio: 4 / 5;
    }

    .cap-overlay {
        padding: 20px;
    }

    .cap-card h3 {
        font-size: 18px;
    }
}

.why-choose-section {
    background-color: #faf9f6;
}

.why-grid {
    max-width: 1100px;
    margin: 44px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
}

.why-item {
    position: relative;
}

.why-item img {
    width: 80px;
    margin-bottom: 15px;
}

.why-item .why-num {
    font-family: monospace;
    font-size: 20px;
    letter-spacing: 0.08em;
    color: #e05a2b5c;
    margin: 0 0 14px;
    position: absolute;
    right: 20px;
    top: 10px;
}

.why-item h3 {
    font-weight: 500;
    font-size: 22px;
    margin: 0 0 10px;
}

.why-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-black);
    margin: 0;
}


/* ===== Leadership Grid Section ===== */
.leadership-section {
    position: relative;
    background: #ffffff;
}

.leadership-grid {
    display: grid;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

/* Team + Advisors: 3 columns on desktop */
.leadership-grid--team,
.leadership-grid--advisors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Advisors: only 2 members -> center them */
.leadership-grid--advisors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
}

/* Center the two advisor cards within the 3-col grid */
.leadership-grid--advisors .leadership-card:first-child {
    grid-column: 1 / 2;
}

.leadership-grid--advisors .leadership-card:last-child {
    grid-column: 2 / 3;
}

/* Better: use a dedicated 2-col centered layout */
@media (min-width: 1024px) {
    .leadership-grid--advisors {
        grid-template-columns: repeat(3, minmax(0, 420px));
        justify-content: center;
    }

    .leadership-grid--advisors .leadership-card:first-child,
    .leadership-grid--advisors .leadership-card:last-child {
        grid-column: auto;
    }
}

.leadership-advisor-head {
    margin-top: 5rem;
}

/* ===== Card ===== */
.leadership-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.leadership-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.leadership-card .photo {
    width: 100%;
    aspect-ratio: 5/4;
    overflow: hidden;
    background: #f4f4f4;
}

.leadership-card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.leadership-card:hover .photo img {
    transform: scale(1.04);
}

.leadership-card .text {
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.leadership-card .leader-name {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

.leadership-card .section-description p {
    line-height: 1.65;
    margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {

    .leadership-grid--team,
    .leadership-grid--advisors {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {

    .leadership-grid--team,
    .leadership-grid--advisors {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .leadership-grid--advisors .leadership-card:first-child,
    .leadership-grid--advisors .leadership-card:last-child {
        grid-column: auto;
    }
}

/* ========================================
   ANIMATION KEYFRAMES
======================================== */

/* Image zoom & fade-in */
@keyframes mobilePhotoReveal {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Text slide-up & fade-in */
@keyframes mobileTextReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* services page  */

.pillnav-wrap {
    position: sticky;
    top: 80px;
    z-index: 29;
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pillnav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px 48px;
    scrollbar-width: none;
}

.pillnav::-webkit-scrollbar {
    display: none;
}

.pillnav a {
    flex: 0 0 auto;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--color-gray-text);
    border-radius: 999px;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
    white-space: nowrap;
}

.pillnav a.active {
    color: #fff;
    background: var(--color-dark-bg);
    border-color: var(--color-border-light);
}

/* =========================
   ENGINEERING DESIGN SECTION
========================= */
#industrial-design,
#engg-design,
#advance-engineering {
    padding: 55px 30px 5px;
    border-bottom: 1px solid #dcdee4;
}

#engg-design:last-of-type {
    border-bottom: none;
}

/* Section Heading */
.engg-design-head {
    max-width: 760px;
    margin: 0 0 44px;
}

.engg-design-number {
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin: 0 0 14px;
}

.engg-design-tagline {
    font-weight: 500;
    font-size: 17px;
    margin-top: 20px;
    max-width: 600px;
}

/* Cards Grid */
.engg-design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 4px;
    padding-bottom: 88px;
}

/* Individual Card */
.engg-design-card {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.engg-design-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.1) brightness(0.68);
    transition: transform 0.7s ease;
}

.engg-design-card:hover img {
    transform: scale(1.05);
}

/* Dark Overlay */
.engg-design-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20, 18, 17, 0.85) 0%, rgba(20, 19, 17, 0.05) 55%, transparent 75%);

    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    transition: background 0.5s ease;
}

/* Number */
.engg-design-card-number {
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin: 0 0 8px;
}

/* Card Title */
.engg-design-card h3 {
    font-weight: 700;
    font-size: 19px;
    color: #fff;
    margin: 0 0 8px;
}

/* Text Wrapper */
.engg-design-text-wrap {
    overflow: hidden;
    max-height: 60px;
    transition: max-height 0.7s ease-in-out;
}

.engg-design-text-wrap ul {
    margin-top: 15px;
}

.engg-design-text-wrap ul li {
    font-size: 14px;
    color: var(--color-white);
}

/* Description */
.engg-design-card-text {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.914);
    margin: 0;

    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.engg-design-card-text::-webkit-scrollbar {
    display: none;
}

/* Hover Effect */

.engg-design-card:hover .engg-design-text-wrap {
    max-height: 300px;
}

.engg-design-card:hover .engg-design-card-text {
    transform: translateY(-4px);
    max-height: 100%;
    color: #fff;
}

@media (max-width: 1100px) {
    .engg-design-grid {
        padding-bottom: 70px;
    }
}

@media (max-width: 900px) {
    .engg-design-grid {
        padding-bottom: 50px;
    }
}

/* ================================
   Mobile: Content Below Image
================================ */

@media (max-width: 767px) {
    .engg-design-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 50px;
    }

    .engg-design-card {
        aspect-ratio: auto;
        overflow: visible;
        background: #1a1a1a;
    }

    /* Image area */
    .engg-design-card>img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
        object-fit: cover;
    }

    /* Overlay only covers the image */
    .engg-design-overlay {
        position: relative;
        display: block;
        padding: 20px;
        background: #1a1a1a;
    }

    /* Number */
    .engg-design-card-number {
        font-size: 13px;
        margin-bottom: 8px;
    }

    /* Title */
    .engg-design-card h3 {
        font-size: 20px;
        margin-bottom: 14px;
    }

    /* Description always fully visible */
    .engg-design-text-wrap {
        max-height: none;
        overflow: visible;
    }

    .engg-design-card-text {
        font-size: 14px;
        line-height: 1.6;
        overflow: visible;
        max-height: none;
        color: rgba(255, 255, 255, 0.85);
    }

    /* Disable desktop hover expansion */
    .engg-design-card:hover .engg-design-text-wrap {
        max-height: none;
    }

    .engg-design-card:hover .engg-design-card-text {
        transform: none;
        max-height: none;
    }

    #engg-design,
    #advance-engineering {
        padding: 55px 20px 5px;
        border-bottom: 1px solid #dcdee4;
    }
}

.design-grid6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .design-grid6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .design-grid6 {
        grid-template-columns: 1fr;
    }
}

/* smart manufacturing */

.smart-manufacturing-section {
    padding: 80px 30px;
    background: var(--color-white);
    background-color: #fffcf9;
    border-bottom: 1px solid #dcdee4;
}

.smart-manufacturing-card {
    position: relative;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 35px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 0;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.04),
        0 30px 70px rgba(0, 0, 0, 0.06);

    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.smart-manufacturing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background: var(--color-primary);
}

.smart-manufacturing-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.06),
        0 40px 80px rgba(0, 0, 0, 0.08);
}

.smart-manufacturing-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    margin: 0 auto 44px;
}

.smart-manufacturing-title-area {
    max-width: 700px;
}

.smart-manufacturing-number {
    margin: 0 0 14px;
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 0.12em;
    color: var(--color-primary);
}

.smart-manufacturing-tagline {
    max-width: 600px;
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 500;
    position: relative;
    z-index: 999;
}

/* ---------- Main Layout ---------- */

.smart-manufacturing-layout {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    overflow: hidden;
    align-items: center;
}

/* ---------- Image ---------- */

.smart-manufacturing-visual {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.smart-manufacturing-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    transform: scale(1.05);
}

.smart-manufacturing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
}

.smart-manufacturing-tagline {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 25px;
    margin: 0;
    z-index: 2;

    color: #fff;
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.6;
    font-weight: 400;
    max-width: 650px;
}

/* ---------- Content ---------- */

.smart-manufacturing-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    background: var(--color-white);
}

.smart-manufacturing-content-top {
    width: 100%;
}

.smart-manufacturing-content p {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.85;
}

.smart-manufacturing-content p:last-child {
    margin-bottom: 0;
}

.mechatronics-content-top ul,
.smart-manufacturing-content-top ul {
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.mechatronics-content-top ul li,
.smart-manufacturing-content-top ul li {
    position: relative;
}

.mechatronics-content-top ul li::before,
.smart-manufacturing-content-top ul li::before {
    content: "";
    position: absolute;
    background-color: var(--color-primary);
    height: 8px;
    width: 8px;
    border-radius: 50%;
    left: -15px;
    top: 7px;
}

.smart-manufacturing-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.smart-manufacturing-link-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding-bottom: 4px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 20px;
    line-height: 1;
    transition: var(--transition-smooth);
}

.smart-manufacturing-link:hover {
    color: var(--color-primary-hover);
}

.smart-manufacturing-link:hover .smart-manufacturing-link-arrow {
    transform: translateX(6px);
    background: var(--color-primary-hover);
}

/* =========================================================
   LAPTOP
   Image TOP + Content BOTTOM
========================================================= */

@media (max-width: 1100px) {
    .smart-manufacturing-section {
        padding: 60px 30px;
    }

    .smart-manufacturing-header {
        gap: 35px;
    }

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

    .smart-manufacturing-visual {
        width: 100%;
        min-height: 0;
    }

    .smart-manufacturing-visual img {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .smart-manufacturing-content {
        padding: 25px 0px;
    }
}

/* =========================================================
   TABLET
   Image TOP + Content BOTTOM
========================================================= */

@media (max-width: 900px) {
    .smart-manufacturing-section {
        padding: 50px 30px;
    }

    .smart-manufacturing-card {
        padding: 25px;
    }

    .smart-manufacturing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .smart-manufacturing-tagline {
        max-width: 650px;
    }

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

    .smart-manufacturing-visual img {
        aspect-ratio: 16 / 9;
    }
}

/* =========================================================
   MOBILE
   Image TOP + Content BOTTOM
========================================================= */

@media (max-width: 600px) {
    .smart-manufacturing-section {
        padding: 40px 20px;
    }

    .smart-manufacturing-card {
        padding: 20px;
    }

    .smart-manufacturing-header {
        margin-bottom: 30px;
    }

    .smart-manufacturing-number {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .smart-manufacturing-tagline {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.65;
    }

    .smart-manufacturing-visual {
        width: 100%;
    }

    .smart-manufacturing-visual img {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        transform: none;
    }

    .smart-manufacturing-content p {
        font-size: 14px;
        line-height: 1.75;
    }

    .smart-manufacturing-content-bottom {
        margin-top: 15px;
        padding-top: 20px;
    }

    .smart-manufacturing-link {
        gap: 13px;
        font-size: 13px;
    }

    .smart-manufacturing-link-arrow {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

/* MECHATRONICS */
.mechatronics-section {
    padding: 80px 30px;
    background: var(--color-white);
    background-color: #f9feff;
    border-bottom: 1px solid #dcdee4;
}

.mechatronics-card {
    position: relative;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 35px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 0;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.04),
        0 30px 70px rgba(0, 0, 0, 0.06);

    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.mechatronics-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background: var(--color-primary);
}

.mechatronics-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.06),
        0 40px 80px rgba(0, 0, 0, 0.08);
}

.mechatronics-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
}

.mechatronics-title-area {
    max-width: 700px;
}

.mechatronics-number {
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    margin: 0 0 14px;
}

.mechatronics-tagline {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 25px;
    margin: 0;
    z-index: 2;
    color: #fff;
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.6;
    font-weight: 400;
    max-width: 650px;
}

/* =========================================
   PC
   CONTENT LEFT | IMAGE RIGHT
========================================= */

.mechatronics-layout {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.6fr 0.4fr;
    overflow: hidden;
}

.mechatronics-content {
    order: 1;
}

.mechatronics-visual {
    order: 2;
}

/* IMAGE */

.mechatronics-visual {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.mechatronics-visual img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
}

.mechatronics-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
}

/* CONTENT */

.mechatronics-content {
    padding: 15px 25px 25px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--color-white);
}

.mechatronics-content-top {
    width: 100%;
}

.mechatronics-content p {
    font-size: 16px;
    line-height: 1.85;
    margin: 0 0 10px;
}

/* LINK */

.mechatronics-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.mechatronics-link-arrow {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 20px;
    line-height: 1;
    padding: 0 0 4px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.mechatronics-link:hover {
    color: var(--color-primary-hover);
}

.mechatronics-link:hover .mechatronics-link-arrow {
    transform: translateX(6px);
    background: var(--color-primary-hover);
}

/* =========================================
   LAPTOP
   IMAGE TOP | CONTENT BOTTOM
========================================= */

@media (max-width: 1100px) {
    .mechatronics-section {
        padding: 60px 30px;
    }

    .smart-manufacturing-content {
        padding: 25px 0px;
    }

    .mechatronics-header {
        gap: 35px;
        margin: 0 auto 44px;
    }

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

    /* IMAGE FIRST */
    .mechatronics-visual {
        order: 1;
    }

    /* CONTENT SECOND */
    .mechatronics-content {
        order: 2;
    }

    .mechatronics-visual {
        height: auto;
    }

    .mechatronics-visual img {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
}

/* =========================================
   TABLET
   IMAGE TOP | CONTENT BOTTOM
========================================= */

@media (max-width: 900px) {
    .mechatronics-section {
        padding: 50px 30px;
    }

    .mechatronics-card {
        padding: 25px;
    }

    .mechatronics-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .mechatronics-tagline {
        max-width: 650px;
    }

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

    .mechatronics-visual img {
        aspect-ratio: 16 / 9;
    }
}

/* =========================================
   MOBILE
   IMAGE TOP | CONTENT BOTTOM
========================================= */

@media (max-width: 600px) {
    .mechatronics-section {
        padding: 40px 20px;
    }

    .mechatronics-card {
        padding: 20px;
    }

    .mechatronics-header {
        margin-bottom: 30px;
    }

    .mechatronics-number {
        font-size: 12px;
    }

    .mechatronics-tagline {
        font-size: 15px;
        line-height: 1.65;
    }

    .mechatronics-visual {
        width: 100%;
    }

    .mechatronics-visual img {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        transform: none;
    }

    .mechatronics-content {
        padding: 25px 0px;
    }

    .mechatronics-content p {
        font-size: 14px;
        line-height: 1.75;
    }

    .mechatronics-link {
        gap: 13px;
        font-size: 13px;
    }

    .mechatronics-link-arrow {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }
}

/* =========================================
   INDUSTRIES WE SERVE
========================================= */

.industries-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* SECTION HEADING */

.industries-heading {
    padding-top: 80px;
    padding-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.industries-heading-content {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.industries-drag-hint {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-gray-text);
}

/* =========================================
   SLIDER
========================================= */

.industries-slider-wrap {
    width: 100vw;
    position: relative;
    overflow: hidden;
    padding-top: 44px;
    padding-bottom: 24px;
}

.industries-slider {
    display: flex;
    gap: 24px;
    width: max-content;
    padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    overflow-x: visible !important;
    touch-action: pan-y;
    cursor: default;
}

/* =========================================
   INDUSTRY CARD
========================================= */

.industries-card {
    position: relative;
    flex: 0 0 auto;
    width: min(72vw, 760px);
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.industries-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(0.15) brightness(0.68);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.industries-card:hover img {
    transform: scale(1.05);
}

/* Card Overlay */

.industries-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    background: linear-gradient(0deg, rgba(20, 19, 17, 0.88) 0%, rgba(20, 19, 17, 0.25) 55%, rgba(20, 19, 17, 0) 78%);
}

.industries-card-number {
    margin: 0 0 12px;
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--color-primary);
}

.industries-card-title {
    margin: 0 0 10px;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.industries-card-description {
    max-width: 420px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-white);
}

.industries-card-overlay ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
}

.industries-card-overlay ul li {
    color: var(--color-white);
    position: relative;
    padding-left: 15px;
    font-size: 14px;
}

.industries-card-overlay ul li:before {
    background-color: var(--color-white);
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    left: 0;
    top: 7px;
}

/* =========================================
   NAVIGATION
========================================= */

.industries-navigation {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 30px;
}

/* Dots */

.industries-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.industries-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-light-gray);
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.industries-dot.is-active {
    background: var(--color-primary);
    transform: scale(1.45);
}

/* Arrows */

.industries-arrows {
    display: flex;
    gap: 8px;
}

.industries-arrow {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--color-light-gray);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.industries-arrow:hover {
    border-color: var(--color-primary);
    background: #faf9f6;
}

.industries-arrow:active {
    transform: scale(0.94);
}

.industries-arrow svg {
    width: 18px;
    height: 18px;
}

/* =========================================
   RESPONSIVE — Tablet (<= 1279px)
========================================= */

@media (max-width: 1279px) {
    .industries-section {
        padding-top: 50px;
    }

    .industries-heading {
        padding-top: 60px;
    }

    .industries-card {
        width: min(78vw, 700px);
    }
}

/* =========================================
   RESPONSIVE — Mobile Stack (< 768px)
========================================= */

@media (max-width: 767px) {
    .industries-section {
        padding-top: 100px;
    }

    .industries-heading {
        padding-top: 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Stack slider vertically */
    .industries-slider-wrap {
        width: 100%;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .industries-slider {
        flex-direction: column;
        gap: 28px;
        width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        transform: none !important;
    }

    .industries-card {
        width: 100% !important;
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        background: #141311;
        border-radius: 8px;
        overflow: hidden;
    }

    .industries-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    /* Overlay becomes static content below image */
    .industries-card-overlay {
        position: relative;
        inset: auto;
        padding: 20px;
        background: #141311;
    }

    /* List always visible on mobile */
    .industries-card-overlay ul {
        margin-top: 12px;
        max-height: none !important;
        opacity: 1 !important;
        transform: none !important;
        overflow: visible !important;
    }

    .industries-card-title {
        font-size: 20px;
    }

    /* Hide slider controls on mobile */
    .industries-navigation,
    .industries-drag-hint {
        display: none !important;
    }
}

/* =========================================
   RESPONSIVE — Small Mobile (<= 480px)
========================================= */

@media (max-width: 480px) {
    .industries-heading {
        padding-top: 30px;
    }

    .industries-slider-wrap {
        padding-top: 30px;
    }

    .industries-card {
        width: 86vw;
        aspect-ratio: 4 / 5;
    }

    .industries-card-overlay {
        padding: 20px;
    }

    .industries-card-number {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .industries-card-description {
        font-size: 13px;
    }

    .industries-navigation {
        padding-bottom: 20px;
    }

    .industries-arrow {
        width: 40px;
        height: 40px;
    }
}

/* =========================================
   DESKTOP HOVER SLIDE-UP ANIMATION (>= 768px)
========================================= */

@media (min-width: 768px) {
    .industries-card-overlay {
        background: linear-gradient(0deg, rgba(20, 19, 17, 0.92) 0%, rgba(20, 19, 17, 0.35) 50%, rgba(20, 19, 17, 0) 80%);
        transition: background 0.4s ease;
    }

    /* Hidden list — reveals on hover */
    .industries-card-overlay ul {
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        line-height: 0;
        font-size: 0;
        pointer-events: none;
        will-change: transform, opacity, line-height;
        transition:
            opacity 0.35s ease,
            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            line-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            font-size 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            margin-top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0.4s step-end;
    }

    .industries-card:hover .industries-card-overlay {
        background: linear-gradient(0deg, rgba(20, 19, 17, 0.98) 0%, rgba(20, 19, 17, 0.75) 65%, rgba(20, 19, 17, 0.2) 100%);
    }

    .industries-card:hover .industries-card-overlay ul {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        margin-top: 12px;
        line-height: 1.5;
        font-size: 14px;
        transition:
            opacity 0.4s ease 0.05s,
            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            line-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            font-size 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            margin-top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0s step-start;
    }
}

/* Hide Google reCAPTCHA Enterprise badge */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}