:root {
    /* Brand Colors - Vortex Green as primary */
    --primary-color: #4a9d4a;
    --primary-rgb: 74, 157, 74;
    
    /* Modern Tech Palette */
    --secondary-color: #2563eb;      /* Deep Blue for trust & reliability */
    --accent-color: #f59e0b;         /* Amber for CTAs & energy */
    --accent-purple: #8b5cf6;        /* Purple for AI/innovation */
    --accent-teal: #06b6d4;          /* Teal for tech elements */
    --accent-rose: #ec4899;          /* Rose for highlights */
    
    /* Enhanced Color Values */
    --secondary-rgb: 37, 99, 235;
    --accent-rgb: 245, 158, 11;
    --purple-rgb: 139, 92, 246;
    --teal-rgb: 6, 182, 212;
    --rose-rgb: 236, 72, 153;
    
    /* Background & Neutrals */
    --light-bg: #f8fafc;
    --dark-bg: #1e293b;
    --text-light: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    
    /* Design System */
    --border-radius: 12px;
    --box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, rgba(74, 157, 74, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    --gradient-hero: linear-gradient(135deg, #1e293b 0%, #334155 30%, #475569 70%, #1e293b 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    --gradient-tech: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
}

[data-theme="dark"] {
    --light-bg: #2d2d2d;
    --text-dark: #ffffff;
    --text-muted: #adb5bd;
    --secondary-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    transition: all 0.3s ease;
    overflow-x: hidden;
    padding-top: 60px; /* Account for fixed navbar */
}

html {
    scroll-behavior: smooth;
}

/* Simple navbar styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Smooth language switching styles */
.main-navbar {
    will-change: auto;
}


/* Language Switcher Fixes */
.desktop-nav .nav-item:nth-child(7) {
    width: auto !important;
    margin-left: 15px;
}

.desktop-nav .nav-item:nth-child(7) .nav-link {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.3rem 1rem !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

#languageMenu {
    min-width: 150px;
}

/* Ensure consistent nav item widths regardless of language */
@media (min-width: 992px) {
    .desktop-nav .nav-item:nth-child(1) { min-width: 60px; }  /* Home/Inicio */
    .desktop-nav .nav-item:nth-child(2) { min-width: 90px; }  /* Services/Servicios */
    .desktop-nav .nav-item:nth-child(3) { min-width: 120px; } /* Methodology/Metodología */
    .desktop-nav .nav-item:nth-child(4) { min-width: 80px; }  /* Our Tools/Herramientas */
    .desktop-nav .nav-item:nth-child(5) { min-width: 80px; }  /* About/Nosotros */
    .desktop-nav .nav-item:nth-child(6) { min-width: 80px; }  /* Contact/Contacto */
}

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

.dropdown-menu {
    background-color: #333;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dropdown-item {
    color: white;
}

.dropdown-item:hover {
    background-color: #4a9d4a;
    color: white;
}

/* Dark nav links */
.navbar-light .navbar-nav .nav-link {
    color: #333;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #4a9d4a;
}

/* Enhanced Hero Section with Background Slideshow */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background-color: #2c2c2c; /* Fallback */
    z-index: 1; /* Below navbar */
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2c2c2c; /* Fallback color */
    opacity: 0;
    transition: opacity 2s ease-in-out;
    transform: scale(1.05); /* Slight zoom for Ken Burns effect */
    animation: kenBurns 20s ease-in-out infinite;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?q=80&w=1920&h=1080&fit=crop'); /* Bright colorful digital circuit board with glowing elements */
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1559827260-dc66d52bef19?q=80&w=1920&h=1080&fit=crop'); /* Colorful abstract digital technology with neon accents */
    animation-delay: -6.67s;
}

.hero-slide:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1635070041078-e363dbe005cb?q=80&w=1920&h=1080&fit=crop'); /* Vivid AI/neural network visualization with bright colors */
    animation-delay: -13.33s;
}

.hero-slide:nth-child(4) {
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1920&h=1080&fit=crop'); /* Bright futuristic digital landscape with vibrant blue and purple lights */
    animation-delay: -20s;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 44, 44, 0.7) 0%,
        rgba(44, 44, 44, 0.5) 50%,
        rgba(44, 44, 44, 0.7) 100%
    );
    z-index: 2;
}

/* Hero content positioning */
.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    z-index: 10;
    position: relative;
    color: #ffffff !important;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.4),
        2px 2px 6px rgba(0, 0, 0, 0.8);
    filter: brightness(1.05) contrast(1.1);
}

.hero-subtitle {
    z-index: 10;
    position: relative;
    color: #f8f9fa !important;
    text-shadow: 
        0 0 6px rgba(255, 255, 255, 0.3),
        1px 1px 4px rgba(0, 0, 0, 0.8);
    filter: brightness(1.02) contrast(1.05);
}

.typing-animation {
    position: relative;
    overflow: hidden;
    color: var(--primary-color) !important;
    text-shadow: 
        0 0 10px rgba(74, 157, 74, 0.6),
        0 0 20px rgba(74, 157, 74, 0.4),
        2px 2px 6px rgba(0, 0, 0, 0.8);
    filter: brightness(1.1) contrast(1.15);
    animation: aiGlow 3s ease-in-out infinite alternate;
}

.typing-animation::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary-color);
    text-shadow: 
        0 0 10px rgba(74, 157, 74, 0.8),
        0 0 20px rgba(74, 157, 74, 0.6);
}

@keyframes aiGlow {
    0% {
        text-shadow: 
            0 0 10px rgba(74, 157, 74, 0.6),
            0 0 20px rgba(74, 157, 74, 0.4),
            2px 2px 6px rgba(0, 0, 0, 0.8);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(74, 157, 74, 0.8),
            0 0 25px rgba(74, 157, 74, 0.5),
            2px 2px 6px rgba(0, 0, 0, 0.8);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-stats {
    z-index: 10;
    position: relative;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(74, 157, 74, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(74, 157, 74, 0.5);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hero-cta {
    z-index: 100;
    position: relative;
    transition: all 0.3s ease;
}

/* Enhanced Buttons */
.btn {
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.8px;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05);
    background-size: 200% 200%;
    animation: shine 3s ease-in-out infinite;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

.btn-primary {
    background: var(--gradient-accent);
    border: 2px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25), inset 0 1px 3px rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.4);
    border-color: #ea580c;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white !important;
    background: rgba(74, 157, 74, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 3px rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.btn-outline-light:hover {
    background: rgba(74, 157, 74, 0.3);
    border-color: rgba(74, 157, 74, 0.8);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 157, 74, 0.25), inset 0 1px 3px rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* Service Categories */
.service-category {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 1) 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(108, 117, 125, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #8f0);
    transition: left 0.5s ease;
}

.service-category:hover::before {
    left: 0;
}

.service-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

/* Specific hover overlays for each service card matching icon colors */
.col-lg-4:nth-child(1) .service-category::before {
    background: linear-gradient(90deg, var(--accent-purple), rgba(139, 92, 246, 0.8));
}

.col-lg-4:nth-child(1) .service-category:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.col-lg-4:nth-child(2) .service-category::before {
    background: linear-gradient(90deg, var(--secondary-color), rgba(37, 99, 235, 0.8));
}

.col-lg-4:nth-child(2) .service-category:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.col-lg-4:nth-child(3) .service-category::before {
    background: linear-gradient(90deg, var(--accent-teal), rgba(6, 182, 212, 0.8));
}

.col-lg-4:nth-child(3) .service-category:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.category-header h3 {
    background: linear-gradient(135deg, var(--primary-color), #8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 1));
    border: 1px solid rgba(108, 117, 125, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06), 0 3px 6px rgba(0, 0, 0, 0.04);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.service-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 255, 248, 1));
    border-color: var(--primary-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(74, 157, 74, 0.12);
}

.service-item a {
    color: inherit;
    transition: color 0.3s ease;
}

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

.service-icon-small {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon-small {
    transform: scale(1.2) rotate(5deg);
}

/* Leadership Cards Enhancement */
.leader-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(108, 117, 125, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 1));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06), 0 3px 6px rgba(0, 0, 0, 0.04);
    min-height: 120px;
    display: flex;
    align-items: center;
}

.leader-card:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(74, 157, 74, 0.12);
    border-color: var(--primary-color);
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0077b5, #005885);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.linkedin-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
    color: white;
}

.linkedin-btn:active {
    transform: translateY(-1px) scale(1.05);
}

.leader-photo img {
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.leader-card:hover .leader-photo img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Methodology Sections */
.methodology-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 1));
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(74, 157, 74, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.05);
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.methodology-section:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 12px 24px rgba(74, 157, 74, 0.12);
    border-color: var(--primary-color);
}

.methodology-icon {
    background: linear-gradient(135deg, rgba(74, 157, 74, 0.1), rgba(74, 157, 74, 0.2));
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.methodology-section:hover .methodology-icon {
    transform: scale(1.1) rotate(360deg);
    background: linear-gradient(135deg, rgba(74, 157, 74, 0.2), rgba(74, 157, 74, 0.3));
}

.mini-step {
    background: rgba(74, 157, 74, 0.1);
    border: 1px solid rgba(74, 157, 74, 0.2);
    transition: all 0.3s ease;
}

.mini-step:hover {
    background: rgba(74, 157, 74, 0.2);
    transform: translateY(-2px);
}

.mini-number {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Success Cases Enhancement */
.success-case {
    transition: all 0.3s ease;
    border: 2px solid rgba(74, 157, 74, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 1));
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    border-radius: 20px !important;
}

.success-case::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #8f0);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 20px 20px 0 0;
}

.success-case:hover::before {
    transform: scaleX(1);
}

.success-case:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* Individual Success Case Colors */
.success-case:nth-child(1) {
    border-color: rgba(139, 92, 246, 0.2);
}

.success-case:nth-child(1)::before {
    background: linear-gradient(90deg, var(--accent-purple), rgba(139, 92, 246, 0.8));
}

.success-case:nth-child(1):hover {
    border-color: var(--accent-purple);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

.success-case:nth-child(2) {
    border-color: rgba(37, 99, 235, 0.2);
}

.success-case:nth-child(2)::before {
    background: linear-gradient(90deg, var(--secondary-color), rgba(37, 99, 235, 0.8));
}

.success-case:nth-child(2):hover {
    border-color: var(--secondary-color);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2);
}

.success-case:nth-child(3) {
    border-color: rgba(6, 182, 212, 0.2);
}

.success-case:nth-child(3)::before {
    background: linear-gradient(90deg, var(--accent-teal), rgba(6, 182, 212, 0.8));
}

.success-case:nth-child(3):hover {
    border-color: var(--accent-teal);
    box-shadow: 0 25px 50px rgba(6, 182, 212, 0.2);
}

/* Second row success cases */
.success-case:nth-child(4) {
    border-color: rgba(245, 158, 11, 0.2);
}

.success-case:nth-child(4)::before {
    background: linear-gradient(90deg, var(--accent-color), rgba(245, 158, 11, 0.8));
}

.success-case:nth-child(4):hover {
    border-color: var(--accent-color);
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.2);
}

.success-case:nth-child(5) {
    border-color: rgba(236, 72, 153, 0.2);
}

.success-case:nth-child(5)::before {
    background: linear-gradient(90deg, var(--accent-rose), rgba(236, 72, 153, 0.8));
}

.success-case:nth-child(5):hover {
    border-color: var(--accent-rose);
    box-shadow: 0 25px 50px rgba(236, 72, 153, 0.2);
}

.success-case:nth-child(6) {
    border-color: rgba(16, 185, 129, 0.2);
}

.success-case:nth-child(6)::before {
    background: linear-gradient(90deg, #10b981, rgba(16, 185, 129, 0.8));
}

.success-case:nth-child(6):hover {
    border-color: #10b981;
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.2);
}

/* Success Case Icons */
.screenshot-placeholder {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
}

/* First row icon colors */
.success-case:nth-child(1) .screenshot-placeholder i {
    color: var(--accent-purple) !important;
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
}

.success-case:nth-child(1):hover .screenshot-placeholder {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.2));
}

.success-case:nth-child(2) .screenshot-placeholder i {
    color: var(--secondary-color) !important;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
}

.success-case:nth-child(2):hover .screenshot-placeholder {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.2));
}

.success-case:nth-child(3) .screenshot-placeholder i {
    color: var(--accent-teal) !important;
    filter: drop-shadow(0 4px 8px rgba(6, 182, 212, 0.3));
}

.success-case:nth-child(3):hover .screenshot-placeholder {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.2));
}

/* Second row icon colors */
.success-case:nth-child(4) .screenshot-placeholder i {
    color: var(--accent-color) !important;
    filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.3));
}

.success-case:nth-child(4):hover .screenshot-placeholder {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.2));
}

.success-case:nth-child(5) .screenshot-placeholder i {
    color: var(--accent-rose) !important;
    filter: drop-shadow(0 4px 8px rgba(236, 72, 153, 0.3));
}

.success-case:nth-child(5):hover .screenshot-placeholder {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(236, 72, 153, 0.2));
}

.success-case:nth-child(6) .screenshot-placeholder i {
    color: #10b981 !important;
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
}

.success-case:nth-child(6):hover .screenshot-placeholder {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.2));
}

/* Icon hover effects */
.success-case:hover .screenshot-placeholder i {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

.counter {
    transition: all 0.3s ease;
}

/* Success case counter colors */
.success-case:nth-child(1) .counter,
.success-case:nth-child(1) .text-primary {
    color: var(--accent-purple) !important;
}

.success-case:nth-child(2) .counter,
.success-case:nth-child(2) .text-primary {
    color: var(--secondary-color) !important;
}

.success-case:nth-child(3) .counter,
.success-case:nth-child(3) .text-primary {
    color: var(--accent-teal) !important;
}

.success-case:nth-child(4) .counter,
.success-case:nth-child(4) .text-primary {
    color: var(--accent-color) !important;
}

.success-case:nth-child(5) .counter,
.success-case:nth-child(5) .text-primary {
    color: var(--accent-rose) !important;
}

.success-case:nth-child(6) .counter,
.success-case:nth-child(6) .text-primary {
    color: #10b981 !important;
}

/* Contact Form Enhancement */
.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(74, 157, 74, 0.2);
}

.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(74, 157, 74, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 157, 74, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.form-floating > label {
    color: var(--text-muted);
}

/* Success Modal Styling */
#successModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

#successModal .modal-body {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 1));
}

#successModal .success-icon {
    animation: scaleIn 0.5s ease-out;
}

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

/* Footer Enhancement */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-brand img {
    transition: all 0.3s ease;
}

.footer-brand:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.location-item {
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateX(5px);
    color: var(--primary-color) !important;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .hero-section {
        min-height: 95vh;
    }
    
    .methodology-section,
    .leader-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 992px) {
    .display-1 {
        font-size: 3rem;
    }
    
    .hero-section {
        min-height: 90vh;
        padding-top: 100px;
    }
    
    .methodology-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .leader-card {
        margin-bottom: 1.5rem;
    }
    
    .service-item {
        margin-bottom: 2rem;
    }
    
    .linkedin-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .display-1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding-top: 80px;
        min-height: 85vh;
    }
    
    .hero-stats .stat-number {
        font-size: 2rem;
    }
    
    .service-category,
    .methodology-section {
        margin-bottom: 2rem;
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .contact-form-container {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .leader-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .linkedin-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .hero-cta {
        padding: 12px 24px !important;
        font-size: 14px;
        margin-bottom: 10px;
        display: block;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .display-1 {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 80vh;
        padding-top: 70px;
    }
    
    .methodology-section,
    .leader-card,
    .service-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .leader-card .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .leader-photo {
        margin-bottom: 1rem !important;
        margin-right: 0 !important;
    }
    
    .linkedin-btn-container {
        margin-top: 1rem;
    }
}

/* Dark Theme Adjustments */
[data-theme="dark"] .service-category,
[data-theme="dark"] .methodology-section,
[data-theme="dark"] .success-case,
[data-theme="dark"] .leader-card {
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
    border-color: #404040;
    color: white;
}

[data-theme="dark"] .bg-light {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
}

[data-theme="dark"] .text-muted {
    color: #adb5bd !important;
}

[data-theme="dark"] .service-item {
    background: rgba(74, 157, 74, 0.1);
    border-color: rgba(74, 157, 74, 0.2);
}

[data-theme="dark"] .mini-step {
    background: rgba(74, 157, 74, 0.1);
    border-color: rgba(74, 157, 74, 0.2);
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 157, 74, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), #8f0);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8f0, var(--primary-color));
}

/* Operations Section & Map */
.operations-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: #1a1a1a;
    margin-bottom: 3rem;
}

#world-map {
    height: 500px;
    width: 100%;
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 3rem;
    border-radius: 20px;
    border: 1px solid rgba(74, 157, 74, 0.3);
    z-index: 1000;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-stat {
    text-align: center;
    color: #333;
}

.map-stat i {
    color: var(--primary-color);
}

.map-stat h4 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin: 0.5rem 0;
}

.map-stat p {
    color: rgba(51, 51, 51, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Leaflet Custom Styles */
.leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.98);
    color: #333;
    border-radius: 12px;
    border: 1px solid rgba(74, 157, 74, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.98);
}

.leaflet-popup-content {
    margin: 1rem;
    font-size: 14px;
}

.custom-marker {
    background: var(--primary-color);
    border: 3px solid white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.custom-marker::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(74, 157, 74, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Enhanced Location Cards */
.location-card.enhanced {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-card.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #8fd18f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.location-card.enhanced:hover::before {
    transform: scaleX(1);
}

.location-card.enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.location-card.enhanced.active {
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(74, 157, 74, 0.2);
}

.flag-icon {
    width: 60px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.location-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.location-details ul li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.timezone-info {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Split Layout Map Styles */
.map-container-split {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: #1a1a1a;
    height: 500px;
}

.split-map {
    height: 100%;
    width: 100%;
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

.location-info-panel {
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.location-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(74, 157, 74, 0.1);
    flex-shrink: 0;
    margin-bottom: 0.8rem;
}

.location-stats .stat-item i {
    color: var(--primary-color);
}

.location-stats .stat-item h4 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.location-stats .stat-item p {
    color: rgba(51, 51, 51, 0.7);
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.2;
}

.location-stats .stat-item i {
    margin-bottom: 0.3rem;
}

.location-cards-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.8rem;
    max-height: calc(500px - 100px);
    padding: 0;
}

.location-card-compact {
    background: white;
    border: 2px solid rgba(74, 157, 74, 0.1);
    border-radius: 15px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
    height: calc((100% - 0.8rem) / 2);
    display: flex;
    align-items: center;
}

.location-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #8fd18f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.location-card-compact:hover::before {
    transform: scaleX(1);
}

.location-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.location-card-compact.active {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(74, 157, 74, 0.2);
    background: rgba(74, 157, 74, 0.05);
}

.location-icon-small {
    text-align: center;
}

.flag-icon-small {
    width: 40px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.location-card-compact .d-flex {
    width: 100%;
}

.location-card-compact .flex-grow-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-card-compact h5 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.location-card-compact .badge {
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
    padding: 0.35rem 0.7rem;
}

.location-card-compact p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Service Card Color Enhancements */
.service-category:nth-child(1) {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.service-category:nth-child(2) {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.service-category:nth-child(3) {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Tools Card Color Enhancements - Removed old definitions, using col-lg-4 selectors instead */

/* Enhanced Hover Effects */
.service-category:hover, .tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Enhanced About Section Styles */
.about-section {
    background: #f8f9fa;
    position: relative;
    padding: 2rem 0 !important;
}


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

.about-section .text-center {
    margin-bottom: 1rem !important;
}

.about-section .text-center h2 {
    margin-bottom: 0.5rem !important;
}

.about-section .text-center p {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
}

/* About Cards */
.about-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.mission-card::before {
    background: linear-gradient(90deg, var(--accent-purple), rgba(139, 92, 246, 0.8));
}

.mission-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.vision-card::before {
    background: linear-gradient(90deg, var(--secondary-color), rgba(37, 99, 235, 0.8));
}

.vision-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.values-card::before {
    background: linear-gradient(90deg, var(--accent-teal), rgba(6, 182, 212, 0.8));
}

.values-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.mission-card .card-icon {
    background: linear-gradient(135deg, var(--accent-purple), rgba(139, 92, 246, 0.8));
}

.vision-card .card-icon {
    background: linear-gradient(135deg, var(--secondary-color), rgba(37, 99, 235, 0.8));
}

.values-card .card-icon {
    background: linear-gradient(135deg, var(--accent-teal), rgba(6, 182, 212, 0.8));
}

.card-content {
    flex: 1;
}

.card-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.card-content .lead {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    width: 100%;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateX(5px);
}

.value-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.value-item span {
    font-size: 0.9rem;
    font-weight: 600;
}

.value-item:nth-child(1) .value-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.value-item:nth-child(2) .value-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.value-item:nth-child(3) .value-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.value-item:nth-child(4) .value-icon {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.value-item:nth-child(5) .value-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.value-item:nth-child(6) .value-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Enhanced Leadership Section */
.leadership-section .section-header {
    margin-bottom: 1rem !important;
}

.leadership-section .section-header h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.leadership-section .section-header p {
    margin-bottom: 0;
    font-size: 0.8rem;
}

.enhanced-leader-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.6rem !important;
    padding: 0.9rem !important;
}

.enhanced-leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.leader-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.8rem;
}

.leader-photo-container {
    position: relative;
    margin-bottom: 0;
    flex-shrink: 0;
}

.leader-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.enhanced-leader-card:hover .leader-photo {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.role-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ceo-badge {
    background: linear-gradient(135deg, var(--accent-purple), rgba(139, 92, 246, 0.8));
}

.cto-badge {
    background: linear-gradient(135deg, var(--secondary-color), rgba(37, 99, 235, 0.8));
}

.coo-badge {
    background: linear-gradient(135deg, var(--accent-teal), rgba(6, 182, 212, 0.8));
}

.leader-info {
    flex: 1;
}

.leader-name {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.leader-title {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.leader-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.linkedin-btn-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #0077b5, #005885);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.linkedin-btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3);
    color: white;
}

.linkedin-btn-enhanced i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .about-card {
        padding: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .leader-photo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 1.5rem 0 !important;
    }
    
    .about-section .text-center h2 {
        font-size: 1.8rem !important;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-item {
        padding: 0.6rem 0.8rem;
    }
    
    .about-card {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .card-content h4 {
        font-size: 1.1rem;
    }
    
    .card-content .lead {
        font-size: 0.9rem;
    }
}

/* Responsive adjustments for split layout */
@media (max-width: 991.98px) {
    .location-info-panel {
        height: auto;
        min-height: 400px;
        margin-top: 2rem;
        overflow: visible;
    }
    
    .location-cards-container {
        max-height: none;
        overflow-y: visible;
    }
    
    .map-container-split {
        height: 400px;
    }
}

/* Delivery Model Flow */
.delivery-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.delivery-step {
    text-align: center;
    flex: 0 0 auto;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(74, 157, 74, 0.1), rgba(74, 157, 74, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.delivery-step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(74, 157, 74, 0.2), rgba(74, 157, 74, 0.3));
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    animation: slideRight 2s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #world-map {
        height: 350px;
    }
    
    .map-overlay {
        position: static;
        transform: none;
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .delivery-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    @keyframes slideRight {
        0%, 100% { transform: translateY(0) rotate(90deg); }
        50% { transform: translateY(10px) rotate(90deg); }
    }
}

/* Client Logos Slider */
.clients-slider-container {
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
    border-radius: 12px;
    margin: 0 auto;
    max-width: 1200px;
}

.clients-slider-container::before,
.clients-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-slider-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
}

.clients-slider-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
}

.clients-slider {
    display: flex;
    animation: slideClients 45s linear infinite;
    width: 200%; /* Simplified to prevent overflow */
}

.client-logo {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    padding: 10px;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.client-logo img {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7) contrast(1.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1) contrast(1);
    transform: scale(1.1);
}

@keyframes slideClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.clients-slider-container:hover .clients-slider {
    animation-play-state: paused;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .clients-slider-container::before,
    .clients-slider-container::after {
        width: 50px;
    }
    
    .client-logo {
        width: 120px;
        height: 60px;
        margin: 0 15px;
    }
    
    .client-logo img {
        max-width: 100px;
        max-height: 45px;
    }
    
    .clients-slider {
        animation-duration: 35s;
    }
}

@media (max-width: 576px) {
    .client-logo {
        width: 100px;
        height: 50px;
        margin: 0 10px;
    }
    
    .client-logo img {
        max-width: 80px;
        max-height: 35px;
    }
    
    .clients-slider {
        animation-duration: 30s;
    }
}

/* Additional Enhancements */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), #8f0) !important;
}

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

/* Pulse animation for call-to-action elements */
.pulse {
    animation: pulse 2s infinite;
}

/* Ensure hero CTA buttons are clickable */
.hero-cta {
    position: relative;
    z-index: 1000 !important;
    pointer-events: auto !important;
    display: inline-block;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.hero-cta:hover {
    transform: translateY(-2px) scale(1.05);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(74, 157, 74, 0.3) !important;
}

/* Ensure hero section doesn't block buttons */
.hero-section {
    position: relative;
}

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

.hero-section * {
    pointer-events: auto;
}

/* Ensure hero background doesn't interfere */
.hero-background {
    pointer-events: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 157, 74, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 157, 74, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 157, 74, 0);
    }
}

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

/* Glow effects */
.glow {
    box-shadow: 0 0 20px rgba(74, 157, 74, 0.3);
}

.glow-hover:hover {
    box-shadow: 0 0 30px rgba(74, 157, 74, 0.5);
    transition: box-shadow 0.3s ease;
}

/* Our Tools Section */
.tool-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 1) 100%);
    border: 1px solid rgba(74, 157, 74, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06), 0 3px 6px rgba(0, 0, 0, 0.04);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #8f0);
    transition: left 0.5s ease;
    border-radius: 20px 20px 0 0;
}

.tool-card:hover::before {
    left: 0;
}

/* Individual tool card hover colors */
.col-lg-4:nth-child(1) .tool-card::before {
    background: linear-gradient(90deg, var(--accent-rose), rgba(236, 72, 153, 0.8));
}

.col-lg-4:nth-child(2) .tool-card::before {
    background: linear-gradient(90deg, var(--accent-teal), rgba(6, 182, 212, 0.8));
}

.col-lg-4:nth-child(3) .tool-card::before {
    background: linear-gradient(90deg, var(--secondary-color), rgba(37, 99, 235, 0.8));
}

.tool-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(74, 157, 74, 0.12);
    border-color: var(--primary-color);
}

/* Individual tool card hover effects */
.col-lg-4:nth-child(1) .tool-card:hover {
    border-color: var(--accent-rose);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.15);
}

.col-lg-4:nth-child(2) .tool-card:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.col-lg-4:nth-child(3) .tool-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.tool-icon {
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ENHANCED MOBILE RESPONSIVENESS */

/* Fix hero section on mobile */
@media (max-width: 768px) {
    /* Hero adjustments for better mobile display */
    .hero-section {
        min-height: 100vh !important;
        padding-top: 60px !important;
    }
    
    .hero-content {
        padding: 0 15px;
        margin-top: -30px;
    }
    
    .display-1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
        padding: 0 10px;
        line-height: 1.5 !important;
    }
    
    /* Stack buttons vertically on mobile with proper spacing */
    .hero-section .d-flex {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .hero-cta {
        display: block !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto 12px !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
    
    .hero-cta:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Hero stats adjustments */
    .hero-stats {
        margin-top: 2.5rem !important;
    }
    
    .stat-item {
        padding: 1rem 0.5rem !important;
        margin-bottom: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-label {
        font-size: 0.75rem !important;
    }
    
    /* Navigation fixes */
    .navbar {
        padding: 0.5rem 0 !important;
    }
    
    .navbar-brand img {
        height: 32px !important;
    }
    
    
    /* Tool cards on mobile */
    .tool-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem !important;
    }
    
    .tool-card h4 {
        font-size: 1.25rem !important;
    }
    
    .tool-card p {
        font-size: 0.9rem !important;
    }
    
    .tool-card ul {
        font-size: 0.85rem !important;
        padding-left: 1.2rem;
    }
    
    /* Success cases mobile */
    .success-case {
        margin-bottom: 1.5rem;
        padding: 1.5rem !important;
    }
    
    /* Contact form mobile */
    .contact-form-container {
        padding: 1.5rem !important;
        margin-top: 2rem;
    }
    
    /* General spacing fixes */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .display-4 {
        font-size: 1.75rem !important;
    }
    
    .lead {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    /* Client slider on mobile */
    .client-logo {
        width: 100px !important;
        margin: 0 10px !important;
    }
    
    .client-logo img {
        max-width: 80px !important;
        max-height: 40px !important;
    }
    
    /* Service categories mobile */
    .service-category {
        margin-bottom: 1.5rem;
        padding: 1.5rem !important;
    }
    
    .service-item {
        min-height: auto !important;
        padding: 1rem !important;
        margin-bottom: 1rem;
    }
    
    /* Map section mobile */
    #world-map {
        height: 350px !important;
    }
    
    .map-overlay {
        position: static !important;
        transform: none !important;
        margin: 1rem !important;
        padding: 1.5rem !important;
    }
    
    .delivery-flow {
        flex-direction: column !important;
    }
    
    .flow-arrow {
        transform: rotate(90deg) !important;
        margin: 1rem 0 !important;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .display-1 {
        font-size: 1.75rem !important;
    }
    
    .hero-section {
        padding-top: 60px !important;
    }
    
    .hero-cta {
        font-size: 0.85rem !important;
        padding: 10px 18px !important;
        max-width: 260px !important;
    }
    
    /* Hide button icons on very small screens */
    .hero-cta i {
        font-size: 0.8rem !important;
        margin-right: 0.3rem !important;
    }
    
    /* Methodology cards */
    .methodology-section {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem;
        min-height: auto !important;
    }
    
    .mini-step {
        padding: 0.5rem !important;
    }
    
    .mini-step small {
        font-size: 0.7rem !important;
    }
    
    /* Location cards */
    .location-card {
        margin-bottom: 1rem;
        padding: 1.5rem !important;
    }
    
    /* Footer adjustments */
    footer {
        text-align: center;
    }
    
    footer .col-lg-3,
    footer .col-lg-2 {
        margin-bottom: 1.5rem;
    }
    
    .location-item {
        justify-content: center;
    }
}

/* Fix button group on very small screens */
@media (max-width: 400px) {
    .hero-cta {
        max-width: 250px !important;
        font-size: 0.8rem !important;
        padding: 10px 16px !important;
    }
    
    /* Hide icons on tiny screens */
    .hero-cta i {
        display: none !important;
    }
    
    .display-1 {
        font-size: 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
    }
}

/* Ensure hero slideshow works on mobile */
@media (max-width: 768px) {
    .hero-slideshow {
        height: 100%;
    }
    
    .hero-slide {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(44, 44, 44, 0.85) 0%,
            rgba(44, 44, 44, 0.75) 50%,
            rgba(44, 44, 44, 0.9) 100%
        ) !important;
    }
    
    /* Ensure text is readable on mobile */
    .hero-title {
        text-shadow: 
            0 0 10px rgba(0, 0, 0, 0.8),
            2px 2px 8px rgba(0, 0, 0, 0.9) !important;
    }
    
    .hero-subtitle {
        text-shadow: 
            0 0 8px rgba(0, 0, 0, 0.7),
            1px 1px 6px rgba(0, 0, 0, 0.8) !important;
    }
    
    /* Fix typing animation on mobile */
    .typing-animation {
        font-size: 0.9em !important;
    }
}

