/* LCSIND - Enterprise Technology Solutions Styles */
* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

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

@keyframes morph {
    0%, 100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
    25% {
        border-radius: 58% 42% 30% 70% / 55% 45% 55% 45%;
    }
    50% {
        border-radius: 30% 70% 42% 58% / 45% 55% 45% 55%;
    }
    75% {
        border-radius: 70% 30% 58% 42% / 55% 45% 55% 45%;
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: -3s;
}

.animate-scroll {
    animation: scroll 30s linear infinite;
}

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

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Blob */
.blob {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    animation: morph 8s ease-in-out infinite;
}

/* Gradient Background */
.gradient-bg {
    background: linear-gradient(-45deg, #1a1f4e, #2a3168, #1a1f4e, #0f1333);
    background-size: 400% 400%;
    animation: gradient 8s ease infinite;
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #1a1f4e 0%, #4f5db3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(26, 31, 78, 0.25);
}

/* Partner Logo Animation */
.partner-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Navigation Link Underline */
.nav-link-animated {
    position: relative;
}

.nav-link-animated::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a1f4e;
    transition: width 0.3s ease;
}

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

/* Icon Box */
.icon-box {
    transition: all 0.4s ease;
}

.icon-box:hover {
    background: #1a1f4e;
    color: white;
    transform: rotate(5deg) scale(1.1);
}

/* Hero Pattern */
.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(79, 93, 179, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(79, 93, 179, 0.1) 0%, transparent 50%);
}

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

::-webkit-scrollbar-track {
    background: #f5f7fb;
}

::-webkit-scrollbar-thumb {
    background: #1a1f4e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2a3168;
}

/* Mobile Menu */
.mobile-menu {
    z-index: 100;
}

.mobile-menu.active {
    transform: translateX(0) !important;
}

.mobile-menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1f4e 0%, #2a3168 50%, #4f5db3 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

/* Solution Card */
.solution-card {
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1f4e 0%, #4f5db3 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card > * {
    position: relative;
    z-index: 1;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #1a1f4e, #4f5db3);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1a1f4e;
    border: 3px solid #e8ebf4;
}

/* Feature Grid Pattern */
.feature-grid {
    background-image: 
        linear-gradient(rgba(26, 31, 78, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 31, 78, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Testimonial Card */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: rgba(26, 31, 78, 0.05);
    line-height: 1;
}

/* Input Focus Animation */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 31, 78, 0.1);
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(26, 31, 78, 0.1);
    border-top: 3px solid #1a1f4e;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

/* Hover Scale */
.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Parallax Effect Class */
.parallax {
    will-change: transform;
}

/* Smooth Section Transitions */
section {
    position: relative;
}

/* Tab Active State */
.tab-active {
    background: #1a1f4e;
    color: white;
}

/* Accordion Styles */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.active {
    max-height: 500px;
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: rgba(26, 31, 78, 0.1);
    color: #1a1f4e;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

/* Counter Animation */
.counter-value {
    font-variant-numeric: tabular-nums;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .animate-on-scroll {
        transform: translateY(20px);
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid #1a1f4e;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}