/* ==================== CUSTOM VARIABLES ==================== */
:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
}

/* ==================== BASE STYLES ==================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

/* ==================== BOOTSTRAP OVERRIDES ==================== */
.text-primary, .btn-primary, .btn-outline-primary {
    --bs-primary: var(--primary-color) !important;
    --bs-primary-rgb: 30, 64, 175 !important;
}

.btn-outline-primary.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    transition: all 0.3s ease;
}

.logo-icon {
    color: var(--primary-color);
}

.nav-link {
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

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

/* Language Selector */
.language-selector .btn {
    min-width: 42px;
    transition: all 0.3s ease;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    overflow: hidden;
}

.hero h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-background {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.hero-video {
    object-fit: cover;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.7) 0%, rgba(59, 130, 246, 0.6) 100%);
}

.scroll-indicator {
    animation: bounce 2s infinite;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==================== SERVICE CARDS ==================== */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--primary-light) !important;
}

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

/* ==================== INFO CARDS ==================== */
.info-card {
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-4px);
}

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

.service-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    .language-selector {
        margin-top: 1rem;
    }
}

/* ==================== SMOOTH SCROLLING ==================== */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}