/* Modern Professional Design Stylesheet for Loxvo Technologies */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===================================
   CSS Variables & Design System
   =================================== */
:root {
    /* Brand Colors */
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #3385ff;
    --secondary-color: #6366f1;
    --accent-color: #06b6d4;
    
    /* Neutral Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #0066ff 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #0066ff 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --glass-blur: blur(10px);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Global Styles & Improvements
   =================================== */
* {
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
}

/* ===================================
   Navigation Menu Improvements
   =================================== */
.main-menu .nav-link {
    color: #2d3748 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all var(--transition-base);
    position: relative;
}

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

/* Active/Selected menu item with distinct color */
.main-menu .nav-link.active {
    color: #ffffff !important;
    background: var(--gradient-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

/* Underline effect for hover */
.main-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width var(--transition-base);
}

.main-menu .nav-link:hover::after {
    width: 100%;
}

/* Active link doesn't need underline */
.main-menu .nav-link.active::after {
    width: 0;
}

/* When header is scrolled/sticky */
.theme-header.scrolled .main-menu .nav-link {
    color: #1a202c !important;
}

.theme-header.scrolled .main-menu .nav-link.active {
    color: #ffffff !important;
}

/* Menu item selection highlight */
.main-menu .menu-item.current-menu-item .nav-link,
.main-menu .menu-item .nav-link[aria-current="page"] {
    color: #ffffff !important;
    background: var(--gradient-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

/* Text selection color throughout the site */
::selection {
    background: var(--primary-color);
    color: #ffffff;
    text-shadow: none;
}

::-moz-selection {
    background: var(--primary-color);
    color: #ffffff;
    text-shadow: none;
}

/* Better focus states for accessibility */
.main-menu .nav-link:focus,
.main-menu .nav-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* ===================================
   Modern Button Styles
   =================================== */
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: var(--gradient-secondary);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: #ffffff;
}

.main-btn:hover::before {
    opacity: 1;
}

.main-btn:active {
    transform: translateY(0);
}

.main-btn.bordered-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.main-btn.bordered-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.main-btn.btn-white {
    background: #ffffff;
    color: var(--primary-color);
}

.main-btn.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
}

/* ===================================
   Enhanced Card Styles
   =================================== */
.service-item,
.portfolio-item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item .icon {
    margin-bottom: var(--space-lg);
    transition: transform var(--transition-base);
}

.service-item:hover .icon {
    transform: scale(1.1);
}

/* ===================================
   Glassmorphism Effects
   =================================== */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   Section Title Enhancements
   =================================== */
.section-title {
    position: relative;
    margin-bottom: var(--space-3xl);
}

.section-title .sub-title {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.section-title h2 {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Hero Section Modern Design
   =================================== */
.hero-banner-v1 {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.hero-banner-v1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-banner-v1 .hero-content h1 {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-banner-v1 .hero-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out;
}

/* Full width gradient sections with consistent height */
.testimonial-area,
.cta-area {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Reduce CTA area height specifically */
.cta-area {
    min-height: 280px;
    padding: var(--space-xl) 0;
}

.testimonial-area::before,
.cta-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.testimonial-area .container,
.cta-area .container,
.cta-area .container-1450 {
    position: relative;
    z-index: 2;
}

/* Ensure ALL text is visible on gradient background */
.testimonial-area h1,
.testimonial-area h2,
.testimonial-area h3,
.testimonial-area h4,
.testimonial-area h5,
.testimonial-area h6,
.testimonial-area p,
.testimonial-area span,
.testimonial-area .sub-title,
.cta-area h1,
.cta-area h2,
.cta-area h3,
.cta-area h4,
.cta-area h5,
.cta-area h6,
.cta-area p,
.cta-area span,
.cta-area .sub-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 1 !important;
    visibility: visible !important;
}

.testimonial-area .section-title-white h2,
.testimonial-area .section-title-white p,
.testimonial-area .section-title-white .sub-title,
.cta-area .section-title-white h2,
.cta-area .section-title-white p,
.cta-area .section-title-white .sub-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.testimonial-area .section-title h2,
.testimonial-area .section-title p,
.cta-area .section-title h2,
.cta-area .section-title p {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-area .fill-text,
.cta-area .fill-text {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* CTA Wrapper override */
.cta-wrapper {
    background: transparent !important;
    padding: var(--space-2xl) var(--space-xl);
    min-height: auto;
    display: flex;
    align-items: center;
}

.cta-wrapper.dark-blue-bg {
    background: transparent !important;
}

.cta-wrapper .text-wrapper,
.cta-wrapper .row {
    position: relative;
    z-index: 2;
}

/* Compact CTA text layout (3 lines with styled keywords) */
.cta-area .section-title {
    margin-bottom: var(--space-md);
}

.cta-area .section-title h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    max-width: 900px;
}

.cta-area .section-title .sub-title {
    margin-bottom: var(--space-sm);
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
}

.cta-area .text-wrapper {
    max-width: 100%;
}

/* Compact spacing for CTA section */
.cta-area .section-title-white.mb-55 {
    margin-bottom: var(--space-md) !important;
}

/* Style important words - make them stand out */
.cta-area .fill-text {
    font-weight: 800 !important;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 3px 20px rgba(255, 255, 255, 0.4);
    position: relative;
    display: inline-block;
}

/* Add subtle glow effect to important words */
.cta-area .fill-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    opacity: 0.6;
}

/* Ensure full width for gradient sections ONLY */
section.testimonial-area,
section.cta-area {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

section.testimonial-area .container,
section.cta-area .container,
section.cta-area .container-1450 {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Testimonial area specific styles */
.testimonial-area.pattern-bg,
.testimonial-area.dark-blue-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Fix logo/icon visibility on gradient background - Force display */
.testimonial-area .jobslogo,
.testimonial-area img,
.testimonial-area .col-lg-4 img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    transition: all var(--transition-base);
    visibility: visible !important;
    display: inline-block !important;
    max-width: 80px !important;
    height: auto !important;
    margin: 1rem !important;
}

.testimonial-area .jobslogo:hover,
.testimonial-area img:hover {
    opacity: 1 !important;
    transform: scale(1.1);
}

/* Ensure images are displayed with proper styling */
.testimonial-area .animate-float-y {
    animation: float-y 3s ease-in-out infinite;
    display: inline-block !important;
}

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

/* Force visibility for all images in testimonial area */
.testimonial-area img.wow,
.testimonial-area img.fadeInRight {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

/* Aggressive icon visibility rules */
.testimonial-area [class*="col"] img,
.testimonial-area div img,
.testimonial-area span img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 10 !important;
    max-width: 80px !important;
    height: auto !important;
}

/* Remove any hidden classes */
.testimonial-area .d-none,
.testimonial-area .hidden {
    display: inline-block !important;
    visibility: visible !important;
}

/* Ensure container doesn't hide images */
.testimonial-area .col-lg-4,
.testimonial-area [style*="margin-top"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Override WOW animation that might hide images */
.testimonial-area .wow {
    opacity: 1 !important;
    visibility: visible !important;
    animation-name: none !important;
}

.testimonial-area .fadeInRight {
    opacity: 1 !important;
    transform: none !important;
}

/* Remove any transform that might hide content */
.testimonial-area img[class*="animate"] {
    will-change: auto !important;
}

/* FINAL NUCLEAR OPTION - Force all images in testimonial area to show */
section[class*="testimonial"] img,
.testimonial-area-v1 img,
div[class*="testimonial"] img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    max-width: 80px !important;
    height: auto !important;
    margin: 0.5rem !important;
    position: static !important;
}

/* Specific path targeting */
img[src*="assets/images/jobs/"] {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    width: auto !important;
    max-width: 80px !important;
    height: auto !important;
    min-width: 50px !important;
    min-height: 50px !important;
}

/* Override any parent container issues */
.testimonial-area .col-lg-4[style*="margin-top"] {
    overflow: visible !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
}

/* SVG icon support */
.testimonial-area svg,
.testimonial-area img[src*=".svg"] {
    filter: brightness(0) invert(1) !important;
    fill: #ffffff !important;
    color: #ffffff !important;
}

/* PNG/JPG icon support */
.testimonial-area img[src*=".png"],
.testimonial-area img[src*=".jpg"],
.testimonial-area img[src*=".jpeg"] {
    filter: brightness(0) invert(1) !important;
    background: transparent !important;
}

/* Ultra-specific targeting for job logos in testimonial section */
.testimonial-area img.jobslogo,
.testimonial-area img.wow.fadeInRight.animate-float-y.jobslogo,
.testimonial-area .col-lg-4 img,
section.testimonial-area img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    width: auto !important;
    max-width: 80px !important;
    height: auto !important;
    min-height: 40px !important;
    margin: 1rem !important;
    position: relative !important;
    z-index: 100 !important;
}

/* Override any inline styles */
.testimonial-area [style*="margin-top"] img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    display: inline-block !important;
}

/* Force display for images with specific sources */
img[src*="mern"],
img[src*="vue-js"],
img[src*="java"],
img[src*="automation"],
img[src*="manual"] {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

/* Target the specific column containing logos */
.testimonial-area .row .col-lg-4:last-child {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
}

.testimonial-area .row .col-lg-4:last-child img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
}

/* Social icons on gradient background */
.testimonial-area .social-nav a,
.cta-area .social-nav a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.testimonial-area .social-nav a:hover,
.cta-area .social-nav a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Button visibility on gradient */
.testimonial-area .main-btn,
.cta-area .main-btn {
    background: #ffffff !important;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-area .main-btn:hover,
.cta-area .main-btn:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Statistics/Counter Section (White Background)
   =================================== */
.counter-item {
    text-align: center;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    transition: all var(--transition-base);
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.counter-item .number {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 800;
}

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

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

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===================================
   Lazy Loading & Image Placeholders
   =================================== */

/* Image Container with Lazy Loading */
.lazy-image-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-lg);
}

/* Shimmer Animation for Loading State */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Skeleton Loader */
.skeleton-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer-wave 2s infinite;
}

@keyframes shimmer-wave {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Lazy Image Styles */
img.lazy {
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    will-change: opacity, transform;
}

img.lazy.loaded {
    opacity: 1;
    transform: scale(1);
}

img.lazy:not(.loaded) {
    transform: scale(0.95);
}

/* Blur-up effect for images */
.blur-load {
    position: relative;
    overflow: hidden;
}

.blur-load img {
    transition: filter 0.5s ease-out, opacity 0.5s ease-out;
}

.blur-load img.lazy:not(.loaded) {
    filter: blur(10px);
    transform: scale(1.1);
}

.blur-load img.lazy.loaded {
    filter: blur(0);
    transform: scale(1);
}

/* Spinner Loader */
.image-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(102, 126, 234, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 10;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Hide spinner when image is loaded */
.lazy.loaded + .image-spinner {
    display: none;
}

/* Life at Loxvo Gallery Enhancements */
.life {
    position: relative;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.life:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Column Layout for Gallery */
.column {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Pulse Animation for Loading Images */
.pulse-loader {
    animation: pulse-load 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-load {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* About Page Image Enhancements */
.img-holder {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.img-holder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    z-index: 1;
}

.img-holder:hover::before {
    opacity: 0.3;
}

/* Progressive Image Loading States */
.image-container {
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: loading-sweep 2s infinite;
}

@keyframes loading-sweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Modern Loading Icon */
.loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    z-index: 5;
}

.loading-icon::before,
.loading-icon::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.loading-icon::before {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(102, 126, 234, 0.2);
}

.loading-icon::after {
    width: 50px;
    height: 50px;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    border-right-color: var(--primary-color);
    animation: rotate-loader 1s linear infinite;
}

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

/* Fade-in animation for loaded images */
@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-image {
    animation: fadeInImage 0.8s ease-out forwards;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    :root {
        --space-3xl: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
    }
    
    .hero-banner-v1 {
        min-height: 70vh;
    }
    
    .service-item {
        padding: var(--space-lg);
    }
    
    .image-spinner {
        width: 30px;
        height: 30px;
    }
    
    /* Gradient sections responsive */
    .testimonial-area {
        min-height: 400px;
        padding: var(--space-2xl) 0;
    }
    
    .cta-area {
        min-height: 250px;
        padding: var(--space-lg) 0;
    }
    
    .cta-wrapper {
        min-height: auto;
        padding: var(--space-lg) var(--space-md);
    }
    
    .cta-area .section-title h2 {
        font-size: 1.35rem;
        line-height: 1.2;
    }
    
    .cta-area .fill-text {
        font-size: 1.35rem;
    }
    
    .testimonial-area .jobslogo {
        max-width: 60px;
        margin: 0.5rem;
    }
}

@media (max-width: 480px) {
    .main-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .section-title {
        margin-bottom: var(--space-2xl);
    }
    
    .loading-icon {
        width: 40px;
        height: 40px;
    }
    
    .loading-icon::before,
    .loading-icon::after {
        width: 40px;
        height: 40px;
    }
}