:root {
    --color-bg: #f0edee;
    /* Light Background */
    --color-bg-alt: #e1e7eb;
    --color-primary: #2c666e;
    /* Lapis Teal */
    --color-secondary: #073b4c;
    --color-accent: #0b2447;
    /* Deep Navy for text/accents */
    --color-text: #0a192f;
    /* Deep Navy Text */
    --color-text-dim: #546a7b;
    /* Slate Gray */
    --color-text-dark: #0a192f;
    /* For subpage compatibility */
    --glass-bg: rgba(44, 102, 110, 0.05);
    --glass-border: rgba(44, 102, 110, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}



/* Background Visuals */
.bg-visuals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}


.cyber-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(44, 102, 110, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 102, 110, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(1000px) rotateX(60deg);
    animation: grid-move 40s linear infinite;
    opacity: 0.4;
}

@keyframes grid-move {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    bottom: 100px;
    left: -50px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2rem;
    background: rgba(240, 237, 238, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 1000;
    border-radius: 100px;
    border: 1px solid rgba(44, 102, 110, 0.15);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 20px 48px -12px rgba(44, 102, 110, 0.08);
    transition: all 0.3s ease;
}

.navbar:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow:
        0 6px 10px -1px rgba(0, 0, 0, 0.08),
        0 15px 35px -5px rgba(0, 0, 0, 0.12),
        0 25px 60px -12px rgba(44, 102, 110, 0.12);
}


@media (max-width: 768px) {
    .navbar {
        width: 94%;
        padding: 0.5rem 1.5rem;
        top: 0.75rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .nav-logo {
        height: 26px;
    }
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-group:hover {
    transform: translateY(-1px);
}

.nav-logo {
    height: 32px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-dim);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(44, 102, 110, 0.5);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    cursor: pointer;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--color-primary);
    color: #f0edee;
    border: 1px solid var(--color-primary);
    box-shadow: 0 10px 20px rgba(44, 102, 110, 0.15);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #546a7b;
    border-color: #546a7b;
    box-shadow: none;
    transform: none !important;
}


.btn-primary:hover {
    background: #1e4b52;
    border-color: #1e4b52;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(44, 102, 110, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #f0edee;
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}


/* Layout & Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.subpage-main {
    padding-top: 0;
    padding-bottom: 5rem;
    position: relative;
    z-index: 10;
}



/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10rem 5% 5rem;
    min-height: 100vh;
    gap: 4rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(44, 102, 110, 0.1);
    border: 1px solid rgba(44, 102, 110, 0.2);
    border-radius: 50px;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), #4a919e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-dim);
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Code Mockup */
.code-block-mockup {
    background: #000000;
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 550px;
    padding: 2.5rem;
    font-family: var(--font-mono);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.code-header {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background-color: #ff5f56;
}

.yellow {
    background-color: #ffbd2e;
}

.green {
    background-color: #27c93f;
}

.code-body {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.keyword {
    color: #7dd3fc;
}

.variable {
    color: #f472b6;
}

.function {
    color: #fde047;
}

.string {
    color: #34d399;
}

.comment {
    color: #94a3b8;
    font-style: italic;
}

.number {
    color: #fb923c;
}

.boolean {
    color: #818cf8;
}

.attr {
    color: #38bdf8;
}

/* Expertise Section */
.what-we-do {
    padding: 10rem 5%;
    background: linear-gradient(to bottom, transparent, rgba(44, 102, 110, 0.03));
}

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

/* Standard Section Spacing - Matching Index Page "Best" Spacing */
.py-section {
    padding: 10rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2,
.page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-title {
    margin-top: 1rem;
}

.subtitle-text {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.15rem;
    color: var(--color-text-dim);
}

/* Glass Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.compliance-trust .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: start !important;
}

.compliance-trust .badge {
    white-space: nowrap;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    box-shadow: 0 10px 30px rgba(44, 102, 110, 0.04);
    display: flex;
    flex-direction: column;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(44, 102, 110, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}


.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(44, 102, 110, 0.12);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon,
.problem-icon {
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--color-text);
}

.glass-card p {
    color: var(--color-text-dim);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.card-link {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
    margin-top: auto;
}

.card-link:hover {
    gap: 1rem;
}

/* Cursor Animation */
.cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background-color: var(--color-primary);
    margin-left: 4px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.code-body p {
    min-height: 1.5em;
    margin-bottom: 0.25rem;
}

/* Forms & Contact Info */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
    pointer-events: auto;
}



.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(44, 102, 110, 0.1);
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.info-card .glass-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.info-content h4 {
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.info-content p {
    color: var(--color-text-dim);
    font-size: 0.95rem;
}

/* Validation Styles */
.error-text {
    color: #ff4d4d;
    font-size: 0.8rem;
    margin-top: 0.35rem;
    display: none;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.input-error {
    border-color: #ff4d4d !important;
    background: rgba(255, 77, 77, 0.02) !important;
}

.form-success-message {
    margin-bottom: 1.2rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(13, 148, 136, 0.35);
    background: rgba(13, 148, 136, 0.08);
    color: #0f766e;
    font-weight: 600;
    line-height: 1.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}


.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--color-text-dim);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 800;
}


.blog-item {
    margin-bottom: 2.5rem;
}

.blog-meta {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s;
}

.blog-title:hover {
    color: var(--color-primary);
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    grid-auto-rows: 1fr;
}

.blog-list .glass-card {
    height: 100%;
}

.blog-pagination-wrap {
    padding: 1rem 5% 0;
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.page-btn {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-text);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.page-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.blog-page-status {
    text-align: center;
    color: var(--color-text-dim);
    font-size: 0.9rem;
    margin-top: 0.65rem;
}

/* Article Page Styles */
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-header {
    margin-bottom: 4rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-dim);
}

.article-body h2 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 2rem;
    margin: 3.5rem 0 1.5rem;
    letter-spacing: -0.5px;
}

.article-body h3 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body strong {
    color: var(--color-text);
}


/* Footer */
footer {
    background: var(--color-primary);
    padding: 6rem 5% 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0edee;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(240, 237, 238, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(240, 237, 238, 0.22);
    background: rgba(240, 237, 238, 0.04);
    transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
}

.footer-contact-link:hover {
    border-color: rgba(240, 237, 238, 0.55);
    background: rgba(240, 237, 238, 0.12);
    transform: translateX(3px);
}

.footer-icon {
    width: 18px;
    height: 18px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(240, 237, 238, 0.22);
    background: rgba(240, 237, 238, 0.04);
    color: rgba(240, 237, 238, 0.88);
    transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
}

.footer-social-link:hover {
    color: #ffffff;
    border-color: rgba(240, 237, 238, 0.55);
    background: rgba(240, 237, 238, 0.12);
    transform: translateX(3px);
}

.footer-social-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}


/* ===== PROBLEM SECTION ===== */
.problem-section {
    padding: 8rem 5% 6rem;
    background: linear-gradient(to bottom, transparent, rgba(44, 102, 110, 0.03));
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.problem-card {
    text-align: left;
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: rgba(44, 102, 110, 0.08);
    border: 1px solid rgba(44, 102, 110, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.problem-card p {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--color-text-dim);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== SOLUTION SECTION ===== */
.solution-section {
    padding: 8rem 5% 6rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
}

.solution-card {
    position: relative;
}

.solution-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(44, 102, 110, 0.08);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.solution-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.solution-card>p {
    font-size: 0.95rem;
    color: var(--color-text-dim);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.solution-card .check-list {
    margin-top: 0;
}

.solution-card .check-list li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 8rem 5% 6rem;
    background: linear-gradient(to bottom, rgba(44, 102, 110, 0.03), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    position: relative;
}

.testimonial-quote {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--color-text-dim);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #4a919e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-info strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 8rem 5% 6rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    padding: 0 !important;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    transition: color 0.3s;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--color-primary);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.75rem;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--color-text-dim);
    line-height: 1.8;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 6rem 5%;
    margin: 2rem 5% 4rem;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 60%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 60%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-cta-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-3px);
}

.cta-section .btn-primary {
    background: #ffffff;
    color: var(--color-secondary);
    border-color: #ffffff;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ===== ABOUT PAGE REVAMP ===== */

/* Impact Stats (Mission) */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-cta {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.stat-cta:hover {
    background: rgba(44, 102, 110, 0.08);
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(44, 102, 110, 0.12);
}

.stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.95rem;
    color: var(--color-text-dim);
    line-height: 1.5;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Journey Timeline */
.journey-container {
    padding: 6rem 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.journey-track {
    position: absolute;
    left: 50%;
    top: 100px;
    bottom: 100px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.journey-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    /* Animated via GSAP */
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    box-shadow: 0 0 20px rgba(44, 102, 110, 0.4);
    z-index: 1;
}

.line-glow-head {
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 20px;
    height: 24px;
    background: var(--color-primary);
    /* Diamond shape for directional feel */
    clip-path: polygon(50% 100%, 100% 50%, 50% 0%, 0% 50%);
    transform: translateX(-50%);
    box-shadow: 0 0 30px var(--color-primary);
    filter: drop-shadow(0 0 10px var(--color-primary));
}

.journey-milestone {
    position: relative;
    margin-bottom: 6rem;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    /* Default odd to right */
    align-items: center;
    opacity: 0;
    /* Animated via GSAP */
    transform: translateY(50px) scale(0.95);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.journey-milestone.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.journey-milestone:last-child {
    margin-bottom: 0;
}

.journey-milestone:nth-child(even) {
    justify-content: flex-start;
}

.milestone-content {
    width: 42%;
    padding: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.journey-milestone.active .milestone-content {
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(44, 102, 110, 0.12);
    transform: translateY(-5px);
}

.milestone-year {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.milestone-content h4 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.milestone-content p {
    font-size: 0.95rem;
    color: var(--color-text-dim);
    line-height: 1.65;
}

/* Base Node - Hexagonal Shield */
.milestone-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 22px;
    background: var(--color-bg-dark);
    border: 2px solid rgba(255, 255, 255, 0.2);
    /* Hexagon clip path */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Pulsing Scanner Ring */
.milestone-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    clip-path: inherit;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    z-index: -1;
}

.journey-milestone.active .milestone-dot {
    width: 24px;
    height: 28px;
    background: var(--color-primary);
    border-color: #ffffff;
    box-shadow: 0 0 25px var(--color-primary);
    transform: translate(-50%, -50%) rotate(360deg);
    /* Creative twist */
}

.journey-milestone.active .milestone-dot::before {
    animation: cyberPulse 2s infinite;
}

@keyframes cyberPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .journey-track {
        left: 20px;
        transform: none;
    }

    .journey-milestone,
    .journey-milestone:nth-child(even) {
        justify-content: flex-start;
        padding-left: 45px;
    }

    .milestone-content {
        width: 100%;
    }

    .milestone-dot {
        left: 20px;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-subtitle {
        margin: 0 auto 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .grid,
    .problem-grid,
    .solution-grid,
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .compliance-trust .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .cta-content h2 {
        font-size: 2.25rem;
    }

    .cta-section {
        margin: 2rem 3%;
        border-radius: 24px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-section {
        margin: 1rem 2%;
        padding: 4rem 1.5rem;
        border-radius: 20px;
    }

    .compliance-trust .grid {
        grid-template-columns: 1fr !important;
    }

    .problem-section,
    .solution-section,
    .testimonials-section,
    .faq-section {
        padding: 5rem 5% 3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1.25rem 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem;
    }
}
