/* Reset & Base */
:root {
    --bg-color: #0b1120;
    /* Deep Corporate Blue/Black */
    --card-bg: #152033;
    /* Lighter Blue for cards */
    --text-primary: #e2e8f0;
    /* Off-white */
    --text-secondary: #94a3b8;
    /* Muted Blue-Grey */
    --accent: #38bdf8;
    /* Bright Sky Blue for Callouts */
    --accent-hover: #0ea5e9;
    /* Darker Sky Blue */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(8px);
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logo-highlight {
    color: var(--text-secondary);
    font-weight: 400;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}

.lang-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1.5fr 1fr;
        align-items: center;
    }
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bg-color);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
}

.cta-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

/* Profile Image - Minimalist Geometric */
.profile-img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--card-bg);
    /* Inner border to separate from glow */
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3), 0 0 30px rgba(56, 189, 248, 0.15);
    /* Double border effect */
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 0 2px var(--accent), 0 0 40px rgba(56, 189, 248, 0.3);
}

/* Placeholder for Profile (Legacy/Fallback) */
.profile-placeholder {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(56, 189, 248, 0.1) 100%);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Metrics Section */
.metrics {
    background: var(--card-bg);
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.metric-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Trusted By Section */
.trusted-by {
    padding: 3rem 0;
    background: var(--bg-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trusted-label {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.logos-wrapper {
    display: flex;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Clips content to container width */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* CSS Mask replaces pseudo-elements for better clean edges */

.logos-slide {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-right: 4rem;
    /* Match gap */
    animation: slide 30s linear infinite;
    white-space: nowrap;
}

.company-logo-img {
    height: 40px;
    /* Fixed height for consistency */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
    cursor: pointer;
}

.company-logo-img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Experience Section */
.experience {
    padding: 5rem 0;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
}

.timeline-item {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 5px;
    width: 9px;
    height: 9px;
    background: var(--accent);
    border-radius: 50%;
}

.role {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.company {
    display: block;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.year {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-family: monospace;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a:hover {
    color: var(--accent);
}

/* Utilities */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}