@font-face { font-family: "Raleway"; src: url("../../fonts/ralewayl.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../../fonts/raleway.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../../fonts/ralewaysb.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../../fonts/ralewayb.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
    --navy: #1d3a5f;
    --navy-dark: #10243d;
    --accent: #ec4613;
    --accent-dark: #c93a0d;
    --ink: #1f2937;
    --muted: #5b6676;
    --line: #e3e8ef;
    --bg: #ffffff;
    --bg-soft: #f4f7fb;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(16, 36, 61, .08);
    --shadow-lg: 0 20px 50px rgba(16, 36, 61, .16);
    --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Raleway", "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow {
    display: inline-block;
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent-dark); margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p { color: var(--muted); }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 26px; border-radius: 10px;
    font-weight: 700; font-size: .95rem; letter-spacing: .02em;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(236, 70, 19, .35); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 8px 28px rgba(16, 36, 61, .1); }
.site-header .container { max-width: 1440px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 28px; }
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    position: relative; display: block; padding: 10px 14px;
    font-size: .9rem; font-weight: 600; color: var(--navy); white-space: nowrap;
    transition: color .2s;
}
.nav-links a:not(.btn)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
    height: 2px; border-radius: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:not(.btn):hover { color: var(--accent-dark); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links a .fa-external-link { font-size: .7em; margin-left: 4px; opacity: .55; vertical-align: 1px; }
.nav-links .nav-cta { margin-left: 14px; padding-left: 22px; border-left: 1px solid var(--line); }
.nav-links .btn { padding: 11px 22px; color: #fff; white-space: nowrap; }
.nav-links .btn:hover { background: var(--accent-dark); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-right .btn { padding: 11px 22px; white-space: nowrap; }
/* Menu (☰) button – always visible, opens the slide-out menu */
.nav-toggle {
    width: 46px; height: 46px; flex-shrink: 0; border: 0; border-radius: 12px; cursor: pointer;
    background: var(--bg-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    transition: background .2s;
}
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s, background .2s; }
.nav-toggle:hover { background: var(--navy); }
.nav-toggle:hover span { background: #fff; }
.nav-toggle:hover span:nth-child(2) { transform: translateX(-4px); }

/* Slide-out menu (same as the inner pages) */
.drawer-backdrop {
    position: fixed; inset: 0; z-index: 140; background: rgba(16, 36, 61, .5);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(340px, 86vw);
    background: var(--navy-dark); color: #fff; padding: 24px 28px;
    transform: translateX(100%); visibility: hidden; overflow-y: auto;
    transition: transform .35s ease, visibility .35s;
}
body.drawer-open .drawer { transform: none; visibility: visible; box-shadow: -20px 0 50px rgba(0, 0, 0, .3); }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-close {
    display: block; margin-left: auto; background: rgba(255, 255, 255, .1); border: 0; color: #fff;
    width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: background .2s;
}
.drawer-close:hover { background: var(--accent); }
.drawer ul { list-style: none; margin: 24px 0 0; padding: 0; }
.drawer li a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 16px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: .95rem;
    transition: color .2s, padding .2s;
}
.drawer li a:hover { color: var(--accent); padding-left: 10px; }
.drawer li a .fa { color: rgba(255, 255, 255, .4); }
.drawer li a[aria-current="page"] { color: var(--accent); }
.drawer .btn { width: 100%; justify-content: center; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    min-height: calc(100vh - 80px);
    display: flex; flex-direction: column; justify-content: center;
    padding: 90px 0 110px;
    background:
        linear-gradient(90deg, rgba(16, 36, 61, .82) 0%, rgba(16, 36, 61, .55) 45%, rgba(16, 36, 61, .1) 100%),
        url("../../images/image.jpg") 67% 0 / cover no-repeat;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
    padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    background: rgba(236, 70, 19, .18); border: 1px solid rgba(236, 70, 19, .5); color: #ffc2ab;
}
.hero-title {
    color: #fff; font-style: italic; font-weight: 700; text-transform: uppercase;
    font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: .02em; line-height: 1.25;
    margin: 0 0 28px; text-shadow: 0 2px 18px rgba(0, 0, 0, .3);
}
.hero-title span { color: var(--accent); }
.hero-band {
    background: linear-gradient(90deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .2) 60%, rgba(0, 0, 0, 0) 100%);
    border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 26px 0 28px;
}
.hero-band .container { border-left: 3px solid var(--accent); padding-left: 22px; }
.hero-band p { font-style: italic; font-weight: 300; color: #f1f1f1; margin: 0; }
.hero-band .lead { font-size: clamp(1.15rem, 2vw, 1.55rem); margin-bottom: 16px; }
.hero-band .sub { font-size: clamp(1rem, 1.4vw, 1.15rem); margin-bottom: 12px; color: rgba(255, 255, 255, .8); }
.hero-list {
    list-style: none; padding: 0; margin: 0; max-width: 600px;
    display: grid; grid-template-columns: auto auto; justify-content: start; gap: 8px 48px;
    font-style: italic; font-size: 1.05rem; color: #fff;
}
.hero-list li { position: relative; padding-left: 26px; }
.hero-list li::before {
    content: "\f00c"; font-family: FontAwesome; font-style: normal;
    position: absolute; left: 0; top: .05em; font-size: .85em; color: var(--accent);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; margin-top: 34px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.flow li {
    font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.4rem); letter-spacing: .04em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
.flow li + li::before {
    content: "\f105"; font-family: FontAwesome; font-weight: 400;
    font-size: 1.9em; line-height: 0; vertical-align: -.12em;
    margin: 0 14px; color: var(--accent);
}
.flow li:last-child::after {
    content: "\f105"; font-family: FontAwesome; font-weight: 400;
    font-size: 1.9em; line-height: 0; vertical-align: -.12em;
    margin-left: 14px; color: var(--accent);
}
.btn-login {
    display: inline-flex; align-items: center; gap: 22px;
    background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 10px;
    box-shadow: 0 10px 24px rgba(236, 70, 19, .4);
    transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-login:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(236, 70, 19, .5); }
.btn-login small { display: block; font-style: italic; font-size: .85rem; font-weight: 400; opacity: .95; }
.btn-login strong { display: block; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; }
.btn-login .fa { font-size: 1.8rem; transition: transform .2s; }
.btn-login:hover .fa { transform: translateX(4px); }
.scroll-down {
    position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
    color: #fff; font-size: 1.6rem; opacity: .85; animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px 28px 28px; transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
    position: absolute; top: -22px; left: 28px;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--navy); color: #fff; font-weight: 700;
    display: grid; place-items: center; box-shadow: var(--shadow);
}
.step .fa { font-size: 1.8rem; color: var(--accent); margin: 6px 0 14px; display: block; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Why / problems ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-card img { width: 100%; height: 200px; object-fit: cover; }
.why-body { padding: 26px; }
.why-body h3 { font-size: 1.15rem; }
.why-body p { color: var(--muted); margin: 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service {
    position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px;
    display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow);
}
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(16, 36, 61, .05) 20%, rgba(16, 36, 61, .92) 100%);
}
.service:hover img { transform: scale(1.06); }
.service-body { position: relative; z-index: 1; padding: 24px; }
.service-body h3 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; }
.service-body p { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .85); }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; max-width: 860px; margin: 0 auto; }
.t-track { overflow: hidden; }
.t-slides { display: flex; transition: transform .6s ease; }
.t-slide { flex: 0 0 100%; padding: 0 6px; }
.t-card {
    background: #fff; border-radius: 20px; padding: 48px 52px; box-shadow: var(--shadow);
    position: relative; text-align: center;
}
.t-card .fa-quote-left { font-size: 2.4rem; color: var(--accent); opacity: .5; margin-bottom: 12px; }
.t-card blockquote { margin: 0 0 24px; font-size: 1.08rem; color: var(--ink); font-style: italic; }
.t-card .t-org { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 4px; }
.t-card .t-name { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.t-card .t-role { color: var(--muted); font-size: .9rem; }
.t-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--navy); cursor: pointer; box-shadow: var(--shadow);
    transition: background .2s, color .2s;
}
.t-btn:hover { background: var(--navy); color: #fff; }
.t-prev { left: -66px; }
.t-next { right: -66px; }
.t-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.t-dots button {
    width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0;
    background: #c8d1dd; cursor: pointer; transition: width .3s, background .3s;
}
.t-dots button[aria-current="true"] { width: 28px; background: var(--accent); }

/* ---------- Press ---------- */
.press { padding: 50px 0; background: var(--bg); overflow: hidden; }
.press-marquee {
    position: relative; overflow: hidden; padding: 14px 0 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.press-logos {
    display: flex; gap: 24px; width: max-content;
    list-style: none; margin: 0; padding: 0;
    animation: press-scroll 40s linear infinite;
}
.press-marquee:hover .press-logos, .press-marquee:focus-within .press-logos { animation-play-state: paused; }
@keyframes press-scroll { to { transform: translateX(calc(-50% - 12px)); } }
.press-logos a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 210px; height: 120px; padding: 20px 24px;
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(16, 36, 61, .05);
    transition: transform .3s, box-shadow .3s, border-color .3s, background .3s;
}
.press-logos img {
    max-width: 100%; max-height: 54px; width: auto; height: auto; object-fit: contain;
    filter: grayscale(1); opacity: .7; mix-blend-mode: multiply;
    transition: filter .3s, opacity .3s, transform .3s;
}
.press-logos .read {
    position: absolute; bottom: 10px; left: 0; right: 0; text-align: center;
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--accent); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.press-logos a:hover, .press-logos a:focus-visible {
    transform: translateY(-6px); background: #fff; border-color: rgba(236, 70, 19, .35); box-shadow: var(--shadow-lg);
}
.press-logos a:hover img, .press-logos a:focus-visible img { filter: none; opacity: 1; transform: translateY(-8px); }
.press-logos a:hover .read, .press-logos a:focus-visible .read { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .press-marquee { -webkit-mask-image: none; mask-image: none; }
    .press-logos { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
    .press-logos li[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) {
    .press-logos a { width: 170px; height: 104px; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about-card { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.about-card h2 { font-size: 1.6rem; }
.about-card p { color: var(--muted); }
.about-card p:last-child { margin-bottom: 0; }

.cta-band {
    background:
        radial-gradient(circle at 90% 10%, rgba(236, 70, 19, .3), transparent 50%),
        linear-gradient(120deg, var(--navy-dark), var(--navy));
    color: #fff; border-radius: 20px; padding: 46px 50px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin-top: 70px; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 1.7rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .72); padding: 70px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer-brand p { margin: 0 0 4px; }
.footer-brand a { color: var(--accent); font-weight: 600; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer ul a { transition: color .2s, padding .2s; }
.site-footer ul a:hover { color: var(--accent); padding-left: 4px; }
.digital-india img { height: 64px; width: auto; }
.footer-bottom {
    margin-top: 50px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center; font-size: .85rem; color: rgba(255, 255, 255, .55);
}

.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: var(--accent); color: #fff; font-size: 1.1rem; cursor: pointer;
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .t-slides { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
    .nav-links a { padding: 10px 10px; font-size: .86rem; }
    .nav-links a:not(.btn)::after { left: 10px; right: 10px; }
    .nav-links .nav-cta { margin-left: 8px; padding-left: 14px; }
}
/* Full menu no longer fits on one line: switch to the menu button */
/* Not enough room for the links: keep Log In + ☰, links move into the slide-out menu */
@media (max-width: 1240px) {
    .nav-links { display: none; }
}
@media (max-width: 1100px) {
    .services { grid-template-columns: repeat(2, 1fr); }
    .t-prev { left: -12px; }
    .t-next { right: -12px; }
}
@media (max-width: 960px) {
    .hero { min-height: 0; padding: 70px 0 90px; background-position: 74% 0, 74% 0; }
    .steps, .why { grid-template-columns: 1fr; gap: 36px; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .section { padding: 64px 0; }
    .container { padding: 0 16px; }
    .nav-logo img { height: 36px; }
    .nav-right { gap: 8px; }
    .nav-right .btn { padding: 10px 14px; font-size: .85rem; }
    .nav-right .btn .btn-long { display: none; }
    .nav-toggle { width: 42px; height: 42px; }
    .hero { padding: 50px 0 80px; background-position: 90% 0, 90% 0; }
    .hero-band { background: rgba(0, 0, 0, .42); }
    .hero-list { grid-template-columns: 1fr; }
    .flow li + li::before, .flow li:last-child::after { margin: 0 6px; font-size: 1.8em; }
    .btn-login { width: 100%; justify-content: space-between; }
    .services { grid-template-columns: 1fr; }
    .service { min-height: 280px; }
    .t-card { padding: 36px 24px; }
    .t-btn { display: none; }
    .about-card, .cta-band { padding: 30px 24px; }
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .footer-gap { margin-top: 14px; }
