* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

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

/* Header - Default */
header {
    background-color: #f9f9f7;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.logo {
    display: inline-block;
}

.logo img {
    height: 36px;
}

/* Language switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    /* Default: non-active state (clickable languages) */
    background-color: #007bff;
    color: white;
}

.lang-link:hover {
    background-color: #0056b3;
}

/* Active state: current page language */
.lang-link.active {
    background-color: transparent !important;
    color: #333 !important;
}

.lang-link.active:hover {
    background-color: #f0f0f0 !important;
    color: #333 !important;
}

.lang-separator {
    color: #ccc;
    font-size: 14px;
}

/* Hero section */
.hero {
    background-image: linear-gradient(180deg, rgba(242, 240, 235, 0.8) 0%, rgba(15, 77, 63, 0) 100%), url('../pics/nordic-energy-innovation.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.yhteistyokumppanit {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.yhteistyokumppanit img {
    height: 30px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero p {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #388E3C;
}

/* Features section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-left {
    background-color: #fff;
    padding: 40px;
    border-radius: 0;
}

.feature-left h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.feature-left p {
    color: #666;
    margin-bottom: 30px;
}

.feature-right {
    background-color: #fff;
    padding: 40px;
    border-radius: 0;
}

.feature-items {
    display: grid;
    gap: 30px;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.feature-item p {
    color: #666;
}

/* Solutions section */
.solutions {
    padding: 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.solution-img {
    background-image: url('/api/placeholder/600/500');
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.solution-content {
    background-color: #f5f5f5;
    padding: 60px 40px;
}

.solution-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.solution-content h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #4CAF50;
    font-weight: 500;
}

.solution-content p {
    margin-bottom: 20px;
    color: #666;
}

/* Quote section */
.quote-section {
    text-align: center;
    padding: 80px 0;
    background-color: #fff;
}

.quote-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.quote-section blockquote {
    font-size: 1.1rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

/* Contact section layout */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

/* Contact form */
.contact-form {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.contact-form p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.form-submit:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
}

.form-submit:active {
    transform: translateY(0);
}

/* Quote author (right side) */
.quote-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quote-author img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid #f0f0f0;
}

.quote-author h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.quote-author p {
    margin: 2px 0;
    color: #666;
}

/* Footer */
footer {
    background-color: #f9f9f7;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 30px;
    margin-bottom: 15px;
}

.footer-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #666;
}

.footer-info a {
    color: #4CAF50;
    text-decoration: none;
}

.footer-copyright {
    text-align: center;
    color: #999;
    font-size: 0.8rem;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* =============================================================
   PRIVACY POLICY SPECIFIC STYLES
   ============================================================= */

/* Privacy page body override */
body.privacy-page {
    background-color: #f8f9fa;
}

/* Privacy Header */
.header-inner {
    background-color: #f9f9f7;
    padding: 20px 0 0;
    border-bottom: 1px solid #eee;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 40px;
}

.page-header {
    text-align: center;
    padding: 40px 15px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.wave-divider {
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #388E3C);
    margin-top: 20px;
}

/* Privacy Section */
.privacy-section {
    padding: 60px 0;
    background-color: white;
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.last-updated {
    text-align: center;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-weight: 500;
    color: #666;
}

.privacy-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 40px;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 30px;
    color: #4CAF50;
    font-weight: 600;
}

.privacy-content p {
    margin-bottom: 20px;
    color: #666;
    text-align: justify;
}

.privacy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 8px;
    color: #666;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.privacy-table thead {
    background-color: #4CAF50;
    color: white;
}

.privacy-table th,
.privacy-table td {
    padding: 15px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.privacy-table th {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.privacy-table td {
    color: #666;
    font-size: 0.9rem;
}

.privacy-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.privacy-table tbody tr:hover {
    background-color: #e8f5e8;
}

/* Contact Section for Privacy */
.cta-section {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-section h2 span {
    color: #81C784;
}

.cta-section > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.privacy-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background-color: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    backdrop-filter: blur(10px);
}

.contact-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: white;
}

.contact-title {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.contact-detail {
    margin-bottom: 8px;
}

.contact-detail a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.contact-detail a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Privacy Footer Override */
.privacy-page footer {
    background-color: #f9f9f7;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.privacy-page .footer-logo img {
    height: 30px;
    margin-bottom: 20px;
}

.privacy-page .footer-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #666;
}

.privacy-page .footer-info a {
    color: #4CAF50;
    text-decoration: none;
}

.privacy-page .footer-info a:hover {
    text-decoration: underline;
}

/* =============================================================
   RESPONSIVE STYLES
   ============================================================= */

@media (max-width: 768px) {
    /* Homepage responsive */
    .features-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    /* Contact form responsive */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
    }
    
    /* Header responsive */
    header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* Privacy page responsive */
    .navbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .privacy-content h2 {
        font-size: 1.5rem;
    }
    
    .privacy-content h3 {
        font-size: 1.2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .privacy-contact {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .privacy-table th,
    .privacy-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    
    /* Language switcher responsive */
    .language-switcher {
        font-size: 12px;
    }
    
    .lang-link {
        font-size: 12px;
        padding: 4px 8px;
    }
}