/* Base styles */
:root {
    --color-primary: #1C1C1C;
    --color-secondary: #2C2C2C;
    --color-accent: #00A896;
    --color-neutral: #F5F5F5;
    --color-gray: #4B5563;
}

/* Hover states */
.hover\:bg-primary:hover {
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.hover\:bg-accent:hover {
    background-color: var(--color-accent);
    transition: all 0.3s ease;
}

/* Button hover effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Link hover effects */
a.text-primary {
    position: relative;
    transition: all 0.2s ease;
}

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

a.text-primary::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

a.text-primary:hover::after {
    width: 100%;
}

/* Card hover effects */
.shadow-lg {
    transition: all 0.3s ease;
}

.shadow-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Focus states */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Button focus states */
.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.5);
}

/* Navigation hover effects */
.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

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

/* Service card hover effects */
.service-card {
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card .service-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

.service-card .arrow-icon {
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.service-card:hover .arrow-icon {
    transform: translateX(4px);
}

/* Enhanced background transitions */
.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.95);
}

/* Service metrics animation */
.service-metric {
    transition: all 0.3s ease;
}

.service-card:hover .service-metric {
    transform: scale(1.05);
    color: var(--color-primary);
}

/* Icon hover effects */
.icon-hover {
    transition: transform 0.3s ease;
}

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

/* Consultation button pulse */
.consultation-pulse {
    position: relative;
}

.consultation-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 9999px;
    background-color: var(--color-primary);
    opacity: 0.1;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

/* Header and footer styles */
header, footer {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}

/* Logo hover effect */
.logo-hover {
    transition: transform 0.3s ease;
}

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

/* Ensure content flows under header */
body {
    padding-top: 5rem;
}

/* Chart colors */
.chart-primary {
    color: var(--color-primary);
}

.chart-accent {
    color: var(--color-accent);
}

/* Menu Transitions */
.menu-line-1,
.menu-line-2,
.menu-line-3 {
    transform-origin: center;
}

/* Header Scroll Animation */
.header-scroll {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.header-visible {
    transform: translateY(0);
}

/* Menu Item Hover Effects */
.menu-item {
    position: relative;
    overflow: hidden;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.menu-item:hover::after {
    width: 100%;
}

/* Scientific Background Animation */
.scientific-bg {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
}

/* Menu Background */
.menu-open {
    background-color: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(10px);
}

/* Menu Item Containers */
.menu-item-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.menu-item-container:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Menu Text Colors */
.menu-text-primary {
    color: rgba(255, 255, 255, 0.9);
}

.menu-text-secondary {
    color: rgba(255, 255, 255, 0.6);
}

/* Menu Animations */
.menu-enter {
    transform: translateX(100%);
}

.menu-enter-active {
    transform: translateX(0%);
    transition: transform 0.5s ease-out;
}

.menu-exit {
    transform: translateX(0%);
}

.menu-exit-active {
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
} 