/* Spring Innovation - Custom Styles */
/* Color Palette: Cyan/Blue accent matching springinnovation.com branding */

:root {
    /* Primary Colors - Cyan/Blue from existing site */
    --si-primary: #0ea5e9;
    --si-primary-light: #38bdf8;
    --si-primary-dark: #0284c7;
    --si-primary-subtle: #e0f2fe;
    
    /* Secondary accent - Magenta/Pink from the hero image */
    --si-accent: #c026d3;
    
    /* Neutral Colors */
    --si-dark: #1f2937;
    --si-gray-900: #111827;
    --si-gray-800: #1f2937;
    --si-gray-700: #374151;
    --si-gray-600: #4b5563;
    --si-gray-500: #6b7280;
    --si-gray-400: #9ca3af;
    --si-gray-300: #d1d5db;
    --si-gray-200: #e5e7eb;
    --si-gray-100: #f3f4f6;
    --si-white: #ffffff;
    
    /* Gradients */
    --si-gradient: linear-gradient(135deg, var(--si-primary) 0%, var(--si-primary-light) 100%);
    --si-gradient-dark: linear-gradient(135deg, #0c4a6e 0%, #0284c7 100%);
}

/* Typography - Clean sans-serif to match existing site */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--si-gray-700);
    line-height: 1.7;
    background-color: var(--si-white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--si-dark);
    line-height: 1.2;
}

/* Navbar */
.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--si-gray-200);
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    font-weight: 500;
    color: var(--si-gray-700) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--si-primary) !important;
}

/* Top Bar */
.top-bar {
    background: var(--si-gray-900);
    color: var(--si-gray-400);
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.top-bar a {
    color: var(--si-gray-300);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Hero Section */
.hero-section {
    background: url('/assets/img/slides/digital_tree.png') center center / cover no-repeat;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

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

/* ==========================================
   Hero Workflow Animation
   ========================================== */
.hero-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-workflow-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.9;
}

/* Match background image colors */
.hero-workflow-svg {
    --hero-line-color: rgba(0, 210, 235, 0.35);
    --hero-line-glow: rgba(0, 210, 235, 0.6);
    --hero-node-color: rgba(0, 220, 240, 0.5);
    --hero-node-glow: rgba(0, 230, 255, 0.9);
    --hero-fill-subtle: rgba(0, 200, 230, 0.05);
    --hero-fill-medium: rgba(0, 210, 235, 0.1);
}

/* Circuit nodes - subtle pulse animation */
.circuit-node {
    animation: nodePulse 3s ease-in-out infinite;
}

.messy-item .circuit-node:nth-child(1) { animation-delay: 0s; }
.messy-item .circuit-node:nth-child(2) { animation-delay: -0.5s; }
.messy-item .circuit-node:nth-child(3) { animation-delay: -1s; }

@keyframes nodePulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Messy data items - floating animation */
.messy-item {
    animation: messyFloat 5s ease-in-out infinite;
}

.messy-1 { animation-delay: 0s; }
.messy-2 { animation-delay: -1s; }
.messy-3 { animation-delay: -2s; }
.messy-4 { animation-delay: -3s; }
.messy-5 { animation-delay: -4s; }

@keyframes messyFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.8;
    }
    50% {
        transform: translate(3px, -5px);
        opacity: 1;
    }
}

/* Flow lines - thin, matching background style */
.hero-flow-line {
    fill: none;
    stroke: rgba(0, 210, 235, 0.25);
    stroke-width: 1;
    stroke-dasharray: 6 8;
    animation: heroFlowDash 3s linear infinite;
}

.hfl-1 { animation-delay: 0s; }
.hfl-2 { animation-delay: -0.5s; }
.hfl-3 { animation-delay: -1s; }
.hfl-4 { animation-delay: -1.5s; }
.hfl-5 { animation-delay: -2s; }

.hfl-out-1 { animation-delay: -0.2s; animation-direction: reverse; }
.hfl-out-2 { animation-delay: -0.6s; animation-direction: reverse; }
.hfl-out-3 { animation-delay: -1s; animation-direction: reverse; }
.hfl-out-4 { animation-delay: -1.4s; animation-direction: reverse; }
.hfl-out-5 { animation-delay: -1.8s; animation-direction: reverse; }

@keyframes heroFlowDash {
    to {
        stroke-dashoffset: -28;
    }
}

/* Processing hub animations */
.hub-outer {
    animation: hubPulseOuter 4s ease-in-out infinite;
}

.hub-middle {
    animation: hubPulseMiddle 3s ease-in-out infinite;
}

.hub-inner {
    animation: hubPulseInner 2.5s ease-in-out infinite;
}

.hub-core {
    animation: hubCorePulse 2s ease-in-out infinite;
}

@keyframes hubPulseOuter {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes hubPulseMiddle {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

@keyframes hubPulseInner {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

@keyframes hubCorePulse {
    0%, 100% {
        opacity: 0.85;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* Orbiting nodes in processing hub */
.hub-gear {
    animation: hubGearRotate 20s linear infinite;
    transform-origin: center;
}

@keyframes hubGearRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Hub connection lines */
.hub-connections {
    animation: connectionPulse 2s ease-in-out infinite;
}

@keyframes connectionPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Processing dots around hub */
.proc-dot {
    animation: procDotPulse 2s ease-in-out infinite;
}

.pd-1 { animation-delay: 0s; }
.pd-2 { animation-delay: -0.33s; }
.pd-3 { animation-delay: -0.66s; }
.pd-4 { animation-delay: -1s; }
.pd-5 { animation-delay: -1.33s; }
.pd-6 { animation-delay: -1.66s; }

@keyframes procDotPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Clean output items - organized appearance animation */
.clean-item {
    animation: cleanAppear 4s ease-in-out infinite;
}

.clean-1 { animation-delay: 0s; }
.clean-2 { animation-delay: -0.8s; }
.clean-3 { animation-delay: -1.6s; }
.clean-4 { animation-delay: -2.4s; }
.clean-5 { animation-delay: -3.2s; }

@keyframes cleanAppear {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-3px);
    }
}

/* Hero particles - bright glowing orbs */
.hero-particle {
    /* Filter applied in SVG for proper glow */
}

/* Mouse-responsive parallax layers */
.messy-data-group,
.clean-data-group,
.processing-hub,
.input-flow-lines,
.output-flow-lines,
.hero-particles {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Mouse glow effect - matching background cyan */
.hero-mouse-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 220, 240, 0.12) 0%, rgba(0, 210, 235, 0.04) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Enhanced hover state for processing hub */
.hero-section:hover .hub-core {
    animation-duration: 1s;
}

.hero-section:hover .hub-gear {
    animation-duration: 10s;
}

/* Messy items hover enhancement */
.hero-section:hover .messy-item {
    animation-play-state: paused;
}

/* Clean items hover enhancement */
.hero-section:hover .clean-item {
    animation-play-state: paused;
}

/* Flow lines become more visible on hover */
.hero-section:hover .hero-flow-line {
    stroke: rgba(0, 220, 240, 0.4);
    stroke-width: 1.5;
}

/* Circuit nodes glow brighter on hover */
.hero-section:hover .circuit-node {
    animation-duration: 1.5s;
}

/* Processing dots speed up on hover */
.hero-section:hover .proc-dot {
    animation-duration: 1s;
}

/* Responsive adjustments for hero animation */
@media (max-width: 1199.98px) {
    .hero-workflow-svg {
        opacity: 0.7;
    }
    
    .hero-mouse-glow {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 991.98px) {
    .hero-workflow-svg {
        opacity: 0.5;
        transform: translateX(20%);
    }
    
    .messy-data-group,
    .input-flow-lines {
        opacity: 0.6;
    }
    
    .hero-mouse-glow {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-animation-container {
        display: none;
    }
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--si-white);
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--si-gray-300);
    max-width: 550px;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.hero-supporting-statement {
    font-size: 1rem;
    color: var(--si-gray-400);
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-style: italic;
    padding-left: 1rem;
    border-left: 2px solid rgba(14, 165, 233, 0.4);
}

/* Buttons */
.btn-primary {
    background: var(--si-primary);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background: var(--si-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-outline-light {
    color: var(--si-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.8rem 1.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--si-white);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--si-primary);
    border: 2px solid var(--si-primary);
    padding: 0.8rem 1.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--si-primary);
    border-color: var(--si-primary);
    color: white;
    transform: translateY(-2px);
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--si-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--si-gray-500);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Services Section */
.services-section {
    background: var(--si-gray-100);
    padding: 6rem 0;
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
}

/* Achievements Panel - in grid column 1, row 3 */
.services-grid .services-achievements {
    grid-column: 1 !important;
    grid-row: 3 !important;
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.06) 0%, rgba(6, 78, 112, 0.1) 100%);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.achievements-title {
    color: var(--si-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 0;
    width: 100%;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    min-width: 0;
    overflow: hidden;
}

.achievement-item:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.25);
    transform: translateX(4px);
}

.achievement-item i {
    color: var(--si-primary);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.achievement-item span {
    color: var(--si-gray-200);
    font-size: 0.85rem;
    line-height: 1.35;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

/* Large Image - spans 2 rows (kept for reference) */
.services-image {
    grid-column: 1;
    grid-row: 1 / 3;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    min-height: 100%;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services-image:hover img {
    transform: scale(1.05);
}

.services-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
}

.services-image-overlay .badge-label {
    display: inline-block;
    background: var(--si-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
}

.services-image-overlay h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.services-image-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Service cards positioning in grid */
/* Grid items: 1=image, 2=achievements, 3-8=service cards */
.services-grid .service-card-container:nth-child(3) { grid-column: 2; grid-row: 1; }
.services-grid .service-card-container:nth-child(4) { grid-column: 3; grid-row: 1; }
.services-grid .service-card-container:nth-child(5) { grid-column: 2; grid-row: 2; }
.services-grid .service-card-container:nth-child(6) { grid-column: 3; grid-row: 2; }
.services-grid .service-card-container:nth-child(7) { grid-column: 2; grid-row: 3; }
.services-grid .service-card-container:nth-child(8) { grid-column: 3; grid-row: 3; }

/* Responsive Grid */
@media (max-width: 991.98px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .services-image {
        grid-column: 1 / 3;
        grid-row: 1;
        min-height: 300px;
    }
    
    .services-grid .services-achievements {
        grid-column: 1 / 3 !important;
        grid-row: 2 !important;
    }
    
    .achievements-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .achievement-item {
        flex: 0 0 auto;
        min-width: 0;
        max-width: 100%;
        max-height: 30px;
        padding: 0.35rem 0.75rem;
        align-items: center;
        overflow: hidden;
    }
    
    .achievement-item span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .services-grid .service-card-container:nth-child(3) { grid-column: 1; grid-row: 3; }
    .services-grid .service-card-container:nth-child(4) { grid-column: 2; grid-row: 3; }
    .services-grid .service-card-container:nth-child(5) { grid-column: 1; grid-row: 4; }
    .services-grid .service-card-container:nth-child(6) { grid-column: 2; grid-row: 4; }
    .services-grid .service-card-container:nth-child(7) { grid-column: 1; grid-row: 5; }
    .services-grid .service-card-container:nth-child(8) { grid-column: 2; grid-row: 5; }
}

@media (max-width: 767.98px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-image {
        grid-column: 1;
        grid-row: 1;
        min-height: 250px;
    }
    
    .services-grid .services-achievements {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    
    .achievements-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .achievement-item {
        flex: 0 0 auto;
        min-width: 0;
        max-height: 30px;
        padding: 0.35rem 0.75rem;
        align-items: center;
    }
    
    .services-grid .service-card-container:nth-child(3) { grid-column: 1; grid-row: 3; }
    .services-grid .service-card-container:nth-child(4) { grid-column: 1; grid-row: 4; }
    .services-grid .service-card-container:nth-child(5) { grid-column: 1; grid-row: 5; }
    .services-grid .service-card-container:nth-child(6) { grid-column: 1; grid-row: 6; }
    .services-grid .service-card-container:nth-child(7) { grid-column: 1; grid-row: 7; }
    .services-grid .service-card-container:nth-child(8) { grid-column: 1; grid-row: 8; }
}

/* Cards - Flip Animation */
.service-card-container {
    perspective: 1000px;
    height: 280px;
    cursor: pointer;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-container.flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.service-card-front::-webkit-scrollbar,
.service-card-back::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}

.service-card-front {
    background: var(--si-white);
    border: 1px solid var(--si-gray-200);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card-container:hover .service-card-front {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.service-card-back {
    background: var(--si-gradient);
    color: white;
    transform: rotateY(180deg);
    justify-content: space-between;
}

.service-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--si-gradient);
    border-radius: 1rem 1rem 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card-container:hover .service-card-front::before {
    transform: scaleX(1);
}

.service-card-front h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--si-dark);
}

.service-card-front p {
    color: var(--si-gray-500);
    margin-bottom: 0;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-card-back h4 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card-back p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-card-back .example-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1.25rem;
}

.service-card-header .service-icon {
    margin-bottom: 0;
}

.flip-hint {
    font-size: 0.7rem;
    color: var(--si-gray-400);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.flip-back-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.75rem;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--si-primary-subtle);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--si-primary);
    font-size: 1.5rem;
}

/* Project Cards */
.project-card {
    background: var(--si-gray-100);
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.project-card:hover {
    background: var(--si-white);
    border-color: var(--si-gray-200);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.project-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--si-dark);
}

.project-card p {
    color: var(--si-gray-500);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Plan Steps */
.plan-section {
    background: var(--si-gray-100);
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--si-gray-200);
}

.step-item:last-child {
    border-bottom: none;
}

.step-number {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: var(--si-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.step-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--si-gray-100);
    color: var(--si-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-left: auto;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--si-dark);
}

.step-content p {
    color: var(--si-gray-500);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-section {
    background: var(--si-white);
}

.accordion-item {
    border: 1px solid var(--si-gray-200);
    border-radius: 0.75rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--si-dark);
    padding: 1.25rem 1.5rem;
    background: var(--si-white);
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--si-primary-subtle);
    color: var(--si-primary-dark);
}

.accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s ease;
}

.accordion-body {
    padding: 1rem 1.5rem 1.5rem;
    color: var(--si-gray-600);
    line-height: 1.7;
}

/* Bottom CTA */
.bottom-cta {
    background: var(--si-gradient-dark);
    color: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.bottom-cta h2 {
    color: white;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
}

.bottom-cta .btn {
    position: relative;
    background: white;
    color: var(--si-primary-dark);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.bottom-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    background: white;
    color: var(--si-primary);
}

/* CTA Animation Container */
.cta-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Pipeline SVG */
.pipeline-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

/* Flow Lines */
.flow-line {
    fill: none;
    stroke: rgba(56, 189, 248, 0.35);
    stroke-width: 2;
    stroke-dasharray: 8 6;
    animation: flowDash 3s linear infinite;
}

.flow-in-1 { animation-delay: 0s; }
.flow-in-2 { animation-delay: -0.5s; }
.flow-in-3 { animation-delay: -1s; }
.flow-in-4 { animation-delay: -1.5s; }
.flow-main { stroke-width: 3; stroke-dasharray: 12 8; }
.flow-out-1 { animation-delay: -0.3s; }
.flow-out-2 { animation-delay: -0.6s; }
.flow-out-3 { animation-delay: -0.9s; }
.flow-out-4 { animation-delay: -1.2s; }
.flow-out-5 { animation-delay: -1.5s; }

@keyframes flowDash {
    to {
        stroke-dashoffset: -28;
    }
}

/* Data Inputs - Left Side */
.input-item {
    animation: inputPulse 3s ease-in-out infinite;
}

.input-1 { animation-delay: 0s; }
.input-2 { animation-delay: -0.75s; }
.input-3 { animation-delay: -1.5s; }
.input-4 { animation-delay: -2.25s; }

@keyframes inputPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: translateX(0);
    }
    50% { 
        opacity: 1;
        transform: translateX(5px);
    }
}

/* Horizontal Funnel */
.funnel-horizontal {
    animation: funnelGlow 2.5s ease-in-out infinite;
}

@keyframes funnelGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.6));
    }
}

/* Database Cylinder */
.database-cylinder {
    animation: dbGlow 2s ease-in-out infinite;
}

@keyframes dbGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.6));
    }
}

/* Database data rows animation */
.db-data {
    animation: dbDataPulse 1.5s ease-in-out infinite;
}

.db-data-1 { animation-delay: 0s; }
.db-data-2 { animation-delay: -0.5s; }
.db-data-3 { animation-delay: -1s; }

@keyframes dbDataPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Output Endpoints - Right Side */
.output-item {
    animation: outputPulse 3s ease-in-out infinite;
}

.output-1 { animation-delay: 0s; }
.output-2 { animation-delay: -0.6s; }
.output-3 { animation-delay: -1.2s; }
.output-4 { animation-delay: -1.8s; }
.output-5 { animation-delay: -2.4s; }

@keyframes outputPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: translateX(0);
    }
    50% { 
        opacity: 1;
        transform: translateX(-5px);
    }
}

/* Animated Data Packets */
.packet-dot {
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
}

/* Responsive adjustments for CTA animation */
@media (max-width: 991.98px) {
    .pipeline-svg {
        opacity: 0.6;
    }
    
    .data-inputs,
    .data-outputs {
        opacity: 0.7;
    }
}

@media (max-width: 767.98px) {
    .pipeline-svg {
        opacity: 0.4;
    }
    
    .data-inputs,
    .data-outputs {
        display: none;
    }
}

/* Footer - Dark theme matching existing site */
footer {
    background: var(--si-gray-900);
    color: var(--si-gray-400);
    padding: 3rem 0 2rem;
}

footer a {
    color: var(--si-gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-brand {
    display: inline-block;
}

.footer-brand img {
    height: 36px;
    width: auto;
}

.footer-address {
    color: var(--si-gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--si-gray-300);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--si-gray-300);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--si-primary);
    color: white;
}

/* Contact Form */
.contact-section {
    padding: 5rem 0;
}

.form-control {
    border: 2px solid var(--si-gray-200);
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--si-primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--si-dark);
    margin-bottom: 0.5rem;
}

/* Utility Classes */
.text-primary-custom {
    color: var(--si-primary) !important;
}

.bg-primary-subtle {
    background: var(--si-primary-subtle) !important;
}

.bg-gray-light {
    background: var(--si-gray-100) !important;
}

/* Hero badge styling */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--si-primary-light);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Smooth Scroll & Prevent horizontal overflow on mobile */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 7rem 0 4rem;
        min-height: auto;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .navbar-brand img {
        height: 32px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 6rem 0 3rem;
        text-align: center;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-supporting-statement {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.95rem;
        padding-left: 0.75rem;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .step-item {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        gap: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .top-bar {
        display: none;
    }
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image {
    border: 4px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* About Section */
.about-section {
    background: var(--si-white);
    padding: 6rem 0;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--si-primary);
    background: var(--si-primary-subtle);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.about-image-wrapper {
    position: relative;
}

.about-stats {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--si-white);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--si-primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--si-gray-500);
    margin-top: 0.25rem;
}

.avoid-section {
    background: var(--si-gray-100);
    padding: 1.5rem;
    border-radius: 1rem;
}

.avoid-section h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--si-dark);
}

/* Project Card Images */
.project-card .project-image {
    overflow: hidden;
    border-radius: 0.75rem;
}

.project-card .project-image img {
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

/* Process Image */
.process-image img {
    transition: transform 0.3s ease;
}

.process-image:hover img {
    transform: scale(1.02);
}

/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ==========================================
   Project Cards - Clickable State
   ========================================== */
.project-card {
    cursor: pointer;
}

.project-view-details {
    display: inline-flex;
    align-items: center;
    color: var(--si-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.project-card:hover .project-view-details,
.project-card:focus .project-view-details {
    opacity: 1;
    transform: translateX(0);
}

.project-card:focus {
    outline: 2px solid var(--si-primary);
    outline-offset: 4px;
}

/* ==========================================
   Project Modal - Fullscreen
   ========================================== */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s ease;
}

.project-modal.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 0.3s ease;
}

.project-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-modal-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modal.active .project-modal-container {
    transform: scale(1) translateY(0);
}

.project-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--si-white);
    border-radius: 1.5rem;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

/* Modal Close Button */
.project-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--si-gray-700);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.project-modal-close:hover {
    background: var(--si-white);
    color: var(--si-primary);
    transform: scale(1.1);
}

/* Modal Navigation Arrows */
.project-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--si-gray-700);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.project-modal-nav:hover {
    background: var(--si-white);
    color: var(--si-primary);
    transform: translateY(-50%) scale(1.1);
}

.project-modal-prev {
    left: 1.5rem;
}

.project-modal-next {
    right: 1.5rem;
}

/* Modal Hero Image */
.project-modal-hero {
    width: 100%;
    padding: 2rem 3rem;
    background: var(--si-off-white);
}

.project-modal-hero-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Modal Header */
.project-modal-header {
    background: var(--si-gradient-dark);
    padding: 3rem 3rem 2.5rem;
    color: white;
}

.project-modal-industry {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.project-modal-title {
    color: white;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.project-modal-summary {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 0;
    max-width: 700px;
}

/* Modal Body */
.project-modal-body {
    padding: 2.5rem 3rem;
}

.project-modal-section {
    margin-bottom: 2rem;
}

.project-modal-section:last-child {
    margin-bottom: 0;
}

.project-modal-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--si-primary-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.project-modal-section h3 i {
    color: var(--si-primary);
}

.project-modal-section p {
    color: var(--si-gray-600);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Results List */
.project-modal-results {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.project-modal-results li {
    display: flex;
    align-items: flex-start;
    background: var(--si-gray-100);
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    color: var(--si-gray-700);
    font-weight: 500;
    line-height: 1.5;
}

.project-modal-results li i {
    color: #10b981;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Modal Footer */
.project-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    background: var(--si-gray-100);
    border-top: 1px solid var(--si-gray-200);
}

.project-modal-pagination {
    font-size: 0.9rem;
    color: var(--si-gray-500);
    font-weight: 500;
}

/* Responsive Modal */
@media (max-width: 991.98px) {
    .project-modal-container {
        padding: 1rem;
    }
    
    .project-modal-nav {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
    
    .project-modal-prev {
        left: 0.5rem;
    }
    
    .project-modal-next {
        right: 0.5rem;
    }
    
    .project-modal-hero {
        padding: 1.5rem 2rem;
    }
    
    .project-modal-hero-image {
        max-height: 320px;
    }
    
    .project-modal-header {
        padding: 2.5rem 2rem 2rem;
    }
    
    .project-modal-body {
        padding: 2rem;
    }
    
    .project-modal-footer {
        padding: 1.25rem 2rem;
    }
}

@media (max-width: 767.98px) {
    .project-modal-container {
        padding: 0;
        align-items: flex-end;
    }
    
    .project-modal-content {
        max-height: 95vh;
        border-radius: 1.5rem 1.5rem 0 0;
    }
    
    .project-modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .project-modal-nav {
        display: none;
    }
    
    .project-modal-hero {
        padding: 1.25rem 1.5rem;
    }
    
    .project-modal-hero-image {
        max-height: 250px;
    }
    
    .project-modal-header {
        padding: 2rem 1.5rem 1.5rem;
        padding-top: 3.5rem; /* Space for close button */
    }
    
    .project-modal-title {
        font-size: 1.5rem;
    }
    
    .project-modal-summary {
        font-size: 1rem;
    }
    
    .project-modal-body {
        padding: 1.5rem;
    }
    
    .project-modal-section h3 {
        font-size: 1rem;
    }
    
    .project-modal-results {
        grid-template-columns: 1fr;
    }
    
    .project-modal-footer {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }
    
    .project-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Swipe hint for mobile */
@media (max-width: 767.98px) {
    .project-modal-pagination::after {
        content: ' • Swipe to navigate';
        color: var(--si-gray-400);
    }
}

/* ==========================================
   Full Screen Mobile Menu
   ========================================== */

/* Hamburger Toggle Button */
.mobile-menu-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--si-gray-700);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hamburger Animation - Open State */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--si-white);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--si-white);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.4s, opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 0.4s ease;
}

/* Menu Container */
.mobile-menu-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(160deg, #0c4a6e 0%, #0284c7 50%, #0ea5e9 100%);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-menu-container {
    transform: translateY(0);
}

/* Close Button */
.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--si-white);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Logo */
.mobile-menu-header {
    text-align: center;
    padding: 2rem 0 1rem;
}

.mobile-menu-logo img {
    height: 40px;
    width: auto;
}

/* Navigation Links */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 50px 0 1.5rem;
    flex: 1;
}

.mobile-menu-link {
    display: block;
    color: var(--si-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.6rem 0;
    letter-spacing: -0.01em;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu-overlay.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for nav links */
.mobile-menu-overlay.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-menu-link:hover::after,
.mobile-menu-link:focus::after {
    width: 80%;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
    color: var(--si-white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* CTA Button in Mobile Menu */
.mobile-menu-cta {
    margin-top: 1rem;
    background: var(--si-white);
    color: var(--si-primary-dark) !important;
    padding: 1rem 2.5rem !important;
    border-radius: 0.5rem;
    font-size: 1.1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu-cta::after {
    display: none;
}

.mobile-menu-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* Contact Information */
.mobile-menu-contact {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.35s;
}

.mobile-menu-overlay.active .mobile-menu-contact {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-contact h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    text-align: center;
}

.mobile-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--si-white);
    text-decoration: none;
    padding: 0.75rem 0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mobile-contact-item:hover {
    color: var(--si-white);
    transform: translateX(5px);
}

.mobile-contact-item i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    margin-top: 2px;
}

.mobile-address {
    cursor: default;
}

.mobile-address:hover {
    transform: none;
}

.mobile-address span {
    line-height: 1.6;
}

/* Social Media Links */
.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.4s;
}

.mobile-menu-overlay.active .mobile-menu-social {
    opacity: 1;
    transform: translateY(0);
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--si-white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    background: var(--si-white);
    color: var(--si-primary);
    transform: scale(1.1);
    border-color: var(--si-white);
}

/* Body Lock when Menu is Open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Hide navbar when mobile menu is open */
body.mobile-menu-open .navbar {
    visibility: hidden;
    opacity: 0;
}

/* Hide on Desktop */
@media (min-width: 992px) {
    .mobile-menu-toggle,
    .mobile-menu-overlay {
        display: none !important;
    }
}
