/* ==========================================================================
   SLS Consulting — Premium IT Consulting Stylesheet
   Design System: Amber/Orange warmth meets modern confidence
   Fonts: Outfit (headings) + Albert Sans (body)
   Framework: Bootstrap 5.3 extension
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    --primary: #1F5BFF;
    --primary-light: #5A8DFF;
    --primary-dark: #0D3DB8;
    --primary-darker: #0B265C;
    --primary-lighter: #D0E3FF;
    --primary-50: #FFF8EE;
    --accent: #1A6B4B;
    --accent-light: #2A9D6E;
    --accent-dark: #12503A;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --surface: #FFFBF5;
    --surface-warm: #FFF9F0;
    --white: #ffffff;
    --off-white: #FDF6ED;
    --dark: #091123;
    --dark-soft: #2D2214;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Albert Sans', sans-serif;

    /* Extended tokens */
    --shadow-sm: 0 1px 3px rgba(26, 18, 7, .06), 0 1px 2px rgba(26, 18, 7, .04);
    --shadow-md: 0 4px 14px rgba(26, 18, 7, .08), 0 2px 6px rgba(26, 18, 7, .04);
    --shadow-lg: 0 12px 40px rgba(26, 18, 7, .1), 0 4px 12px rgba(26, 18, 7, .06);
    --shadow-xl: 0 20px 60px rgba(26, 18, 7, .12), 0 8px 20px rgba(26, 18, 7, .08);
    --shadow-primary: 0 8px 30px rgba(31, 91, 255, .25);
    --shadow-primary-lg: 0 12px 44px rgba(31, 91, 255, .35);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 100px;
    --transition-fast: .2s cubic-bezier(.4, 0, .2, 1);
    --transition-base: .35s cubic-bezier(.4, 0, .2, 1);
    --transition-slow: .5s cubic-bezier(.4, 0, .2, 1);
    --transition-spring: .6s cubic-bezier(.34, 1.56, .64, 1);
    --noise-bg: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
    --dot-pattern: radial-gradient(circle, rgba(31, 91, 255,.06) 1px, transparent 1px);
    --line-pattern: repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(31, 91, 255,.03) 60px, rgba(31, 91, 255,.03) 61px);
}

/* --------------------------------------------------------------------------
   1. RESETS & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

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

::selection {
    background: var(--primary-lighter);
    color: var(--dark);
}

/* Bootstrap nav-pills override for brand colors */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--primary);
    color: var(--white);
}
.nav-pills .nav-link {
    color: var(--gray-700);
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: .6rem 1.25rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.nav-pills .nav-link:hover:not(.active) {
    background: var(--primary-50);
    color: var(--primary-dark);
}
/* Form overrides */
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(31, 91, 255,.15); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: .15em;
    cursor: pointer;
}
.form-check-label {
    cursor: pointer;
    padding-left: .25rem;
}

/* --------------------------------------------------------------------------
   2. READING PROGRESS BAR
   -------------------------------------------------------------------------- */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
    background-size: 200% 100%;
    animation: shimmerBar 2s linear infinite;
    z-index: 10000;
    transition: width .15s linear;
    box-shadow: 0 0 10px rgba(31, 91, 255, .5);
}

@keyframes shimmerBar {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --------------------------------------------------------------------------
   3. TOP BAR
   -------------------------------------------------------------------------- */
.top-bar {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    color: rgba(255, 255, 255, .8);
    font-size: .85rem;
    padding: .55rem 0;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(31, 91, 255, .15);
}

.top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: .4;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .75);
    font-size: .82rem;
    white-space: nowrap;
}

.top-bar-item i {
    color: var(--primary-light);
    font-size: .85rem;
}

.top-bar-link {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.top-bar-link:hover {
    color: var(--primary-light);
}

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

/* --------------------------------------------------------------------------
   4. MAIN HEADER & NAVIGATION — BIGGER, BOLDER
   -------------------------------------------------------------------------- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(31, 91, 255, .08);
}

.main-header .navbar {
    padding: 1rem 0;
    transition: padding var(--transition-base);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 4px 30px rgba(26, 18, 7, .08);
    border-bottom-color: rgba(31, 91, 255, .12);
}

.main-header.scrolled .navbar {
    padding: .6rem 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: .75rem;
    flex-shrink: 0;
}

.brand-logo {
    height: 130px;
    width: auto;
    transition: height var(--transition-base), transform var(--transition-base);
}

.main-header.scrolled .brand-logo {
    height: 110px;
}

.brand-logo:hover {
    transform: scale(1.03);
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: .25rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-soft);
    padding: .85rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
    letter-spacing: .01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: .45rem;
    left: 1.25rem;
    right: 1.25rem;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
    background: var(--primary-50);
}

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

.nav-link.active {
    color: var(--primary-dark);
    font-weight: 700;
    background: var(--primary-50);
    border-radius: var(--radius-md);
}

/* Dropdown menus */
.dropdown-menu {
    border: 1px solid rgba(31, 91, 255, .1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: .75rem;
    background: var(--white);
    animation: dropdownReveal .25s var(--transition-fast);
    min-width: 240px;
}

@keyframes dropdownReveal {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    font-size: .95rem;
    padding: .65rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--dark-soft);
    transition: all var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--primary-50);
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Mobile nav toggle */
.navbar-toggler {
    border: 2px solid var(--primary-lighter);
    border-radius: var(--radius-sm);
    padding: .6rem .8rem;
    background: transparent;
    transition: all var(--transition-fast);
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    background: var(--primary-50);
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(31, 91, 255, .15);
}

.navbar-toggler-icon {
    width: 1.6rem;
    height: 1.6rem;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        padding: 1.25rem;
        margin-top: 1rem;
        border: 1px solid rgba(31, 91, 255, .08);
    }

    .nav-link {
        font-size: 1.15rem;
        padding: 1rem 1.25rem;
    }

    .brand-logo {
        height: 90px;
    }

    .main-header.scrolled .brand-logo {
        height: 70px;
    }
}

/* --------------------------------------------------------------------------
   5. HERO SECTION — DRAMATIC & IMMERSIVE
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 5rem;
    overflow: hidden;
    background: linear-gradient(160deg, var(--surface) 0%, var(--off-white) 40%, var(--primary-50) 100%);
}

/* Noise texture overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--noise-bg);
    background-repeat: repeat;
    background-size: 256px 256px;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

/* Ambient glow orbs */
.hero-section::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(circle, rgba(31, 91, 255, .12) 0%, rgba(31, 91, 255, .04) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { transform: scale(1) translate(0, 0); opacity: .7; }
    100% { transform: scale(1.1) translate(-3%, 5%); opacity: 1; }
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,251,245,.92) 0%, rgba(255,248,238,.85) 50%, rgba(253,232,200,.8) 100%);
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.8;
    color: var(--dark-soft);
    max-width: 620px;
    margin-bottom: 2.5rem;
    opacity: .9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(31, 91, 255, .15);
}

.hero-metric {
    text-align: left;
}

.hero-metric .stat-number,
.hero-metric .value,
.hero-metric strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-metric .label,
.hero-metric span {
    display: block;
    font-size: .9rem;
    color: var(--dark-soft);
    opacity: .7;
    margin-top: .3rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .hero-metrics {
        gap: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   6. SECTIONS — TEXTURED, LAYERED, INTERESTING
   -------------------------------------------------------------------------- */
.section {
    padding: 5.5rem 0;
    position: relative;
}

.section-alt {
    padding: 5.5rem 0;
    position: relative;
    background-color: var(--surface);
}

/* Dot pattern overlay for alt sections */
.section-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--dot-pattern);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

.section-alt > * {
    position: relative;
    z-index: 1;
}

.section-light {
    padding: 5.5rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-50) 100%);
}

.section-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--line-pattern);
    pointer-events: none;
    z-index: 0;
}

.section-light > * {
    position: relative;
    z-index: 1;
}

/* Wave/Diagonal Dividers between sections */
.section::after,
.section-alt::after,
.section-light::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: inherit;
    clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%);
    z-index: 2;
    pointer-events: none;
}

/* Remove divider from last section before footer */
.section:last-of-type::after,
.site-footer + .section::after {
    display: none;
}

/* Warm background section */
.section-warm {
    padding: 5.5rem 0;
    position: relative;
    background: linear-gradient(135deg, var(--surface-warm) 0%, var(--off-white) 100%);
}

.section-warm::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--noise-bg);
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
}

.section-intro {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-intro p {
    font-size: 1.15rem;
    color: var(--dark-soft);
    line-height: 1.8;
    opacity: .85;
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--dark-soft);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.75;
    opacity: .85;
}

/* --------------------------------------------------------------------------
   7. EYEBROW & BADGES
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-heading);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding: .45rem 1rem;
    background: linear-gradient(135deg, var(--primary-lighter), var(--primary-50));
    border-radius: var(--radius-pill);
    border: 1px solid rgba(31, 91, 255, .15);
}

.eyebrow i {
    font-size: .9rem;
    color: var(--primary);
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    padding: .35rem .85rem;
    font-size: .78rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    background: var(--primary-lighter);
    color: var(--primary-dark);
    border: 1px solid rgba(31, 91, 255, .12);
}

/* --------------------------------------------------------------------------
   8. BUTTONS — SHIMMER, DEPTH, PRESENCE
   -------------------------------------------------------------------------- */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .95rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
    isolation: isolate;
}

/* Shimmer effect layer */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left .6s ease;
    z-index: 1;
    pointer-events: none;
}

.btn:hover::before {
    left: 120%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--white);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-primary-lg);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-primary);
}

.btn-soft {
    background: var(--primary-lighter);
    color: var(--primary-dark);
    border-color: transparent;
}

.btn-soft:hover,
.btn-soft:focus {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-light {
    background: var(--white);
    color: var(--primary-dark);
    border-color: rgba(31, 91, 255, .15);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover,
.btn-light:focus {
    background: var(--primary-50);
    color: var(--primary-dark);
    border-color: var(--primary-lighter);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--dark-soft);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn i,
.btn .bi {
    font-size: 1.1em;
    transition: transform var(--transition-fast);
}

.btn:hover i,
.btn:hover .bi {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .btn {
        padding: .85rem 1.5rem;
        font-size: 1rem;
    }

    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.05rem;
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   9. FOCUS CARDS — GRADIENT BORDER REVEAL
   -------------------------------------------------------------------------- */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.focus-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: all var(--transition-base);
    border: 1px solid rgba(31, 91, 255, .08);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Gradient border reveal on hover */
.focus-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--primary-dark));
    -webkit-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-base);
    pointer-events: none;
}

/* Subtle top accent bar */
.focus-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

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

.focus-card:hover::after {
    opacity: 1;
}

.focus-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-50), var(--primary-lighter));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
    border: 1px solid rgba(31, 91, 255, .1);
}

.focus-icon i {
    font-size: 1.6rem;
    color: var(--primary);
    transition: transform var(--transition-spring);
}

.focus-card:hover .focus-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.focus-card:hover .focus-icon i {
    color: var(--white);
    transform: scale(1.15) rotate(-5deg);
}

.focus-card h3,
.focus-card h4 {
    margin-bottom: .75rem;
    font-size: 1.2rem;
}

.focus-card p {
    color: var(--dark-soft);
    opacity: .8;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .focus-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .focus-card {
        padding: 1.75rem;
    }
}

/* --------------------------------------------------------------------------
   10. FOUNDATION CARDS — ICON SCALING EFFECT
   -------------------------------------------------------------------------- */
.foundation-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    text-align: center;
    border: 1px solid rgba(31, 91, 255, .06);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.foundation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 0 0 3px 3px;
    transition: width var(--transition-base);
}

.foundation-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(31, 91, 255, .12);
}

.foundation-card:hover::before {
    width: 120px;
}

.foundation-card i,
.foundation-card .bi {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    display: block;
    transition: transform var(--transition-spring);
}

.foundation-card:hover i,
.foundation-card:hover .bi {
    transform: scale(1.2) translateY(-4px);
}

.foundation-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: .6rem;
}

.foundation-card p {
    color: var(--dark-soft);
    opacity: .8;
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   11. TESTIMONIAL CARDS — QUOTE MARKS, AVATAR, RICH DESIGN
   -------------------------------------------------------------------------- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    border: 1px solid rgba(31, 91, 255, .08);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    overflow: hidden;
}

/* Large decorative quote mark */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 1.5rem;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: var(--primary-lighter);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    opacity: .6;
}

/* Left accent stripe */
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 0 4px 4px 0;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(31, 91, 255, .15);
}

.testimonial-card > * {
    position: relative;
    z-index: 1;
}

.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-soft);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-rating {
    display: flex;
    gap: .2rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--warning);
    font-size: 1.05rem;
}

.testimonial-footer,
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(31, 91, 255, .1);
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-lighter);
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-lighter), var(--primary-50));
}

/* Placeholder avatar if no image */
.testimonial-avatar-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark);
    display: block;
}

.testimonial-role {
    font-size: .85rem;
    color: var(--dark-soft);
    opacity: .7;
    display: block;
    margin-top: .15rem;
}

/* --------------------------------------------------------------------------
   12. IMPACT SECTION & STATS — BIG, BOLD, GRADIENT
   -------------------------------------------------------------------------- */
.impact-section {
    padding: 5.5rem 0;
    position: relative;
    background: linear-gradient(160deg, var(--dark) 0%, var(--dark-soft) 100%);
    color: var(--white);
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--noise-bg);
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
}

/* Decorative gradient orb */
.impact-section::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(31, 91, 255, .15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.impact-section > * {
    position: relative;
    z-index: 1;
}

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

.impact-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.impact-card:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(31, 91, 255, .3);
    transform: translateY(-4px);
}

.impact-number {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .5rem;
}

.impact-card p,
.impact-card .label {
    color: rgba(255, 255, 255, .7);
    font-size: .95rem;
    margin-bottom: 0;
}

/* Stats Section (lighter variant) */
.stats-section {
    padding: 4rem 0;
    position: relative;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--surface-warm) 100%);
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: .35rem;
}

.stat-label {
    font-size: .9rem;
    color: var(--dark-soft);
    opacity: .75;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   13. CTA PANELS — COMMANDING PRESENCE
   -------------------------------------------------------------------------- */
.cta-panel {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    color: var(--white);
    box-shadow: var(--shadow-primary-lg);
}

.cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--noise-bg);
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
    opacity: .8;
}

/* Decorative diagonal stripe */
.cta-panel::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, .08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-panel > * {
    position: relative;
    z-index: 1;
}

.cta-panel h2,
.cta-panel h3 {
    color: var(--white);
}

.cta-panel p {
    color: rgba(255, 255, 255, .85);
}

.cta-panel-inverse {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    color: var(--white);
    box-shadow: var(--shadow-xl);
}

.cta-panel-inverse::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--noise-bg);
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
}

.cta-panel-inverse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
    pointer-events: none;
}

.cta-panel-inverse > * {
    position: relative;
    z-index: 1;
}

.cta-panel-inverse h2,
.cta-panel-inverse h3 {
    color: var(--white);
}

.cta-panel-inverse p {
    color: rgba(255, 255, 255, .8);
}

.cta-panel-content {
    max-width: 600px;
}

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

@media (max-width: 768px) {
    .cta-panel,
    .cta-panel-inverse {
        padding: 2.5rem 1.75rem;
        border-radius: var(--radius-lg);
    }

    .cta-panel-actions {
        flex-direction: column;
    }
}

/* --------------------------------------------------------------------------
   14. JOB CARDS
   -------------------------------------------------------------------------- */
.job-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(31, 91, 255, .08);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(31, 91, 255, .15);
}

.job-card h3,
.job-card h4 {
    font-size: 1.2rem;
    margin-bottom: .75rem;
}

.job-badge {
    display: inline-flex;
    align-items: center;
    padding: .3rem .75rem;
    font-size: .78rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    background: var(--primary-50);
    color: var(--primary-dark);
    border: 1px solid rgba(31, 91, 255, .1);
    gap: .35rem;
}

.job-badge--featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

/* --------------------------------------------------------------------------
   15. TEAM SECTION
   -------------------------------------------------------------------------- */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.team-profile-group {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-profile-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(31, 91, 255, .08);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.team-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(31, 91, 255, .12);
}

.team-profile-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--primary-lighter), var(--primary-50));
    min-height: 320px;
}

.team-profile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-slow);
}

.team-profile-card:hover .team-profile-media img {
    transform: scale(1.05);
}

.team-profile-content {
    padding: 2rem;
}

.team-profile-headline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .5rem;
}

.team-role {
    font-size: .9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.team-profile-bio {
    color: var(--dark-soft);
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    opacity: .85;
}

.team-expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.team-expertise-tag {
    display: inline-flex;
    align-items: center;
    padding: .3rem .75rem;
    font-size: .78rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    background: var(--primary-50);
    color: var(--primary-dark);
    border: 1px solid rgba(31, 91, 255, .08);
    transition: all var(--transition-fast);
}

.team-expertise-tag:hover {
    background: var(--primary-lighter);
    border-color: rgba(31, 91, 255, .2);
}

.team-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.team-contact-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem 0;
    font-size: .9rem;
    color: var(--dark-soft);
}

.team-contact-list li i {
    color: var(--primary);
    width: 1.2rem;
    text-align: center;
}

.team-social-links {
    display: flex;
    gap: .6rem;
}

.team-social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    border: 1px solid rgba(31, 91, 255, .08);
}

.team-social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.team-quote-card {
    background: linear-gradient(135deg, var(--primary-50), var(--surface-warm));
    border-radius: var(--radius-lg);
    padding: 2rem;
    border-left: 4px solid var(--primary);
    position: relative;
    margin-top: 1rem;
}

.team-quote-card::before {
    content: '\201C';
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--primary-lighter);
    line-height: 1;
    position: absolute;
    top: .5rem;
    left: 1.5rem;
}

.team-quote-card p {
    font-style: italic;
    color: var(--dark-soft);
    padding-left: 1rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   16. CARD SPOTLIGHT (GENERIC)
   -------------------------------------------------------------------------- */
.card-spotlight {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(31, 91, 255, .06);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, var(--primary-50), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.card-spotlight:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(31, 91, 255, .12);
}

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

/* --------------------------------------------------------------------------
   17. PAGE HEADER & BREADCRUMB
   -------------------------------------------------------------------------- */
.page-header {
    padding: 4rem 0 3rem;
    background: linear-gradient(160deg, var(--surface) 0%, var(--off-white) 40%, var(--primary-50) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--noise-bg);
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--white);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.page-header > * {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    margin-bottom: .75rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    font-size: .9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--dark-soft);
    opacity: .7;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary-dark);
}

.breadcrumb-item.active {
    color: var(--dark);
    opacity: 1;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '\203A';
    color: var(--dark-soft);
    opacity: .4;
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   18. FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-search {
    max-width: 500px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3rem;
    border: 2px solid rgba(31, 91, 255, .15);
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--white);
    transition: all var(--transition-fast);
    color: var(--dark);
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(31, 91, 255, .12);
}

.faq-search i {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-light);
    font-size: 1.1rem;
}

/* Accordion styling */
.accordion-item {
    border: 1px solid rgba(31, 91, 255, .08);
    border-radius: var(--radius-md) !important;
    margin-bottom: .75rem;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.accordion-item:hover {
    border-color: rgba(31, 91, 255, .15);
}

.accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    padding: 1.25rem 1.5rem;
    background: var(--white);
    transition: all var(--transition-fast);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-50);
    color: var(--primary-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(31, 91, 255, .12);
    border-color: transparent;
}

.accordion-button::after {
    background-image: none;
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    width: auto;
    height: auto;
    color: var(--primary);
    transition: transform var(--transition-base);
}

.accordion-button:not(.collapsed)::after {
    content: '\2212';
    transform: none;
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--dark-soft);
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   19. CONTACT MAP
   -------------------------------------------------------------------------- */
.contact-map-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(31, 91, 255, .08);
}

.contact-map-frame {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* --------------------------------------------------------------------------
   20. NEWSLETTER FORM
   -------------------------------------------------------------------------- */
.newsletter-form {
    display: flex;
    gap: .75rem;
    max-width: 480px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: .85rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-pill);
    font-size: .95rem;
    font-family: var(--font-body);
    background: rgba(255, 255, 255, .1);
    color: var(--white);
    transition: all var(--transition-fast);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, .5);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, .15);
}

.newsletter-form .btn {
    flex-shrink: 0;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: .85rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 1.1rem;
}
.newsletter-form .btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* --------------------------------------------------------------------------
   21. SITE FOOTER — RICH, LAYERED, PREMIUM
   -------------------------------------------------------------------------- */
.site-footer {
    background: linear-gradient(180deg, var(--dark) 0%, #0F0B04 100%);
    color: rgba(255, 255, 255, .75);
    position: relative;
    overflow: hidden;
}

/* Decorative gradient line at top */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light), var(--primary), var(--primary-dark));
    z-index: 1;
}

/* Subtle noise texture */
.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--noise-bg);
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
    opacity: .5;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.footer-top {
    padding: 4.5rem 0 3rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    max-height: 80px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
    filter: brightness(0) invert(1);
}
.footer-logo img {
    max-height: 80px;
    width: auto;
}
@media (max-width: 768px) {
    .footer-logo {
        max-height: 55px;
    }
    .footer-logo img {
        max-height: 55px;
    }
}
    opacity: .9;
}

.footer-brand p {
    color: rgba(255, 255, 255, .6);
    max-width: 300px;
    line-height: 1.7;
    font-size: .92rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: .75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, .6);
    font-size: .92rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-links a:hover::before {
    width: 12px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .85rem;
    font-size: .92rem;
    color: rgba(255, 255, 255, .6);
}

.footer-contact li i {
    color: var(--primary-light);
    margin-top: .25rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, .6);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 1.5rem 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: .85rem;
    color: rgba(255, 255, 255, .45);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, .45);
    font-size: .85rem;
    text-decoration: none;
    transition: color var(--transition-fast);
    padding: .5rem .25rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .footer-top {
        padding: 3rem 0 2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   22. COOKIE CONSENT
   -------------------------------------------------------------------------- */
.cookie-consent {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: opacity .4s ease, transform .4s ease, visibility 0s .4s;
}
.cookie-consent.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity .4s ease, transform .4s ease, visibility 0s 0s;
}

@keyframes slideUpCookie {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(31, 91, 255, .1);
}

.cookie-card p {
    font-size: .9rem;
    color: var(--dark-soft);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.cookie-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.cookie-actions .btn {
    flex: 1;
    min-width: 120px;
}

@media (max-width: 480px) {
    .cookie-consent {
        left: .75rem;
        right: .75rem;
        bottom: .75rem;
    }

    .cookie-card {
        padding: 1.5rem;
    }

    .cookie-actions {
        flex-direction: column;
    }
}

/* --------------------------------------------------------------------------
   23. FLOATING CTA & SCROLL TO TOP
   -------------------------------------------------------------------------- */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    animation: floatingPulse 3s ease-in-out infinite;
}

.floating-cta .btn {
    box-shadow: var(--shadow-primary-lg);
    font-size: 1rem;
    padding: 1rem 1.75rem;
    border-radius: var(--radius-pill);
}

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

/* Pulsing ring effect */
.floating-cta::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--primary);
    opacity: 0;
    animation: floatingRing 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatingRing {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: .3; transform: scale(1.05); }
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(31, 91, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    color: var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

/* Hide floating CTA on pages that already have their own CTA */
body:has(.jd-form-card) .floating-cta,
body:has(#contactForm) .floating-cta {
    display: none !important;
}

/* Push scroll-to-top above mobile sticky CTA bar */
body:has(.jd-mobile-cta) .scroll-to-top {
    bottom: 5.5rem;
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .floating-cta .btn {
        padding: .85rem 1.35rem;
        font-size: .9rem;
    }

    .scroll-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 44px;
        height: 44px;
    }
}

/* --------------------------------------------------------------------------
   24. REVEAL ANIMATIONS — MULTI-DIRECTIONAL, DRAMATIC
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1) translateX(0);
}

/* Directional variants */
.reveal-up {
    transform: translateY(50px);
}

.reveal-down {
    transform: translateY(-50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(.9);
}

.reveal-scale-up {
    transform: scale(.85) translateY(30px);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* Extra delays for grids */
.reveal-delay-6 { transition-delay: .6s; }
.reveal-delay-7 { transition-delay: .7s; }
.reveal-delay-8 { transition-delay: .8s; }

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .floating-cta,
    .floating-cta::before {
        animation: none;
    }

    .btn::before {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   25. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-muted-light {
    color: rgba(255, 255, 255, .6);
}

.text-primary {
    color: var(--primary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-primary-50 {
    background-color: var(--primary-50) !important;
}

.bg-surface {
    background-color: var(--surface) !important;
}

.bg-surface-warm {
    background-color: var(--surface-warm) !important;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-primary-soft {
    border-color: rgba(31, 91, 255, .12) !important;
}

/* --------------------------------------------------------------------------
   26. FORM CONTROLS
   -------------------------------------------------------------------------- */
.form-control,
.form-select {
    font-family: var(--font-body);
    font-size: .95rem;
    padding: .8rem 1.15rem;
    border: 2px solid rgba(31, 91, 255, .12);
    border-radius: var(--radius-md);
    color: var(--dark);
    background-color: var(--white);
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(31, 91, 255, .1);
    outline: none;
}

.form-control::placeholder {
    color: var(--dark-soft);
    opacity: .4;
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .9rem;
    color: var(--dark);
    margin-bottom: .5rem;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* --------------------------------------------------------------------------
   27. CARDS — GENERIC BOOTSTRAP OVERRIDE
   -------------------------------------------------------------------------- */
.card {
    border: 1px solid rgba(31, 91, 255, .08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: 1.75rem;
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
}

.card-text {
    color: var(--dark-soft);
    line-height: 1.7;
}

.card-img-top {
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   28. TABLES
   -------------------------------------------------------------------------- */
.table {
    font-size: .93rem;
}

.table thead th {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--dark-soft);
    border-bottom: 2px solid rgba(31, 91, 255, .12);
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(31, 91, 255, .06);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--primary-50);
}

.table-hover tbody tr:hover {
    background-color: var(--primary-lighter);
}

/* --------------------------------------------------------------------------
   29. ALERTS
   -------------------------------------------------------------------------- */
.alert {
    border-radius: var(--radius-md);
    padding: 1.15rem 1.5rem;
    border: none;
    font-size: .93rem;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.alert-success {
    background: rgba(16, 185, 129, .1);
    color: #065F46;
    border-left: 4px solid var(--success);
}

.alert-warning {
    background: rgba(245, 158, 11, .1);
    color: #92400E;
    border-left: 4px solid var(--warning);
}

.alert-danger {
    background: rgba(239, 68, 68, .1);
    color: #991B1B;
    border-left: 4px solid var(--danger);
}

.alert-info {
    background: var(--primary-50);
    color: var(--primary-dark);
    border-left: 4px solid var(--primary);
}

/* --------------------------------------------------------------------------
   30. MODALS
   -------------------------------------------------------------------------- */
.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid rgba(31, 91, 255, .1);
    padding: 1.5rem 2rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid rgba(31, 91, 255, .1);
    padding: 1.25rem 2rem;
}

.modal-backdrop.show {
    opacity: .6;
}

/* --------------------------------------------------------------------------
   31. PAGINATION
   -------------------------------------------------------------------------- */
.pagination {
    gap: .35rem;
}

.page-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .9rem;
    border: 1px solid rgba(31, 91, 255, .12);
    border-radius: var(--radius-sm) !important;
    color: var(--dark-soft);
    padding: .55rem .85rem;
    transition: all var(--transition-fast);
}

.page-link:hover {
    background: var(--primary-50);
    color: var(--primary-dark);
    border-color: rgba(31, 91, 255, .2);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

/* --------------------------------------------------------------------------
   32. LOADING & SKELETON
   -------------------------------------------------------------------------- */
.skeleton {
    background: linear-gradient(90deg, var(--primary-50) 25%, var(--primary-lighter) 50%, var(--primary-50) 75%);
    background-size: 200% 100%;
    animation: skeletonWave 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeletonWave {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-lighter);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   33. SCROLL ANIMATIONS & MICRO-INTERACTIONS
   -------------------------------------------------------------------------- */

/* Icon hover wobble */
@keyframes iconWobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.focus-card:hover .focus-icon i {
    animation: iconWobble .4s ease;
}

/* Count-up ready state (JS adds .counted) */
.count-up {
    transition: all .6s ease;
}

/* Link underline grow */
.link-underline {
    position: relative;
    display: inline-block;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.link-underline:hover::after {
    width: 100%;
}

/* Image zoom container */
.img-zoom {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.img-zoom img {
    transition: transform var(--transition-slow);
}

.img-zoom:hover img {
    transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   34. SWIPER / CAROUSEL OVERRIDES
   -------------------------------------------------------------------------- */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-lighter);
    opacity: 1;
    transition: all var(--transition-fast);
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary);
    box-shadow: var(--shadow-primary);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: var(--white);
}

/* --------------------------------------------------------------------------
   35. SERVICE DETAIL / CONTENT PAGES
   -------------------------------------------------------------------------- */
.content-page h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--primary-lighter);
}

.content-page h3 {
    margin-top: 2rem;
    margin-bottom: .75rem;
    color: var(--primary-dark);
}

.content-page p {
    margin-bottom: 1.25rem;
    color: var(--dark-soft);
}

.content-page ul,
.content-page ol {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
}

.content-page li {
    margin-bottom: .5rem;
    color: var(--dark-soft);
    line-height: 1.7;
}

.content-page ul li::marker {
    color: var(--primary);
}

.content-page blockquote {
    border-left: 4px solid var(--primary);
    padding: 1.5rem 2rem;
    background: var(--primary-50);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 2rem 0;
    font-style: italic;
    color: var(--dark-soft);
}

/* --------------------------------------------------------------------------
   36. PROCESS / TIMELINE
   -------------------------------------------------------------------------- */
.process-step {
    position: relative;
    padding-left: 3.5rem;
    padding-bottom: 2.5rem;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 2.5rem;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-lighter), transparent);
}

.process-step:last-child::before {
    display: none;
}

.process-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .9rem;
    box-shadow: var(--shadow-primary);
}

/* --------------------------------------------------------------------------
   37. PARTNERS / LOGOS
   -------------------------------------------------------------------------- */
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.partner-logo {
    max-height: 48px;
    opacity: .45;
    filter: grayscale(100%);
    transition: all var(--transition-base);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   38. PRICING CARDS (IF NEEDED)
   -------------------------------------------------------------------------- */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid rgba(31, 91, 255, .08);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary-lg);
    transform: scale(1.03);
}

.pricing-card.featured::before {
    content: 'Empfohlen';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    padding: .3rem 1rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin: 1.5rem 0;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-soft);
    opacity: .6;
}

/* --------------------------------------------------------------------------
   39. ADVANCED BACKGROUND DECORATIONS
   -------------------------------------------------------------------------- */

/* Gradient orb that can be placed in sections */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.bg-orb-primary {
    background: radial-gradient(circle, rgba(31, 91, 255, .1) 0%, transparent 70%);
}

.bg-orb-accent {
    background: radial-gradient(circle, rgba(26, 107, 75, .06) 0%, transparent 70%);
}

/* Grid pattern overlay */
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 91, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 91, 255, .03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Cross-hatch pattern */
.bg-crosshatch {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(31, 91, 255, .02) 20px, rgba(31, 91, 255, .02) 21px),
        repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(31, 91, 255, .02) 20px, rgba(31, 91, 255, .02) 21px);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   40. HOVER LIFT UTILITIES
   -------------------------------------------------------------------------- */
.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.hover-lift-sm {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift-sm:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hover-scale {
    transition: transform var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   41. TOOLTIP CUSTOM
   -------------------------------------------------------------------------- */
.tooltip-inner {
    background: var(--dark);
    font-family: var(--font-body);
    font-size: .82rem;
    padding: .5rem .85rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--dark);
}

.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--dark);
}

/* --------------------------------------------------------------------------
   42. FEATURE LIST / CHECK LIST
   -------------------------------------------------------------------------- */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .5rem 0;
    color: var(--dark-soft);
    line-height: 1.6;
}

.check-list li::before {
    content: '\F272';
    font-family: 'bootstrap-icons';
    color: var(--success);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: .15rem;
}

/* --------------------------------------------------------------------------
   43. GLASSMORPHISM UTILITY
   -------------------------------------------------------------------------- */
.glass {
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, .5);
}

.glass-dark {
    background: rgba(26, 18, 7, .7);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   44. SECTION DIVIDERS — WAVE / DIAGONAL / CURVE
   -------------------------------------------------------------------------- */
.divider-wave {
    position: relative;
    height: 60px;
    overflow: hidden;
}

.divider-wave svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.divider-diagonal {
    position: relative;
    height: 60px;
}

.divider-diagonal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
}

.divider-curve {
    position: relative;
    height: 80px;
}

.divider-curve::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* --------------------------------------------------------------------------
   45. ANIMATED GRADIENT BORDER
   -------------------------------------------------------------------------- */
.gradient-border {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--accent), var(--primary-light));
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradientRotate 4s ease infinite;
}

@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --------------------------------------------------------------------------
   46. NUMBER COUNTER DISPLAY
   -------------------------------------------------------------------------- */
.display-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 80%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --------------------------------------------------------------------------
   47. CUSTOM SCROLLBAR
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-lighter);
    border-radius: 5px;
    border: 2px solid var(--surface);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-lighter) var(--surface);
}

/* --------------------------------------------------------------------------
   48. PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
    .top-bar,
    .floating-cta,
    .scroll-to-top,
    .cookie-consent,
    .reading-progress {
        display: none !important;
    }

    .main-header {
        position: relative;
        box-shadow: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .section,
    .section-alt,
    .section-light {
        padding: 1.5rem 0;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --------------------------------------------------------------------------
   49. RESPONSIVE FINE-TUNING
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .section,
    .section-alt,
    .section-light {
        padding: 4.5rem 0;
    }

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

@media (max-width: 991px) {
    .section,
    .section-alt,
    .section-light {
        padding: 3.5rem 0;
    }

    .hero-section {
        min-height: auto;
        padding: 3.5rem 0 3rem;
    }

    .cta-panel,
    .cta-panel-inverse {
        padding: 2.5rem 2rem;
    }

    .impact-section {
        padding: 3.5rem 0;
    }
}

@media (max-width: 768px) {
    .section,
    .section-alt,
    .section-light {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 1.25rem;
        padding-top: 2rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .testimonial-card {
        padding: 1.75rem;
    }

    .testimonial-card::before {
        font-size: 5rem;
    }

    .footer-top .row > div {
        margin-bottom: 2rem;
    }

    /* Larger touch targets on mobile */
    .btn {
        min-height: 48px;
    }

    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .footer-links a {
        padding: .4rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Disable section pseudo-dividers on mobile */
    .section::after,
    .section-alt::after,
    .section-light::after {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.65rem; }
    h3 { font-size: 1.3rem; }

    .focus-card,
    .foundation-card,
    .job-card {
        padding: 1.5rem;
    }

    .cta-panel,
    .cta-panel-inverse {
        padding: 2rem 1.5rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }
}

/* --------------------------------------------------------------------------
   50. ACCESSIBILITY
   -------------------------------------------------------------------------- */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: .75rem 1.5rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 10001;
    font-weight: 600;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
    color: var(--white);
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High contrast mode adjustments */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid ButtonText;
    }

    .focus-card::before,
    .focus-card::after {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   51. DARK MODE PREPARATION (OPT-IN)
   -------------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
    /* Only activate if html[data-theme="auto"] */
    html[data-theme="auto"] {
        --surface: #091123;
        --surface-warm: #1F1609;
        --white: #091123;
        --off-white: #1F1609;
        --dark: #FFFBF5;
        --dark-soft: #E8DDD0;
    }
}

/* --------------------------------------------------------------------------
   52. KEYFRAME ANIMATIONS LIBRARY
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(31, 91, 255, .15); }
    50% { border-color: rgba(31, 91, 255, .4); }
}

/* Animation utility classes */
.animate-fade-in { animation: fadeIn .6s ease forwards; }
.animate-fade-in-up { animation: fadeInUp .6s ease forwards; }
.animate-fade-in-down { animation: fadeInDown .6s ease forwards; }
.animate-fade-in-left { animation: fadeInLeft .6s ease forwards; }
.animate-fade-in-right { animation: fadeInRight .6s ease forwards; }
.animate-scale-in { animation: scaleIn .5s ease forwards; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* Animation delays */
.delay-100 { animation-delay: .1s; }
.delay-200 { animation-delay: .2s; }
.delay-300 { animation-delay: .3s; }
.delay-400 { animation-delay: .4s; }
.delay-500 { animation-delay: .5s; }
.delay-600 { animation-delay: .6s; }
.delay-700 { animation-delay: .7s; }

/* --------------------------------------------------------------------------
   53. SPECIAL COMPONENT — FEATURE COMPARISON
   -------------------------------------------------------------------------- */
.comparison-table td:first-child {
    font-weight: 600;
    color: var(--dark);
}

.comparison-table .bi-check-circle-fill {
    color: var(--success);
    font-size: 1.2rem;
}

.comparison-table .bi-x-circle-fill {
    color: var(--danger);
    opacity: .4;
    font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   54. SPECIAL COMPONENT — STEP INDICATOR
   -------------------------------------------------------------------------- */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2rem;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-lighter);
    transition: all var(--transition-fast);
}

.step-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
    box-shadow: var(--shadow-primary);
}

.step-dot.completed {
    background: var(--success);
}

/* --------------------------------------------------------------------------
   55. BADGE VARIANTS
   -------------------------------------------------------------------------- */
.badge-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: .35rem .85rem;
    border-radius: var(--radius-pill);
    font-size: .78rem;
    font-weight: 600;
}

.badge-accent {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: var(--white);
    padding: .35rem .85rem;
    border-radius: var(--radius-pill);
    font-size: .78rem;
    font-weight: 600;
}

.badge-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: .3rem .8rem;
    border-radius: var(--radius-pill);
    font-size: .78rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   56. IMAGE DECORATIONS
   -------------------------------------------------------------------------- */
.img-decorated {
    position: relative;
    display: inline-block;
}

.img-decorated::before {
    content: '';
    position: absolute;
    top: 1rem;
    right: -1rem;
    bottom: -1rem;
    left: 1rem;
    border: 3px solid var(--primary-lighter);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.img-decorated img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.img-decorated-dots {
    position: relative;
    display: inline-block;
}

.img-decorated-dots::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 80px;
    height: 80px;
    background-image: var(--dot-pattern);
    background-size: 12px 12px;
    z-index: -1;
    opacity: .8;
}

/* --------------------------------------------------------------------------
   57. CONTAINER UTILITIES
   -------------------------------------------------------------------------- */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   58. SPACING OVERRIDES FOR CONSISTENCY
   -------------------------------------------------------------------------- */
.gap-grid { gap: 1.75rem; }
.gap-cards { gap: 2rem; }
.gap-tight { gap: 1rem; }
.gap-loose { gap: 3rem; }

/* --------------------------------------------------------------------------
   59. COLOR OVERLAYS FOR IMAGES
   -------------------------------------------------------------------------- */
.overlay-primary {
    position: relative;
}

.overlay-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 91, 255, .85) 0%, rgba(11, 38, 92, .9) 100%);
    border-radius: inherit;
}

.overlay-primary > * {
    position: relative;
    z-index: 1;
}

.overlay-dark {
    position: relative;
}

.overlay-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 18, 7, .85) 0%, rgba(45, 34, 20, .9) 100%);
    border-radius: inherit;
}

.overlay-dark > * {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   60. FINAL POLISH — SMOOTH SCROLL & INTERACTION REFINEMENTS
   -------------------------------------------------------------------------- */

/* Ensure smooth scroll-padding for sticky header */
html {
    scroll-padding-top: 120px;
}

/* Remove focus outlines for mouse users, keep for keyboard */
:focus:not(:focus-visible) {
    outline: none;
}

/* Prevent layout shift on scrollbar appearance */
html {
    overflow-y: scroll;
}

/* Image rendering quality */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Prevent text overflow in cards */
.focus-card,
.foundation-card,
.job-card,
.testimonial-card,
.impact-card,
.card-spotlight {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Smooth transitions for interactive elements */
a, button, input, textarea, select, .btn, .card, .nav-link {
    -webkit-tap-highlight-color: transparent;
}

/* End of SLS Consulting Premium Stylesheet */
