/* Base Reset & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Language Toggling Logic */
body.lang-en .sv {
    display: none !important;
}

body.lang-sv .en {
    display: none !important;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #004680;
    letter-spacing: -0.5px;
}

.lang-switch button {
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    color: #999;
    padding: 0.2rem;
}

.lang-switch button.active {
    color: #004680;
}

.divider {
    margin: 0 0.5rem;
    color: #ddd;
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 600px;
    background: url('assets/images/hero-bg.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 70, 128, 0.7), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #00b894;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 20px rgba(0, 184, 148, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #00cfa6;
    box-shadow: 0 15px 30px rgba(0, 184, 148, 0.4);
}

/* Sections */
.section {
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.2rem;
    color: #004680;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #00b894;
    margin-top: 0.5rem;
    border-radius: 2px;
}

/* Header Meta */
.header-meta {
    display: flex;
    justify-content: space-between;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #004680;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-item strong {
    display: block;
    color: #004680;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2rem;
    color: #004680;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.text-content {
    flex: 1 1 500px;
}

.image-content {
    flex: 1 1 400px;
}

.diagram-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300b894"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left 2px;
    background-size: 1.2rem;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.bg-light {
    background-color: #f1f4f8;
}

/* Financial Table */
.financial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.financial-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.financial-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.financial-table .amount {
    text-align: right;
    font-weight: 600;
}

.total-row td {
    border-top: 2px solid #333;
    font-size: 1.1rem;
    background-color: #fcfcfc;
}

/* Quote */
.quote-box {
    margin-top: 4rem;
    text-align: center;
    font-style: italic;
    font-size: 1.5rem;
    color: #555;
    padding: 2rem;
    border-left: 5px solid #00b894;
    /* Accent color */
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote-box cite {
    display: block;
    font-size: 1rem;
    margin-top: 1rem;
    color: #999;
    font-style: normal;
}

/* Footer */
footer {
    background: #004680;
    color: white;
    padding: 2rem;
    text-align: center;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .header-meta {
        flex-direction: column;
    }

    .split-layout {
        flex-direction: column-reverse;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #004680;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00b894;
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}