:root {
    --bg-color: #0d0d12;
    --text-color: #e0e0e0;
    --accent-color: #2563eb;
    /* Tech Blue */
    --accent-glow: rgba(37, 99, 235, 0.3);
    --secondary-bg: #16161f;
    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(13, 13, 18, 0) 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 18, 0.9);
    backdrop-filter: blur(10px);
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

main {
    padding-top: 80px;
    /* Space for fixed header */
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    padding: 2rem 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-title .highlight {
    color: var(--text-color);
    background: linear-gradient(90deg, #fff, #a5b4fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #a0a0a0;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-tags {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
    background-color: #1d4ed8;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    position: relative;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    /* No overflow hidden needed if mask clips it, but good practice */
    overflow: hidden;
    margin: 0 auto;

    /* Circular fade: clearer inner circle (65%) fading out to edge (100%) for visibility of head */
    -webkit-mask-image: radial-gradient(circle closest-side at center, black 65%, transparent 100%);
    mask-image: radial-gradient(circle closest-side at center, black 65%, transparent 100%);

    /* Subtle backlight to lift it off the page */
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.1);
    background: transparent;
    border: none;
}

.image-wrapper::after {
    content: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* "Rights side is twice as wide as left" -> Subject is to the left. 
       To center her, we shift the view to the left (e.g. 35-40%). */
    object-position: 30% center;
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
    }

    .hero-image {
        justify-content: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .image-wrapper {
        max-width: 100%;
        width: 80%;
    }
}

/* About Section */
.about-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--secondary-bg);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a0a0a0;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Experience Section */
.experience-section {
    padding: var(--spacing-lg) 0;
}

.centered {
    text-align: center;
    width: 100%;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    padding-left: 2rem;
    border-left: 2px solid var(--secondary-bg);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 5px var(--bg-color);
}

.timeline-content {
    background: var(--secondary-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-content h3 {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.date {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.company {
    color: #a0a0a0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.grade {
    margin-top: 0.5rem;
    font-style: italic;
    color: #cbd5e1;
}

/* Services Section */
.services-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--secondary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: #a0a0a0;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    text-align: center;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
}

.contact-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-box p {
    font-size: 1.25rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
}

.contact-box .cta-button {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

.social-links {
    margin-top: 3rem;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.9rem;
}