/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Design System Colors - HSL Format */
    --background: 0 0% 100%;
    --foreground: 210 11% 15%;
    
    --card: 0 0% 100%;
    --card-foreground: 210 11% 15%;
    
    --popover: 0 0% 100%;
    --popover-foreground: 210 11% 15%;
    
    --primary: 221 83% 53%;
    --primary-foreground: 0 0% 98%;
    --primary-glow: 221 83% 65%;
    
    --secondary: 210 40% 96%;
    --secondary-foreground: 210 11% 15%;
    
    --muted: 210 40% 96%;
    --muted-foreground: 215 16% 47%;
    
    --accent: 43 74% 66%;
    --accent-foreground: 210 11% 15%;
    
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;
    
    --border: 214 32% 91%;
    --input: 214 32% 91%;
    --ring: 221 83% 53%;
    
    --radius: 0.75rem;
    
    /* Professional gradients */
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
    --gradient-hero: linear-gradient(135deg, hsl(221 83% 53%) 0%, hsl(221 83% 65%) 100%);
    --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(210 40% 98%) 100%);
    
    /* Professional shadows */
    --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.15);
    --shadow-card: 0 4px 6px -1px hsl(210 11% 15% / 0.1), 0 2px 4px -1px hsl(210 11% 15% / 0.06);
    --shadow-glow: 0 0 40px hsl(var(--primary-glow) / 0.3);
    
    /* Smooth transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border));
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-card);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.1);
}

.nav-link i {
    font-size: 0.875rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: hsl(var(--muted-foreground));
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 4xl;
    margin: 0 auto;
}

.profile-section {
    margin-bottom: 2rem;
}

.profile-image-container {
    width: 192px;
    height: 192px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 4px solid hsl(var(--primary) / 0.2);
    animation: float 3s ease-in-out infinite;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitles {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.hero-subtitle-secondary {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
}

.hero-badge {
    display: inline-block;
    background: hsl(var(--accent) / 0.2);
    color: hsl(var(--accent-foreground));
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1rem;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--muted-foreground));
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item i {
    color: hsl(var(--primary));
    width: 20px;
    height: 20px;
}

.contact-item a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-item a:hover {
    color: hsl(var(--primary));
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: hsl(var(--primary-glow));
}

.hero-description {
    margin-bottom: 3rem;
    max-width: 3xl;
    margin-left: auto;
    margin-right: auto;
}

.description-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
}

.achievement-badge {
    background: hsl(var(--accent) / 0.1);
    border: 1px solid hsl(var(--accent) / 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.achievement-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--accent-foreground));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.achievement-text span {
    color: hsl(var(--accent));
}

.description-text-secondary {
    font-size: 1.125rem;
    line-height: 1.7;
    color: hsl(var(--muted-foreground));
}

.hero-actions {
    display: flex;
    flex-col: column;
    gap: 1rem;
    justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::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:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-card);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: hsl(var(--background));
    color: hsl(var(--primary));
    border: 2px solid hsl(var(--primary));
}

.btn-secondary:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section.bg-gradient-subtle {
    background: var(--gradient-subtle);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.skill-card {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    border: 1px solid hsl(var(--border));
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
    border-color: hsl(var(--primary) / 0.3);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: hsl(var(--primary) / 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.skill-card:hover .skill-icon {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.skill-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.skill-list {
    list-style: none;
}

.skill-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: hsl(var(--muted-foreground));
    transition: var(--transition-smooth);
}

.skill-list li:hover {
    color: hsl(var(--primary));
    transform: translateX(5px);
}

.skill-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: hsl(var(--primary));
    flex-shrink: 0;
}

.technologies-section {
    margin-bottom: 4rem;
}

.technologies-card {
    background: hsl(var(--accent) / 0.05);
    border: 1px solid hsl(var(--accent) / 0.2);
    border-radius: var(--radius);
    padding: 2rem;
}

.technologies-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.technologies-header i {
    color: hsl(var(--accent));
    width: 24px;
    height: 24px;
}

.technologies-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.technologies-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: hsl(var(--accent) / 0.2);
    color: hsl(var(--accent-foreground));
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: default;
}

.tech-tag:hover {
    background: hsl(var(--accent) / 0.3);
}

.languages-section {
    max-width: 2xl;
    margin: 0 auto;
}

.languages-card {
    background: hsl(var(--card));
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 2rem;
}

.languages-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.languages-header i {
    color: hsl(var(--primary));
    width: 24px;
    height: 24px;
}

.languages-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.language-item {
    text-align: center;
}

.language-name {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.language-level {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* ===== TIMELINE ===== */
.timeline-container {
    max-width: 4xl;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 64px;
    height: 64px;
    background: hsl(var(--background));
    border: 4px solid hsl(var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    z-index: 10;
}

.timeline-marker.current {
    position: relative;
}

.marker-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: hsl(var(--primary));
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.timeline-marker.special {
    border-color: hsl(var(--accent));
    background: hsl(var(--accent) / 0.1);
}

.timeline-marker i {
    color: hsl(var(--primary));
    width: 20px;
    height: 20px;
}

.timeline-marker.special i {
    color: hsl(var(--accent));
}

.timeline-content {
    width: 100%;
}

.experience-card {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    border: 1px solid hsl(var(--border));
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

.experience-card.current {
    border-color: hsl(var(--primary) / 0.5);
    background: hsl(var(--primary) / 0.05);
    box-shadow: var(--shadow-glow);
}

.experience-card.special {
    border-color: hsl(var(--accent) / 0.5);
    background: hsl(var(--accent) / 0.05);
}

.experience-header {
    margin-bottom: 1rem;
}

.experience-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.badge-secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.badge-accent {
    background: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.badge-outline {
    border: 1px solid hsl(var(--primary));
    color: hsl(var(--primary));
    background: transparent;
}

.badge i {
    width: 12px;
    height: 12px;
}

.experience-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.experience-card:hover .experience-header h3 {
    color: hsl(var(--primary));
}

.experience-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: hsl(var(--muted-foreground));
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.meta-item i {
    width: 16px;
    height: 16px;
}

.experience-achievements {
    list-style: none;
}

.experience-achievements li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    line-height: 1.6;
}

.experience-achievements li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: hsl(var(--primary));
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* ===== FORMATION SECTION ===== */
.formation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.formation-card {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition-smooth);
    border: 1px solid hsl(var(--border));
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

.formation-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary-foreground));
    font-size: 1.5rem;
    flex-shrink: 0;
}

.formation-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.formation-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.formation-school,
.formation-equivalent {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.25rem;
}

.formation-details {
    list-style: none;
    margin-top: 1rem;
}

.formation-details li {
    padding: 0.25rem 0;
    color: hsl(var(--muted-foreground));
    position: relative;
    padding-left: 1rem;
}

.formation-details li::before {
    content: '•';
    color: hsl(var(--primary));
    position: absolute;
    left: 0;
}

/* ===== PROJECTS SECTION ===== */
.featured-project {
    margin-bottom: 3rem;
}

.featured-card {
    background: hsl(var(--accent) / 0.1);
    border: 1px solid hsl(var(--accent) / 0.3);
    border-radius: var(--radius);
    box-shadow: var(--shadow-glow);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.featured-card:hover {
    box-shadow: var(--shadow-elegant);
}

.featured-header {
    margin-bottom: 1rem;
}

.featured-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: hsl(var(--accent) / 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--accent));
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.featured-card:hover .featured-icon {
    background: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.featured-badge {
    display: inline-block;
    background: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.featured-header h3 {
    font-size: 1.5rem;
    color: hsl(var(--accent));
    transition: var(--transition-smooth);
}

.featured-card:hover .featured-header h3 {
    color: hsl(var(--accent-foreground));
}

.featured-content p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    max-width: 3xl;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.project-card {
    background: hsl(var(--card));
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    border: 1px solid hsl(var(--border));
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

.project-header {
    padding: 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
}

.project-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.project-icon.primary {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.project-icon.accent {
    background: hsl(var(--accent) / 0.1);
    color: hsl(var(--accent));
}

.project-card:hover .project-icon.primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.project-card:hover .project-icon.accent {
    background: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.project-category {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.project-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    transition: var(--transition-smooth);
}

.project-card:hover .project-header h3 {
    color: hsl(var(--primary));
}

.project-content {
    padding: 1.5rem;
}

.project-content p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.project-tag {
    border: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.innovation-section {
    text-align: center;
}

.innovation-card {
    background: hsl(var(--primary) / 0.05);
    border: 1px solid hsl(var(--primary) / 0.2);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 3xl;
    margin: 0 auto;
}

.innovation-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.innovation-card p {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.availability-section {
    margin-bottom: 3rem;
}

.availability-card {
    background: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary) / 0.3);
    border-radius: var(--radius);
    box-shadow: var(--shadow-glow);
    padding: 1.5rem;
    text-align: center;
}

.availability-badge {
    display: inline-block;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.availability-card p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: hsl(var(--card));
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    border: 1px solid hsl(var(--border));
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

.contact-card-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.contact-card-icon.primary {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.contact-card-icon.accent {
    background: hsl(var(--accent) / 0.1);
    color: hsl(var(--accent));
}

.contact-card:hover .contact-card-icon.primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.contact-card:hover .contact-card-icon.accent {
    background: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.contact-card-info h4 {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.25rem;
}

.contact-card-info p {
    font-weight: 500;
    color: hsl(var(--foreground));
    transition: var(--transition-smooth);
}

.contact-card:hover .contact-card-info p {
    color: hsl(var(--primary));
}

.contact-actions {
    display: flex;
    flex-col: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.interests-section {
    margin-bottom: 4rem;
}

.interests-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.interest-card {
    background: hsl(var(--card));
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    border: 1px solid hsl(var(--border));
    padding: 1.5rem;
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
    border-color: hsl(var(--accent) / 0.3);
}

.interest-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.interest-icon {
    width: 50px;
    height: 50px;
    background: hsl(var(--accent) / 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--accent));
    font-size: 1.25rem;
    transition: var(--transition-smooth);
}

.interest-card:hover .interest-icon {
    background: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.interest-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    transition: var(--transition-smooth);
}

.interest-card:hover .interest-header h4 {
    color: hsl(var(--accent));
}

.interest-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

.references-section {
    text-align: center;
}

.references-card {
    background: var(--gradient-subtle);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
}

.references-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.references-card p {
    color: hsl(var(--muted-foreground));
}

/* ===== FOOTER ===== */
.footer {
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--background));
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: hsl(var(--muted-foreground));
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--background));
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: hsl(var(--background));
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: hsl(var(--muted));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: hsl(var(--primary-glow));
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: hsl(var(--background));
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-card);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-items {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .formation-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .languages-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }