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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

header {
    background: linear-gradient(135deg, #6B8E23 0%, #556B2F 100%);
    color: white;
    text-align: center;
    padding: 2em 1em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.2em;
    margin-bottom: 0.3em;
    font-weight: 600;
}

header p {
    font-size: 1.1em;
    opacity: 0.9;
}

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

section {
    padding: 2em 1em;
    margin: 1.5em auto;
    max-width: 800px;
}

#introduction {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    text-align: center;
}

#introduction h2 {
    color: #556B2F;
    font-size: 1.8em;
    margin-bottom: 1em;
}

#introduction p {
    color: #666;
    font-size: 1.05em;
    margin-bottom: 1em;
}

#introduction ul {
    list-style: none;
    padding: 0;
    margin: 1.5em 0;
}

#introduction ul li {
    padding: 0.5em 0;
    color: #555;
}

#introduction ul li::before {
    content: "\2713";
    color: #6B8E23;
    font-weight: bold;
    margin-right: 0.5em;
}

#form-section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

#form-section h2 {
    color: #556B2F;
    font-size: 1.5em;
    margin-bottom: 0.5em;
    text-align: center;
}

#form-section .subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 1.5em;
    font-size: 0.95em;
}

#emc-widget-container {
    max-width: 500px;
    margin: 0 auto;
}

#contact {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    text-align: center;
}

#contact h2 {
    color: #556B2F;
    font-size: 1.5em;
    margin-bottom: 1em;
}

#contact p {
    color: #666;
    margin-bottom: 0.5em;
}

#contact a {
    color: #6B8E23;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

footer {
    background-color: #333;
    color: #aaa;
    text-align: center;
    padding: 1.5em;
    margin-top: 2em;
    font-size: 0.9em;
}

/* Language selector */
.lang-selector {
    text-align: center;
    margin-bottom: 1em;
}

.lang-selector button {
    padding: 8px 16px;
    margin: 0 5px;
    border: 2px solid #6B8E23;
    background: white;
    color: #6B8E23;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.2s;
}

.lang-selector button:hover,
.lang-selector button.active {
    background: #6B8E23;
    color: white;
}

/* Loading spinner */
.widget-loading {
    text-align: center;
    padding: 20px;
}

.widget-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #6B8E23;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.6em;
    }

    header p {
        font-size: 1em;
    }

    section {
        margin: 1em;
        padding: 1.5em 1em;
    }

    #introduction h2,
    #form-section h2,
    #contact h2 {
        font-size: 1.3em;
    }
}
