body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.container {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
}

.left-section, .right-section {
    width: 45%;
    text-align: center;
}

.left-section h1, .right-section h2 {
    font-size: 2.5rem;
    margin: 0;
}

.qr-code-placeholder {
    margin: 20px auto;
}

.qr-code-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.left-section p, .right-section p {
    font-size: 1.25rem;
    line-height: 1.6;
}

.right-section .categories {
    font-weight: bold;
    font-size: 1.25rem;
}

.form-link {
    display: inline-block;
    margin: 20px 0;
    padding: 15px 30px;
    background-color: #5064ad;
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.form-link:hover {
    background-color: #4053a3;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

.footer h3 {
    font-size: 1.75rem;
    margin: 20px 0;
}

.footer p {
    font-size: 1.25rem;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 10px;
    }

    .left-section, .right-section {
        width: 100%;
        margin: 10px 0;
    }

    .qr-code-img {
        max-width: 200px;
    }

    .form-link {
        padding: 10px 20px;
        font-size: 1.1rem;
    }

    .left-section h1, .right-section h2 {
        font-size: 2rem;
    }

    .left-section p, .right-section p, .right-section .categories {
        font-size: 1.1rem;
    }

    .footer h3 {
        font-size: 1.5rem;
    }

    .footer p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .qr-code-img {
        max-width: 150px;
    }

    .form-link {
        padding: 8px 16px;
        font-size: 1rem;
    }

    .left-section h1, .right-section h2 {
        font-size: 1.5rem;
    }

    .left-section p, .right-section p, .right-section .categories {
        font-size: 1rem;
    }

    .footer h3 {
        font-size: 1.2rem;
    }

    .footer p {
        font-size: 1rem;
    }
}

.faq-section {
    padding: 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}

.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    padding: 10px;
    background-color: #5064ad;
    color: white;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, padding 0.3s ease;
    border-radius: 5px;
}

.faq-question:hover {
    background-color: #4053a3;
    padding-left: 15px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 15px;
    background-color: #f1f1f1;
    border-left: 1px solid #ddd;
}

.faq-answer p {
    margin: 10px 0;
}

.language-selector {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.language-selector label {
    font-size: 1rem;
    margin-right: 10px;
    color: #333;
}

#lang-select {
    padding: 10px 15px;
    font-size: 1rem;
    color: #5064ad;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

#lang-select:hover {
    border-color: #5064ad;
}

#lang-select:focus {
    border-color: #5064ad;
    box-shadow: 0 0 5px rgba(80, 100, 173, 0.5);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .language-selector {
        justify-content: center;
        padding: 10px 15px;
    }

    #lang-select {
        width: 80%;
    }
}

@media (max-width: 480px) {
    #lang-select {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}







.example-section {
    padding: 2rem;
    background-color: #f4f4f4;
}

.example-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease;
    min-height: 400px;
    animation: fadeIn 0.5s ease-out;
}

.example-item:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.example-item:focus-within {
    box-shadow: 0 0 0 2px #5064ad;
    outline: none;
}

.item-image, .qr-code {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.item-content {
    flex: 1;
    padding: 0 1rem;
    text-align: justify;
}

.item-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.item-description {
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .example-item {
        flex-direction: column;
        padding: 1rem 0.5rem;
        align-items: center;
    }

    .item-image, .qr-code {
        margin-bottom: 1rem;
        width: 50%;
        height: auto;
    }

    .item-content {
        padding: 0;
        text-align: center;
    }

    .item-title {
        font-size: 1rem;
    }

    .item-description {
        font-size: 0.85rem;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


.partner-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.partner-logo {
    max-width: 150px;
    transition: transform 0.3s;
}

.partner-logo:hover {
    transform: scale(1.1);
}


.login-link {
    display: inline-block;
    margin: 20px 0;
    padding: 15px 30px;
    background-color: #fff;
    color: #5064ad;
    text-decoration: none;
    font-size: 1.25rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: 2px solid #5064ad;
}

.login-link:hover {
    background-color: #4053a3;
    color: #fff;

}


/* Feature Section Styling */
.feature-section {
    padding: 50px 0;
    background-color: #f9f9f9; /* Light background to differentiate section */
    text-align: center;
    display: flex;
    flex-direction: column; /* Ensure h2 and feature list are in a column layout */
    align-items: center;
}

.feature-section h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Flexbox for horizontal layout of features */
.feature-list {
    display: flex;
    justify-content: center; /* Align features horizontally at the center */
    gap: 30px; /* Add space between feature items */
    max-width: 1200px; /* Limit width to prevent overly wide display */
}

.feature {
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Adjust this width to ensure all features are aligned properly */
    max-width: 300px; /* Limit the width of each feature */
    text-align: left; /* Align text to the left for better readability */
    box-sizing: border-box;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.feature h3 {
    font-size: 1.8em;
    color: #5064ad;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature p {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
    max-width: 100%; /* Ensure the paragraph width is consistent with the container */
    margin: 0 auto;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .feature-section h2 {
        font-size: 2em;
    }

    .feature-list {
        flex-direction: column; /* Stack features vertically on smaller screens */
        align-items: center;
    }

    .feature {
        width: 100%; /* Make sure features take full width on small screens */
        max-width: 100%;
    }

    .feature h3 {
        font-size: 1.5em;
    }

    .feature p {
        font-size: 1.1em;
    }
}
