/* Custom CSS Variables - Projected Point Color Scheme */
:root {
    --primary: 210 60% 25%; /* #1a365d - Dark blue primary */
    --primary-dark: 210 65% 18%; /* #153047 - Darker blue */
    --primary-light: 210 40% 92%; /* #e8f1f8 - Very light blue */
    --accent: 205 85% 45%; /* #1e7fb8 - Accent blue */
    --background: 220 15% 96%; /* #f4f5f7 - Light grey background */
    --surface: 0 0% 100%; /* #FFFFFF */
    --text-primary: 215 25% 15%; /* #1f2937 - Dark grey text */
    --text-secondary: 215 15% 35%; /* #4b5563 - Medium grey */
    --text-muted: 215 10% 55%; /* #6b7280 - Light grey */
    --border: 215 15% 85%; /* #d1d5db - Border grey */
    --shadow: 215 25% 15% / 0.08; /* rgba(31, 41, 55, 0.08) */
}

/* Base Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: hsl(var(--text-primary));
    background-color: hsl(var(--background));
    line-height: 1.6;
    font-feature-settings: 'kern' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Bootstrap Color Classes */
.bg-primary {
    background-color: hsl(var(--primary)) !important;
}

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

.btn-primary {
    background-color: hsl(var(--primary));
    border-color: hsl(var(--primary));
    color: white;
}

.btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    border-color: hsl(var(--primary-dark));
}

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

.btn-outline-primary:hover {
    background-color: hsl(var(--primary));
    border-color: hsl(var(--primary));
    color: white;
}

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

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

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px hsla(var(--shadow));
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-dark)) 100%) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    padding-top: 6rem;
    min-height: 100vh;
    background: linear-gradient(135deg, 
        hsl(var(--background)) 0%, 
        hsl(var(--surface)) 50%, 
        hsl(var(--primary-light)) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(26,54,93,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(30,127,184,0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(26,54,93,0.05) 0%, transparent 50%);
    z-index: -1;
}

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

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

/* Service Cards */
.service-card {
    background: hsl(var(--surface));
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px hsla(var(--shadow));
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid hsl(var(--border));
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px hsla(var(--shadow));
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-dark)) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-icon-large {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-dark)) 100%);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* Project Cards */
.project-card {
    background: hsl(var(--surface));
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 20px hsla(var(--shadow));
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid hsl(var(--border));
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px hsla(var(--shadow));
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

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

.project-content {
    padding: 1.5rem;
}

.project-title {
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.project-tags {
    margin: 1rem 0;
}

.tag {
    display: inline-block;
    background: hsl(var(--primary-light));
    color: hsl(var(--primary));
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid hsl(var(--border));
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    color: hsl(var(--primary));
    font-size: 1.25rem;
}

.stat small {
    color: hsl(var(--text-muted));
    font-size: 0.75rem;
}

/* Placeholder Cards */
.placeholder-card {
    border: 2px dashed hsl(var(--border));
    background: hsl(var(--background));
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--surface));
}

.placeholder-content {
    text-align: center;
    padding: 2rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: hsl(var(--surface));
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px hsla(var(--shadow));
    height: 100%;
    border: 1px solid hsl(var(--border));
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-text {
    font-style: italic;
    color: hsl(var(--text-secondary));
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--surface)) 100%);
    text-align: center;
}

/* Service Sections */
.service-section {
    padding: 3rem 0;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: hsl(var(--text-secondary));
}

.service-pricing {
    margin-top: 2rem;
    padding: 1.5rem;
    background: hsl(var(--primary-light));
    border-radius: 0.75rem;
    text-align: center;
}

.price-label {
    display: block;
    color: hsl(var(--text-muted));
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.price {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    line-height: 1;
}

.price-note {
    display: block;
    color: hsl(var(--text-muted));
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Enhanced Process Steps with Animation */
.process-flow-container {
    position: relative;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    opacity: 0.6;
    transform: translateY(20px);
    position: relative;
}

.process-step.active {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-dark)) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px hsla(var(--primary) / 0.3);
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px hsla(var(--primary) / 0.4);
}

.step-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid hsl(var(--primary));
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s infinite;
}

.step-number.active .step-pulse {
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Subtle Connecting Elements */
.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15%;
    width: 30%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        hsl(var(--border)) 0px,
        hsl(var(--border)) 6px,
        transparent 6px,
        transparent 12px
    );
    z-index: 1;
    opacity: 0.4;
    transform: translateY(-50%);
}

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

@media (max-width: 991.98px) {
    .process-step::after {
        display: none;
    }
}

.step-progress {
    width: 100%;
    height: 4px;
    background: hsl(var(--border));
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
    position: relative;
}

.step-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    border-radius: 2px;
    transition: left 0.8s ease;
}

.process-step.active .step-progress::after {
    left: 0;
}

/* Step-specific animations with delays */
.animated-step[data-step="1"] {
    animation-delay: 0.2s;
}

.animated-step[data-step="2"] {
    animation-delay: 0.4s;
}

.animated-step[data-step="3"] {
    animation-delay: 0.6s;
}

.animated-step[data-step="4"] {
    animation-delay: 0.8s;
}

/* Technology Items */
.tech-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item h6 {
    color: hsl(var(--text-secondary));
    margin-top: 0.5rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: hsl(var(--surface));
    border-radius: 1rem;
    box-shadow: 0 10px 30px hsla(var(--shadow));
    padding: 3rem;
    border: 1px solid hsl(var(--border));
}

.contact-info {
    padding-right: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}



.form-control {
    border: 2px solid hsl(var(--border));
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 0.2rem hsla(var(--primary) / 0.25);
}

.form-label {
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-dark)) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

/* Footer */
footer {
    border-top: 1px solid hsl(var(--border));
}



/* Outcome Stats */
.outcome-stat {
    padding: 2rem;
}

.outcome-stat h3 {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 5rem;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .service-section {
        padding: 2rem 0;
    }
}

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

.service-card,
.project-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Accordion Customization */
.accordion-button {
    background-color: hsl(var(--surface));
    color: hsl(var(--text-primary));
    border: 1px solid hsl(var(--border));
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: hsl(var(--primary-light));
    color: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem hsla(var(--primary) / 0.25);
    border-color: hsl(var(--primary));
}

.accordion-body {
    background-color: hsl(var(--surface));
    color: hsl(var(--text-secondary));
    line-height: 1.6;
}

/* Button Enhancements */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

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

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px hsla(var(--shadow));
}

/* Data Lifecycle Animation */
.data-lifecycle-animation {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, hsl(var(--surface)) 0%, hsl(var(--primary-light)) 100%);
    border-radius: 1rem;
    box-shadow: 0 10px 40px hsla(var(--shadow));
    overflow: hidden;
}

.data-stage {
    position: relative;
    padding: 1.5rem;
    background: hsl(var(--surface));
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px hsla(var(--shadow));
    border: 2px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.data-stage:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px hsla(var(--shadow));
}

.stage-title {
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Raw Data Particles */
.data-particles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.particle {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    position: relative;
    animation: particleFloat 3s ease-in-out infinite;
}

.particle.messy {
    background: hsl(var(--text-muted));
    opacity: 0.7;
}

.particle[data-type="csv"] {
    background: #e74c3c;
    animation-delay: 0s;
}

.particle[data-type="json"] {
    background: #3498db;
    animation-delay: 0.5s;
}

.particle[data-type="xml"] {
    background: #f39c12;
    animation-delay: 1s;
}

.particle[data-type="log"] {
    background: #9b59b6;
    animation-delay: 1.5s;
}

.particle[data-type="sql"] {
    background: #2ecc71;
    animation-delay: 2s;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-5px) rotate(-3deg); }
    75% { transform: translateY(-8px) rotate(2deg); }
}

/* Cleaning Process */
.cleaning-process {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    position: relative;
}

.cleaning-icon {
    font-size: 2rem;
    color: hsl(var(--primary));
    animation: cleaningSpin 2s linear infinite;
}

.cleaning-waves {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid hsl(var(--accent));
    border-radius: 50%;
    animation: cleaningWaves 1.5s ease-out infinite;
}

.cleaning-waves::before,
.cleaning-waves::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid hsl(var(--accent));
    border-radius: 50%;
    opacity: 0.6;
}

.cleaning-waves::before {
    animation: cleaningWaves 1.5s ease-out infinite 0.5s;
}

.cleaning-waves::after {
    animation: cleaningWaves 1.5s ease-out infinite 1s;
}

@keyframes cleaningSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cleaningWaves {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Analysis Charts */
.analysis-charts {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.chart-element {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bar-chart {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 60px;
    justify-content: center;
}

.bar {
    width: 12px;
    background: linear-gradient(0deg, hsl(var(--primary)), hsl(var(--accent)));
    border-radius: 2px 2px 0 0;
    animation: barGrow 2s ease-in-out infinite;
}

.bar:nth-child(1) { animation-delay: 0s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.4s; }
.bar:nth-child(4) { animation-delay: 0.6s; }

@keyframes barGrow {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

.pie-chart {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    max-width: 60px;
    max-height: 60px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
    background: conic-gradient(
        hsl(var(--primary)) 0deg 140deg,
        hsl(var(--accent)) 140deg 250deg,
        hsl(var(--text-muted)) 250deg 360deg
    );
    animation: pieRotate 4s linear infinite;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 2px 8px hsla(var(--shadow));
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

.pie-slice {
    display: none;
}

@keyframes pieRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Dashboard Preview */
.dashboard-preview {
    height: 120px;
    background: hsl(var(--background));
    border-radius: 0.5rem;
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
}

.dashboard-header {
    height: 20px;
    background: hsl(var(--primary));
    border-radius: 2px;
    margin-bottom: 0.5rem;
    animation: headerPulse 2s ease-in-out infinite;
}

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

.dashboard-widgets {
    display: flex;
    gap: 0.5rem;
    height: calc(100% - 30px);
}

.widget {
    flex: 1;
    background: hsl(var(--surface));
    border-radius: 0.25rem;
    padding: 0.5rem;
    border: 1px solid hsl(var(--border));
}

.kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.kpi-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: hsl(var(--primary));
    animation: kpiCount 3s ease-in-out infinite;
}

.kpi-trend {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid #2ecc71;
    margin-top: 0.25rem;
    animation: trendBounce 1s ease-in-out infinite;
}

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

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

.line-chart svg {
    width: 100%;
    height: 100%;
}

.line-chart polyline {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 3s ease-in-out infinite;
}

@keyframes drawLine {
    0% { stroke-dashoffset: 200; }
    50%, 100% { stroke-dashoffset: 0; }
}

/* Data Flow Lines */
.data-flow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.flow-line {
    position: absolute;
    background: linear-gradient(90deg, hsl(var(--primary)), transparent);
    height: 2px;
    border-radius: 1px;
}

.flow-1 {
    top: 25%;
    left: 45%;
    width: 10%;
    animation: flowMove1 2s linear infinite;
}

.flow-2 {
    top: 50%;
    left: 25%;
    width: 15%;
    transform: rotate(90deg);
    animation: flowMove2 2s linear infinite 0.5s;
}

.flow-3 {
    top: 75%;
    left: 45%;
    width: 10%;
    animation: flowMove3 2s linear infinite 1s;
}

@keyframes flowMove1 {
    0% { opacity: 0; transform: translateX(-20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(20px); }
}

@keyframes flowMove2 {
    0% { opacity: 0; transform: rotate(90deg) translateX(-20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(90deg) translateX(20px); }
}

@keyframes flowMove3 {
    0% { opacity: 0; transform: translateX(-20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(20px); }
}

/* Moving Data Points */
.moving-data {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.data-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: hsl(var(--accent));
    border-radius: 50%;
    box-shadow: 0 0 8px hsl(var(--accent));
    animation: dataFlow 4s linear infinite;
    animation-delay: var(--delay);
}

@keyframes dataFlow {
    0% {
        top: 25%;
        left: 25%;
        opacity: 1;
    }
    25% {
        top: 25%;
        left: 75%;
        opacity: 1;
    }
    50% {
        top: 75%;
        left: 75%;
        opacity: 1;
    }
    75% {
        top: 75%;
        left: 25%;
        opacity: 1;
    }
    100% {
        top: 25%;
        left: 25%;
        opacity: 1;
    }
}

/* Responsive Design for Animation */
@media (max-width: 768px) {
    .data-lifecycle-animation {
        height: 600px;
    }
    
    .animation-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .data-stage {
        padding: 1rem;
        min-height: 120px;
    }
    
    .data-particles,
    .cleaning-process,
    .analysis-charts {
        height: 100px;
    }
    
    .stage-title {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
}

/* Extra small devices - phones in portrait */
@media (max-width: 480px) {
    .data-lifecycle-animation {
        height: 700px;
    }
    
    .animation-container {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .data-stage {
        padding: 0.75rem;
        min-height: 140px;
    }
    
    .data-particles,
    .cleaning-process,
    .analysis-charts {
        height: 110px;
    }
}

/* Scheduling Modal Styles */
.scheduling-info {
    background: hsl(var(--primary-light));
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.detail-item i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.scheduling-options {
    height: 100%;
}

.scheduling-btn {
    padding: 1rem;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.scheduling-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px hsla(var(--shadow));
}

.scheduling-btn.btn-primary:hover {
    border-color: hsl(var(--primary-dark));
}

.scheduling-btn.btn-outline-primary:hover {
    border-color: hsl(var(--primary));
}

.scheduling-option {
    transition: all 0.3s ease;
}

.setup-steps ol {
    margin-bottom: 1rem;
}

.setup-steps ol li {
    margin-bottom: 0.5rem;
}

.setup-steps a {
    color: hsl(var(--primary));
    text-decoration: none;
}

.setup-steps a:hover {
    text-decoration: underline;
}

/* Modal enhancements */
.modal-content {
    border: none;
    box-shadow: 0 20px 60px hsla(var(--shadow));
    border-radius: 1rem;
}

.modal-header {
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--primary-light));
    border-radius: 1rem 1rem 0 0;
}

.modal-title {
    color: hsl(var(--primary));
    font-weight: 600;
}

.modal-footer {
    border-top: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    border-radius: 0 0 1rem 1rem;
}

/* Contact/Schedule Page Styles */
.scheduling-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    background: hsl(var(--primary-light));
    border-radius: 1rem;
}

.nav-link.btn {
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Team Page Styles */
.team-member-image img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: top;
    border-radius: 1rem;
    background-color: hsl(var(--background));
}

.team-member-content {
    padding: 2rem 0;
}

.expertise-tags .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.cta-section {
    background: linear-gradient(135deg, hsl(var(--primary-light)), hsl(var(--background)));
    border: 2px solid hsl(var(--primary) / 0.1);
}

@media (max-width: 768px) {
    .team-member-image img {
        height: 250px;
    }
    
    .team-member-content {
        padding: 1rem 0;
    }
}

/* Dashboard Page Styles */
.powerbi-embed-wrapper {
    background: hsl(var(--background));
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.powerbi-iframe {
    border-radius: 0.5rem;
    min-height: 600px;
}

.feature-card {
    background: hsl(var(--background));
    border: 2px solid hsl(var(--primary) / 0.1);
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .powerbi-iframe {
        min-height: 400px;
    }
    
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Project Card Image Styles */
.project-card .project-image img {
    height: 200px;
    object-fit: cover;
    object-position: top;
    width: 100%;
    transition: transform 0.3s ease;
    border-radius: 12px 12px 0 0;
}

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

/* Enhanced Project Cards */
.project-card {
    border: none !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px hsla(var(--shadow));
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px hsla(var(--shadow));
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
    z-index: 1;
}

/* Logo Styles */
.navbar-brand .logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.navbar-brand:hover .logo {
    opacity: 0.8;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .navbar-brand .logo {
        height: 32px;
    }
}

/* Enhanced Button Styles */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    border: none;
    box-shadow: 0 4px 15px hsla(var(--primary) / 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px hsla(var(--primary) / 0.4);
    background: linear-gradient(135deg, hsl(var(--primary-dark)), hsl(var(--primary)));
}

.btn-outline-primary {
    border: 2px solid hsl(var(--primary));
    background: transparent;
    position: relative;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline-primary:hover::before {
    left: 0;
}

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

/* Enhanced Skill Badges */
.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-badge {
    background: linear-gradient(135deg, hsl(var(--primary-light)), white);
    color: hsl(var(--primary));
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid hsl(var(--primary) / 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 10px hsla(var(--shadow));
}

.skill-badge:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    color: white;
    box-shadow: 0 6px 20px hsla(var(--primary) / 0.3);
}

/* Enhanced Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 4px 20px hsla(var(--shadow));
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px hsla(var(--shadow));
}

.service-icon {
    background: linear-gradient(135deg, hsl(var(--primary-light)), white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    border: 3px solid hsl(var(--primary) / 0.1);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    color: white;
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: hsl(var(--primary));
    transition: color 0.3s ease;
}

.service-card:hover .service-icon i {
    color: white;
}

/* Section Headers */
.section-header {
    position: relative;
    margin-bottom: 3rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 8px;
    background: hsl(var(--accent));
    border-radius: 50%;
}

/* Enhanced Typography */
.display-4, .display-5 {
    font-weight: 800;
    line-height: 1.2;
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
}

/* Modern Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px hsla(var(--shadow));
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px hsla(var(--shadow));
}

/* Enhanced Statistics */
.outcome-stat {
    background: white;
    padding: 2rem 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px hsla(var(--shadow));
    transition: all 0.3s ease;
    border-top: 4px solid hsl(var(--primary));
}

.outcome-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px hsla(var(--shadow));
}

/* Floating Elements Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

/* Enhanced CTA Section */
.cta-section {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

/* Enhanced Footer */
.footer {
    background: hsl(var(--primary-dark));
    color: white;
    padding: 3rem 0;
    margin-top: auto;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    border-radius: 4px;
}

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

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .skill-badges {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding-top: 5rem;
        text-align: center;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus {
    box-shadow: 0 0 0 3px hsla(var(--accent) / 0.3);
    outline: none;
}

/* Selection Colors */
::selection {
    background: hsl(var(--primary-light));
    color: hsl(var(--primary));
}

/* Enhanced Services Page Styles */
.stat-item {
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px hsla(var(--shadow));
    transition: all 0.3s ease;
    border-top: 3px solid hsl(var(--primary));
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px hsla(var(--shadow));
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: hsl(var(--primary));
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--text-secondary));
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-features {
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: hsl(var(--text-secondary));
}

.service-price {
    padding: 1rem;
    background: hsl(var(--primary-light));
    border-radius: 8px;
    text-align: center;
    border: 1px solid hsl(var(--primary) / 0.2);
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    display: block;
}

.price-unit {
    font-size: 0.875rem;
    color: hsl(var(--text-muted));
}

.benefit-card {
    padding: 2rem 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px hsla(var(--shadow));
    border-color: hsl(var(--primary));
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.5rem;
}

.service-breakdown {
    margin: 4rem 0;
}

/* Enhanced Benefits Section */
.benefit-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon-large {
    transform: scale(1.1);
    box-shadow: 0 8px 25px hsla(var(--primary) / 0.3);
}

.metric {
    padding: 1rem;
    background: hsl(var(--primary-light));
    border-radius: 12px;
    border: 2px solid hsl(var(--primary) / 0.1);
}

.metric-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    line-height: 1;
}

.metric-label {
    font-size: 0.875rem;
    color: hsl(var(--text-secondary));
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-box {
    border: 2px solid hsl(var(--primary) / 0.1);
    transition: all 0.3s ease;
}

.cta-box:hover {
    border-color: hsl(var(--primary));
    transform: translateY(-2px);
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid hsl(var(--primary) / 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px hsla(var(--primary) / 0.1);
}

.benefit-card:hover {
    border-color: hsl(var(--primary));
    transform: translateY(-4px);
    box-shadow: 0 8px 25px hsla(var(--primary) / 0.15);
}

/* Dashboard Alert Styles - Force permanent visibility */
.dashboard-container .alert,
.alert-info {
    position: relative !important;
    z-index: 999 !important;
    background: hsla(194, 100%, 95%, 1) !important;
    border: 2px solid hsl(194, 100%, 85%) !important;
    border-radius: 12px !important;
    padding: 1rem 1.5rem !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 4px 12px hsla(194, 100%, 50%, 0.1) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    overflow: visible !important;
    clip: auto !important;
    height: auto !important;
    width: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    right: auto !important;
}

/* Force dashboard feature styling */
.dashboard-feature {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid hsl(var(--primary) / 0.1);
    box-shadow: 0 4px 12px hsla(var(--primary) / 0.1);
    transition: all 0.3s ease;
}

.dashboard-feature:hover {
    border-color: hsl(var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px hsla(var(--primary) / 0.15);
}

.dashboard-container .alert:hover {
    box-shadow: 0 6px 20px hsla(194, 100%, 50%, 0.15);
    transform: translateY(-1px);
}

.dashboard-container .alert-info {
    background: linear-gradient(135deg, hsla(194, 100%, 96%, 1), hsla(194, 100%, 94%, 1));
    border-color: hsl(194, 100%, 80%);
    color: hsl(194, 100%, 25%);
}

.powerbi-embed-wrapper {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.1);
}

/* Prevent alert from being affected by iframe or other elements */
.alert-info {
    isolation: isolate;
    contain: layout style;
}
