/* =========================================================
   AmexIndia — Modern Corporate Staffing & Tech Stylesheet
   ========================================================= */

:root {
    --navy-950: #061326;
    --navy-900: #0b1f3a;
    --navy-800: #122d54;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --sky-500: #0ea5e9;
    --emerald-500: #10b981;
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.05);
    --shadow-md: 0 12px 30px rgba(11, 31, 58, 0.08);
    --shadow-lg: 0 24px 50px rgba(6, 19, 38, 0.18);
    --transition: 0.22s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--slate-700);
    background-color: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    margin-top: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--slate-900);
    line-height: 1.22;
    letter-spacing: -0.02em;
}

p {
    margin-top: 0;
}

a {
    color: var(--blue-600);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--blue-700);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    color: var(--white);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.36);
}

.btn-secondary {
    background: var(--navy-900);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--navy-800);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy-900);
}

.btn-white:hover {
    background: var(--slate-100);
    color: var(--navy-950);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--white);
    color: var(--white);
}

.btn-icon, .link-arrow {
    width: 17px;
    height: 17px;
}

/* Topbar */
.topbar {
    background: var(--navy-950);
    color: #cbd5e1;
    font-size: 0.82rem;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-right a {
    color: #e2e8f0;
}

.topbar-right a:hover {
    color: var(--sky-500);
}

.topbar-right .divider {
    opacity: 0.4;
}

/* Header & Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-200);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark svg {
    width: 38px;
    height: 38px;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--navy-900);
    line-height: 1.1;
}

.brand-name span {
    color: var(--blue-600);
}

.brand-sub {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--slate-500);
    letter-spacing: 0.02em;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--slate-700);
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue-600);
    background: #eff6ff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta-mobile {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    padding: 0 9px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--navy-900);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, #163a6b 100%);
    color: var(--white);
    padding: 84px 0 92px;
}

.hero-bg-glow {
    position: absolute;
    inset: -20% -10% auto auto;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.24) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 48px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #bae6fd;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    margin-bottom: 20px;
}

.hero-lead {
    color: #cbd5e1;
    font-size: 1.08rem;
    max-width: 580px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.88rem;
    color: #e2e8f0;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.trust-icon {
    width: 16px;
    height: 16px;
    color: var(--emerald-500);
}

/* Hero Dashboard Card */
.dashboard-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-lg);
}

.dash-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.dash-kicker {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #93c5fd;
    margin-bottom: 4px;
}

.dash-header h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin: 0;
}

.status-badge {
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
}

.dash-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.dash-metric-box {
    background: rgba(6, 19, 38, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px;
}

.metric-value {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--white);
}

.metric-label {
    font-size: 0.78rem;
    color: #94a3b8;
}

.dash-pipeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pipeline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    color: #e2e8f0;
    margin-top: 6px;
}

.pill-green, .pill-blue {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
}

.pill-green {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.pill-blue {
    background: rgba(14, 165, 233, 0.22);
    color: #7dd3fc;
}

.progress-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sky-500), var(--emerald-500));
}

/* Value Strip */
.value-strip {
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
    padding: 22px 0;
}

.value-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tagline-quote {
    margin: 0;
    font-weight: 600;
    color: var(--navy-900);
    font-size: 1rem;
}

.value-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.value-badges span {
    background: var(--white);
    border: 1px solid var(--slate-200);
    color: var(--slate-700);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--slate-50);
}

.section-dark {
    background: var(--navy-950);
    color: #e2e8f0;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.section-header.light p {
    color: #cbd5e1;
}

.section-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--blue-700);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.tag-light {
    background: rgba(14, 165, 233, 0.16);
    color: #7dd3fc;
}

.section-header h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    margin-bottom: 14px;
}

.section-header p {
    color: var(--slate-600);
    font-size: 1.02rem;
    margin-bottom: 0;
}

/* Cards Grids */
.cards-grid {
    display: grid;
    gap: 24px;
}

.cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.service-card,
.industry-detail-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover,
.industry-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #bfdbfe;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--blue-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.icon-box-dark {
    background: rgba(37, 99, 235, 0.2);
    color: #7dd3fc;
    margin-bottom: 18px;
}

.card-badge {
    background: var(--slate-100);
    color: var(--slate-700);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.service-card h3,
.industry-detail-card h2 {
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.service-card p,
.industry-detail-card p {
    color: var(--slate-600);
    font-size: 0.94rem;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.process-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 26px;
    position: relative;
}

.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--navy-900);
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.process-card h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.process-card p {
    color: var(--slate-600);
    font-size: 0.92rem;
    margin: 0;
}

/* Split Layout & Why Choose Us */
.split-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: start;
}

.split-intro h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.2rem);
    margin-bottom: 16px;
}

.lead-p {
    font-size: 1.06rem;
    color: var(--slate-900);
    font-weight: 500;
}

.promise-callout {
    background: #eff6ff;
    border-left: 4px solid var(--blue-600);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 18px 20px;
    margin-top: 20px;
}

.promise-callout h4 {
    margin-bottom: 6px;
    font-size: 1rem;
    color: var(--navy-900);
}

.promise-callout p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--slate-700);
}

.why-grid {
    display: grid;
    gap: 16px;
}

.why-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
}

.why-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.14);
    color: #059669;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon svg {
    width: 18px;
    height: 18px;
}

.why-card h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.why-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--slate-600);
}

/* Industry Dark Cards */
.industry-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.industry-card h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.industry-card p {
    color: #cbd5e1;
    font-size: 0.92rem;
    flex-grow: 1;
}

.tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.tag-chips span {
    font-size: 0.76rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.light-chips span {
    background: var(--slate-100);
    color: var(--slate-700);
}

.role-pill-group {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--slate-200);
}

.role-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

/* FAQ Accordion */
.faq-container {
    max-width: 860px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--slate-900);
    cursor: pointer;
}

.faq-toggle-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background: var(--blue-600);
    border-radius: 2px;
    transition: transform 0.2s ease;
}

.faq-toggle-icon::before {
    top: 8px;
    left: 0;
    right: 0;
    height: 2px;
}

.faq-toggle-icon::after {
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
}

.faq-item.open .faq-toggle-icon::after {
    transform: rotate(90deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0 24px;
    color: var(--slate-600);
    font-size: 0.96rem;
    transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1), padding 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
    padding: 0 24px 20px;
}

.faq-answer p {
    margin: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.faq-item.open .faq-answer p {
    opacity: 1;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--blue-700), var(--navy-900));
    color: var(--white);
    padding: 64px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.cta-inner h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 8px;
}

.cta-inner p {
    color: #dbeafe;
    margin: 0;
    max-width: 600px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Subpage Heroes */
.page-hero {
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
    color: var(--white);
    padding: 68px 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    max-width: 820px;
    margin: 0 auto 14px;
}

.page-hero p {
    color: #cbd5e1;
    max-width: 660px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Services Detail Page */
.services-detail-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-sm);
    align-items: center;
}

.service-detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.service-detail-list {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 24px;
}

.service-detail-list h4 {
    margin-bottom: 14px;
    font-size: 1rem;
}

.service-detail-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.93rem;
}

.list-check-icon {
    width: 18px;
    height: 18px;
    color: var(--emerald-500);
    flex-shrink: 0;
    margin-top: 3px;
}

/* About Highlight Panel */
.highlight-stat-card {
    background: var(--navy-900);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.highlight-item {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.highlight-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.highlight-item h3 {
    color: #7dd3fc;
    font-size: 1.08rem;
    margin-bottom: 6px;
}

.highlight-item p {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.93rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.contact-detail-box {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

.contact-detail-box h4 {
    font-size: 0.9rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.contact-detail-box p {
    margin: 0;
    font-weight: 500;
    color: var(--slate-900);
}

.contact-form-panel {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.enquiry-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: var(--slate-100);
    padding: 6px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--slate-600);
    cursor: pointer;
    transition: all var(--transition);
}

.tab-btn.active {
    background: var(--white);
    color: var(--navy-900);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--slate-900);
    margin-bottom: 6px;
}

.req {
    color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--slate-900);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.alert {
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.94rem;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-success h3 {
    color: #065f46;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.alert-success p {
    margin: 0;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-error ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

/* Legal Content */
.legal-content {
    max-width: 820px;
}

.legal-content h2 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 6px;
}

/* Footer */
.site-footer {
    background: var(--navy-950);
    color: #cbd5e1;
    padding: 68px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 1fr 1.1fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-name {
    color: var(--white);
}

.footer-desc {
    margin-top: 16px;
    font-size: 0.92rem;
    color: #94a3b8;
}

.zero-fee-pill {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    font-size: 0.78rem;
    font-weight: 600;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-links a,
.footer-contact a {
    color: #94a3b8;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-contact strong {
    color: #e2e8f0;
    font-size: 0.82rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    font-size: 0.86rem;
    color: #94a3b8;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-legal a {
    color: #cbd5e1;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid,
    .split-layout,
    .service-detail-card,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cards-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--slate-200);
        padding: 16px 20px 24px;
        box-shadow: var(--shadow-md);
        display: flex;
        flex-direction: column;
        gap: 14px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.24s ease;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-cta-mobile {
        display: block;
    }

    .cards-3,
    .cards-2,
    .process-grid,
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 56px 0 64px;
    }

    .section {
        padding: 58px 0;
    }
}

/* =========================================================
   Page Transitions, After-Load & Scroll Animations
   ========================================================= */

/* Top Page Navigation Progress Bar */
.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-600), var(--sky-500), var(--emerald-500));
    transform-origin: left center;
    transform: scaleX(0);
    opacity: 0;
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.page-progress.active {
    opacity: 1;
    transform: scaleX(0.82);
}

/* Page Load & Exit Transitions */
.js-animate main {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1), transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-animate body.is-loaded main {
    opacity: 1;
    transform: translateY(0);
}

.js-animate body.is-page-leaving main {
    opacity: 0;
    transform: translateY(-6px);
    transition-duration: 0.18s;
}

/* Header Scroll State & Nav Micro-Interactions */
.site-header {
    transition: box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.nav-link {
    position: relative;
    transition: color var(--transition), background-color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue-600);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.4);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Ambient After-Load Animations */
@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 9px rgba(16, 185, 129, 0);
        transform: scale(1.08);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        transform: scale(1);
    }
}

@keyframes glowFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translate3d(-24px, 18px, 0) scale(1.06);
        opacity: 1;
    }
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.pulse-dot {
    animation: pulseRing 2.2s infinite ease-out;
}

.hero-bg-glow {
    animation: glowFloat 9s ease-in-out infinite;
}

.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: -40% auto auto 50%;
    width: 680px;
    height: 420px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
    animation: glowFloat 10s ease-in-out infinite;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

/* Staggered Hero Entrance After Load */
.js-animate .hero-content > *,
.js-animate .hero-visual,
.js-animate .page-hero .container > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-animate .hero-visual {
    transform: translateY(26px) scale(0.98);
}

.js-animate body.is-loaded .hero-content > *,
.js-animate body.is-loaded .hero-visual,
.js-animate body.is-loaded .page-hero .container > * {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.js-animate body.is-loaded .hero-content > *:nth-child(1),
.js-animate body.is-loaded .page-hero .container > *:nth-child(1) { transition-delay: 0.05s; }
.js-animate body.is-loaded .hero-content > *:nth-child(2),
.js-animate body.is-loaded .page-hero .container > *:nth-child(2) { transition-delay: 0.13s; }
.js-animate body.is-loaded .hero-content > *:nth-child(3),
.js-animate body.is-loaded .page-hero .container > *:nth-child(3) { transition-delay: 0.21s; }
.js-animate body.is-loaded .hero-content > *:nth-child(4) { transition-delay: 0.29s; }
.js-animate body.is-loaded .hero-content > *:nth-child(5) { transition-delay: 0.36s; }
.js-animate body.is-loaded .hero-visual { transition-delay: 0.24s; }

.dashboard-card {
    animation: cardFloat 6.5s ease-in-out 1.1s infinite;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    border-color: rgba(125, 211, 252, 0.38);
}

.progress-bar span {
    transition: width 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Scroll-Triggered Reveal Animations Across Pages */
.js-animate .reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.js-animate .reveal-item.reveal-left {
    transform: translateX(-24px);
}

.js-animate .reveal-item.reveal-right {
    transform: translateX(24px);
}

.js-animate .reveal-item.reveal-scale {
    transform: translateY(16px) scale(0.96);
}

.js-animate .reveal-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* Card & Interactive Micro-Animations */
.why-card,
.process-card,
.industry-card,
.service-detail-card,
.contact-detail-box,
.faq-item,
.dash-metric-box {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition);
}

.why-card:hover,
.process-card:hover,
.service-detail-card:hover,
.contact-detail-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #bfdbfe;
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: rgba(125, 211, 252, 0.38);
    background: rgba(255, 255, 255, 0.08);
}

.dash-metric-box:hover {
    border-color: rgba(125, 211, 252, 0.28);
    transform: translateY(-2px);
}

.icon-box,
.why-icon,
.process-num {
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.26s ease;
}

.service-card:hover .icon-box,
.industry-detail-card:hover .icon-box,
.industry-card:hover .icon-box-dark,
.service-detail-card:hover .icon-box {
    transform: scale(1.07);
}

.why-card:hover .why-icon,
.process-card:hover .process-num {
    transform: scale(1.08);
}

.btn-icon,
.link-arrow {
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover .btn-icon,
.card-link:hover .link-arrow {
    transform: translateX(4px);
}

.value-badges span {
    transition: transform var(--transition), border-color var(--transition), color var(--transition);
}

.value-badges span:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
    color: var(--blue-700);
}

@keyframes tabFadeIn {
    from {
        opacity: 0.65;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-panel.tab-switching form {
    animation: tabFadeIn 0.26s ease-out;
}

@media (max-width: 768px) {
    .nav-link::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js-animate main,
    .js-animate .hero-content > *,
    .js-animate .hero-visual,
    .js-animate .page-hero .container > *,
    .js-animate .reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }
}


