/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066CC;
    --secondary-color: #FF6B35;
    --accent-color: #FFD700;
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #e6eef3;
    --white: #ffffff;
    --panel-line: rgba(12, 67, 96, 0.18);
    --gradient: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    --shadow: 0 12px 28px rgba(12, 67, 96, 0.14);
    --shadow-lg: 0 20px 52px rgba(12, 67, 96, 0.18);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #edf3f6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1.45rem;
    align-items: center;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0052A3;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    margin-bottom: 1rem;
}

.hero-name {
    color: var(--primary-color);
    font-size: 0.93rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-badge .flag {
    font-size: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.partnership-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
}

/* Strategic Value Section */
.strategic-value {
    background: #eef3f6;
}

.experience-eyebrow {
    margin-bottom: 0.65rem;
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.experience-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 2.75rem 0;
    background: rgba(0, 102, 204, 0.2);
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.experience-proof {
    min-height: 144px;
    padding: 1.65rem;
    background: var(--white);
    text-align: center;
}

.experience-proof-number {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-proof-label {
    display: block;
    color: #40515c;
    font-size: 0.92rem;
    line-height: 1.45;
}

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

.value-card {
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--panel-line);
    box-shadow: 0 8px 22px rgba(12, 67, 96, 0.08);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: clamp(1.25rem, 1.35vw, 1.5rem);
    line-height: 1.24;
    margin-bottom: 1rem;
    color: var(--primary-color);
    hyphens: auto;
    overflow-wrap: anywhere;
    word-break: normal;
}

html[lang="fi"] .value-card h3 {
    hyphens: manual;
}

.strategy-visual {
    margin: 3rem 0;
    text-align: center;
}

.strategy-visual img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.strategy-caption {
    margin-top: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.value-proposition {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    margin-top: 3rem;
}

.value-proposition h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.value-proposition ul {
    list-style: none;
    margin: 1.5rem 0;
}

.value-proposition li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Skills Section */
.skills {
    background: #e1ebf0;
}

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

.skill-category {
    background: var(--white);
    border: 1px solid var(--panel-line);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.skill-category h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.skill-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.skill-level {
    font-size: 0.9rem;
    color: var(--gray);
}

.skill-bar {
    background: var(--light-gray);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.skill-progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    transition: width 1s ease;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: var(--light-gray);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.skill-desc {
    font-size: 0.9rem;
    color: var(--gray);
}

/* About Section */
.about {
    background: #eef3f6;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.highlight {
    background: var(--white);
    border: 1px solid var(--panel-line);
    box-shadow: 0 8px 22px rgba(12, 67, 96, 0.08);
    padding: 2rem;
    border-radius: 12px;
}

.highlight h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quote {
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 8px 22px rgba(12, 67, 96, 0.08);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    font-style: italic;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    background: #e1ebf0;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-item {
    background: var(--white);
    border: 1px solid var(--panel-line);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-label {
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.contact-value {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-value:hover {
    text-decoration: underline;
}

/* International cooperation section */
.international-cooperation {
    background: linear-gradient(135deg, #f8fbfd 0%, #e1edf2 100%);
}

.cooperation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.cooperation-card {
    position: relative;
    min-height: 230px;
    background: var(--white);
    border: 1px solid var(--panel-line);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(12, 67, 96, 0.08);
    padding: 2rem;
}

.cooperation-number {
    display: block;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.cooperation-card h3 {
    margin-bottom: 0.85rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.cooperation-card p {
    color: #34454f;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer .profile-permission {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    line-height: 1.5;
    margin: 0.65rem auto;
    max-width: 760px;
}

.mobile-menu-fab,
.mobile-nav-panel {
    display: none;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-fab {
        display: block;
        position: fixed;
        z-index: 2100;
        right: 16px;
        bottom: 16px;
        min-width: 82px;
        padding: 0.72rem 0.95rem;
        border: 1px solid rgba(255, 255, 255, 0.76);
        border-radius: 999px;
        background: #0066CC;
        box-shadow: 0 12px 28px rgba(0, 47, 82, 0.26);
        color: #fff;
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .mobile-nav-panel.is-open {
        display: block;
        position: fixed;
        z-index: 2200;
        inset: 0;
        overflow-y: auto;
        background: linear-gradient(145deg, #061d2b, #0c4057);
        color: #fff;
    }

    .mobile-menu-shell {
        min-height: 100svh;
        padding: 1.25rem 1.25rem 2rem;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-topline {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        color: #a9e7b3;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .mobile-menu-close {
        border: 1px solid rgba(255, 255, 255, 0.34);
        border-radius: 999px;
        background: transparent;
        color: #fff;
        padding: 0.48rem 0.72rem;
        font: inherit;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .mobile-menu-languages {
        display: flex;
        gap: 0.55rem;
        margin: 3rem 0 2.3rem;
    }

    .mobile-menu-languages .lang-btn {
        min-width: 48px;
        border-color: rgba(255, 255, 255, 0.36);
        border-radius: 999px;
        color: #fff;
        font-size: 0.76rem;
        font-weight: 700;
        padding: 0.48rem 0.65rem;
    }

    .mobile-menu-languages .lang-btn.active {
        background: #a9e7b3;
        border-color: #a9e7b3;
        color: #08322b;
    }

    .mobile-menu-links {
        border-top: 1px solid rgba(255, 255, 255, 0.22);
    }

    .mobile-menu-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
        color: #fff;
        font-family: 'Playfair Display', serif;
        font-size: 1.5rem;
        padding: 1.05rem 0;
        text-decoration: none;
    }

    .mobile-menu-links a::after {
        content: '→';
        color: #a9e7b3;
        font-family: 'Inter', sans-serif;
        font-size: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero {
        padding: 2.25rem 0 2.75rem;
    }

    .hero-name {
        font-size: 1.14rem;
        font-weight: 700;
        letter-spacing: 0.085em;
        margin-bottom: 0.9rem;
    }
    
    .hero-text h1 {
        font-size: clamp(2.05rem, 10vw, 2.7rem);
        margin-bottom: 0.65rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-stats {
        gap: 1.1rem;
        justify-content: space-between;
        margin: 1.1rem 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.65rem;
        margin-top: 1rem;
        padding-right: 98px;
    }

    .hero-cta .btn-large {
        padding: 0.8rem 1rem;
        text-align: center;
        width: 100%;
    }

    .hero-image img {
        max-height: 330px;
        object-fit: cover;
        object-position: center 20%;
    }
    
    .value-grid,
    .skills-grid,
    .about-highlights,
    .contact-details,
    .cooperation-grid,
    .experience-proof-grid {
        grid-template-columns: 1fr;
    }

    .experience-proof {
        min-height: auto;
        padding: 1.25rem;
    }
}
