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

:root {
    --primary-dark: #1a1a2e;
    --secondary-dark: #16213e;
    --accent-blue: #0f3460;
    --highlight: #10b981;
    --text-light: #eee;
    --text-gray: #aaa;
    --border-color: #2a2a3e;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: var(--text-light);
}

.container {
    width: 100%;
    max-width: 650px;
}

.card {
    background: rgba(22, 33, 62, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

/* Header Section */
.card-header {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--secondary-dark) 100%);
    padding: 40px 40px 35px;
    border-bottom: 2px solid var(--highlight);
    position: relative;
}

.profile-section {
    text-align: center;
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 4px 8px;
}

.lang-link:hover {
    color: var(--text-light);
}

.lang-link.active {
    color: var(--highlight);
}

.lang-separator {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.name-title h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.role-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--highlight);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.separator {
    color: var(--text-gray);
    font-size: 1rem;
}

.company-logo {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
}

.company-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Card Body */
.card-body {
    padding: 40px;
}

.description {
    text-align: left;
    margin-bottom: 30px;
}

.description p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    font-weight: 400;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 35px 0;
}

/* Contact Section */
.contact-section h2,
.social-section h2,
.companies-section h2 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(15, 52, 96, 0.3);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    background: rgba(15, 52, 96, 0.5);
    border-color: var(--highlight);
    transform: translateX(5px);
}

.contact-item.linkedin:hover {
    border-color: #0077b5;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--highlight), #34d399);
    color: white;
    flex-shrink: 0;
}

.icon-wrapper.linkedin-icon {
    background: linear-gradient(135deg, #0077b5, #005582);
}

.icon-wrapper.location-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.icon-wrapper.malt-icon {
    background: linear-gradient(135deg, #FC5757, #d93b3b);
}

.contact-item.location {
    cursor: default;
}

.contact-item.location:hover {
    transform: none;
    border-color: transparent;
}

.contact-item.malt:hover {
    border-color: #FC5757;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Social Section */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    background: rgba(15, 52, 96, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-item i {
    font-size: 1.3rem;
}

.social-item span {
    font-size: 0.95rem;
}

.social-item.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 119, 181, 0.3);
}

.social-item.twitter:hover {
    background: #000000;
    border-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.social-item.github:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(51, 51, 51, 0.3);
}

.social-item.website:hover {
    background: var(--highlight);
    border-color: var(--highlight);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* Companies Section */
.companies-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.company-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: rgba(15, 52, 96, 0.3);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.company-item:hover {
    background: rgba(15, 52, 96, 0.5);
    border-color: var(--highlight);
    transform: translateX(5px);
}

.icon-wrapper.company {
    background: linear-gradient(135deg, #667eea, #764ba2);
    flex-shrink: 0;
    margin-top: 2px;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.company-name-large {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.3;
}

.company-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    text-align: left;
}

/* Footer */
.card-footer {
    background: var(--primary-dark);
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.card-footer p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-header {
        padding: 30px 25px 25px;
    }

    .language-switcher {
        top: 15px;
        right: 20px;
    }

    .lang-link {
        font-size: 0.85rem;
        padding: 3px 6px;
    }

    .name-title h1 {
        font-size: 2rem;
    }

    .role-badge {
        padding: 10px 18px;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .company-logo {
        height: 20px;
    }

    .card-body {
        padding: 30px 25px;
    }

    .description p {
        font-size: 1.05rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .company-item {
        padding: 18px;
        gap: 15px;
    }

    .company-name-large {
        font-size: 1.05rem;
    }

    .company-description {
        font-size: 0.85rem;
    }

    .card-footer {
        padding: 15px 25px;
    }
}

@media (max-width: 480px) {
    .name-title h1 {
        font-size: 1.75rem;
    }

    .role-badge {
        font-size: 0.9rem;
    }

    .role-text,
    .company-name {
        font-size: 0.9rem;
    }
}
