:root {
    --primary-blue: #006597;
    --text-color: #333;
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-logo-container a {
    max-width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    max-height: 80px;
    width: 100%;
    object-fit: contain;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 960px;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

.main-logo {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 40px;
}

.btn-enter {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    padding: 15px 60px;
    font-size: 24px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background-color 0.2s;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-enter:hover {
    background-color: #005682;
    transform: translateY(-2px);
}

.btn-enter:active {
    transform: translateY(0);
}

footer {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-icons {
    width: 100%;
    max-width: 800px;
    height: auto;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    header {
        padding: 15px;
    }

    .header-logo-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .header-logo-container a {
        max-width: 45%;
    }

    .header-logo {
        max-height: 40px;
    }

    .main-logo {
        max-width: 90%;
        margin-bottom: 30px;
    }

    .btn-enter {
        padding: 12px 40px;
        font-size: 20px;
        width: 80%;
        max-width: 300px;
    }

    .bottom-icons {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header-logo {
        max-height: 35px;
    }

    .header-logo-container {
        gap: 0px;
    }
}

.questionnaire-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

main:has(.questionnaire-container) {
    justify-content: flex-start;
    align-items: stretch;
    max-width: 100%;
    padding: 0;
}

main:has(.questionnaire-container) .questionnaire-container {
    padding: 30px 20px;
}

.questionnaire-title {
    text-align: center;
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 30px;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.progress-step.active .step-number {
    background: var(--primary-blue);
    color: white;
}

.progress-step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--primary-blue);
    font-weight: 600;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    color: var(--primary-blue);
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.section-subtitle {
    color: var(--primary-blue);
    font-size: 18px;
    margin: 30px 0 15px;
    padding-top: 20px;
}

.question-text {
    font-size: 15px;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
}

.question-hint {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
    margin-bottom: 10px;
}

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

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

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group input.error,
.form-group select.error {
    border-color: #dc3545;
}

.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.form-group input[readonly] {
    background: #f5f5f5;
    color: #666;
}

.form-group input[disabled],
.form-group select[disabled] {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.required {
    color: #dc3545;
}

.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 150px;
}

.form-group-small {
    max-width: 120px;
}

.input-with-suffix {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-with-suffix input {
    width: 100px;
}

.input-suffix {
    font-size: 14px;
    color: #666;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;

}

.vehicles-grid .form-group input {
    width: 100%;
}

.persons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;

}

.persons-grid .form-group select {
    width: 100%;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-group-horizontal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: var(--primary-blue);
    background: #f8f9fa;
}

.radio-option input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
}

.radio-label {
    font-size: 14px;
    color: #333;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.checkbox-option {
    display: inline-flex !important;
    align-items: center;
    cursor: pointer;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 0 !important;
}

.checkbox-option:hover {
    border-color: var(--primary-blue);
    background: #f8f9fa;
}

.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
    flex-shrink: 0;
    margin: 0;
}

.checkbox-option .checkbox-label {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.checkbox-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkbox-option.disabled input {
    cursor: not-allowed;
}

.persons-summary {
    background: #f0f7fb;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 15px;
}

.persons-summary strong {
    color: var(--primary-blue);
    font-size: 18px;
}

.no-persons-message {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
}

.person-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 40px;
    overflow: hidden;
}

.person-card-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.person-card-header:hover {
    background: #f0f0f0;
}

.person-card-header.collapsed {
    background: #f8f9fa;
}

.person-number {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 16px;
}

.person-name-display {
    margin-left: 10px;
    color: #666;
    font-weight: 400;
}

.person-toggle {
    margin-left: auto;
    font-size: 14px;
    color: #666;
    transition: transform 0.3s ease;
}

.person-card-content {
    padding: 20px;
}

.person-section {

    padding-bottom: 20px;
}

.person-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.person-section-title {
    color: var(--primary-blue);
    font-size: 16px;
    margin-bottom: 15px;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.btn-nav {
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: var(--primary-blue);
    color: white;
}

.btn-nav:hover:not(:disabled) {
    background: #005682;
    transform: translateY(-2px);
}

.btn-nav:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.btn-prev {
    background: #e0e0e0;
    color: #333;
}

.btn-prev:hover {
    background: #d0d0d0;
}

.btn-next,
.btn-submit {
    background: var(--primary-blue);
    color: white;
    margin-left: auto;
}

.btn-next:hover,
.btn-submit:hover {
    background: #005682;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .questionnaire-container {
        padding: 15px;
    }

    .questionnaire-title {
        font-size: 22px;
    }

    .progress-bar {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .progress-bar::before {
        display: none;
    }

    .progress-step {
        flex: 0 0 auto;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .step-label {
        font-size: 10px;
    }

    .step-title {
        font-size: 18px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group-small {
        max-width: none;
    }

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

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

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

    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    .btn-next,
    .btn-submit {
        margin-left: 0;
        order: -1;
    }
}

@media (max-width: 480px) {
    .questionnaire-title {
        font-size: 20px;
    }

    .person-card-header {
        padding: 12px 15px;
    }

    .person-card-content {
        padding: 15px;
    }

    .radio-option,
    .checkbox-option {
        padding: 10px 12px;
    }
}

/* Travel Diary Styles */
.diary-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

.diary-title {
    text-align: center;
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 20px;
}

.diary-header-info {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.header-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.header-value {
    font-size: 14px;
    color: #333;
}

.header-input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    width: 120px;
}

.header-input[readonly] {
    background: #eee;
    color: #666;
}

.diary-section {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.section-title {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.subsection-title {
    color: #444;
    font-size: 16px;
    margin: 20px 0 10px;
}

.date-display {
    display: flex;
    align-items: center;
    gap: 5px;
}

.date-part {
    width: 60px;
    padding: 10px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

.date-part:disabled {
    background: #f5f5f5;
    color: #333;
    cursor: not-allowed;
    opacity: 1;
}

.date-separator {
    font-size: 18px;
    color: #666;
}

.notravel-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.end-message {
    margin-top: 30px;
    padding: 20px;
    background: #f0f7fb;
    border-radius: 10px;
    text-align: center;
}

.end-message p {
    margin-bottom: 15px;
    font-size: 16px;
}

.address-section {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.trip-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.trip-card-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
    border-bottom: 2px solid #e0e0e0;
}

.trip-card-header:hover {
    background: linear-gradient(135deg, #f0f7fb 0%, #e3e8ed 100%);
}

.trip-card-header.collapsed {
    border-bottom: none;
}

.trip-number {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 18px;
}

.trip-summary {
    margin-left: 15px;
    color: #666;
    font-size: 14px;
}

.trip-toggle {
    margin-left: auto;
    font-size: 14px;
    color: #666;
    transition: transform 0.3s ease;
}

.trip-card-content {
    padding: 20px;
}

.trip-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.trip-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.trip-section-title {
    color: var(--primary-blue);
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 600;
}

.trip-meta {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.trip-next {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #ffc107;
}

.time-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-input {
    width: 70px;
    padding: 10px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

.time-select {
    width: 70px;
    padding: 10px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.time-separator {
    font-size: 20px;
    font-weight: bold;
    color: #666;
}

.time-label {
    font-size: 14px;
    color: #666;
    margin-left: 5px;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.transport-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.transport-input {
    width: 100%;
    padding: 8px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}

.transport-label {
    font-size: 12px;
    color: #555;
    text-align: center;
    line-height: 1.2;
}

.other-transport-text,
.other-purpose-text {
    margin-top: 10px;
    padding: 10px;
    background: #fff3cd;
    border-radius: 8px;
}

.radio-group.compact .radio-option {
    padding: 8px 12px;
    font-size: 13px;
}

.radio-group.compact .radio-label {
    font-size: 13px;
}

.inline-checkbox {
    margin-top: 10px;
    padding: 8px 12px;
    display: inline-flex;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #f8f9fa;
}

.destination-address {
    margin-top: 15px;
    padding: 15px;
    background: #f0f7fb;
    border-radius: 8px;
    border: 1px solid #b8daff;
}

.btn-add-trip {
    display: block;
    width: 100%;
    padding: 15px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 15px;
}

.btn-add-trip:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-add-trip:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-end-trips {
    display: block;
    width: 100%;
    padding: 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 15px;
}

.btn-end-trips:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-end-trips:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-remove-trip {
    background: #e0e0e0;
    color: #dc3545;
}

.btn-remove-trip:hover {
    background: #d0d0d0;
}

@media (max-width: 768px) {
    .diary-container {
        padding: 15px;
    }

    .diary-title {
        font-size: 22px;
    }

    .diary-header-info {
        flex-direction: column;
        gap: 10px;
    }

    .header-row {
        width: 100%;
        justify-content: space-between;
    }

    .diary-section {
        padding: 15px;
    }

    .section-title {
        font-size: 16px;
    }

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

    .time-input-group {
        flex-wrap: wrap;
    }

    .radio-group.compact .radio-option {
        padding: 6px 10px;
    }

    .trip-card-header {
        padding: 12px 15px;
    }

    .trip-card-content {
        padding: 15px;
    }
}

.person-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.person-option {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.person-option:hover {
    border-color: var(--primary-blue);
    background: #f8fbff;
    transform: translateX(5px);
}

.person-option:has(input:checked) {
    border-color: var(--primary-blue);
    background: #eef5ff;
}

.person-option input[type="radio"] {
    margin-right: 12px;
    cursor: pointer;
}

.person-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    margin: 0;
    padding: 15px 20px;
}

.person-option:has(input:checked) .person-name {
    font-weight: bold;
}

.person-option input[type="radio"]:checked~.status-badge {
    display: none;
}

.person-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.status-badge {
    margin-left: auto;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.status-badge.completed {
    background: #d1fae5;
    color: #059669;
}

.person-option.completed {
    opacity: 0.7;
    cursor: not-allowed;
}

.person-option.completed:hover {
    border-color: #e0e0e0;
    background: white;
    transform: none;
}

@media (max-width: 480px) {
    .diary-title {
        font-size: 20px;
    }

    .trip-number {
        font-size: 16px;
    }

    .transport-row {
        padding: 6px 10px;
    }

    .transport-input {
        width: 60px;
        padding: 6px;
    }

    .transport-label {
        font-size: 12px;
    }
}

/* ========================================
   HOMEPAGE STYLES
   ======================================== */

/* Navigation Menu */
.nav-menu {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 5px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.hamburger {
    /* To switch back to hamburger icon: set display:block and set .menu-text to display:none */
    display: none;
    width: 24px;
    height: 2px;
    background: var(--primary-blue);
    position: relative;
    transition: background 0.3s ease;
}

.menu-text {
    display: block;
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--primary-blue);
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 15px 18px;
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-link:hover {
    background: #f0f7fb;
    color: var(--primary-blue);
}

.nav-link-highlight {
    color: #e67e22;
}

.nav-link-highlight:hover {
    background: #fef5ec;
    color: #d35400;
}

.nav-link.active {
    background: var(--primary-blue);
    color: white;
}

/* Home Content */
.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    padding: 40px 20px;
    gap: 50px;
}

/* CTA Section */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #1e5fbf 0%, #0d4a9e 100%);
    color: white;
    text-decoration: none;
    padding: 18px 50px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(30, 95, 191, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d4a9e 0%, #1e5fbf 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 95, 191, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.data-collection-notice {
    color: #d32f2f;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

/* Continue Section */
.continue-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 700px;
}

.continue-text {
    font-size: 16px;
    color: #666;
    margin: 0;
    text-align: center;
}

.continue-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.household-id-input {
    width: 100%;
    max-width: 350px;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

.household-id-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 95, 191, 0.1);
}

.household-id-input.error {
    border-color: #dc3545;
    animation: shake 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.btn-secondary {
    display: inline-block;
    background: linear-gradient(135deg, #f4c430 0%, #e0a800 100%);
    color: #333;
    text-decoration: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(244, 196, 48, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e0a800 0%, #f4c430 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 196, 48, 0.4);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Home Footer */
.home-footer {
    width: 100%;
    padding: 30px 20px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-contact {
    text-align: center;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    color: #666;
}

.contact-item {
    font-weight: 500;
}

.contact-separator {
    color: #ccc;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-facebook {
    background: #1877f2;
    color: white;
}

.social-facebook:hover {
    background: #166fe5;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4);
}

.social-icon {
    width: 22px;
    height: 22px;
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .nav-container {
        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
        margin: 0 auto;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        max-height: 500px;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link:hover {
        background: #f8f9fa;
    }
}

@media (max-width: 768px) {
    .home-content {
        padding: 30px 15px;
        gap: 40px;
    }

    .btn-primary {
        padding: 16px 35px;
        font-size: 18px;
        width: 100%;
        max-width: 350px;
    }

    .data-collection-notice {
        font-size: 14px;
    }

    .continue-section {
        max-width: 100%;
    }

    .continue-form {
        gap: 12px;
    }

    .household-id-input {
        max-width: 100%;
    }

    .btn-secondary {
        max-width: 100%;
        font-size: 14px;
        padding: 14px 25px;
    }

    .footer-content {
        gap: 15px;
    }

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

    .contact-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .home-content {
        padding: 20px 10px;
        gap: 30px;
    }

    .btn-primary {
        padding: 14px 25px;
        font-size: 16px;
    }

    .data-collection-notice {
        font-size: 13px;
    }

    .continue-text {
        font-size: 14px;
    }

    .household-id-input {
        padding: 12px 15px;
        font-size: 14px;
    }

    .btn-secondary {
        padding: 12px 20px;
        font-size: 13px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }
}

/* Desktop specific - center nav items */
@media (min-width: 993px) {
    .nav-container {
        justify-content: center;
    }
}

/* ========================================
   STATIC PAGES STYLES
   ======================================== */

/* Table of Contents */
.table-of-contents {
    padding: 25px 30px;
    margin-bottom: 40px;
}

.toc-title {
    color: var(--primary-blue);
    font-size: 20px;
    margin: 0 0 15px 0;
}

.toc-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toc-list li {
    margin: 0;
}

.toc-list a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.toc-list a:hover {
    color: var(--primary-blue);
}

.static-page-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.static-page-title {
    text-align: left;
    color: var(--primary-blue);
    font-size: 32px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e0e0e0;
}

.static-page-content {
    line-height: 1.8;
    color: var(--text-color);
    text-align: left;
}

.static-page-content p {
    text-align: justify;
}

/* Tooltip styles */
.section-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.section-title-wrapper .section-title,
.section-title-wrapper .section-subtitle {
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: help;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.tooltip-content {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    min-width: 300px;
    max-width: 400px;
    background: #2d3748;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tooltip-container:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

.tooltip-content::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 8px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #2d3748;
}

.guide-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.guide-image-link {
    display: block;
}

.guide-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.guide-image:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.page-section {
    margin-bottom: 40px;
}

/* Guide overview cards */
.guide-cards {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.guide-card {
    flex: 1;
    display: block;
    padding: 30px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guide-card h2 {
    color: var(--primary-blue);
    font-size: 20px;
    margin: 0 0 12px 0;
}

.guide-card p {
    margin: 0;
    line-height: 1.6;
}

/* Download page */
.btn-download {
    margin-top: 16px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    padding: 16px;
    z-index: 10000;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 42px;
}

.lightbox-prev {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* ========================================
   SURVEY CLOSED MODAL
   Data collection ended June 2026 — links to the
   questionnaire surface this modal instead of the form.
   ======================================== */
.survey-closed-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
}

.survey-closed-modal.active {
    display: block;
}

.survey-closed-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.survey-closed-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    max-width: 460px;
    background: white;
    border-radius: 16px;
    padding: 40px 32px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: surveyClosedPop 0.25s ease;
}

@keyframes surveyClosedPop {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.survey-closed-close {
    position: absolute;
    top: 10px;
    right: 18px;
    background: none;
    border: none;
    font-size: 34px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
}

.survey-closed-close:hover {
    color: #333;
}

.survey-closed-body h2 {
    color: var(--primary-blue);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 20px;
}

.survey-closed-body p {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.survey-closed-ok {
    margin-top: 28px;
    padding: 14px 40px;
    font-size: 16px;
}

@media (max-width: 480px) {
    .survey-closed-card {
        padding: 32px 22px 26px;
    }

    .survey-closed-body h2 {
        font-size: 22px;
    }

    .survey-closed-body p {
        font-size: 16px;
    }
}

.page-section h2 {
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.page-section h3 {
    color: #333;
    font-size: 18px;
    margin: 25px 0 15px;
}

.page-section h4 {
    color: #444;
    font-size: 16px;
    margin: 20px 0 10px;
}

.page-section p {
    margin-bottom: 15px;
}

.page-section ul,
.page-section ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.page-section li {
    margin-bottom: 8px;
}

/* Check List */
.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    padding: 10px 15px;
    padding-left: 35px;
    position: relative;
    background: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 8px;
}

.check-list li::before {
    content: '\2713';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 16px;
}

/* Map Image */
.map-image-container {
    margin: 30px 0;
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.map-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.image-caption {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Municipalities Grid */
.municipalities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin: 25px 0;
}

.municipality-item {
    background: #f0f7fb;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-color);
    border: 1px solid #d0e8f0;
    transition: all 0.3s ease;
}

.municipality-item:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 101, 151, 0.2);
}

/* Organizers Grid */
.organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.organizer-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.organizer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.organizer-logo {
    max-height: 80px;
    max-width: 100%;
    margin-bottom: 15px;
    object-fit: contain;
}

.organizer-card h3 {
    color: var(--primary-blue);
    margin-top: 15px;
}

/* Goals List */
.goals-list {
    list-style: none;
    padding-left: 0;
}

.goals-list li {
    padding: 12px 15px;
    background: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: 3px solid white;
    box-shadow: 0 0 0 2px #e0e0e0;
}

.timeline-date {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.timeline-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Scope Grid */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.scope-item {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #f0f7fb 0%, #e8f4f8 100%);
    border-radius: 12px;
    border: 2px solid #d0e8f0;
}

.scope-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 10px;
}

.scope-label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* FAQ Styles */
.faq-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 101, 151, 0.1);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
}

.faq-icon {
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.faq-question h3 {
    margin: 0;
    font-size: 16px;
    color: var(--primary-blue);
}

.faq-answer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.faq-answer p {
    margin: 0;
}

/* Preparation List */
.preparation-list {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.prep-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.prep-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.prep-item strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.prep-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Info Box */
.info-box {
    background: #f0f7fb;
    border-left: 4px solid var(--primary-blue);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
}

.info-box.warning {
    background: #fff8e1;
    border-left-color: #f4c430;
}

.info-box strong {
    color: var(--primary-blue);
}

.info-box.warning strong {
    color: #b78900;
}

/* Step by Step */
.step-by-step {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0d4a9e 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 101, 151, 0.3);
}

.step-content h3 {
    margin-top: 0;
    color: var(--primary-blue);
}

.step-content p {
    margin-bottom: 0;
}

/* Error Solution */
.error-solution {
    background: #fff5f5;
    border: 2px solid #ffcdd2;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
}

.error-solution h4 {
    color: #c62828;
    margin-top: 0;
}

.error-solution p {
    margin: 0;
}

/* Tips List */
.tips-list {
    list-style: none;
    padding-left: 0;
}

.tips-list li {
    padding: 12px 15px;
    background: #e8f5e9;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #f0f7fb 0%, #e8f4f8 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.cta-box h3 {
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 20px;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.option-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.option-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.option-card h3 {
    color: var(--primary-blue);
}

.btn-download {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #005682;
    transform: translateY(-2px);
}

/* Instructions List */
.instructions-list {
    counter-reset: instruction;
    list-style: none;
    padding-left: 0;
}

.instruction-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.instruction-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.instruction-content h3 {
    margin-top: 0;
    color: var(--primary-blue);
    font-size: 16px;
}

.instruction-content p {
    margin: 0;
    font-size: 14px;
}

/* Form Structure */
.form-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.structure-part {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.structure-part h4 {
    color: var(--primary-blue);
    margin-top: 0;
}

.structure-part ul {
    margin: 0;
    padding-left: 20px;
}

/* Submit Options */
.submit-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.submit-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
}

.submit-card h3 {
    color: var(--primary-blue);
    margin-top: 0;
}

.submit-card address {
    font-style: normal;
    line-height: 1.6;
}

.small-text {
    font-size: 13px;
    color: #666;
}

/* Deadline Box */
.deadline-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ff9800;
    border-radius: 12px;
    padding: 25px;
}

.deadline-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.deadline-box strong {
    display: block;
    color: #e65100;
    font-size: 18px;
    margin-bottom: 10px;
}

/* Help List */
.help-list {
    list-style: none;
    padding-left: 0;
}

.help-list li {
    padding: 12px 15px;
    background: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 8px;
}

/* Data Categories */
.data-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.data-category {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-top: 3px solid var(--primary-blue);
}

.data-category h4 {
    color: var(--primary-blue);
    margin-top: 0;
}

.data-category ul {
    margin: 0;
    padding-left: 20px;
}

/* Legal List */
.legal-list {
    list-style: none;
    padding-left: 0;
}

.legal-list li {
    padding: 15px 20px;
    background: #f8f9fa;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

/* Purpose List */
.purpose-list {
    list-style: none;
    padding-left: 0;
}

.purpose-list li {
    padding: 12px 15px;
    background: #e8f5e9;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

/* Retention Timeline */
.retention-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.retention-period {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.period-label {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.retention-period p {
    margin: 0;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.right-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.right-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 101, 151, 0.1);
}

.right-item h4 {
    color: var(--primary-blue);
    margin-top: 0;
}

.right-item p {
    margin: 0;
    font-size: 14px;
}

/* Security List */
.security-list {
    list-style: none;
    padding-left: 0;
}

.security-list li {
    padding: 10px 15px;
    background: #e8f5e9;
    margin-bottom: 8px;
    border-radius: 6px;
}

/* Sharing List */
.sharing-list {
    list-style: none;
    padding-left: 0;
}

.sharing-list li {
    padding: 15px;
    background: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #ff9800;
}

/* DPO Contact */
.dpo-contact {
    background: #f0f7fb;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.dpo-contact address {
    margin: 10px 0 0;
    font-style: normal;
}

.last-updated {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.contact-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.contact-card-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--primary-blue);
    margin: 10px 0;
    font-size: 16px;
}

.contact-card address {
    font-style: normal;
    line-height: 1.6;
    font-size: 14px;
}

.contact-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 16px;
}

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

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 25px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

.contact-form .checkbox-group {
    margin-top: 20px;
}

.contact-form .checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.contact-form .checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-blue);
}

.contact-form .checkbox-label {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.contact-form .checkbox-label a {
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-form .checkbox-label a:hover {
    text-decoration: underline;
}

.form-actions {
    margin-top: 25px;
    text-align: center;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0d4a9e 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 101, 151, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 101, 151, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* Alert Messages */
.alert {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.alert-success {
    background: #e8f5e9;
    border: 2px solid #4caf50;
    color: #2e7d32;
}

.alert-danger {
    background: #ffebee;
    border: 2px solid #ef5350;
    color: #c62828;
}

.alert ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

/* Social Links Large */
.social-links-large {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-link-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link-large.social-facebook {
    background: #1877f2;
    color: white;
}

.social-link-large.social-facebook:hover {
    background: #166fe5;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.social-link-large.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link-large.social-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4);
}

.social-icon-large {
    font-size: 20px;
}

/* Mobile Adjustments for Static Pages */
@media (max-width: 768px) {
    .static-page-container {
        padding: 30px 15px;
    }

    .static-page-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .guide-cards {
        flex-direction: column;
    }

    .organizers-grid,
    .options-grid,
    .submit-options,
    .data-categories,
    .rights-grid,
    .scope-grid,
    .form-structure,
    .municipalities-grid {
        grid-template-columns: 1fr;
    }

    .toc-list {
        flex-direction: column;
        gap: 10px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .static-page-content p {
        text-align: left;
    }

    .timeline::before {
        left: 5px;
    }

    .timeline-item::before {
        left: -19px;
        width: 10px;
        height: 10px;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .deadline-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .social-links-large {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .static-page-title {
        font-size: 22px;
    }

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

    .page-section h2 {
        font-size: 20px;
    }

    .scope-number {
        font-size: 32px;
    }

    .prep-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a2332;
    color: white;
    padding: 1rem 2rem;
    z-index: 9999;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default — JS shows it */
}

.cookie-consent .cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent a {
    color: #90caf9;
    text-decoration: underline;
}

.cookie-consent a:hover {
    color: #bbdefb;
}

.cookie-consent button {
    background: white;
    color: #1a2332;
    border: none;
    padding: 0 1.5rem;
    height: 36px;
    line-height: 36px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.2s;
    display: inline-block;
    vertical-align: middle;
}

.cookie-consent button:hover {
    background: #e0e0e0;
}

.cookie-consent .cookie-decline-link {
    background: transparent;
    border: none;
    color: white;
    padding: 0 1.5rem;
    height: 36px;
    line-height: 36px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    margin-left: 1rem;
}

.cookie-consent .cookie-decline-link:hover {
    background: #e0e0e0;
    color: #1a2332;
}

.cookie-consent .cookie-consent-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@media print {
    .cookie-consent {
        display: none !important;
    }
}