/* ─────────────────────────────────────────────────────────────
   2026-07-27 FIX: is file me headings 'Playfair Display' (serif)
   aur body 'Plus Jakarta Sans' maangti thi, par includes/header.php
   sirf Inter load karta hai — dono fonts kabhi aayi hi nahi.

   Nateeja: saare section headings TIMES NEW ROMAN me dikh rahe the
   (generic serif fallback), jo design se bilkul alag hai aur
   home/about/contact se bhi mel nahi khata.

   Ab Inter par — wahi jo baaki site use karti hai. Zero extra
   font download, aur typography poore site par ek jaisi.

   Playfair chahiye ho to header.php me font link add kar dijiye,
   phir yahan wapas laga dijiyega.
   ───────────────────────────────────────────────────────────── */

/*
 * services.css — Services Pages
 * Loads on: /services, /services/term-insurance, /services/health-insurance, /services/mutual-funds
 * Requires: core.css / main.css loaded first
 * ─────────────────────────────────────────────────────── */

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
    /* FIX: Defined locally — these were used throughout but depended
       entirely on core.css. Adding fallback values prevents invisible
       rendering when this file loads before or without core.css. */
    --srv-primary: #1e40af;
    --srv-primary-mid: #2563eb;
    --srv-primary-dark: #1d4ed8;
    --srv-success: #059669;
    --srv-ink-500: #6b7280;
    --srv-ink-600: #4b5563;
    --srv-surface: #ffffff;
    --srv-border: #e2e8f0;
    --srv-white: #ffffff;
    --srv-shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
    --srv-shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
    --srv-shadow-xl: 0 20px 40px rgba(15, 23, 42, .12);
    --srv-r-md: 12px;
    --srv-r-lg: 16px;
    --srv-t: .26s cubic-bezier(.4, 0, .2, 1);
    /* Colour helpers */
    --srv-blue-pale: #dbeafe;
    --srv-blue: #2563eb;
    --srv-green-pale: #dcfce7;
    --srv-green: #059669;
    --srv-purple-pale: #f3e8ff;
    --srv-purple: #7c3aed;
    --srv-orange-pale: #ffedd5;
    --srv-orange: #ea580c;
}

/* ── Hero ────────────────────────────────────────────────── */
.services-hero {
    background: linear-gradient(135deg, var(--primary, var(--srv-primary)) 0%, var(--primary-mid, var(--srv-primary-mid)) 100%);
    color: var(--srv-white);
    padding: 5rem 0;
    text-align: center;
}

.services-hero .hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--srv-white);
    margin-bottom: 1.25rem;
    letter-spacing: -.03em;
}

.services-hero .hero-subtitle {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: .9;
    line-height: 1.6;
    color: rgba(255, 255, 255, .9);
}

/* Stats strip */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--srv-white);
    margin-bottom: .25rem;
}

.stat-label {
    font-size: .8125rem;
    opacity: .75;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ── Services list ───────────────────────────────────────── */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.service-card-large {
    background: var(--surface, var(--srv-surface));
    border-radius: var(--r-md, var(--srv-r-md));
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    align-items: start;
    box-shadow: var(--shadow-sm, var(--srv-shadow-sm));
    border: 1px solid var(--border, var(--srv-border));
    transition: var(--t, var(--srv-t));
}

.service-card-large:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md, var(--srv-shadow-md));
}

/* Service icon */
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-mid, var(--srv-primary-mid)) 0%, var(--primary, var(--srv-primary)) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--srv-white);
    font-size: 2rem;
    flex-shrink: 0;
}

/* Content */
.service-content h3 {
    font-size: 1.625rem;
    color: var(--primary, var(--srv-primary));
    margin-bottom: .875rem;
}

.service-content p {
    color: var(--ink-500, var(--srv-ink-500));
    line-height: 1.65;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .5rem;
    margin: 1.25rem 0;
    padding: 0;
    list-style: none;
}

.service-features li {
    padding: .5rem 0 .5rem 1.5rem;
    color: var(--ink-500, var(--srv-ink-600));
    position: relative;
    font-size: .9375rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success, var(--srv-success));
    font-weight: 700;
}

.service-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* ── Service card (grid view) ────────────────────────────── */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: var(--surface, var(--srv-surface));
    border-radius: var(--r-lg, var(--srv-r-lg));
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-md, var(--srv-shadow-md));
    transition: all var(--t, var(--srv-t));
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl, var(--srv-shadow-xl));
    border-color: var(--primary-light, var(--srv-primary-mid));
}

.service-link {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--primary, var(--srv-primary));
    font-weight: 600;
    font-size: .9375rem;
    margin-top: 1rem;
}

/* ── Process steps ───────────────────────────────────────── */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* FIX: .process-step and .step were defined separately with identical rules
   in two different design-era pastes. Merged into one grouped selector. */
.process-step,
.step {
    text-align: center;
    color: var(--srv-white);
}

.process-step h3,
.step h3 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
    color: var(--srv-white);
}

.process-step p,
.step p {
    opacity: .8;
    line-height: 1.5;
    font-size: .9375rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, .12);
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

/* ── Colour helpers ──────────────────────────────────────── */
.bg-blue-light {
    background-color: var(--srv-blue-pale);
}

.text-blue {
    color: var(--srv-blue);
}

.bg-green-light {
    background-color: var(--srv-green-pale);
}

.text-green {
    color: var(--srv-green);
}

.bg-purple-light {
    background-color: var(--srv-purple-pale);
}

.text-purple {
    color: var(--srv-purple);
}

.bg-orange-light {
    background-color: var(--srv-orange-pale);
}

.text-orange {
    color: var(--srv-orange);
}

/* ── Mobile ──────────────────────────────────────────────── */
/* NOTE: three separate (max-width: 768px) blocks exist below by design —
   merging them is not cascade-safe without property-level analysis, since
   top-level rules between them could start winning at mobile widths.
   First era rules + second era unique rules (.hero-title font-size) combined. */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .service-card-large {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.75rem;
    }

    .service-icon {
        margin: 0 auto;
    }

    .service-actions {
        justify-content: center;
    }

    .process-steps {
        gap: 2rem;
    }
}

/*
 * services.css — Services Pages
 * Loads on: /services, /services/term-insurance, /services/health-insurance, /services/mutual-funds
 * Requires: style.css loaded first
 * ─────────────────────────────────────────────────────── */

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-stats {
        gap: 2rem;
    }

    .service-card-large {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.75rem;
    }

    .service-icon {
        margin: 0 auto;
    }

    .service-actions {
        justify-content: center;
    }

    .process-steps {
        gap: 2rem;
    }
}

.hero-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

.process-step {
    text-align: center;
    color: white;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}

.process-step p {
    opacity: 0.8;
    line-height: 1.5;
}

.text-center {
    text-align: center;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        gap: 30px;
    }

    .service-card-large {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto;
    }

    .service-actions {
        justify-content: center;
    }

    .process-steps {
        gap: 30px;
    }
}

.step {
    text-align: center;
    color: white;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: white;
}

.step p {
    opacity: 0.8;
    font-size: 0.9375rem;
}
/* ── Tokens ──────────────────────────────────────────────────────────── */
.page-services {
    --ink: #0d1b2a;
    --ink-soft: #4a5568;
    --surface: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --teal: #0d9488;
    --teal-pale: #f0fdfb;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --shadow-sm: 0 2px 8px rgba(13, 27, 42, .06);
    --shadow-md: 0 8px 32px rgba(13, 27, 42, .10);
    --shadow-lg: 0 20px 60px rgba(13, 27, 42, .14);
    --t: .3s cubic-bezier(.4, 0, .2, 1);
    font-family: Inter, system-ui, sans-serif;
    color: var(--ink);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.page-services .svc-hero {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a4f 60%, #0d3d36 100%);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.page-services .svc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 60% at 90% 30%, rgba(13, 148, 136, .18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 70%, rgba(29, 78, 216, .12) 0%, transparent 60%);
}

.page-services .svc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 56px 56px;
}

.page-services .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(13, 148, 136, .15);
    border: 1px solid rgba(13, 148, 136, .35);
    color: #5eead4;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.page-services .hero-eyebrow span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5eead4;
    display: inline-block;
}

.page-services .hero-title {
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -.02em;
}

.page-services .hero-title em {
    font-style: normal;
    color: #5eead4;
}

.page-services .hero-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .75);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.page-services .hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-services .btn-teal {
    background: #0d9488;
    color: #fff;
    border: 2px solid #0d9488;
    padding: .8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--t);
}

.page-services .btn-teal:hover {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
    transform: translateY(-2px);
}

.page-services .btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .35);
    padding: .8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--t);
}

.page-services .btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transform: translateY(-2px);
}

/* trust pills */
.page-services .trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
    justify-content: center;
}

.page-services .trust-pill {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50px;
    padding: .4rem 1.2rem;
    font-size: .82rem;
    color: rgba(255, 255, 255, .9);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.page-services .trust-pill strong {
    font-weight: 700;
    color: #5eead4;
    margin-right: .2rem;
}

/* ── Section base ─────────────────────────────────────────────────────── */
.page-services section {
    padding: 5rem 0;
}

.page-services .sec-label {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: .6rem;
}

.page-services .sec-heading {
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: 1rem;
}

.page-services .sec-sub {
    font-size: 1rem;
    color: var(--ink-soft);
    max-width: 560px;
    line-height: 1.7;
}

/* ── Service cards ────────────────────────────────────────────────────── */
.page-services .svc-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-services .svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.page-services .svc-card-header {
    padding: 2rem 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.page-services .svc-card-body {
    padding: 0 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-services .svc-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--t);
}

.page-services .svc-card:hover .svc-icon-wrap {
    transform: scale(1.08) rotate(-3deg);
}

.page-services .svc-service-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .4rem;
}

.page-services .svc-card-title {
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: .4rem;
    letter-spacing: -.02em;
}

.page-services .svc-tagline {
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: .85rem;
}

.page-services .svc-desc {
    font-size: .92rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* mini stats row */
.page-services .svc-stats {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
}

.page-services .svc-stat-val {
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.page-services .svc-stat-lbl {
    font-size: .72rem;
    color: var(--ink-soft);
    margin-top: .2rem;
}

/* features list */
.page-services .svc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.page-services .svc-features li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .88rem;
    color: var(--ink-soft);
    padding: .45rem 0;
    border-bottom: 1px solid var(--border);
}

.page-services .svc-features li:last-child {
    border-bottom: none;
}

.page-services .svc-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* CTA link */
.page-services .svc-cta-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    border-radius: 50px;
    padding: .75rem 1.5rem;
    transition: var(--t);
    margin-top: auto;
    border: 2px solid currentColor;
}

.page-services .svc-cta-link:hover {
    transform: translateX(3px);
}

/* ── Process steps ────────────────────────────────────────────────────── */
.page-services .process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.page-services .process-step {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--t);
}

.page-services .process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.page-services .step-number {
    width: 60px;
    height: 60px;
    background: var(--teal-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--teal);
    margin: 0 auto 1.25rem;
}

.page-services .process-step h3 {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: .5rem;
}

.page-services .process-step p {
    color: var(--ink-soft);
    font-size: .9rem;
    line-height: 1.6;
    margin: 0;
}

/* ── Why us ───────────────────────────────────────────────────────────── */
.page-services .why-section {
    background: var(--surface);
}

.page-services .why-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    height: 100%;
}

.page-services .why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.page-services .why-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f0fdfb;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--t);
}

.page-services .why-card:hover .why-icon {
    background: #0d9488;
    color: #fff;
}

.page-services .why-card h4 {
    font-weight: 700;
    font-size: .98rem;
    color: var(--ink);
    margin-bottom: .5rem;
}

.page-services .why-card p {
    font-size: .875rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0;
}

/* ── Bottom CTA ───────────────────────────────────────────────────────── */
.page-services .bottom-cta {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a4f 60%, #0d3d36 100%);
    position: relative;
    overflow: hidden;
}

.page-services .bottom-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(13, 148, 136, .18) 0%, transparent 60%);
}

/* ── Reveal ───────────────────────────────────────────────────────────── */
.page-services .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}

.page-services .reveal.in {
    opacity: 1;
    transform: none;
}

.page-services .rd1 {
    transition-delay: .1s;
}

.page-services .rd2 {
    transition-delay: .2s;
}

.page-services .rd3 {
    transition-delay: .3s;
}

.page-services .rd4 {
    transition-delay: .4s;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media(max-width:767px) {
    .page-services .svc-hero {
        padding: 4rem 0 3rem;
    }

    .page-services section {
        padding: 3.5rem 0;
    }

    .page-services .svc-card-header, .page-services .svc-card-body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .page-services .svc-stats {
        gap: .75rem;
    }
    .page-services .hero-title {
        font-size: 2.25rem;
    }
    .page-services .hero-stats {
        gap: 2rem;
    }
    .page-services .service-icon {
        margin: 0 auto;
    }
    .page-services .service-actions {
        justify-content: center;
    }
    .page-services .process-steps {
        gap: 2rem;
    }
}

/* ── Bottom CTA (extracted from inline styles in services.php) ─────────── */
.page-services .bottom-cta-pad { z-index: 1; padding: 5rem 0; }
.page-services .bottom-cta-label { color: #5eead4; }
.page-services .bottom-cta-heading { color: #fff; max-width: 600px; margin: 0 auto 1rem; }
.page-services .bottom-cta-text { color: rgba(255, 255, 255, .7); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── Motion preference — reveal/hover animations off for users who ask ── */
@media (prefers-reduced-motion: reduce) {
    .page-services *, .page-services *::before, .page-services *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}