﻿:root {
    --bg: #fff;
    --soft: #f5eefa;
    --ink: #1c1330;
    --mute: #5f5675;
    --line: #e4d9ee;
    --pur: #8a40ab;
    --pur-d: #6b2c88;
    --amb: #f2a33a;
    --dark: #1c1330;
    --on-dark: #f3ecfa;
    --chip: #fff;
    --h: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
    --b: 'Figtree', 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #150e24;
        --soft: #1f1633;
        --ink: #f3ecfa;
        --mute: #b6a9cc;
        --line: #352850;
        --pur: #b273d4;
        --pur-d: #c48be3;
        --dark: #0e0919;
    }
}

:root[data-theme="dark"] {
    --bg: #150e24;
    --soft: #1f1633;
    --ink: #f3ecfa;
    --mute: #b6a9cc;
    --line: #352850;
    --pur: #b273d4;
    --pur-d: #c48be3;
    --dark: #0e0919;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px));
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 17px/1.6 var(--b);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

img, svg {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    font-family: var(--h);
    line-height: 1.08;
    margin: 0;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

[hidden] {
    display: none !important;
}

.w {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 3px solid var(--amb);
    outline-offset: 3px;
}

/* Header & Navigation */
header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 40;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: env(safe-area-inset-top, 0px);
    background: var(--bg);
    z-index: 50;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 16px;
    position: relative;
}

.logo {
    background: var(--chip);
    border-radius: 10px;
    padding: 6px 10px;
    display: flex;
    flex-shrink: 0;
}

    .logo img {
        height: 38px;
        width: auto;
        display: block;
    }

.nav-act {
    display: flex;
    align-items: center;
    gap: 8px;
    order: 3;
    flex-shrink: 0;
}

nav {
    display: flex;
    gap: 22px;
    align-items: center;
    font-weight: 500;
    font-size: 15px;
    order: 2;
    margin-left: auto;
}

    nav a {
        text-decoration: none;
        color: var(--mute);
        white-space: nowrap;
    }

        nav a:hover {
            color: var(--pur);
        }

        nav a[aria-current="page"] {
            color: var(--pur);
            font-weight: 600;
        }

.theme-btn {
    font: 600 13px var(--b);
    background: var(--soft);
    color: var(--ink);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 7px 14px;
    cursor: pointer;
    white-space: nowrap;
}

    .theme-btn:hover {
        border-color: var(--pur);
    }

.menu-btn {
    display: none;
    background: var(--soft);
    color: var(--ink);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/* Products Multi-Level Dropdown */
.nav-dd {
    position: relative;
}

.dd-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.dd-tog {
    background: none;
    border: none;
    color: var(--mute);
    font: 600 15px var(--b);
    cursor: pointer;
    padding: 4px 6px;
}

.dd-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 215px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 14px 32px rgba(28, 19, 48, 0.14);
    z-index: 50;
}

.dd-sub {
    position: relative;
}

.dd-lbl {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--ink);
    font: 600 14.5px var(--b);
    cursor: pointer;
    text-align: left;
}

    .dd-lbl:hover {
        background: var(--soft);
        color: var(--pur);
    }

.dd-submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 185px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 14px 32px rgba(28, 19, 48, 0.14);
    z-index: 60;
}

    .dd-submenu a {
        display: block;
        padding: 9px 12px;
        border-radius: 10px;
        color: var(--mute);
        font-size: 14.5px;
        text-decoration: none;
    }

        .dd-submenu a:hover {
            background: var(--soft);
            color: var(--pur);
        }

/* Desktop Dropdown Hover */
@media (min-width: 1025px) {
    .dd-tog {
        pointer-events: none;
        padding: 0;
    }

    .nav-dd:hover > .dd-menu,
    .nav-dd:focus-within > .dd-menu {
        display: block;
    }

    .dd-sub:hover > .dd-submenu,
    .dd-sub:focus-within > .dd-submenu {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--pur);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 999px;
    transition: background 0.2s;
    text-align: center;
}

    .btn:hover {
        background: var(--pur-d);
    }

    .btn.ghost {
        background: none;
        color: var(--ink);
        border: 1.5px solid var(--line);
    }

        .btn.ghost:hover {
            border-color: var(--pur);
            color: var(--pur);
        }

nav .btn {
    padding: 10px 20px;
    color: #fff;
}

nav a.btn[aria-current="page"] {
    color: #fff;
}

/* Sections & Heroes */
section {
    padding: 88px 0;
}

.hero {
    padding: 72px 0 64px;
    background: linear-gradient(180deg, var(--soft), var(--bg));
}

    .hero h1 {
        font-size: clamp(34px, 6vw, 76px);
        font-weight: 800;
        max-width: 15ch;
    }

    .hero.p h1 {
        font-size: clamp(30px, 4.8vw, 60px);
        max-width: 22ch;
    }

.lead {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--mute);
    max-width: 56ch;
    margin: 24px 0 32px;
}

.row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Capability Strip */
.strip {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

    .strip button {
        font: 600 14px var(--b);
        background: var(--bg);
        color: var(--ink);
        border: 1.5px solid var(--line);
        border-radius: 14px;
        padding: 14px 12px;
        cursor: pointer;
        text-align: left;
        transition: border-color 0.2s, background 0.2s;
    }

        .strip button small {
            display: block;
            color: var(--mute);
            font-weight: 400;
            margin-top: 2px;
        }

        .strip button[aria-pressed="true"] {
            border-color: var(--pur);
            background: var(--soft);
        }

#tinfo {
    margin-top: 14px;
    padding: 18px 22px;
    border-left: 4px solid var(--amb);
    background: var(--soft);
    border-radius: 0 12px 12px 0;
    min-height: 64px;
}

/* Headings & Grids */
h2 {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 700;
    max-width: 20ch;
}

.sub {
    color: var(--mute);
    max-width: 60ch;
    margin-top: 14px;
}

.cols3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.cols4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    background: var(--bg);
}

    .card.feat {
        background: var(--pur);
        color: #fff;
        border-color: var(--pur);
    }

        .card.feat.c {
            text-align: center;
        }

        .card.feat p, .card.feat ul {
            color: #f3e6fa;
        }

        .card.feat.c .ico {
            width: 44px;
            height: 44px;
            margin: 0 auto 16px;
            color: #fff;
        }

            .card.feat.c .ico svg {
                width: 100%;
                height: 100%;
                display: block;
            }

    .card h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .card p {
        color: var(--mute);
        font-size: 16px;
    }

    .card ul {
        margin: 14px 0 0;
        padding-left: 18px;
        color: var(--mute);
        font-size: 15px;
        list-style: disc;
    }

    .card a.l {
        display: inline-block;
        margin-top: 14px;
        color: var(--pur);
        font-weight: 600;
        text-decoration: none;
    }

    .card small {
        display: block;
        color: var(--pur);
        font-weight: 600;
        margin-bottom: 6px;
    }

.pimg {
    width: 100%;
    height: 170px;
    object-fit: contain;
    background: var(--soft);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
    display: block;
}

.grp {
    margin-top: 52px;
}

    .grp > h3 {
        font-size: 25px;
        border-left: 4px solid var(--amb);
        padding-left: 14px;
    }

    .grp .cols3 {
        margin-top: 20px;
    }

/* Horizontal Auto-Scrolling Product Rail */
.rail-wrap {
    position: relative;
    margin-top: 36px;
}

.rail {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 2px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .rail::-webkit-scrollbar {
        display: none;
    }

    .rail .card {
        flex: 0 0 calc((100% - 40px) / 3);
        min-width: 260px;
    }

.rail-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(28, 19, 48, 0.14);
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

    .rail-btn:hover {
        border-color: var(--pur);
        background: var(--pur);
        color: #fff;
        transform: translateY(-50%) scale(1.06);
    }

#railPrev {
    left: -20px;
}

#railNext {
    right: -20px;
}

/* Process Flow */
.flow {
    list-style: none;
    padding: 0;
    margin: 44px 0 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

    .flow li {
        padding: 20px 8px 0 0;
        border-top: 3px solid var(--pur);
    }

        .flow li:last-child {
            border-top-color: var(--amb);
        }

    .flow b {
        font: 700 19px var(--h);
        display: block;
        margin-bottom: 6px;
    }

    .flow span {
        font-size: 14.5px;
        color: var(--mute);
        display: block;
    }

.note {
    margin-top: 28px;
    font-size: 15px;
    color: var(--mute);
    max-width: 70ch;
}

/* Tables */
.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 15.5px;
}

    .tbl th, .tbl td {
        text-align: left;
        padding: 15px 12px 15px 0;
        border-bottom: 1px solid var(--line);
        vertical-align: top;
    }

    .tbl th {
        color: var(--mute);
        font-weight: 500;
        font-size: 14px;
    }

.tblwrap {
    overflow-x: auto;
    margin-top: 12px;
    -webkit-overflow-scrolling: touch;
}

/* Who Grid & CTA */
.who {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

    .who div {
        border-top: 3px solid var(--pur);
        padding-top: 16px;
    }

    .who b {
        font: 700 20px var(--h);
        display: block;
        margin-bottom: 6px;
    }

    .who span {
        font-size: 15px;
        color: var(--mute);
    }

.cta {
    background: var(--soft);
    border-radius: 28px;
    padding: 56px 40px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: center;
}

    .cta:not(:has(dl:not([hidden]))) {
        grid-template-columns: 1fr;
    }

    .cta dl {
        margin: 0;
        font-size: 16px;
    }

    .cta dt {
        color: var(--mute);
        font-size: 14px;
    }

    .cta dd {
        margin: 0 0 12px;
        font-weight: 600;
        word-break: break-word;
    }

/* Footer */
footer {
    padding: 28px 0 40px;
    border-top: 1px solid var(--line);
    color: var(--mute);
    font-size: 14px;
    line-height: 1.7;
}

/* Slideshow */
.sl {
    display: none;
}

    .sl.on {
        display: block;
    }

#sl {
    min-height: clamp(260px, 36vw, 370px);
}

    #sl h1 {
        font-size: clamp(32px, 5.2vw, 64px);
        max-width: 18ch;
    }

.dots {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

    .dots .d {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid var(--pur);
        background: none;
        padding: 0;
        cursor: pointer;
    }

        .dots .d[aria-current="true"] {
            background: var(--pur);
        }

    .dots #pp {
        font: 600 13px var(--b);
        border: 1.5px solid var(--line);
        background: none;
        color: var(--ink);
        border-radius: 999px;
        padding: 4px 14px;
        cursor: pointer;
        margin-left: 10px;
    }

/* Make in India Band */
.band {
    background: #7a2f9b;
    color: #fff;
    padding: 44px 0;
}

    .band .in {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        flex-wrap: wrap;
    }

    .band h3 {
        font-size: clamp(21px, 3vw, 30px);
        max-width: 34ch;
    }

    .band .btn {
        background: #fff;
        color: #6b2c88;
    }

/* ================= RESPONSIVE BREAKPOINTS ================= */

/* 1. Tablet & Small Laptop (<= 1024px) */
@media (max-width: 1024px) {
    .menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 24px 22px;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
        z-index: 45;
    }

        nav.open {
            display: flex;
        }

        nav > a {
            padding: 11px 4px;
            font-size: 16px;
            border-bottom: 1px solid var(--line);
            white-space: normal;
        }

        nav a.btn {
            margin-top: 10px;
            text-align: center;
            border-bottom: none;
            padding: 12px 20px;
        }

    .dd-head {
        border-bottom: 1px solid var(--line);
    }

        .dd-head a {
            border-bottom: none;
            flex: 1;
            padding: 11px 4px;
            font-size: 16px;
        }

    .dd-tog {
        font-size: 18px;
        padding: 10px 14px;
        color: var(--ink);
    }

    .dd-menu, .dd-submenu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 4px 0 6px 14px;
        display: none;
        min-width: 0;
    }

    .nav-dd.open > .dd-menu {
        display: block;
    }

    .dd-sub.open > .dd-submenu {
        display: block;
    }

    .dd-lbl {
        padding: 9px 4px;
        font-size: 15px;
        color: var(--pur);
    }

    .dd-submenu a {
        padding: 9px 4px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        font-size: 15px;
    }

    .cols3, .cols4, .who {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 24px;
    }

    .strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .rail .card {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    #railPrev {
        left: -12px;
    }

    #railNext {
        right: -12px;
    }

    .cta {
        grid-template-columns: 1fr;
    }
}

/* 2. Mobile Landscape & Large Phones (<= 767px) */
@media (max-width: 767px) {
    body {
        font-size: 16px;
    }

    .w {
        padding: 0 18px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 48px 0 44px;
    }

    #sl {
        min-height: auto;
    }

    .lead {
        margin: 18px 0 24px;
    }

    .flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta {
        padding: 36px 24px;
        border-radius: 22px;
    }
}

/* 3. Small Mobile Phones (<= 480px) */
@media (max-width: 480px) {
    .w {
        padding: 0 16px;
    }

    .nav {
        min-height: 64px;
        gap: 8px;
    }

    .logo {
        padding: 4px 8px;
    }

        .logo img {
            height: 30px;
        }

    .theme-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .menu-btn {
        padding: 6px 10px;
        font-size: 18px;
    }

    section {
        padding: 48px 0;
    }

    .hero {
        padding: 40px 0 36px;
    }

        .hero h1 {
            font-size: 32px;
            max-width: 100%;
        }

        .hero.p h1 {
            font-size: 29px;
            max-width: 100%;
        }

    h2 {
        font-size: 26px;
        max-width: 100%;
    }

    .lead {
        font-size: 16px;
    }

    .row {
        flex-direction: column;
        align-items: stretch;
    }

        .row .btn {
            width: 100%;
        }

    .cols3, .cols4, .who, .flow, .strip {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 22px 18px;
    }

    .pimg {
        height: 150px;
    }

    .rail .card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .rail-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    #railPrev {
        left: -6px;
    }

    #railNext {
        right: -6px;
    }

    .cta {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .band {
        padding: 36px 0;
    }

        .band .btn {
            width: 100%;
        }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
.icon-btn {
    background: transparent;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 50%; /* Gol button */
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: inherit;
    transition: all 0.2s ease;
}

    .icon-btn:hover {
        background: rgba(128, 128, 128, 0.15);
        transform: scale(1.05);
    }
