/* =====================================================
   HOME THEME (Home2.css) - FULL REPLACE VERSION
   Fixes: hero alignment, mobile nav, industries card
   alignment, topbar, footer, tablet/mobile responsive
   ===================================================== */

/* ---------- Base safety ---------- */
html {
    scrollbar-width: thin;
    scrollbar-color: #2f6fed #eaf1fb;
}

html.lenis,
html.lenis body {
    scroll-behavior: auto !important;
}

body {
    overflow-x: clip;
}

section[id] {
    scroll-margin-top: 90px;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #eaf1fb;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #65e6f4 0%, #2f6fed 55%, #10346a 100%);
    border-radius: 10px;
    border: 2px solid #eaf1fb;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #19b8a5 0%, #1e59d4 60%, #0b1930 100%);
}

/* ---------- Scroll progress bar (top) ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 9999;
    background: transparent;
    pointer-events: none;
}

.scroll-progress__bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #65e6f4, #2f6fed, #10346a);
    transform: scaleX(0);
    transform-origin: left center;
    box-shadow: 0 0 10px #65e6f4aa;
}

:root {
    --red: #f01f1f;
    --red-dark: #cf1414;
    --sky: #eaf3ff;
    --light: #f4f8fd;
    --line: #e1e8f2;
    --header-h: 83px;
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--navy);
    color: #dbe6f7;
}

.topbar a {
    color: #fff;
}

.topbar a:hover {
    color: #7eabff;
}

.topbar-inner {
    align-items: center;
}

.top-details {
    width: 100%;
    max-width: 650px;
    min-width: 0;
    flex: 1 1 auto;
    flex-wrap: nowrap;
}

.contact-marquee-group {
    min-width: 700px;
    justify-content: space-around;
}

.tvr-tagline {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    white-space: nowrap;
    font-size: .78rem;
}

.tagline-item {
    display: inline-block;
}

.tagline-divider {
    color: #7eabff;
    font-family: inherit;
}

@media (max-width: 900px) {
    .tvr-tagline {
        display: none;
    }
}

@media (max-width: 760px) {
    .topbar-inner {
        justify-content: center;
        padding: 7px 0;
    }

    .top-details {
        max-width: 100%;
        width: 100% !important;
    }

    .contact-marquee-group {
        min-width: 100vw;
    }
}

/* ---------- Navbar ---------- */
.navbar {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 4px 18px rgba(14, 31, 57, .05);
}

.nav-links a {
    color: var(--navy);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
}

.nav-links a.active {
    position: relative;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--blue);
}

.brand img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Footer logo style  */
.footer-brand img {
    height: 95px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* ---------- Products dropdown (desktop) ---------- */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.has-dropdown__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 30px 0;
}

.has-dropdown__link i {
    font-size: .6rem;
    transition: transform .25s ease;
}

.nav-links .dropdown {
    position: absolute;
    top: 100%;
    left: -18px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    min-width: 310px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e5ebf3;
    border-top: 3px solid #2f6fed;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 18px 40px #0b193026;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.nav-links .dropdown a {
    padding: 10px 14px;
    border-radius: 6px;
    color: #182338;
    font-size: .86rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
}

.nav-links .dropdown a:hover,
.nav-links .dropdown a:focus-visible {
    background: #f1f4f9;
    color: var(--blue);
    padding-left: 20px;
    outline: none;
}

@media (min-width: 992px) {

    .nav-item:hover>.dropdown,
    .nav-item:focus-within>.dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-item:hover .has-dropdown__link,
    .nav-item:focus-within .has-dropdown__link {
        color: var(--blue);
    }

    .nav-item:hover .has-dropdown__link i,
    .nav-item:focus-within .has-dropdown__link i {
        transform: rotate(180deg);
    }
}

/* ---------- Mobile / tablet navigation (<= 991px) ---------- */
@media (max-width: 991px) {
    .nav-inner {
        min-height: 72px;
    }

    .brand img {
        height: 52px;
    }

    .menu-toggle {
        display: block;
        line-height: 1;
        padding: 6px 8px;
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 22px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 25px rgba(11, 25, 48, .09);
        max-height: calc(100vh - 90px);
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links>a,
    .has-dropdown__link {
        padding: 13px 0;
        border-bottom: 1px solid #eef1f5;
        font-size: .95rem;
    }

    .nav-links a.active::after {
        display: none;
    }

    .nav-item {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .has-dropdown__link {
        width: 100%;
        justify-content: space-between;
    }

    .nav-links .dropdown {
        position: static;
        min-width: 0;
        width: 100%;
        max-height: 0;
        padding: 0 0 0 12px;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height .35s ease, padding .35s ease;
    }

    .nav-links .dropdown a {
        padding: 10px 8px;
        border-bottom: 0;
        white-space: normal;
        font-size: .9rem;
    }

    .nav-links .dropdown a:hover,
    .nav-links .dropdown a:focus-visible {
        padding-left: 8px;
    }

    .nav-item.is-open>.dropdown {
        max-height: 600px;
        padding: 6px 0 6px 12px;
    }

    .nav-item.is-open .has-dropdown__link i {
        transform: rotate(180deg);
    }
}

/* ---------- Buttons ---------- */
.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 22px rgba(47, 111, 237, .25);
}

.btn-primary:hover {
    background: #1e59d4;
    transform: translateY(-2px);
}

.btn-outline {
    background: #fff;
    color: var(--navy);
    border: 1.5px solid #cfdcef;
    box-shadow: 0 8px 20px rgba(14, 31, 57, .06);
}

.btn-outline:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.eyebrow {
    color: var(--blue);
}

.eyebrow::before {
    background: var(--blue);
    flex: none;
}


/* ============================
   HERO SECTION
   Slides 1-3: left text / right 66% image with fade
   Slide 4: full banner image (no fade)
============================ */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: var(--navy);
    background: linear-gradient(100deg, #ffffff 0%, #f4f8ff 38%, #cfe6ff 100%);
}

.hero::before,
.hero::after {
    display: none;
}

/* Container: full area, mask illa (mask ovvoru image-layum irukku) */
.hero-bgs {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* Normal slides: right 66% + fade */
.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 66%;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity .7s ease;
    -webkit-mask-image: linear-gradient(100deg, transparent 0%, transparent 8%, #000 50%);
            mask-image: linear-gradient(100deg, transparent 0%, transparent 8%, #000 50%);
}

.hero-bg.active {
    opacity: 1;
}

/* 4th slide: full width, fade illa */
.hero-bg--full {
    left: 0;
    width: 100%;
    background-size: contain; /* illa cover */
    background-position: center;
    background-repeat: no-repeat;
    -webkit-mask-image: none;
            mask-image: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Slides: all stacked in one grid cell */
.hero-slides {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    align-items: start;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.hero-slides:active {
    cursor: grabbing;
}

.hero-slides .btn,
.hero-slides a {
    cursor: pointer;
}

/* Left content: 46% */
.hero .hero-slide {
    grid-area: 1 / 1;
    min-width: 0;
    align-self: start;
    max-width: 46%;
    padding: 56px 0 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .45s ease, transform .45s ease, visibility .45s ease;
}

.hero .hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #4a5b78;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .2em;
    line-height: 1.5;
    text-transform: uppercase;
}

.hero .eyebrow::before {
    content: "";
    width: 38px;
    height: 2px;
    background: var(--blue);
}

.hero h1 {
    margin: 22px 0 20px;
    color: #0b3a9c;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 3.3vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -.03em;
    font-weight: 800;
    text-transform: none;
}

.hero h1 span {
    color: var(--blue);
}

.hero-copy {
    max-width: 520px;
    margin: 0;
    color: #55637d;
    font-size: .95rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1;
}

.hero .btn-primary {
    background: #1a73e8;
    color: #fff;
    border: 0;
    box-shadow: 0 10px 22px rgba(26, 115, 232, .3);
}

.hero .btn-primary:hover {
    transform: translateY(-2px);
}

.hero .btn-outline {
    background: #fff;
    color: var(--navy);
    border: 1px solid #dbe5f5;
    box-shadow: 0 4px 12px rgba(11, 31, 59, .05);
}

.hero .btn-outline:hover {
    border-color: var(--blue);
    color: var(--navy);
    background: #fff;
}

/* Category icon row */
.hero-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 0;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.hero-cats li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px;
    border-right: 1px solid #d5e0f2;
}

.hero-cats li:first-child {
    padding-left: 0;
}

.hero-cats li:last-child {
    border-right: 0;
}

.hero-cats i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e8effc;
}

.hero-cats svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: var(--navy);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-cats p {
    margin: 0;
    line-height: 1.45;
}

.hero-cats strong {
    display: block;
    color: var(--navy);
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}

.hero-cats span {
    color: #7a879d;
    font-size: .78rem;
}

/* Slide controls */
.hero-controls {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(1160px, calc(100% - 44px));
    margin-inline: auto;
    min-height: 42px;
    padding: 0 0 14px;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(11, 31, 59, .3);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.hero-dots button.active {
    width: 24px;
    background: var(--blue);
}

.hero-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 1px solid rgba(11, 25, 48, .5);
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    color: var(--navy);
    font-size: .72rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.hero-arrow:hover {
    background: var(--navy);
    color: #fff;
}

/* Bottom stats */
.hero-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-bottom .stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-bottom .stat {
    min-width: 0;
    padding: 16px 12px 17px 0;
}

.hero-bottom .stat strong {
    display: block;
    color: var(--navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
    font-weight: 800;
    line-height: 1.35;
}

.hero-bottom .stat span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.5;
}

/* ---------- Tablet (<=1100px) ---------- */
@media (max-width: 1100px) {
    .hero .hero-slide {
        max-width: 54%;
    }

    .hero-cats li {
        padding: 0 12px;
    }

    .hero-cats i {
        width: 40px;
        height: 40px;
    }
}

/* ---------- Tablet / Mobile (<=900px): image top, bottom fade ---------- */
@media (max-width: 900px) {
    .hero-bgs {
        position: relative;
        inset: auto;
        width: 100%;
        height: 240px;
        z-index: 0;
    }

    .hero-bg {
        left: 0;
        width: 100%;
        -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
                mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
    }

    /* 4th slide: mobile-la full image theriyum, fade illa */
    .hero-bg--full {
        background-size: contain;
        -webkit-mask-image: none;
                mask-image: none;
    }

    .hero .hero-slide {
        max-width: 100%;
        padding: 24px 0 12px;
    }

    .hero-copy {
        max-width: 560px;
    }

    .hero-cats {
        gap: 14px 0;
    }

    .hero-cats li {
        border-right: 0;
        padding: 0 22px 0 0;
    }

    .hero-bottom .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Mobile (<=600px) ---------- */
@media (max-width: 600px) {
    .hero-bgs {
        height: 200px;
    }

    .hero-controls {
        width: calc(100% - 32px);
        gap: 9px;
        min-height: 40px;
        padding-bottom: 10px;
    }

    .hero .hero-slide {
        padding: 20px 0 8px;
    }

    .hero .eyebrow {
        font-size: .62rem;
        letter-spacing: .1em;
        gap: 10px;
    }

    .hero .eyebrow::before {
        width: 24px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.3rem);
        margin: 16px 0 14px;
    }

    .hero-copy {
        font-size: .86rem;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 20px;
    }

    .hero .btn {
        min-height: 48px;
        padding: 0 18px;
        font-size: .84rem;
    }

    .hero-cats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 8px;
        margin-top: 26px;
    }

    .hero-cats li {
        padding: 0;
        min-width: 0;
    }

    .hero-cats i {
        width: 40px;
        height: 40px;
    }

    .hero-cats strong {
        white-space: normal;
        font-size: .76rem;
    }

    .hero-cats span {
        font-size: .72rem;
    }

    .hero-arrow {
        width: 30px;
        height: 30px;
    }

    .hero-bottom .stat {
        padding: 12px 8px 12px 0;
    }

    .hero-bottom .stat strong {
        font-size: 1.05rem;
    }

    .hero-bottom .stat span {
        font-size: .68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg,
    .hero .hero-slide,
    .hero-dots button {
        transition: none;
    }
}

/* ---------- Section spacing ---------- */
@media (max-width: 760px) {
    .section {
        padding: 60px 0;
    }

    .section-head {
        margin-bottom: 28px;
    }

    .section-head h2 {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }
}

/* ---------- About slide ---------- */
.hero .hero-slide--about h1 {
    font-size: clamp(1.7rem, 2.8vw, 2.6rem);
}

.hero-benefits {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.35;
}

.hero-check {
    flex: none;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #dcebff;
    color: var(--blue);
    font-size: .8rem;
}

@media (max-width: 600px) {
    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }
}
/* ---------- Cards ---------- */
.category-card,
.industry,
.quality-point {
    border: 1px solid var(--line);
    box-shadow: 0 6px 20px rgba(14, 31, 57, .04);
}

.category-card:hover,
.industry:hover {
    border-color: #b9d0f7;
    box-shadow: 0 18px 40px rgba(47, 111, 237, .12);
}

.category-icon {
    background: #e6f0ff;
    color: var(--blue);
}

/* ---------- Categories slider ---------- */
.category-slider {
    --card-w: 360px;
    --card-gap: 20px;
    overflow: hidden;
    padding: 20px 0 30px;
    margin: -20px 0 -30px;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.category-slider.is-dragging {
    cursor: grabbing;
}

.category-grid {
    display: flex;
    gap: 0;
    width: max-content;
    will-change: transform;
}

.category-card {
    flex: 0 0 var(--card-w);
    width: var(--card-w);
    margin-right: var(--card-gap);
}

.category-card img,
.category-card a {
    -webkit-user-drag: none;
}

@media (max-width: 640px) {
    .category-slider {
        --card-w: 280px;
        --card-gap: 16px;
    }

    .category-image {
        height: 180px;
    }

    .category-body {
        padding: 18px 18px 22px;
    }

    .category-body p {
        min-height: 0;
    }
}

@media (max-width: 380px) {
    .category-slider {
        --card-w: 250px;
    }
}

/* ---------- About ---------- */
.sourcing {
    background: var(--sky);
    overflow: hidden;
}

.photo-note {
    background: #fff;
    color: var(--navy);
    border-left: 4px solid var(--blue);
    box-shadow: 0 18px 40px rgba(14, 31, 57, .14);
}

.photo-note span {
    color: var(--muted);
}

.check {
    background: #dcebff;
    color: var(--blue);
}

@media (max-width: 1000px) {
    .photo-note {
        right: 14px;
    }
}

@media (max-width: 900px) {
    .sourcing-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sourcing-photo,
    .sourcing-photo>img {
        min-height: 340px;
        height: 340px;
    }

    .photo-note {
        display: block;
        left: 14px;
        right: 14px;
        bottom: 14px;
        max-width: none;
        padding: 14px 16px;
    }
}

/* ---------- Mission & Vision (About page) ---------- */
.mv {
    --mv-navy: #0b2545;
    --mv-blue: #1f7ae0;
    --mv-red: #e5383b;
    --mv-text: #4a6580;
    --mv-line: #d6e6f5;
}

.mv__box {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    padding: clamp(1.8rem, 5vw, 3.5rem);
    border: 1px solid var(--mv-line);
    border-radius: 22px;
    background: linear-gradient(135deg, #e8f4ff, #f8fcff);
    box-shadow: 0 14px 34px rgba(31, 95, 158, .10);
    color: var(--mv-navy);
}

.mv__box::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: 34px 34px;
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
    pointer-events: none;
}

.mv__box>* {
    position: relative;
}

.mv__tabs {
    display: inline-flex;
    padding: 5px;
    margin-bottom: 2rem;
    border: 1px solid var(--mv-line);
    border-radius: 999px;
    background: #fff;
}

.mv__tab {
    font: inherit;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    color: var(--mv-text);
    background: transparent;
    padding: .65rem 1.5rem;
    border-radius: 999px;
    transition: background .25s, color .25s, box-shadow .25s;
}

.mv__tab:hover {
    color: var(--mv-blue);
}

.mv__tab.is-active {
    background: var(--mv-blue);
    color: #fff;
    box-shadow: 0 8px 18px rgba(31, 122, 224, .30);
}

.mv__tab:focus-visible {
    outline: 3px solid var(--mv-blue);
    outline-offset: 3px;
}

.mv__pane {
    display: none;
}

.mv__pane.is-active {
    display: block;
    animation: mvSwap .4s ease;
}

@keyframes mvSwap {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

.mv__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--mv-blue);
    font-family: 'Manrope', sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mv__label::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--mv-red);
}

.mv__statement {
    max-width: 30ch;
    margin: 0;
    color: var(--mv-navy);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.02em;
}

#mv-pane-mission .mv__statement {
    max-width: 52ch;
    font-size: clamp(1.15rem, 2.1vw, 1.65rem);
    font-weight: 700;
    line-height: 1.55;
}

.mv__desc {
    max-width: 68ch;
    margin: 1.2rem 0 0;
    color: var(--mv-text);
    font-size: 1.02rem;
    line-height: 1.8;
}

.mv__points {
    list-style: none;
    padding: 0;
    margin: 1.8rem 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.mv__points li {
    padding: 18px 20px 20px;
    border: 1px solid var(--mv-line);
    border-top: 3px solid var(--mv-blue);
    border-radius: 14px;
    background: rgba(255, 255, 255, .85);
    transition: transform .25s, box-shadow .25s;
}

.mv__points li:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(31, 95, 158, .14);
}

.mv__points strong {
    display: block;
    margin-bottom: 6px;
    color: var(--mv-navy);
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.mv__points span {
    display: block;
    color: var(--mv-text);
    font-size: .9rem;
    line-height: 1.6;
}

@media (max-width: 800px) {
    .mv__box {
        min-height: auto;
    }

    .mv__points {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .mv__pane.is-active,
    .mv__tab,
    .mv__points li {
        animation: none;
        transition: none;
    }
}

/* ---------- Industries: stacking cards (banner style) ---------- */
.industries {
    background: #fff;
}

/* base = mobile / tablet: normal list */
.industry-stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 28px;
}

@media (min-width: 601px) and (max-width: 900px) {
    .industry-stage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.industry {
    --dim: 0;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(100deg, #ffffff 0%, #f4f8ff 38%, #cfe6ff 100%);
    box-shadow: 0 18px 50px rgba(47, 111, 237, .12);
}

.industry:hover {
    transform: none;
}

.industry::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(238, 244, 253, var(--dim));
    pointer-events: none;
    z-index: 5;
}

/* mobile / tablet: image on top, fades at the bottom */
.industry-thumb {
    order: -1;
    height: 260px;
    overflow: hidden;
    background: transparent;
    object-fit: contain;
    aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
}

.industry-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.12);
    transition: none;
    pointer-events: none;
    -webkit-user-drag: none;
}

.industry:hover .industry-thumb img {
    transform: scale(1.12);
}

.industry .industry-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
    height: auto;
    padding: 26px 24px 28px;
    background: transparent;
    color: var(--navy);
}

.industry .industry-body h3 {
    width: 100%;
    margin: 0;
    color: #0b3a9c;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.03em;
    text-align: left;
}

.industry h3::after,
.industry:hover h3::after {
    content: "" !important;
    display: block !important;
    width: 60px;
    height: 4px;
    margin: 16px 0;
    background: #1a5fe0;
    border-radius: 9px;
}

.industry .industry-body p {
    width: 100%;
    max-width: none;
    margin: 0;
    color: #5b6472;
    font-size: .95rem;
    line-height: 1.65;
    text-align: left;
}

/* ---------- Progress ---------- */
.industry-progress {
    display: none;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
}

.industry-count {
    font: 600 .85rem Manrope, sans-serif;
    color: var(--muted);
    min-width: 70px;
}

.industry-count b {
    font-size: 1.4rem;
    color: var(--navy);
}

.industry-bar {
    flex: 1;
    height: 3px;
    background: #e3ebf7;
    border-radius: 9px;
    overflow: hidden;
}

.industry-bar i {
    display: block;
    height: 100%;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
}

/* ---------- Desktop pinned stacking (JS adds .is-pinned) ---------- */
@media (min-width: 901px) {
    .industries.is-pinned {
        padding: 0;
    }

    .industries.is-pinned .industries-pin {
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    .industries.is-pinned .industries-pin>.container {
        width: min(1160px, calc(100% - 44px));
    }

    .industries.is-pinned .section-head {
        margin-bottom: 0;
    }

    .industries.is-pinned .section-head h2 {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        margin: 10px 0 8px;
    }

    .industries.is-pinned .section-head p {
        font-size: .95rem;
    }

    /* card height (decrease 290px for taller, increase if heading/progress gets cut) */
    .industries.is-pinned .industry-stage {
        display: block;
        position: relative;
        height: clamp(340px, calc(100dvh - var(--header-h) - 290px), 560px);
        margin-top: 22px;
    }

    .industries.is-pinned .industry {
        position: absolute;
        inset: 0;
        display: block;
        will-change: transform;
    }

    .industries.is-pinned .industry .industry-body {
        width: 46%;
        height: 100%;
        justify-content: center;
        padding: 32px 48px;
    }

    .industries.is-pinned .industry .industry-body h3 {
        font-size: clamp(2rem, 3.2vw, 2.8rem);
    }

    .industries.is-pinned .industry .industry-body p {
        font-size: 1.05rem;
        max-width: 430px;
    }

    /* image on right, left edge fades at 80deg */
    .industries.is-pinned .industry-thumb {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 66%;
        height: 100%;
        order: 0;
        /* image stays untouched, only the fade (mask) goes at 80deg */
        -webkit-mask-image: linear-gradient(80deg, transparent 0%, transparent 8%, #000 42%);
        mask-image: linear-gradient(80deg, transparent 0%, transparent 8%, #000 42%);
    }

    .industries.is-pinned .industry-thumb img {
        transform: none;
    }

    .industries.is-pinned .industry-progress {
        display: flex;
    }
}

/* ---------- Quality ---------- */
.quality {
    background: #fff;
    color: var(--navy);
}

.quality::before {
    border: 1px solid rgba(47, 111, 237, .14);
    box-shadow: 0 0 0 55px rgba(47, 111, 237, .04), 0 0 0 110px rgba(47, 111, 237, .03);
}

.quality h2 {
    color: var(--navy);
}

.quality-copy {
    color: var(--muted);
}

.quality-point {
    background: var(--light);
}

.quality-point span {
    color: var(--blue);
}

.quality-point strong {
    color: var(--navy);
}

.quality-point p {
    color: var(--muted);
}

.quality-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quality-point {
    margin-bottom: 0;
}

@media (max-width: 900px) {

    .quality-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 560px) {
    .quality-points {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ---------- CTA ---------- */
.cta {
    background: var(--sky);
}

.cta h2 {
    color: var(--navy);
}

@media (max-width: 760px) {
    .cta {
        padding: 20px 0;
    }

    .cta h2{
        font-size: 18px;
    }

    .eyebrow{
        font-size: 1px;
    }

    .cta p{
        font-size: 14px;
    }

    .footer{
        padding: 0px;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .cta .hero-actions {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cta .hero-actions .btn {
        width: 100%;
    }
}

/* ---------- Fixed enquiry bar ---------- */
.fixed-contact-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 998;
    background: #0e5cab;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    transition: width 0.4s ease;
    width: 50px;
}

.fixed-contact-bar a {
    text-decoration: none;
    color: white;
    height: 50px;
}

.fixed-contact-bar:hover {
    width: min(320px, calc(100vw - 20px));
    background: #fff;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    color: white;
    transition: background 0.3s ease, color 0.3s ease;
}

.fixed-contact-bar:hover .contact-item {
    color: #0e5cab;
}

.fixed-contact-bar:hover .contact-item span {
    color: black;
}

.icon {
    min-width: 30px;
    text-align: center;
    font-size: 20px;
}

.contact-infoa {
    opacity: 0;
    white-space: nowrap;
    padding-left: 10px;
    font-size: 15px;
    transition: opacity 0.4s ease;
}

.fixed-contact-bar:hover .contact-infoa {
    opacity: 1;
}

@media (max-width: 640px) {
    .fixed-contact-bar {
        width: 42px;
    }

    .fixed-contact-bar a {
        height: 44px;
    }

    .contact-item {
        padding: 10px 6px;
    }

    .icon {
        font-size: 18px;
    }
}

/* ---------- Footer ---------- */
footer {
    background: var(--light);
    color: var(--ink);
    border-top: 1px solid var(--line);
}

footer .brand-name,
footer h4 {
    color: var(--navy);
}

footer .brand-sub,
.footer-about p,
.footer-links {
    color: var(--muted);
    /* color: var(--navy); */
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    background: var(--navy);
    color: #dbe6f7;
    /* flex-wrap: wrap; */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 0 10px 0;
}

@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-grid>div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    footer {
        padding: 0px 0 0px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 22px;
    }

    .footer-grid>.footer-about,
    .footer-grid>div:last-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Back to top ---------- */
.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: var(--navy, #0b2545);
    box-shadow: 0 0 0 4px rgba(31, 122, 224, .22), 0 10px 24px rgba(11, 37, 69, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: width .3s, border-radius .3s, background-color .3s,
        opacity .3s, visibility .3s, transform .3s;
}

.back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-top__icon {
    width: 12px;
    transition: transform .3s;
}

.back-top__icon path {
    fill: #fff;
}

.back-top::before {
    content: "Back to Top";
    position: absolute;
    bottom: -20px;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 0;
    white-space: nowrap;
}

.back-top:hover,
.back-top:focus-visible {
    width: 140px;
    border-radius: 50px;
    background: var(--blue, #1f7ae0);
}

.back-top:hover .back-top__icon,
.back-top:focus-visible .back-top__icon {
    transform: translateY(-200%);
}

.back-top:hover::before,
.back-top:focus-visible::before {
    font-size: 13px;
    bottom: unset;
}

@media (max-width: 640px) {
    .back-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }

    .back-top:hover,
    .back-top:focus-visible {
        width: 44px;
        border-radius: 50%;
    }

    .back-top:hover .back-top__icon {
        transform: none;
    }

    .back-top:hover::before {
        font-size: 0;
    }
}

/* ========== Nav active indicator ========== */

/* ---------- Normal links (Home, About, Services...): underline ---------- */
.nav-links > a {
    position: relative;
}

.nav-links > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--primary, #e11d48);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.nav-links > a:hover::after,
.nav-links > a.active::after {
    transform: scaleX(1);
}

.nav-links > a.active {
    color: var(--primary, #e11d48);
    font-weight: 600;
}

/* ---------- Products parent: underline illa, color mattum ---------- */
.nav-links > .nav-item.active > a {
    color: var(--primary, #e11d48);
    font-weight: 600;
}

/* Products link + dropdown links: underline vara kudadhu */
.nav-links .has-dropdown__link::after,
.nav-links .dropdown a::after,
.nav-links .dropdown a.active::after,
.nav-links .dropdown a:hover::after {
    content: none !important;
    display: none !important;
}

/* ---------- Dropdown links: left side arrow ---------- */
.nav-links .dropdown a {
    position: relative;
    padding-left: 34px;
    transition: padding-left .25s ease, color .25s ease, background .25s ease;
}

.nav-links .dropdown a:hover,
.nav-links .dropdown a:focus-visible {
    padding-left: 38px;            /* konjam nagarum, arrow-ku idam */
}

.nav-links .dropdown a::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    opacity: 0;
    color: var(--primary, #e11d48);
    transition: opacity .25s ease, transform .25s ease;
}

.nav-links .dropdown a.active {
    color: var(--primary, #e11d48);
    font-weight: 600;
    background: rgba(0, 0, 0, .04);
}

.nav-links .dropdown a.active::before,
.nav-links .dropdown a:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ---------- Mobile (<=991px) ---------- */
@media (max-width: 991px) {
    .nav-links > a::after {
        display: none;
    }

    .nav-links > a.active {
        border-left: 3px solid var(--primary, #e11d48);
        padding-left: 10px;
    }

    .nav-links .dropdown a,
    .nav-links .dropdown a:hover,
    .nav-links .dropdown a:focus-visible {
        padding-left: 30px;
    }

    .nav-links .dropdown a::before {
        left: 8px;
    }
}