/* ==========================================================
   PRISMATICA HEALTH - Main Stylesheet
   Premium Medical Billing Website
   ========================================================== */

/* ==========================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================================== */
:root {
    /* Primary Palette (Logo Dark Purple/Blue Base) */
    --primary: #63328F;
    --primary-rgb: 99, 50, 143;
    --primary-light: #8A46C4;
    --primary-dark: #462266;

    /* Secondary Palette (Logo Orange/Gold Top) */
    --secondary: #F79E2A;
    --secondary-rgb: 247, 158, 42;
    --secondary-light: #FABD6A;
    --secondary-dark: #D47B11;

    /* Accent (Logo Coral/Pink Right Side) */
    --accent: #E55269;
    --accent-rgb: 229, 82, 105;
    --accent-light: #EE8696;
    --accent-dark: #B93B4E;

    /* Neutrals — DARK THEME */
    --dark: #0d0814;
    --dark-rgb: 13, 8, 20;
    --dark-card: rgba(255, 255, 255, 0.06);
    --dark-card-rgb: 20, 12, 35;
    --dark-surface: rgba(255, 255, 255, 0.04);
    --light: #f0eaf8;
    --gray: rgba(255, 255, 255, 0.08);
    --gray-100: rgba(255, 255, 255, 0.1);
    --gray-200: rgba(255, 255, 255, 0.15);
    --gray-300: rgba(255, 255, 255, 0.4);
    --gray-400: rgba(255, 255, 255, 0.55);
    --gray-500: rgba(255, 255, 255, 0.7);
    --gray-600: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.55);
    --border-color: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #F16B61 100%);
    --gradient-dark: linear-gradient(135deg, #1a0b2e 0%, #0d1b4b 100%);
    --gradient-hero: linear-gradient(135deg, #160d28 0%, #1a0b35 50%, #0d1b4b 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    --gradient-text: linear-gradient(135deg, var(--secondary-light) 0%, var(--accent-light) 50%, #ffffff 100%);


    /* Glass Effect — dark theme */
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-blur: 20px;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Syne', sans-serif;

    /* Font Sizes (fluid) */
    --fs-xs: clamp(0.7rem, 0.8vw, 0.75rem);
    --fs-sm: clamp(0.8rem, 0.9vw, 0.875rem);
    --fs-base: clamp(0.9rem, 1vw, 1rem);
    --fs-md: clamp(1rem, 1.2vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1.5vw, 1.25rem);
    --fs-xl: clamp(1.25rem, 2vw, 1.5rem);
    --fs-2xl: clamp(1.5rem, 2.5vw, 2rem);
    --fs-3xl: clamp(1.875rem, 3vw, 2.5rem);
    --fs-4xl: clamp(2.25rem, 4vw, 3.5rem);
    --fs-5xl: clamp(2.75rem, 5vw, 4.5rem);

    /* Spacing (8px grid) */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.5rem;
    /* 24px */
    --space-6: 2rem;
    /* 32px */
    --space-7: 2.5rem;
    /* 40px */
    --space-8: 3rem;
    /* 48px */
    --space-9: 4rem;
    /* 64px */
    --space-10: 5rem;
    /* 80px */
    --space-11: 6rem;
    /* 96px */
    --space-12: 8rem;
    /* 128px */

    /* Sections */
    --section-py: clamp(4rem, 8vw, 7rem);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
    --shadow-glow-primary: 0 0 30px rgba(0, 86, 210, 0.3);
    --shadow-glow-secondary: 0 0 30px rgba(0, 201, 167, 0.3);
    --shadow-glow-accent: 0 0 30px rgba(255, 107, 53, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-drawer: 400;
    --z-overlay: 500;
    --z-modal: 600;
    --z-loader: 9999;

    /* Container max-widths override */
    --container-max: 1320px;
}


/* ==========================================================
   2. BASE RESET & GLOBAL STYLES
   ========================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.7;
    letter-spacing: 0.02em;
    color: var(--gray-600);
    background: #0d0814;
    background: linear-gradient(135deg, #2d1b69 0%, #1a0b35 100%);
    animation: pageBgCycle 16s ease infinite;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--light);
}

::-moz-selection {
    background: var(--primary);
    color: var(--light);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-light);
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Links */
a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--light);
}

h1 {
    font-size: var(--fs-5xl);
}

h2 {
    font-size: var(--fs-4xl);
}

h3 {
    font-size: var(--fs-3xl);
}

h4 {
    font-size: var(--fs-2xl);
}

h5 {
    font-size: var(--fs-xl);
}

h6 {
    font-size: var(--fs-lg);
}

p {
    margin-bottom: var(--space-4);
}

/* Utility: Gradient Text */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--accent) !important;
}

/* Section Base */
.section {
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
}

.section-light {
    background: transparent;
    color: var(--light);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6 {
    color: var(--light);
}

.section-light p,
.section-light li {
    color: var(--gray-400);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-9);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: rgba(255, 255, 255, 0.08);
    /* Better contrast */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Better contrast */
    border-radius: var(--radius-full);
    font-family: var(--font-accent);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: #ffffff;
    /* Explicitly white for visibility */
    margin-bottom: var(--space-5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-badge i {
    font-size: 1rem;
}

.section-title {
    font-size: var(--fs-4xl);
    font-weight: 800;
    margin-bottom: var(--space-5);
}

.section-subtitle {
    font-size: var(--fs-md);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

.section-light .section-badge {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}

.section-light .section-subtitle {
    color: var(--gray-400);
}


/* ==========================================================
   3. BUTTONS
   ========================================================== */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

/* Primary Button — Animated Gradient */
.btn-primary {
    position: relative;
    background: radial-gradient(var(--btn-spread-x, 150%) var(--btn-spread-y, 180%) at var(--btn-pos-x, 11%) var(--btn-pos-y, 140%),
            var(--btn-c1, #1a0633) var(--btn-s1, 37%),
            var(--btn-c2, #3d1470) var(--btn-s2, 61%),
            var(--btn-c3, #63328F) var(--btn-s3, 78%),
            var(--btn-c4, #c44060) var(--btn-s4, 89%),
            var(--btn-c5, #f79e2a) var(--btn-s5, 100%));
    color: #fff;
    border: none;
    overflow: hidden;
    transition:
        --btn-pos-x 0.5s, --btn-pos-y 0.5s,
        --btn-spread-x 0.5s, --btn-spread-y 0.5s,
        --btn-c1 0.5s, --btn-c2 0.5s, --btn-c3 0.5s, --btn-c4 0.5s, --btn-c5 0.5s,
        --btn-s1 0.5s, --btn-s2 0.5s, --btn-s3 0.5s, --btn-s4 0.5s, --btn-s5 0.5s,
        box-shadow 0.3s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(99, 50, 143, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(var(--btn-border-angle, 20deg),
            rgba(229, 82, 105, 0.2),
            rgba(247, 158, 42, 0.75));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
    transition: --btn-border-angle 0.5s;
}

.btn-primary:hover {
    --btn-pos-x: 0%;
    --btn-pos-y: 91%;
    --btn-spread-x: 120%;
    --btn-spread-y: 103%;
    --btn-c1: #f79e2a;
    --btn-c2: #e55269;
    --btn-c3: #c44060;
    --btn-c4: #63328F;
    --btn-c5: #1a0633;
    --btn-s1: 0%;
    --btn-s2: 18%;
    --btn-s3: 38%;
    --btn-s4: 70%;
    --btn-s5: 100%;
    --btn-border-angle: 190deg;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(247, 158, 42, 0.4), 0 2px 8px rgba(229, 82, 105, 0.3);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:focus-visible {
    box-shadow: 0 0 0 3px rgba(99, 50, 143, 0.4);
}

/* Accent Button — Animated Gradient (orange→coral variant) */
.btn-accent {
    position: relative;
    background: radial-gradient(var(--acc-spread-x, 150%) var(--acc-spread-y, 180%) at var(--acc-pos-x, 11%) var(--acc-pos-y, 140%),
            var(--acc-c1, #7a1c00) var(--acc-s1, 37%),
            var(--acc-c2, #b83a20) var(--acc-s2, 61%),
            var(--acc-c3, #e55269) var(--acc-s3, 78%),
            var(--acc-c4, #f79e2a) var(--acc-s4, 89%),
            var(--acc-c5, #fabd6a) var(--acc-s5, 100%));
    color: #fff;
    border: none;
    overflow: hidden;
    transition:
        --acc-pos-x 0.5s, --acc-pos-y 0.5s,
        --acc-spread-x 0.5s, --acc-spread-y 0.5s,
        --acc-c1 0.5s, --acc-c2 0.5s, --acc-c3 0.5s, --acc-c4 0.5s, --acc-c5 0.5s,
        --acc-s1 0.5s, --acc-s2 0.5s, --acc-s3 0.5s, --acc-s4 0.5s, --acc-s5 0.5s,
        box-shadow 0.3s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(229, 82, 105, 0.35);
}

.btn-accent::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(var(--acc-border-angle, 20deg),
            rgba(247, 158, 42, 0.2),
            rgba(229, 82, 105, 0.75));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.btn-accent:hover {
    --acc-pos-x: 0%;
    --acc-pos-y: 91%;
    --acc-spread-x: 120%;
    --acc-spread-y: 103%;
    --acc-c1: #fabd6a;
    --acc-c2: #f79e2a;
    --acc-c3: #e55269;
    --acc-c4: #63328F;
    --acc-c5: #1a0633;
    --acc-s1: 0%;
    --acc-s2: 18%;
    --acc-s3: 38%;
    --acc-s4: 70%;
    --acc-s5: 100%;
    --acc-border-angle: 190deg;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(229, 82, 105, 0.45), 0 2px 8px rgba(247, 158, 42, 0.3);
    color: #fff;
}

.btn-accent:active {
    transform: translateY(0);
}

/* Outline Light Button — Same Animated Radial Gradient as other buttons */
.btn-outline-light {
    position: relative;
    background: radial-gradient(var(--out-spread-x, 150%) var(--out-spread-y, 180%) at var(--out-pos-x, 11%) var(--out-pos-y, 140%),
            var(--out-c1, #2a0050) var(--out-s1, 37%),
            var(--out-c2, #4e1e40) var(--out-s2, 61%),
            var(--out-c3, #88394c) var(--out-s3, 78%),
            var(--out-c4, #c0623a) var(--out-s4, 89%),
            var(--out-c5, #e55269) var(--out-s5, 100%));
    color: #fff;
    border: none;
    overflow: hidden;
    transition:
        --out-pos-x 0.5s, --out-pos-y 0.5s,
        --out-spread-x 0.5s, --out-spread-y 0.5s,
        --out-c1 0.5s, --out-c2 0.5s, --out-c3 0.5s, --out-c4 0.5s, --out-c5 0.5s,
        --out-s1 0.5s, --out-s2 0.5s, --out-s3 0.5s, --out-s4 0.5s, --out-s5 0.5s,
        box-shadow 0.3s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(136, 57, 76, 0.3);
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(var(--out-border-angle, 20deg),
            rgba(229, 82, 105, 0.25),
            rgba(99, 50, 143, 0.75));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.btn-outline-light:hover {
    --out-pos-x: 0%;
    --out-pos-y: 91%;
    --out-spread-x: 120%;
    --out-spread-y: 103%;
    --out-c1: #e55269;
    --out-c2: #c0623a;
    --out-c3: #f79e2a;
    --out-c4: #63328F;
    --out-c5: #2a0050;
    --out-s1: 0%;
    --out-s2: 18%;
    --out-s3: 38%;
    --out-s4: 70%;
    --out-s5: 100%;
    --out-border-angle: 190deg;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(229, 82, 105, 0.4), 0 2px 8px rgba(99, 50, 143, 0.3);
    color: #fff;
}

.btn-outline-light:active {
    transform: translateY(0);
}


.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
}

/* Large Button */
.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--fs-base);
    border-radius: var(--radius-lg);
}


/* ==========================================================
   4. PAGE LOADER (3D CUBE)
   ========================================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--dark-card);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-loader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cube-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 3rem;
    perspective: 1200px;
}

.cube-scene {
    position: relative;
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.cube-spinning {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: cubeSpin 8s linear infinite;
}

.cube-core {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 2rem;
    height: 2rem;
    background-color: #fff;
    border-radius: 50%;
    filter: blur(8px);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
    animation: pulse-fast 2s ease-in-out infinite;
}

.side-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.face {
    width: 100%;
    height: 100%;
    position: absolute;
    animation: breathe 3s ease-in-out infinite;
    backdrop-filter: blur(2px);
    background: rgba(var(--primary-rgb), 0.1);
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
}

.side-wrapper.front {
    transform: rotateY(0deg);
}

.side-wrapper.back {
    transform: rotateY(180deg);
}

.side-wrapper.right {
    transform: rotateY(90deg);
}

.side-wrapper.left {
    transform: rotateY(-90deg);
}

.side-wrapper.top {
    transform: rotateX(90deg);
}

.side-wrapper.bottom {
    transform: rotateX(-90deg);
}

.side-wrapper.right .face,
.side-wrapper.left .face {
    background: rgba(var(--accent-rgb), 0.1);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.4);
}

.side-wrapper.top .face,
.side-wrapper.bottom .face {
    background: rgba(var(--secondary-rgb), 0.1);
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.4);
}

.floor-shadow {
    position: absolute;
    bottom: -5rem;
    width: 6rem;
    height: 2rem;
    background-color: rgba(0, 0, 0, 0.15);
    filter: blur(12px);
    border-radius: 100%;
    animation: shadow-breathe 3s ease-in-out infinite;
}

.loader-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-top: 2rem;
}

.loader-heading {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--primary);
    text-transform: uppercase;
}

.loader-desc {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    color: var(--gray-400);
}

@keyframes cubeSpin {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes breathe {

    0%,
    100% {
        transform: translateZ(48px);
        opacity: 0.8;
    }

    50% {
        transform: translateZ(80px);
        opacity: 0.4;
        border-color: rgba(255, 255, 255, 0.8);
    }
}

@keyframes pulse-fast {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes shadow-breathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.2;
    }
}


/* ==========================================================
   5. SCROLL PROGRESS BAR
   ========================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: calc(var(--z-fixed) + 10);
    transition: width 0.05s linear;
}


/* ==========================================================
   6. NAVBAR
   ========================================================== */
.prisma-nav {
    padding: var(--space-4) 0;
    transition: all var(--transition-smooth);
    z-index: var(--z-fixed);
    background: transparent;
}

.prisma-nav.scrolled {
    padding: var(--space-3) 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
}

/* Brand */
.prisma-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none !important;
}

/* Glowing Shadow Squircle Logo Container (from GlowingShadow component) */
@property --hue {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --rotate {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --bg-y {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --bg-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --glow-translate-y {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --bg-size {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --glow-opacity {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --glow-blur {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --glow-scale {
    syntax: "<number>";
    inherits: true;
    initial-value: 2;
}

@property --glow-radius {
    syntax: "<number>";
    inherits: true;
    initial-value: 2;
}

@property --white-shadow {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

.glow-logo-container {
    --card-color: #ffffff;
    /* Changed from black to white */
    --card-radius: 20px;
    --card-width: 90px;
    --border-width: 1px;
    /* Very thin border as requested */
    --bg-size: 1;
    --hue: 0;
    --hue-speed: 1;
    --rotate: 0;
    --animation-speed: 4s;
    --interaction-speed: 0.55s;
    --glow-scale: 1.5;
    --scale-factor: 1;
    --glow-blur: 4;
    --glow-opacity: 0.8;
    --glow-radius: 100;
    --glow-rotate-unit: 1deg;

    width: var(--card-width);
    aspect-ratio: 1/1;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border-radius: var(--card-radius);
    transition: all 0.2s;
}

.glow-logo-container:before,
.glow-logo-container:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--card-radius);
}

.glow-logo-container .glow-content {
    position: absolute;
    background: var(--card-color);
    border-radius: calc(var(--card-radius) - var(--border-width));
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - var(--border-width) * 2);
    height: calc(100% - var(--border-width) * 2);
    z-index: 3;
}

.glow-logo-container .glow-content:before {
    content: "";
    display: block;
    position: absolute;
    width: calc(100% + var(--border-width) * 2);
    height: calc(100% + var(--border-width) * 2);
    border-radius: var(--card-radius);
    box-shadow: 0 0 20px black;
    mix-blend-mode: color-burn;
    z-index: -1;
    background: hsl(0deg 0% 16%) radial-gradient(30% 30% at calc(var(--bg-x) * 1%) calc(var(--bg-y) * 1%),
            hsl(calc(var(--hue) * var(--hue-speed) * 1deg) 100% 90%) calc(0% * var(--bg-size)),
            hsl(calc(var(--hue) * var(--hue-speed) * 1deg) 100% 80%) calc(20% * var(--bg-size)),
            hsl(calc(var(--hue) * var(--hue-speed) * 1deg) 100% 60%) calc(40% * var(--bg-size)),
            transparent 100%);
    animation: hue-animation var(--animation-speed) linear infinite,
        rotate-bg var(--animation-speed) linear infinite;
    transition: --bg-size var(--interaction-speed) ease;
}

.glow-logo-container .glow {
    --glow-translate-y: 0;
    display: block;
    position: absolute;
    width: 20%;
    height: 20%;
    animation: rotate var(--animation-speed) linear infinite;
    transform: rotateZ(calc(var(--rotate) * var(--glow-rotate-unit)));
    transform-origin: center;
    border-radius: 50%;
    z-index: 1;
}

.glow-logo-container .glow:after {
    content: "";
    display: block;
    z-index: -2;
    filter: blur(calc(var(--glow-blur) * 10px));
    width: 130%;
    height: 130%;
    left: -15%;
    top: -15%;
    background: hsl(calc(var(--hue) * var(--hue-speed) * 1deg) 100% 60%);
    position: relative;
    border-radius: 50%;
    animation: hue-animation var(--animation-speed) linear infinite;
    transform: scaleY(calc(var(--glow-scale) * var(--scale-factor) / 1.1)) scaleX(calc(var(--glow-scale) * var(--scale-factor) * 1.2)) translateY(calc(var(--glow-translate-y) * 1%));
    opacity: var(--glow-opacity);
}

.glow-logo-container:hover .glow-content {
    mix-blend-mode: darken;
    box-shadow: 0 0 calc(var(--white-shadow) * 1vw) calc(var(--white-shadow) * 0.15vw) rgb(255 255 255 / 20%);
    animation: shadow-pulse calc(var(--animation-speed) * 2) linear infinite;
}

.glow-logo-container:hover .glow-content:before {
    --bg-size: 15;
    animation-play-state: paused;
    transition: --bg-size var(--interaction-speed) ease;
}

.glow-logo-container:hover .glow {
    --glow-blur: 1.5;
    --glow-opacity: 0.6;
    --glow-scale: 2.5;
    --glow-radius: 0;
    --rotate: 900;
    --glow-rotate-unit: 0;
    --scale-factor: 1.25;
    animation-play-state: paused;
}

.glow-logo-container:hover .glow:after {
    --glow-translate-y: 0;
    animation-play-state: paused;
    transition: --glow-translate-y 0s ease, --glow-blur 0.05s ease,
        --glow-opacity 0.05s ease, --glow-scale 0.05s ease,
        --glow-radius 0.05s ease;
}

@keyframes shadow-pulse {

    0%,
    24%,
    46%,
    73%,
    96% {
        --white-shadow: 0.5;
    }

    12%,
    28%,
    41%,
    63%,
    75%,
    82%,
    98% {
        --white-shadow: 2.5;
    }

    6%,
    32%,
    57% {
        --white-shadow: 1.3;
    }

    18%,
    52%,
    88% {
        --white-shadow: 3.5;
    }
}

@keyframes rotate-bg {
    0% {
        --bg-x: 0;
        --bg-y: 0;
    }

    25% {
        --bg-x: 100;
        --bg-y: 0;
    }

    50% {
        --bg-x: 100;
        --bg-y: 100;
    }

    75% {
        --bg-x: 0;
        --bg-y: 100;
    }

    100% {
        --bg-x: 0;
        --bg-y: 0;
    }
}

@keyframes rotate {
    from {
        --rotate: -70;
        --glow-translate-y: -65;
    }

    25% {
        --glow-translate-y: -65;
    }

    50% {
        --glow-translate-y: -65;
    }

    60%,
    75% {
        --glow-translate-y: -65;
    }

    85% {
        --glow-translate-y: -65;
    }

    to {
        --rotate: calc(360 - 70);
        --glow-translate-y: -65;
    }
}

@keyframes hue-animation {
    0% {
        --hue: 0;
    }

    100% {
        --hue: 360;
    }
}


.brand-icon {
    position: relative;
    display: flex;
    align-items: center;
    background: none;
}

.pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    z-index: 2;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 201, 167, 0.6);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(0, 201, 167, 0);
    }
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--light);
    letter-spacing: 0.06em;
}

.brand-suffix {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Nav Links */
.prisma-nav .nav-link {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: #ffffff;
    /* White text as requested */
    padding: var(--space-2) var(--space-4) !important;
    position: relative;
    transition: color var(--transition-fast);
}

.prisma-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    /* Set directly beneath the text */
    left: var(--space-4);
    /* Start after horizontal padding */
    width: calc(100% - 2rem);
    /* Precise text width exclusion */
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: transform var(--transition-smooth);
    transform: scaleX(0);
    transform-origin: center;
}

.prisma-nav .nav-link:hover,
.prisma-nav .nav-link.active {
    color: var(--primary);
}

.prisma-nav .nav-link:hover::after,
.prisma-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* ==========================================================
   MEGA MENU STYLING (REACT COMPONENT PORT - LIGHT)
   ========================================================== */
.mega-dropdown {
    position: relative;
    /* Context for absolute positioning of dropdown */
}

.mega-menu {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 600px;
    max-width: 90vw;
    background-color: rgba(13, 8, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    display: block;
    z-index: 9999;
}

/* Invisible bridge to prevent hover loss between nav link and dropdown menu */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.company-mega-menu {
    width: 500px;
}

.mega-dropdown:hover .mega-menu,
.mega-dropdown .nav-link:focus+.mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 1rem;
    list-style: none;
    margin: 0;
}

@media (max-width: 768px) {
    .mega-menu-grid {
        grid-template-columns: 1fr;
    }
}

.mega-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mega-menu-links-simple {
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-color: var(--gray-100) !important;
}

.mega-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: #ffffff;
    transition: all var(--transition-fast);
}

.mega-menu-link:hover,
.mega-menu-link:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
}

.simple-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.simple-link:hover {
    background-color: var(--gray-100);
    color: var(--primary);
}

.mega-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all var(--transition-fast);
}

.mega-menu-link:hover .mega-menu-icon {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--secondary);
}

.mega-menu-text {
    display: flex;
    flex-direction: column;
}

.mega-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.mega-desc {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.mega-menu-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

.dropdown-promo-text {
    color: rgba(255, 255, 255, 0.8);
}

.dropdown-promo-link {
    color: var(--primary-dark);
}

.dropdown-promo-link:hover {
    color: var(--secondary);
}

.mega-dropdown .dropdown-toggle::after {
    transition: transform var(--transition-smooth);
}

.mega-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Nav CTA */
.nav-cta {
    font-size: var(--fs-sm) !important;
    padding: var(--space-2) var(--space-5) !important;
    border-radius: var(--radius-md) !important;
}

/* Hamburger */
.prisma-toggler {
    border: none;
    background: transparent;
    padding: var(--space-2);
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10000;
}

.toggler-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--light);
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
}

.prisma-toggler.active .toggler-bar:nth-child(1) {
    transform: rotate(45deg) translateY(5px) translateX(5px);
}

.prisma-toggler.active .toggler-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.prisma-toggler.active .toggler-bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px) translateX(5px);
}


/* ==========================================================
   7. MOBILE DRAWER
   ========================================================== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: none;
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--dark-card);
    border-left: 1px solid var(--border-color);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border-color);
}

.drawer-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--light);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.drawer-close:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.drawer-body {
    flex: 1;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
}

.drawer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-nav li {
    margin-bottom: var(--space-1);
}

.drawer-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--fs-md);
    transition: all var(--transition-fast);
}

.drawer-nav a:hover,
.drawer-nav a.active {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-light);
}

.drawer-nav a i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.drawer-cta {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-color);
}

.drawer-contact {
    margin-top: auto;
    padding-top: var(--space-6);
}

.drawer-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-3);
}

.drawer-contact i {
    color: var(--primary-light);
}


/* ==========================================================
   8. BACK TO TOP
   ========================================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--light);
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: var(--z-sticky);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-primary);
}

/* ==========================================================
   9. HERO SECTION
   ========================================================== */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    padding-bottom: var(--space-6);
    overflow: hidden;
    background: var(--gradient-hero);
}

#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-mesh-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: meshFloat 20s ease-in-out infinite;
}

.mesh-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.mesh-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -10%;
    left: -5%;
    animation-delay: -7s;
}

.mesh-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    animation-delay: -14s;
}

@keyframes meshFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-accent);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-5);
    letter-spacing: -0.03em;
}

.hero-typed-wrapper {
    display: block;
    min-height: 1.2em;
}

.hero-typed-wrapper .typed-cursor {
    color: var(--secondary);
    font-weight: 300;
}

.hero-subtitle {
    font-size: var(--fs-lg);
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

/* Hero Stats Bar */
.hero-stats {
    position: relative;
    z-index: 2;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-7);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border-color);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    font-weight: 500;
    margin-top: var(--space-1);
}

/* Hero Dashboard Mockup */
.hero-visual {
    position: relative;
    z-index: 2;
    margin-top: -6rem;
    display: flex;
    justify-content: flex-end;
}

.dashboard-mockup {
    position: relative;
    width: 100%;
    max-width: 550px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot:nth-child(1) {
    background: #FF5F57;
}

.mockup-dot:nth-child(2) {
    background: #FEBC2E;
}

.mockup-dot:nth-child(3) {
    background: #28C840;
}

.mockup-body {
    display: grid;
    gap: var(--space-4);
}

.mockup-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-4);
}

.mockup-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
}

.mockup-card-title {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.mockup-card-value {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--light);
}

.mockup-card-trend {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.mockup-card-trend.up {
    color: var(--secondary);
}

.mockup-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: var(--space-3);
}

.mockup-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mockup-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

/* Floating elements around dashboard */
.float-element {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: floatBounce 3s ease-in-out infinite;
    white-space: nowrap;
}

.float-element-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.float-element-2 {
    bottom: -20px;
    left: -40px;
    animation-delay: -1.5s;
}

@keyframes floatBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.float-icon.green {
    background: rgba(0, 201, 167, 0.15);
    color: var(--secondary);
}

.float-icon.blue {
    background: rgba(0, 86, 210, 0.15);
    color: var(--primary-light);
}

.float-text-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-sm);
    color: var(--light);
    display: block;
    line-height: 1.2;
}

.float-text-label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    display: block;
}


/* ==========================================================
   10. SERVICES SECTION
   ========================================================== */
.services-section {
    background: var(--dark);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-7);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(var(--primary-rgb), 0.3), rgba(var(--secondary-rgb), 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.1),
        0 0 0 1px rgba(var(--primary-rgb), 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: var(--space-5);
    transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: rgba(var(--primary-rgb), 0.15);
    box-shadow: var(--shadow-glow-primary);
    transform: scale(1.05);
}

.service-card h5 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.service-card p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-5);
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--primary-light);
    transition: all var(--transition-fast);
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-link:hover {
    color: var(--secondary);
}

.service-link:hover i {
    transform: translateX(4px);
}


/* ==========================================================
   11. WHY CHOOSE US SECTION
   ========================================================== */
.why-us-section {
    background: var(--gray);
}

.why-us-point {
    display: flex;
    gap: var(--space-5);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    transition: all var(--transition-smooth);
    background: transparent;
}

.why-us-point:hover {
    background: var(--light);
    box-shadow: var(--shadow-md);
}

.why-us-point+.why-us-point {
    margin-top: var(--space-4);
}

.why-us-check {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
}

.why-us-point:hover .why-us-check {
    background: var(--primary);
    color: var(--light);
}

.why-us-title {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-2);
}

.why-us-text {
    font-size: var(--fs-sm);
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

.why-us-lottie {
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-lottie lottie-player {
    max-width: 100%;
}


/* ==========================================================
   12. STATS COUNTER SECTION
   ========================================================== */
.stats-section {
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 2;
}

.counter-item {
    text-align: center;
    padding: var(--space-6);
}

.counter-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-4);
}

.counter-value {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: var(--light);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.counter-label {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ==========================================================
   13. TESTIMONIALS SECTION
   ========================================================== */
.testimonials-section {
    background: var(--dark);
    position: relative;
}

.testimonial-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-7);
    height: 100%;
    position: relative;
}

.testimonial-stars {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-5);
}

.testimonial-stars i {
    color: #F59E0B;
    font-size: 1rem;
}

.testimonial-quote {
    font-size: var(--fs-md);
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    font-style: italic;
    position: relative;
}

.testimonial-quote::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: -4px;
    font-size: 4rem;
    color: rgba(var(--primary-rgb), 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--light);
    font-size: var(--fs-md);
    flex-shrink: 0;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--light);
    font-size: var(--fs-base);
    margin: 0;
}

.testimonial-role {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin: 0;
}

.swiper-testimonials {
    padding-bottom: var(--space-10) !important;
}

.swiper-testimonials .swiper-pagination-bullet {
    width: 32px;
    height: 4px;
    border-radius: var(--radius-full);
    background: var(--gray-600);
    opacity: 1;
    transition: all var(--transition-smooth);
}

.swiper-testimonials .swiper-pagination-bullet-active {
    background: var(--gradient-primary);
    width: 48px;
}


/* ==========================================================
   14. CTA BANNER SECTION
   ========================================================== */
.cta-section {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.cta-wrapper {
    background: transparent;
    border: none;
    border-radius: var(--radius-xl);
    padding: var(--space-10) var(--space-9);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    margin-bottom: var(--space-5);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}


/* ==========================================================
   15. FOOTER
   ========================================================== */
.prisma-footer {
    background: transparent;
    border-top: none;
    position: relative;
    overflow: hidden;
}

.footer-top {
    padding: var(--space-10) 0 var(--space-9);
}

.footer-brand {
    margin-bottom: var(--space-4);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    color: var(--light);
    margin-bottom: var(--space-4);
}

.footer-logo strong {
    font-weight: 800;
}

.footer-tagline {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all var(--transition-smooth);
}

.social-link:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--light);
    margin-bottom: var(--space-5);
    position: relative;
    padding-bottom: var(--space-3);
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.footer-contact i {
    color: var(--primary-light);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact a {
    color: var(--text-muted);
}

.footer-contact a:hover {
    color: var(--primary-light);
}

/* Newsletter */
.footer-newsletter {
    margin-top: var(--space-6);
}

.footer-newsletter h6 {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--light);
    margin-bottom: var(--space-3);
}

.newsletter-form .input-group {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.newsletter-form .input-group:focus-within {
    border-color: var(--primary);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: var(--light);
    font-size: var(--fs-sm);
    padding: var(--space-3) var(--space-4);
}

.newsletter-form .form-control::placeholder {
    color: var(--gray-600);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
}

.newsletter-form .btn {
    border-radius: 0;
    padding: var(--space-3) var(--space-4);
}

.newsletter-feedback {
    font-size: var(--fs-xs);
    margin-top: var(--space-2);
    min-height: 1.2em;
}

.newsletter-feedback.success {
    color: var(--secondary);
}

.newsletter-feedback.error {
    color: var(--accent);
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--space-5) 0;
    border-top: 1px solid var(--border-color);
}

.copyright {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: var(--space-4);
    justify-content: flex-end;
    flex-wrap: wrap;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--secondary);
    padding: var(--space-2) var(--space-3);
    background: rgba(var(--secondary-rgb), 0.08);
    border: 1px solid rgba(var(--secondary-rgb), 0.15);
    border-radius: var(--radius-sm);
}

.compliance-badge i {
    font-size: 0.9rem;
}


/* ==========================================================
   16. CONTACT PAGE STYLES
   ========================================================== */
.page-hero {
    padding: 140px 0 var(--space-9);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(var(--primary-rgb), 0.1), transparent 70%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero-title {
    font-size: var(--fs-4xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.page-hero-subtitle {
    font-size: var(--fs-md);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
    padding: var(--space-2) var(--space-4);
    margin: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item a:hover {
    color: var(--primary-light);
}

.breadcrumb-item.active {
    color: var(--light);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '›';
    color: var(--gray-600);
    margin-right: var(--space-2);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--light);
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.form-label .required {
    color: var(--accent);
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--light);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    padding: var(--space-3) var(--space-4);
    transition: all var(--transition-fast);
}

.form-select option {
    color: #000;
    background: #fff;
}

.form-control::placeholder {
    color: var(--gray-600);
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    color: var(--light);
}

.form-control.is-invalid {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control.is-valid {
    border-color: var(--secondary);
}

.invalid-feedback {
    font-size: var(--fs-xs);
    color: #EF4444;
    margin-top: var(--space-1);
    display: none;
}

.form-control.is-invalid~.invalid-feedback {
    display: block;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394A3B8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* Contact Info Cards */
.contact-info-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    transition: all var(--transition-smooth);
}

.contact-info-card:hover {
    border-color: rgba(var(--primary-rgb), 0.2);
    transform: translateX(4px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-1);
}

.contact-info-value {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--light);
    font-size: var(--fs-base);
}

.contact-info-value a {
    color: var(--light);
}

.contact-info-value a:hover {
    color: var(--primary-light);
}

/* Map */
.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    height: 300px;
    margin-bottom: var(--space-6);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.3) brightness(0.7);
    transition: filter var(--transition-smooth);
}

.map-wrapper:hover iframe {
    filter: grayscale(0) brightness(0.8);
}

/* Form success state */
.form-success-overlay {
    display: none;
    text-align: center;
    padding: var(--space-8);
}

.form-success-overlay.active {
    display: block;
}

.form-success-overlay lottie-player {
    margin: 0 auto var(--space-5);
}

.form-success-title {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-3);
}

.form-success-text {
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}


/* ==========================================================
   17. SERVICES PAGE
   ========================================================== */
.service-detail-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-6);
    transition: all var(--transition-smooth);
}

.service-detail-card:hover {
    border-color: rgba(var(--primary-rgb), 0.2);
}

.service-detail-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.service-detail-icon {
    width: 72px;
    height: 72px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-light);
    flex-shrink: 0;
}

.service-detail-title {
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.service-detail-desc {
    font-size: var(--fs-md);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-5);
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--fs-sm);
    color: var(--gray-300);
}

.service-feature-item i {
    color: var(--secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* FAQ Accordion */
.faq-section {
    background: var(--dark);
}

.accordion-item {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-lg) !important;
    margin-bottom: var(--space-3);
    overflow: hidden;
}

.accordion-button {
    background: transparent;
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--fs-base);
    padding: var(--space-5) var(--space-6);
    box-shadow: none !important;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary-light);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2394A3B8'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230056D2'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0 var(--space-6) var(--space-5);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.8;
}


/* ==========================================================
   18. ABOUT PAGE
   ========================================================== */
.about-story {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-image-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

/* Mission Vision Cards */
.mission-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-7);
    height: 100%;
    text-align: center;
}

.mission-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto var(--space-5);
}

.mission-card-icon.primary {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-light);
}

.mission-card-icon.secondary {
    background: rgba(var(--secondary-rgb), 0.1);
    color: var(--secondary);
}

/* Values */
.value-card {
    text-align: center;
    padding: var(--space-6);
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    height: 100%;
    transition: all var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-light);
    margin: 0 auto var(--space-4);
}

/* Team Cards */
.team-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: center;
    transition: all var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.team-card-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--secondary-rgb), 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.team-card-body {
    padding: var(--space-5);
}

.team-card-name {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.team-card-role {
    font-size: var(--fs-sm);
    color: var(--primary-light);
    margin-bottom: var(--space-3);
}

.team-card-socials {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
}

.team-card-socials a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.team-card-socials a:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
    color: var(--primary-light);
}


/* ==========================================================
   19. RESPONSIVE DESIGN
   ========================================================== */

/* Extra small: 320px+ */
@media (max-width: 575.98px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: var(--space-5);
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-item:nth-child(1)::after,
    .stat-item:nth-child(3)::after {
        right: 0;
    }

    .hero-title {
        font-size: var(--fs-3xl);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .counter-value {
        font-size: var(--fs-2xl);
    }

    .cta-wrapper {
        padding: var(--space-7) var(--space-5);
    }

    .service-detail-header {
        flex-direction: column;
    }

    .contact-form-wrapper {
        padding: var(--space-5);
    }

    .footer-badges {
        justify-content: flex-start;
        margin-top: var(--space-3);
    }
}

/* Small: 576px - 767.98px */
@media (min-width: 576px) and (max-width: 767.98px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium: 768px - 991.98px */
@media (max-width: 991.98px) {
    .hero-visual {
        display: none;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .navbar-collapse {
        display: none !important;
    }

    .prisma-toggler {
        display: flex !important;
    }

    .why-us-lottie {
        margin-bottom: var(--space-8);
    }

    .footer-badges {
        justify-content: flex-start;
        margin-top: var(--space-3);
    }
}

/* Large: 992px+ */
@media (min-width: 992px) {
    .prisma-toggler {
        display: none !important;
    }

    .mobile-drawer,
    .mobile-overlay {
        display: none !important;
    }
}

/* Extra large: 1200px+ */
@media (min-width: 1200px) {
    .container {
        max-width: var(--container-max);
    }
}

/* Large: 1400px+ */
@media (min-width: 1400px) {
    .hero-section {
        padding-top: 120px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .page-loader {
        display: none;
    }
}

/* ==========================================================
   UPDATED SERVICES CARDS (IMAGE BASED)
   ========================================================== */
.service-image-card {
    background: transparent;
    padding: 0;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: var(--space-4);
    border-radius: 4px;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-image-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-image-content {
    text-align: center;
    padding: 0 var(--space-2);
}

.service-image-content h5 {
    font-size: var(--fs-md);
    font-weight: 800;
    margin-bottom: var(--space-3);
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-light .service-image-content h5 {
    color: var(--dark);
}

.service-image-content p {
    font-size: var(--fs-sm);
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 0;
}

.section-light .service-image-content p {
    color: var(--gray-600);
}

/* Fix why-us section Lottie space */
.why-us-image {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Profile pictures for team cards */
.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

/* ==========================================================
   ANIMATED MESH BACKGROUND (WebGL Shader Alternative)
   ========================================================== */
.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background-color: hsl(216, 90%, 27%);
    /* Base dark blue */
}

/* Make body background transparent so fixed mesh can be the base if needed */
body {
    background-color: transparent;
}

.mesh-blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    animation: meshSwirl 25s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
    /* Higher opacity for vivid soft blending */
    mix-blend-mode: normal;
}

.mesh-blob-1 {
    top: -20%;
    left: -10%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, hsl(243, 68%, 36%) 0%, transparent 60%);
    animation-duration: 35s;
}

.mesh-blob-2 {
    bottom: -30%;
    right: -20%;
    width: 90vw;
    height: 90vw;
    background: radial-gradient(circle, hsl(205, 91%, 64%) 0%, transparent 70%);
    animation-duration: 40s;
    animation-delay: -5s;
}

.mesh-blob-3 {
    top: 20%;
    left: 20%;
    width: 100vw;
    height: 100vw;
    background: radial-gradient(circle, hsl(211, 61%, 57%) 0%, transparent 65%);
    animation-duration: 30s;
    animation-delay: -15s;
}

.mesh-blob-4 {
    bottom: 10%;
    left: -20%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, hsl(216, 90%, 27%) 0%, transparent 60%);
    animation-duration: 38s;
    animation-delay: -10s;
}

@keyframes meshSwirl {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    25% {
        transform: translate(10%, -5%) scale(1.1) rotate(90deg);
    }

    50% {
        transform: translate(-5%, 15%) scale(0.9) rotate(180deg);
    }

    75% {
        transform: translate(-10%, -10%) scale(1.05) rotate(270deg);
    }

    100% {
        transform: translate(5%, 10%) scale(1) rotate(360deg);
    }

    100% {
        transform: translate(5%, 10%) scale(1) rotate(360deg);
    }
}

/* ==========================================================
   FOOTER SOCIAL ANIMATED ICONS
   ========================================================== */
.footer-socials.new-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    /* Ensure gap */
    margin-top: 1.5rem;
}

.footer-socials .social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.footer-socials .icon-container {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-socials .social-svg {
    width: 20px;
    height: 20px;
    color: #4b5563;
    /* Dark gray for visibility on white */
    transition: all 0.3s ease;
}

.footer-socials .social-icon:hover .icon-container {
    transform: translateY(-5px) scale(1.1);
}

.footer-socials .icon-label {
    display: none;
    /* Hide the text labels as requested by the provided screenshot */
}

/* Hover States for Brand Colors */
.footer-socials .social-icon.instagram:hover .icon-container {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.footer-socials .social-icon.instagram:hover .social-svg {
    color: #ffffff;
}

.footer-socials .social-icon.twitter:hover .icon-container {
    background: #1DA1F2;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4);
}

.footer-socials .social-icon.twitter:hover .social-svg {
    color: #ffffff;
}

.footer-socials .social-icon.facebook:hover .icon-container {
    background: #1877F2;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.footer-socials .social-icon.facebook:hover .social-svg {
    color: #ffffff;
}

.footer-socials .social-icon.linkedin:hover .icon-container {
    background: #0077b5;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.footer-socials .social-icon.linkedin:hover .social-svg {
    color: #ffffff;
}

.footer-socials .social-icon:hover svg {
    animation: socialShake 0.5s;
}

@keyframes socialShake {

    0%,
    100% {
        transform: translateX(0) rotate(0);
    }

    20% {
        transform: translateX(-3px) rotate(-3deg);
    }

    40% {
        transform: translateX(3px) rotate(3deg);
    }

    60% {
        transform: translateX(-3px) rotate(-3deg);
    }

    80% {
        transform: translateX(3px) rotate(3deg);
    }
}

.footer-socials .icon-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-socials .social-icon:hover .icon-container::before {
    opacity: 1;
}

/* ==========================================================
   SVG SCROLL FOLLOW SECTION (PRISMATICA BRANDED)
   ========================================================== */
.scroll-follow-section {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-white);
    color: var(--color-dark);
    padding: 0 1rem;
    min-height: 250vh;
    /* Adjust height so scroll happens */
    font-family: var(--font-primary);
}

.scroll-follow-content {
    position: relative;
    display: flex;
    width: fit-content;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
    margin-top: 10rem;
}

.scroll-follow-title {
    position: relative;
    z-index: 10;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.1;
    color: var(--color-dark);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.55);
    paint-order: stroke fill;
}

@media (min-width: 1024px) {
    .scroll-follow-title {
        font-size: 7rem;
    }
}

.scroll-follow-subtitle {
    position: relative;
    z-index: 10;
    max-width: 42rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text);
}

.scroll-follow-svg {
    position: absolute;
    top: 0;
    right: -40%;
    z-index: 0;
    width: 1278px;
    height: 2319px;
    max-width: none;
    pointer-events: none;
}

.scroll-follow-bottom {
    width: 100%;
    border-radius: 2rem;
    background: linear-gradient(135deg, var(--color-dark), var(--color-primary-dark));
    color: var(--color-white);
    padding-bottom: 2.5rem;
    margin-top: calc(100vh + 800px);
    /* Creates the huge gap for the scroll line to drop down */
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.scroll-bottom-title {
    margin-top: 3.5rem;
    text-align: center;
    font-size: 10vw;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #f87171, #c084fc, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 1024px) {
    .scroll-bottom-title {
        font-size: 8vw;
    }
}

.scroll-bottom-info {
    margin-top: 10rem;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 0 1rem;
    font-weight: 500;
}

@media (min-width: 1024px) {
    .scroll-bottom-info {
        margin-top: 0;
        flex-direction: row;
        justify-content: space-between;
    }
}

.info-group {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    text-transform: uppercase;
}

@media (min-width: 1024px) {
    .info-group {
        width: fit-content;
        justify-content: center;
    }
}

.info-group p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================
   Liquid Glassmorphism CTA Effect
   ========================================================== */
.glass-bend-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: var(--radius-xl);
    background: transparent;
    backdrop-filter: none;
    filter: none;
}

.glass-face-layer {
    position: absolute;
    inset: 0;
    z-index: 10;
    border-radius: var(--radius-xl);
    box-shadow: none;
}

.glass-edge-layer {
    position: absolute;
    inset: 0;
    z-index: 20;
    border-radius: var(--radius-xl);
    box-shadow: none;
}

.glass-content-layer {
    position: relative;
    z-index: 30;
}


/* ==========================================================
   HERO ELEGANT FLOATING SHAPES ANIMATION
   Inspired by HeroGeometric — brand-synced colors
   ========================================================== */

/* Container for all shapes */
.hero-shapes-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* Base shape — pill/ellipse */
.elegant-shape {
    position: absolute;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(3px);
    animation: shapeFloat 12s ease-in-out infinite,
        shapeFadeIn 2.4s cubic-bezier(0.23, 0.86, 0.39, 0.96) forwards;
    opacity: 0;
}

/* Inner radial highlight on each shape */
.elegant-shape::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 70%);
}

/* Fade-in drop animation */
@keyframes shapeFadeIn {
    0% {
        opacity: 0;
        transform: var(--shape-rotate) translateY(-120px);
    }

    100% {
        opacity: 1;
        transform: var(--shape-rotate) translateY(0px);
    }
}

/* Continuous floating */
@keyframes shapeFloat {

    0%,
    100% {
        margin-top: 0px;
    }

    50% {
        margin-top: 15px;
    }
}

/* --- Shape 1: Large purple pill, top-left --- */
.hero-shape-1 {
    width: 560px;
    height: 130px;
    left: -8%;
    top: 20%;
    --shape-rotate: rotate(12deg);
    transform: rotate(12deg);
    transform-origin: center center;
    background: linear-gradient(to right, rgba(99, 50, 143, 0.55), transparent);
    box-shadow: 0 8px 40px 0 rgba(99, 50, 143, 0.4);
    animation-delay: 0.3s, 0.3s;
}

/* --- Shape 2: Orange pill, bottom-right --- */
.hero-shape-2 {
    width: 460px;
    height: 110px;
    right: -3%;
    top: 68%;
    --shape-rotate: rotate(-15deg);
    transform: rotate(-15deg);
    transform-origin: center center;
    background: linear-gradient(to right, rgba(247, 158, 42, 0.55), transparent);
    box-shadow: 0 8px 40px 0 rgba(247, 158, 42, 0.4);
    animation-delay: 0.5s, 0.5s;
}

/* --- Shape 3: Coral/pink pill, bottom-left --- */
.hero-shape-3 {
    width: 280px;
    height: 75px;
    left: 8%;
    bottom: 6%;
    --shape-rotate: rotate(-8deg);
    transform: rotate(-8deg);
    transform-origin: center center;
    background: linear-gradient(to right, rgba(229, 82, 105, 0.55), transparent);
    box-shadow: 0 8px 40px 0 rgba(229, 82, 105, 0.4);
    animation-delay: 0.4s, 0.4s;
}

/* --- Shape 4: Small amber pill, top-right --- */
.hero-shape-4 {
    width: 190px;
    height: 55px;
    right: 18%;
    top: 12%;
    --shape-rotate: rotate(20deg);
    transform: rotate(20deg);
    transform-origin: center center;
    background: linear-gradient(to right, rgba(247, 158, 42, 0.50), transparent);
    box-shadow: 0 8px 40px 0 rgba(247, 158, 42, 0.35);
    animation-delay: 0.6s, 0.6s;
}

/* --- Shape 5: Tiny violet pill, top-center-left --- */
.hero-shape-5 {
    width: 140px;
    height: 38px;
    left: 24%;
    top: 7%;
    --shape-rotate: rotate(-25deg);
    transform: rotate(-25deg);
    transform-origin: center center;
    background: linear-gradient(to right, rgba(138, 70, 196, 0.55), transparent);
    box-shadow: 0 8px 40px 0 rgba(138, 70, 196, 0.4);
    animation-delay: 0.7s, 0.7s;
}

/* Staggered float timing per shape */
.hero-shape-1 {
    animation-duration: 6s, 2.4s;
}

.hero-shape-2 {
    animation-duration: 7s, 2.4s;
}

.hero-shape-3 {
    animation-duration: 5.5s, 2.4s;
}

.hero-shape-4 {
    animation-duration: 6.5s, 2.4s;
}

.hero-shape-5 {
    animation-duration: 5s, 2.4s;
}

/* ==========================================================
   LIGHT BACKGROUND SECTIONS — DARK TEXT OVERRIDES
   These classes are used on pages with white/light backgrounds.
   The site uses a dark theme globally (white text) so we must
   explicitly force dark text for these specific sections.
   ========================================================== */

/* ── Blog Page: card grid + filter bar ───────────────────── */
.ph-blog-section,
.ph-blog-filter-bar {
    color: #1a1a2e !important;
    background: #ffffff;
}

.ph-blog-section h1,
.ph-blog-section h2,
.ph-blog-section h3,
.ph-blog-section h4,
.ph-blog-section h5,
.ph-blog-section h6,
.ph-blog-card-title,
.ph-blog-card-title a {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

.ph-blog-section p,
.ph-blog-card-excerpt,
.ph-blog-card-body p {
    color: #6B7280 !important;
    -webkit-text-fill-color: #6B7280 !important;
}

.ph-blog-tab {
    color: #6B7280 !important;
    -webkit-text-fill-color: #6B7280 !important;
}

.ph-blog-tab.active {
    color: #0052CC !important;
    -webkit-text-fill-color: #0052CC !important;
}

.ph-blog-card-meta,
.ph-blog-card-meta span,
.ph-blog-card-meta small,
.ph-blog-meta,
.ph-blog-meta span,
.ph-blog-meta small {
    color: #9CA3AF !important;
    -webkit-text-fill-color: #9CA3AF !important;
}

.ph-blog-read-more {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

/* ── Services Page: card grid + process + faq ────────────── */
.svc-grid-section {
    color: #1a1a2e !important;
    background: #f8f9fa;
}

.svc-process {
    color: #1a1a2e !important;
    background: #ffffff;
}

.svc-faq {
    color: #1a1a2e !important;
    background: #f8f9fa;
}

.svc-grid-section h1,
.svc-grid-section h2,
.svc-grid-section h3,
.svc-grid-section h4,
.svc-grid-section h5,
.svc-grid-section h6,
.svc-process h1,
.svc-process h2,
.svc-process h3,
.svc-process h4,
.svc-process h5,
.svc-process h6,
.svc-faq h1,
.svc-faq h2,
.svc-faq h3,
.svc-faq h4,
.svc-faq h5,
.svc-faq h6,
.svc-section-title,
.svc-card-title,
.svc-card-title a,
.svc-step-title,
.svc-faq-q {
    color: #1a1a2e !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

.svc-section-sub,
.svc-card-desc,
.svc-step-desc,
.svc-faq-a p,
.svc-grid-section p,
.svc-process p,
.svc-faq p {
    color: #6B7280 !important;
    -webkit-text-fill-color: #6B7280 !important;
}

.svc-eyebrow {
    color: #0052CC !important;
}

.svc-card-kpi {
    color: #0052CC !important;
    background: #EFF6FF !important;
}

.svc-faq-q:hover,
.svc-faq-q[aria-expanded=true] {
    color: #0052CC !important;
    -webkit-text-fill-color: #0052CC !important;
}

.svc-step-num {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* ── Individual Blog Post Fix & General White Background Fix ────────────── */
article.blog-post,
article.blog-post p,
article.blog-post li,
article.blog-post td,
article.blog-post th,
article.blog-post .text-muted,
.accordion-body.bg-white {
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
}

article.blog-post h1,
article.blog-post h2,
article.blog-post h3,
article.blog-post h4,
article.blog-post h5,
article.blog-post h6,
article.blog-post strong,
article.blog-post b,
article.blog-post .text-dark,
.accordion-button.bg-white {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

article.blog-post a:not(.btn) {
    color: #0052CC !important;
    -webkit-text-fill-color: #0052CC !important;
}

/* Force dark text inside light/white background utilities across the site */
.bg-light,
.bg-white {
    color: #1f2937 !important;
}

.bg-light p,
.bg-light li,
.bg-white p,
.bg-white li,
.bg-white .text-muted,
.bg-light .text-muted,
.bg-white .alert-secondary,
.bg-light .alert-secondary {
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
}

.bg-light h1,
.bg-light h2,
.bg-light h3,
.bg-light h4,
.bg-light h5,
.bg-light h6,
.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white h4,
.bg-white h5,
.bg-white h6,
.bg-light .text-dark,
.bg-white .text-dark,
aside h3 {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

.bg-light a:not(.btn),
.bg-white a:not(.btn) {
    color: #0052CC !important;
}

/* Mobile Layout Fixes injected by AI */
@media (max-width: 991px) {
    .glow-logo-container {
        transform: scale(0.6);
        transform-origin: left center;
        margin-top: -10px;
        margin-bottom: -10px;
    }
    .prisma-nav .container {
        align-items: center;
        position: relative;
    }
    .prisma-toggler {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
}
