:root {
    --primary-color: #0d6efd;
    --dark-color: #1a1e23;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    background-color: rgba(26, 30, 35, 0.95) !important;
    backdrop-filter: blur(10px);
}

.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 30, 35, 0.9), rgba(13, 110, 253, 0.7)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    padding-top: 76px; /* Offset for fixed navbar */
}

.profile-placeholder {
    width: 200px;
    height: 200px;
    background-color: var(--dark-color) !important;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef !important;
}

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

section {
    scroll-margin-top: 76px; /* Offset for fixed navbar when scrolling */
}

/* Timeline Custom Styles */
.timeline {
    border-left: 3px solid var(--primary-color);
    margin-left: 1.5rem;
    padding-left: 1.5rem;
}

.timeline .card::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    left: -33px; /* Adjust based on padding/margin */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline .card:nth-child(n+2)::before {
    border-color: #6c757d; /* secondary color for past roles */
}

#lang-toggle button {
    font-weight: bold;
    min-width: 40px;
}
