:root {
    /* Colors - Premium Dark Theme */
    --bg-body: #0a0a0a;
    --bg-card: #171717;
    --bg-card-hover: #262626;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-accent: #38bdf8;
    /* Sky Blue */
    --primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --container-width: 1100px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-outline {
    border-color: var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--text-accent);
    color: var(--text-accent);
}


/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.btn-flag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-flag:hover,
.btn-flag.active {
    background: var(--bg-card-hover);
    border-color: var(--text-accent);
    transform: scale(1.1);
}


/* Profile Image */
.profile-container {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    /* Zoom/Crop settings: Center horizontally, slightly top vertically to catch face */
    object-position: center 15%; 
    border: 4px solid var(--bg-card);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    transition: transform 0.5s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    /* JS will handle triggering this */
    animation: fadeIn 0.8s ease forwards;
}

/* Grid Layouts & Sections */
.split-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (min-width: 992px) {
    .split-hero {
        grid-template-columns: 1.2fr 0.8fr; /* Text wider than image */
        text-align: left;
    }
}

/* Profile Image */
.profile-container {
    position: relative;
    display: inline-block;
}

.profile-container::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(20px);
    z-index: -1;
}

.profile-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%; /* Zoom on face */
    border: 4px solid var(--bg-card);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transition: transform 0.5s ease;
}

.profile-img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .profile-img {
        width: 250px;
        height: 250px;
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Card Styles */
.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-md);
    border-radius: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(56, 189, 248, 0.3);
}