* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    padding: 1rem 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}

.logo svg {
    width: 20px;
    height: 20px;
}

.logo .group3-header {
    position: absolute;
    bottom: -10px;
    right: -50px;
    min-width: 40px;
    max-width: 40px;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #007bff;
}

.lang-toggle-btn {
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 20px;
    background: #eff6ff;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.lang-toggle-btn:hover {
    background: #dbeafe;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.lang-toggle-btn:active {
    background: #bfdbfe;
    transform: translateY(0);
}

nav a,
.lang-toggle-btn {
    display: flex;
    align-items: center;
    height: 40px; /* Matches navbar links */
    text-decoration: none;
}

section {
    /* min-height: 100vh; */
    padding: 10rem 5%;
}

.video-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.youtube-video {
    max-width: 1280px;
    aspect-ratio: 16/9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-content {
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
}

.image-content2 {
    margin-top: 400px;
    margin: auto;
}

.image-content img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.group3-footer {
    margin-top: 1.5rem;
    min-width: 100px;
    max-width: 100px;
    height: auto;
    object-fit: cover;
}

.section-product {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
}

.section-integration {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.section-integration .integration-body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
}

.section-integration .image-content {
    display: block;
    margin: auto;
}

.section-advantages {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.section-how-it-works {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-test-and-validate {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.section-test-and-validate .text-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-xml-formats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.section-xml-formats .text-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-team .team-area {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10rem;
    text-align: center;
}

.section-team .team-area .team-member-title {
    font-size: 1.5rem;
    margin-top: 1.2rem;
    color: #333;
}

.section-contact {
    display: flex;
    flex-direction: row;
    gap: 5rem;
}

.section-contact .contact-mail a {
    text-decoration: underline;
    color: #333;
}

.section-contact .contact-mail a:visited {
    text-decoration: underline;
    color: #333;
}

.team-member-img {
    width: 200px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.linkedin-icon {
    margin-top: 0.5rem;
    width: 30px;
    height: 24px;
    color: #007bff;
}

.placeholder-img {
    background-color: #eff6ff;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-img svg {
    width: 100px;
    height: 100px;
    color: #333;
}

section:nth-child(even) {
    background: #eff6ff;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

p {
    font-size: 1rem;
    color: #666;
    max-width: 800px;
}

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    max-width: 100%;
    position: relative;
}

.feature-card svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: #007bff;
}

.feature-card .step-circle {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-weight: bold;
    background: #007bff;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* <!-- Generate a class which contains an icon at left and two text rows at right. First row is right is title and the second is description --> */
.test-and-validate-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-direction: row;
}

.test-and-validate-card svg {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: start;
    align-self: flex-start;
    color: #007bff;
}

.test-and-validate-card .test-and-validate-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

footer {
    background: #333;
    color: white;
    padding: 3rem 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h5 {
    margin-bottom: 0.2rem;
}

.footer-section .legal-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-info .legal-link a {
    text-decoration: none;
    text-decoration: underline;
}

.footer-info .legal-link a:visited {
    text-decoration: none;
    text-decoration: underline;
    color: white;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info svg {
    width: 10px;
    height: 10px;
}

.footer-info p {
    color: white;
    font-size: 0.6rem;
}

.footer-info a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.menu-toggle {
    display: none;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

.section-hidden {
    display: none;
}

.contact-form {
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #0056b3;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.submit-btn.loading .loading-spinner {
    display: inline-block;
}

/* Validator */
.section-validate-pdf {
    display: flex;
    text-align: center;
    flex-direction: row;
    justify-content: center;
    gap: 10rem;
}

.upload-section {
    background-color: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 6px;
    padding: 2rem;
    width: 500px;
    height: 300px;
    min-height: 240px;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.upload-section:hover {
    border-color: #94a3b8;
    background-color: #f1f5f9;
}

.file-label {
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: 0.2s;
    display: inline-block;
}

.file-label:hover {
    background: #1d4ed8;
}

input[type="file"] {
    display: none;
}

.upload-icon {
    font-size: 2rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.upload-text {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.process-button {
    width: 100%;
    padding: 0.75rem;
    background: #1e40af;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.process-button:hover {
    background: #1e3a8a;
}

.process-button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.section-validator-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-validator-info .validator-info-body {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.validation-results {
    width: 100%;
    margin: 0 auto;
    display: none;
}

#response {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    display: none;
}

.success {
    background-color: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.file-info {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #64748b;
}

/* Response styles */
.response {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.response.success {
    background-color: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.response.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (min-width: 640px) {
    .features {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (min-width: 1024px) {
    .features {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}
/* widescreen */
@media (min-width: 2048px) {
    header {
        padding: 1rem 25%;
    }

    section {
        padding: 10rem 25%;
    }

    footer {
        padding: 3rem 25%;
    }

    .section-test-and-validate {
        flex-direction: row;
        gap: 5rem;
    }

    .section-xml-formats {
        flex-direction: row;
        gap: 5rem;
    }
}
/* mobile */
@media (max-width: 900px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .section-product {
        flex-direction: column;
    }

    .section-integration .integration-body {
        flex-direction: column;
    }

    .section-test-and-validate {
        flex-direction: column;
    }

    .section-test-and-validate {
        flex-direction: column;
        gap: 2rem;
    }

    .section-xml-formats {
        flex-direction: column;
        gap: 2rem;
    }

    .section-xml-formats h2 {
        font-size: 2rem;
    }

    .section-team .team-area {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
    }

    .section-contact {
        flex-direction: column;
        gap: 2rem;
    }

    .video-content iframe {
        width: 100%;
        height: 200px;
    }
}
