/* ============ RESET & BASE ============ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --inspa-red: #C8102E;
    --inspa-red-dark: #a00d25;
    --inspa-navy: #1a1a2e;
    --inspa-navy-light: #16213e;
    --govt-blue: #1e40af;
    --govt-blue-dark: #1e3a8a;
    --text-dark: #1a1a2e;
    --text-gray: #666;
    --bg-light: #f8f9fa;
    --border-light: #e5e7eb;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--inspa-navy);
    padding: 10px 60px;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: #fff;
}

.top-bar .icon {
    font-size: 14px;
}

/* ============ MAIN NAVIGATION ============ */
.main-nav {
    background: #fff;
    padding: 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid var(--inspa-red);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--inspa-red);
}

.nav-cta {
    background: var(--inspa-red) !important;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
    background: var(--inspa-red-dark) !important;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--inspa-navy);
    border-radius: 2px;
}

/* ============ TRUST BADGES BAR ============ */
.trust-badges-bar {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 60px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid #dee2e6;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.trust-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
}

.trust-badge.govt .trust-badge-icon {
    background: linear-gradient(135deg, var(--govt-blue) 0%, var(--govt-blue-dark) 100%);
}

.trust-badge.private .trust-badge-icon {
    background: linear-gradient(135deg, var(--inspa-red) 0%, #991b1b 100%);
}

.trust-badge.years .trust-badge-icon {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.trust-badge-text {
    font-size: 13px;
    color: #333;
}

.trust-badge-text strong {
    display: block;
    color: var(--inspa-navy);
    font-weight: 700;
}

.trust-badge-text span {
    color: var(--text-gray);
    font-size: 12px;
}

/* ============ HERO SECTION ============ */
.hero {
    background: linear-gradient(rgba(26, 26, 46, 0.75), rgba(26, 26, 46, 0.85)),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600') center/cover fixed;
    padding: 100px 60px;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* ============ PATHWAY SECTION ============ */
.pathway-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.pathway {
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #fff;
}

.pathway::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.4s;
}

.pathway:hover::before {
    opacity: 1;
}

.pathway:hover {
    transform: scale(1.01);
}

.pathway.govt {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}

.pathway.govt::before {
    background: linear-gradient(135deg, var(--govt-blue) 0%, #1e3a5f 100%);
}

.pathway.private {
    background: linear-gradient(135deg, var(--inspa-red) 0%, #7f1d1d 100%);
}

.pathway.private::before {
    background: linear-gradient(135deg, #dc2626 0%, var(--inspa-red) 100%);
}

.pathway-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.pathway-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pathway-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
    margin-bottom: 10px;
    font-weight: 600;
}

.pathway h2 {
    font-size: 2.6rem;
    margin-bottom: 15px;
    line-height: 1.1;
    font-weight: 800;
}

.pathway > .pathway-content > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.7;
}

.pathway-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.pathway-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pathway-badge .check {
    color: #4ade80;
}

.pathway-features {
    list-style: none;
    margin-bottom: 35px;
}

.pathway-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
}

.pathway-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(74, 222, 128, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #4ade80;
    flex-shrink: 0;
}

.pathway-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: #fff;
    color: var(--inspa-navy);
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pathway.private .pathway-cta {
    color: var(--inspa-red);
}

.pathway-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.pathway-cta .arrow {
    transition: transform 0.3s;
}

.pathway-cta:hover .arrow {
    transform: translateX(5px);
}

/* ============ CLIENTS SECTION ============ */
.clients-section {
    padding: 80px 60px;
    background: #fff;
}

.clients-section h3 {
    text-align: center;
    color: var(--inspa-navy);
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.clients-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.client-column h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid;
    font-weight: 700;
}

.client-column.govt h4 {
    border-color: var(--govt-blue);
}

.client-column.private h4 {
    border-color: var(--inspa-red);
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.client-logo {
    background: var(--bg-light);
    padding: 14px 22px;
    border-radius: 8px;
    font-weight: 600;
    color: #333;
    font-size: 13px;
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}

.client-logo:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ============ SERVICES PREVIEW ============ */
.services-preview {
    background: var(--bg-light);
    padding: 80px 60px;
}

.services-preview h3 {
    text-align: center;
    color: var(--inspa-navy);
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--govt-blue), var(--inspa-red));
}

.service-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.service-tag {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-tag.govt {
    background: #dbeafe;
    color: var(--govt-blue);
}

.service-tag.private {
    background: #fee2e2;
    color: var(--inspa-red);
}

.service-card h4 {
    color: var(--inspa-navy);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* ============ WHY SECTION ============ */
.why-section {
    background: #fff;
    padding: 80px 60px;
}

.why-content {
    max-width: 1200px;
    margin: 0 auto;
}

.why-section h3 {
    text-align: center;
    color: var(--inspa-navy);
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 30px 20px;
}

.why-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.why-card h4 {
    color: var(--inspa-navy);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.why-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* Clickable Why Card (Factor Platform) */
.why-card-link {
    display: block;
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border-radius: 16px;
    border: 2px solid #fecaca;
    transition: all 0.3s ease;
}

.why-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(200, 16, 46, 0.15);
    border-color: var(--inspa-red);
}

.why-card-link .learn-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--inspa-red);
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.3s;
}

.why-card-link:hover .learn-more {
    transform: translateX(5px);
}

/* ============ FACTOR PREVIEW SECTION ============ */
.factor-preview {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.factor-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, var(--inspa-red) 0%, transparent 70%);
    opacity: 0.1;
    transform: rotate(-15deg);
}

.factor-preview-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.factor-preview-text {
    max-width: 500px;
}

.factor-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 16, 46, 0.2);
    border: 1px solid rgba(200, 16, 46, 0.4);
    color: #fca5a5;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.factor-preview h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.factor-preview h3 span {
    color: var(--inspa-red);
}

.factor-preview-text > p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 30px;
}

.factor-preview-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.factor-preview-feature {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.factor-preview-feature .check {
    color: #4ade80;
}

.factor-preview-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: var(--inspa-red);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.4);
}

.factor-preview-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.5);
}

.factor-preview-cta .arrow {
    transition: transform 0.3s;
}

.factor-preview-cta:hover .arrow {
    transform: translateX(5px);
}

/* Factor Preview Visual/Cards */
.factor-preview-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.factor-mini-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s;
}

.factor-mini-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.factor-mini-card .icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.factor-mini-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.factor-mini-card p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.5;
}

/* Factor Preview Responsive */
@media (max-width: 900px) {
    .factor-preview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .factor-preview-text {
        max-width: 100%;
        text-align: center;
    }

    .factor-preview-features {
        justify-content: center;
    }

    .factor-preview h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .factor-preview {
        padding: 60px 20px;
    }

    .factor-preview-visual {
        grid-template-columns: 1fr;
    }
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, var(--inspa-navy) 0%, var(--inspa-red) 100%);
    padding: 80px 60px;
    text-align: center;
    color: #fff;
}

.cta-section h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.cta-btn.primary {
    background: #fff;
    color: var(--inspa-red);
}

.cta-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.cta-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ============ FOOTER ============ */
.footer {
    background: #0f0f1a;
    color: #fff;
    padding: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Stacked column for Government + Private */
.footer-col-stacked {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-col-stacked .footer-subgroup h5 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-col-stacked .footer-subgroup a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 0;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col-stacked .footer-subgroup a:hover {
    color: var(--inspa-red);
}

.footer-brand .footer-logo {
    filter: brightness(0) invert(1);
    height: 55px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact strong {
    color: #fff;
}

.footer-col h5 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--inspa-red);
}

.footer-bottom {
    max-width: 1300px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #fff;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .pathway-section {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 10px 20px;
    }

    .top-bar-content {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .top-bar a span:not(.icon) {
        display: none;
    }

    .main-nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .trust-badges-bar {
        padding: 15px 20px;
        gap: 15px;
    }

    .trust-badge {
        padding: 10px 15px;
    }

    .trust-badge-icon {
        width: 35px;
        height: 35px;
        font-size: 11px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .pathway {
        padding: 50px 25px;
    }

    .pathway h2 {
        font-size: 2rem;
    }

    .clients-section,
    .services-preview,
    .why-section,
    .cta-section {
        padding: 60px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-section h3 {
        font-size: 1.8rem;
    }

    .footer {
        padding: 40px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
