/* Company Info Section Animation Styles */
/* Friendly and comfortable animations for CEO message section */

/* Base styles for company info section */
.company-info {
    position: relative;
    will-change: transform, opacity;
    overflow: hidden;
}

/* Section title initial states */
.company-info .text-center h2 {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    will-change: transform, opacity;
    transform-origin: center center;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(30, 58, 138, 0.1);
}

/* Section subtitle initial states */
.company-info .text-center p {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    will-change: transform, opacity;
    color: #1e40af;
    transition: color 0.3s ease;
}

/* Main card initial states */
.company-info .bg-white.border-2 {
    opacity: 0;
    transform: translateY(100px) scale(0.85);
    will-change: transform, opacity, box-shadow;
    transform-origin: center center;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    position: relative;
    overflow: hidden;
}

/* CEO image container initial states */
.company-info .w-48.h-48 {
    opacity: 0;
    transform: scale(0.7) rotate(-10deg);
    will-change: transform, opacity;
    transform-origin: center center;
    transition: all 0.5s ease;
    position: relative;
}

/* CEO image initial states */
.company-info .w-48.h-48 img {
    opacity: 0;
    transform: scale(1.2);
    will-change: transform, opacity;
    transform-origin: center center;
    transition: all 0.5s ease;
    border-radius: 50%;
}

/* CEO name initial states */
.company-info h3 {
    opacity: 0;
    transform: translateY(30px) translateX(-20px);
    will-change: transform, opacity;
    transition: all 0.3s ease;
    color: #1e3a8a;
    font-weight: 800;
}

/* CEO title initial states */
.company-info .text-blue-600 {
    opacity: 0;
    transform: translateY(20px) translateX(15px);
    will-change: transform, opacity;
    transition: all 0.3s ease;
    color: #2563eb;
}

/* Message cards initial states */
.company-info .bg-blue-50,
.company-info .bg-green-50,
.company-info .bg-orange-50 {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    will-change: transform, opacity, box-shadow;
    transform-origin: center center;
    transition: all 0.4s ease;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

/* Message icons initial states */
.company-info .lucide-users,
.company-info .lucide-wrench,
.company-info .lucide-award {
    opacity: 0;
    transform: scale(0.3) rotate(-90deg);
    will-change: transform, opacity;
    transition: all 0.3s ease;
}

/* Message headings initial states */
.company-info .text-2xl.font-bold.text-blue-800,
.company-info .text-2xl.font-bold.text-green-800,
.company-info .text-2xl.font-bold.text-orange-800 {
    opacity: 0;
    transform: translateY(25px) translateX(-15px);
    will-change: transform, opacity;
    transition: all 0.3s ease;
}

/* Message text initial states */
.company-info .text-lg {
    opacity: 0;
    transform: translateY(20px) translateX(10px);
    will-change: transform, opacity;
    transition: all 0.3s ease;
}

/* Enhanced hover effects for main card */
.company-info .bg-white.border-2:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Card shimmer effect */
.company-info .bg-white.border-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.08), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.company-info .bg-white.border-2:hover::before {
    left: 100%;
}

/* Ensure content stays above shimmer */
.company-info .bg-white.border-2 > * {
    position: relative;
    z-index: 2;
}

/* CEO image hover effects */
.company-info .w-48.h-48:hover {
    transform: scale(1.02);
}

.company-info .w-48.h-48 img:hover {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.05);
}

/* Message card hover effects */
.company-info .bg-blue-50:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
}

.company-info .bg-green-50:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.2);
}

.company-info .bg-orange-50:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.2);
}

/* Message card shimmer effects */
.company-info .bg-blue-50::before,
.company-info .bg-green-50::before,
.company-info .bg-orange-50::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.company-info .bg-blue-50:hover::before,
.company-info .bg-green-50:hover::before,
.company-info .bg-orange-50:hover::before {
    left: 100%;
}

/* Ensure message content stays above shimmer */
.company-info .bg-blue-50 > *,
.company-info .bg-green-50 > *,
.company-info .bg-orange-50 > * {
    position: relative;
    z-index: 2;
}

/* Icon hover effects */
.company-info .bg-blue-50:hover .lucide-users,
.company-info .bg-green-50:hover .lucide-wrench,
.company-info .bg-orange-50:hover .lucide-award {
    transform: scale(1.15) rotate(10deg);
}

/* Heading hover effects */
.company-info .bg-blue-50:hover .text-2xl.font-bold,
.company-info .bg-green-50:hover .text-2xl.font-bold,
.company-info .bg-orange-50:hover .text-2xl.font-bold {
    transform: translateX(8px);
}

/* Gentle breathing animation for section title */
.company-info .text-center h2.breathing {
    animation: titleBreathe 4s ease-in-out infinite;
}

@keyframes titleBreathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

/* Floating animation for CEO image */
.company-info .w-48.h-48.floating {
    animation: ceoFloat 3.5s ease-in-out infinite;
}

@keyframes ceoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Gentle breathing animation for message icons */
.company-info .lucide-users.breathing,
.company-info .lucide-wrench.breathing,
.company-info .lucide-award.breathing {
    animation: iconBreathe 3.2s ease-in-out infinite;
}

@keyframes iconBreathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

/* Enhanced card styling */
.company-info .bg-white.border-2 {
    box-shadow: 0 8px 16px rgba(30, 58, 138, 0.1), 0 4px 8px rgba(30, 58, 138, 0.06);
    border-radius: 24px;
    border-width: 3px;
    border-color: #dbeafe;
}

.company-info .bg-white.border-2:hover {
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15), 0 12px 24px rgba(30, 58, 138, 0.1);
}

/* Message card styling */
.company-info .bg-blue-50,
.company-info .bg-green-50,
.company-info .bg-orange-50 {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    border: 2px solid transparent;
}

.company-info .bg-blue-50:hover {
    border-color: rgba(59, 130, 246, 0.2);
}

.company-info .bg-green-50:hover {
    border-color: rgba(34, 197, 94, 0.2);
}

.company-info .bg-orange-50:hover {
    border-color: rgba(249, 115, 22, 0.2);
}

/* Enhanced typography */
.company-info .text-center h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.company-info .text-center p {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
}

.company-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
}

.company-info .text-blue-600 {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
}

.company-info .text-2xl.font-bold {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
}

.company-info .text-lg {
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Enhanced CEO image styling */
.company-info .w-48.h-48 {
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.2), 0 6px 12px rgba(30, 58, 138, 0.1);
    border: 6px solid #ffffff;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.company-info .w-48.h-48:hover {
    box-shadow: 0 16px 32px rgba(30, 58, 138, 0.25), 0 8px 16px rgba(30, 58, 138, 0.15);
}

/* Interactive feedback enhancements */
.company-info .bg-white.border-2:active {
    transform: translateY(-4px) scale(0.99);
    transition: transform 0.1s ease;
}

.company-info .bg-blue-50:active,
.company-info .bg-green-50:active,
.company-info .bg-orange-50:active {
    transform: translateY(-4px) scale(0.98);
    transition: transform 0.1s ease;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .company-info .bg-white.border-2:hover {
        transform: translateY(-6px) scale(1.005);
        box-shadow: 0 20px 40px rgba(30, 58, 138, 0.12);
    }
    
    .company-info .bg-blue-50:hover,
    .company-info .bg-green-50:hover,
    .company-info .bg-orange-50:hover {
        transform: translateY(-6px) scale(1.015);
    }
    
    .company-info .text-center h2 {
        font-size: 2.5rem;
    }
    
    .company-info .text-center p {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .company-info .bg-white.border-2:hover {
        transform: translateY(-4px) scale(1.002);
        box-shadow: 0 15px 30px rgba(30, 58, 138, 0.1);
    }
    
    .company-info .bg-blue-50:hover,
    .company-info .bg-green-50:hover,
    .company-info .bg-orange-50:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .company-info .text-center h2 {
        font-size: 2rem;
    }
    
    .company-info .text-center p {
        font-size: 1.125rem;
    }
    
    .company-info h3 {
        font-size: 1.5rem;
    }
    
    .company-info .text-2xl.font-bold {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .company-info .bg-white.border-2:hover {
        transform: translateY(-3px) scale(1.001);
        box-shadow: 0 12px 24px rgba(30, 58, 138, 0.08);
    }
    
    .company-info .bg-blue-50:hover,
    .company-info .bg-green-50:hover,
    .company-info .bg-orange-50:hover {
        transform: translateY(-3px) scale(1.005);
    }
    
    .company-info .text-center h2 {
        font-size: 1.75rem;
    }
    
    .company-info .text-center p {
        font-size: 1rem;
    }
    
    .company-info h3 {
        font-size: 1.25rem;
    }
    
    .company-info .text-2xl.font-bold {
        font-size: 1.25rem;
    }
    
    .company-info .text-lg {
        font-size: 1rem;
    }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .company-info .text-center h2,
    .company-info .text-center p,
    .company-info .bg-white.border-2,
    .company-info .w-48.h-48,
    .company-info .w-48.h-48 img,
    .company-info h3,
    .company-info .text-blue-600,
    .company-info .bg-blue-50,
    .company-info .bg-green-50,
    .company-info .bg-orange-50,
    .company-info .lucide-users,
    .company-info .lucide-wrench,
    .company-info .lucide-award,
    .company-info .text-2xl.font-bold,
    .company-info .text-lg {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    
    .company-info .bg-white.border-2:hover,
    .company-info .w-48.h-48:hover,
    .company-info .w-48.h-48 img:hover,
    .company-info .bg-blue-50:hover,
    .company-info .bg-green-50:hover,
    .company-info .bg-orange-50:hover,
    .company-info .bg-blue-50:hover .lucide-users,
    .company-info .bg-green-50:hover .lucide-wrench,
    .company-info .bg-orange-50:hover .lucide-award,
    .company-info .bg-blue-50:hover .text-2xl.font-bold,
    .company-info .bg-green-50:hover .text-2xl.font-bold,
    .company-info .bg-orange-50:hover .text-2xl.font-bold {
        transform: none !important;
    }
    
    .company-info .breathing,
    .company-info .floating {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .company-info .bg-white.border-2 {
        border: 4px solid #000000;
    }
    
    .company-info .bg-blue-50,
    .company-info .bg-green-50,
    .company-info .bg-orange-50 {
        border: 3px solid #000000;
    }
    
    .company-info .bg-white.border-2:hover {
        border-color: #1e3a8a;
    }
    
    .company-info .text-center h2 {
        color: #000000;
        -webkit-text-fill-color: #000000;
    }
    
    .company-info .text-center p {
        color: #000000;
    }
    
    .company-info h3 {
        color: #000000;
    }
    
    .company-info .text-blue-600 {
        color: #000000;
    }
    
    .company-info .text-2xl.font-bold {
        color: #000000;
    }
    
    .company-info .text-lg {
        color: #000000;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .company-info {
        background-color: #111827;
    }
    
    .company-info .text-center h2 {
        color: #ffffff;
        -webkit-text-fill-color: #ffffff;
    }
    
    .company-info .text-center p {
        color: #e5e7eb;
    }
    
    .company-info .bg-white.border-2 {
        background: linear-gradient(135deg, #1f2937, #374151);
        border-color: #4b5563;
    }
    
    .company-info .bg-white.border-2:hover {
        background: linear-gradient(135deg, #374151, #4b5563);
        border-color: #3b82f6;
    }
    
    .company-info h3 {
        color: #ffffff;
    }
    
    .company-info .text-blue-600 {
        color: #93c5fd;
    }
    
    .company-info .bg-blue-50 {
        background: linear-gradient(135deg, #1e3a8a, #2563eb);
    }
    
    .company-info .bg-green-50 {
        background: linear-gradient(135deg, #166534, #22c55e);
    }
    
    .company-info .bg-orange-50 {
        background: linear-gradient(135deg, #c2410c, #f97316);
    }
    
    .company-info .text-2xl.font-bold {
        color: #ffffff;
    }
    
    .company-info .text-lg {
        color: #e5e7eb;
    }
}

/* Print styles */
@media print {
    .company-info .text-center h2,
    .company-info .text-center p,
    .company-info .bg-white.border-2,
    .company-info .w-48.h-48,
    .company-info .w-48.h-48 img,
    .company-info h3,
    .company-info .text-blue-600,
    .company-info .bg-blue-50,
    .company-info .bg-green-50,
    .company-info .bg-orange-50,
    .company-info .lucide-users,
    .company-info .lucide-wrench,
    .company-info .lucide-award,
    .company-info .text-2xl.font-bold,
    .company-info .text-lg {
        transform: none !important;
        opacity: 1 !important;
        box-shadow: none !important;
    }
    
    .company-info .bg-white.border-2 {
        background: #ffffff !important;
        border: 3px solid #1e3a8a !important;
    }
    
    .company-info .bg-blue-50 {
        background: #dbeafe !important;
        border: 2px solid #3b82f6 !important;
    }
    
    .company-info .bg-green-50 {
        background: #dcfce7 !important;
        border: 2px solid #22c55e !important;
    }
    
    .company-info .bg-orange-50 {
        background: #fff7ed !important;
        border: 2px solid #f97316 !important;
    }
    
    .company-info .text-center h2 {
        color: #000000 !important;
        -webkit-text-fill-color: #000000 !important;
    }
    
    .company-info .text-center p {
        color: #000000 !important;
    }
    
    .company-info h3 {
        color: #000000 !important;
    }
    
    .company-info .text-blue-600 {
        color: #000000 !important;
    }
    
    .company-info .text-2xl.font-bold {
        color: #000000 !important;
    }
    
    .company-info .text-lg {
        color: #000000 !important;
    }
}

/* Loading states */
.company-info.loading {
    opacity: 0.7;
    pointer-events: none;
}

.company-info.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(59, 130, 246, 0.3);
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Focus states for accessibility */
.company-info .bg-white.border-2:focus {
    outline: 4px solid #3b82f6;
    outline-offset: 2px;
}

.company-info .bg-blue-50:focus,
.company-info .bg-green-50:focus,
.company-info .bg-orange-50:focus {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

/* Performance optimizations */
.company-info * {
    will-change: auto;
}

.company-info .bg-white.border-2 {
    contain: layout style paint;
}

.company-info .bg-blue-50,
.company-info .bg-green-50,
.company-info .bg-orange-50 {
    contain: layout style;
}

/* Smooth scrolling enhancement */
.company-info {
    scroll-behavior: smooth;
}

/* Enhanced gradient backgrounds */
.company-info .bg-white.border-2 {
    background: linear-gradient(135deg, #ffffff, #f8fafc, #f1f5f9);
}

.company-info .bg-white.border-2:hover {
    background: linear-gradient(135deg, #ffffff, #f0f9ff, #e0f2fe);
}

.company-info .bg-blue-50 {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe, #93c5fd);
}

.company-info .bg-green-50 {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0, #86efac);
}

.company-info .bg-orange-50 {
    background: linear-gradient(135deg, #fff7ed, #fed7aa, #fdba74);
}

/* Enhanced shadow system */
.company-info .bg-white.border-2 {
    box-shadow: 
        0 8px 16px rgba(30, 58, 138, 0.1),
        0 4px 8px rgba(30, 58, 138, 0.06),
        0 0 0 1px rgba(30, 58, 138, 0.05);
}

.company-info .bg-white.border-2:hover {
    box-shadow: 
        0 25px 50px rgba(30, 58, 138, 0.15),
        0 12px 24px rgba(30, 58, 138, 0.1),
        0 0 0 1px rgba(59, 130, 246, 0.1);
}

.company-info .bg-blue-50,
.company-info .bg-green-50,
.company-info .bg-orange-50 {
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.03),
        0 0 0 1px rgba(0, 0, 0, 0.02);
}

.company-info .bg-blue-50:hover {
    box-shadow: 
        0 12px 24px rgba(59, 130, 246, 0.2),
        0 6px 12px rgba(59, 130, 246, 0.15),
        0 0 0 1px rgba(59, 130, 246, 0.1);
}

.company-info .bg-green-50:hover {
    box-shadow: 
        0 12px 24px rgba(34, 197, 94, 0.2),
        0 6px 12px rgba(34, 197, 94, 0.15),
        0 0 0 1px rgba(34, 197, 94, 0.1);
}

.company-info .bg-orange-50:hover {
    box-shadow: 
        0 12px 24px rgba(249, 115, 22, 0.2),
        0 6px 12px rgba(249, 115, 22, 0.15),
        0 0 0 1px rgba(249, 115, 22, 0.1);
} 