/* General body styling */
body {
    background-image: url('assets/images/office/back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

/* Styling for the content containers */
.content-container {
    background: rgba(255, 255, 255, 0.8);
    margin: 20px auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Styling for headings */
h1, h2 {
    text-align: center;
    font-weight: bold;
}

/* Styling for paragraphs */
p {
    text-align: center;
    font-weight: bold;
    margin: 0 0 1em;
}

/* Styling for images */
img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* Ensure that all images inside .content-container have auto margins */
.content-container img {
    margin: 0 auto;
}

body {
    font-family: 'Calibri', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

header, footer {
    background: #004080; /* Dark blue background */
    color: #fff; /* White text color */
    padding: 20px 0;
    text-align: center;
    font-size: 1em; /* Adjusted font size for better readability */
    font-weight: bold; /* Bold font */
    font-family: 'Calibri', sans-serif;
}

nav {
    background: #004080; /* Dark blue background for navigation */
    overflow: hidden;
    margin-bottom: 20px;
}

nav .menu {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-family: 'Calibri', sans-serif;
}

nav .menu li {
    display: inline-block;
}

nav .menu li a {
    display: block;
    color: #fff; /* White text color for menu items */
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 1em; /* Adjusted font size for better readability */
    font-weight: bold; /* Bold font */
    font-family: 'Calibri', sans-serif;
}

nav .menu li a:hover {
    background-color: #0066cc; /* Lighter blue on hover */
}

.language-selector {
    position: absolute;
    right: 10px;
    top: 10px;
}

.language-selector select {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    font-size: 1em; /* Adjusted font size for better readability */
    font-weight: bold; /* Bold font */
    font-family: 'Calibri', sans-serif;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    border-color: #0066cc;
}

.language-selector select:focus {
    outline: none;
    border-color: #0066cc;
}

.section {
    position: relative;
    width: 100%;
    min-height: 400px;
    color: #004080; /* Dark blue text color */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
}

.section .content {
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    color: #004080; /* Dark blue text color */
    font-family: 'Calibri', sans-serif;
    background: rgba(255, 255, 255, 0.8); /* Slightly transparent background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.section .content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #004080; /* Dark blue text color for headings */
    font-family: 'Calibri', sans-serif;
}

.section .content p, .section .content ul {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #004080; /* Dark blue text color for paragraphs and lists */
    font-family: 'Calibri', sans-serif;
}

.section .content ul {
    list-style: none;
    padding: 0;
}

.section .content ul li {
    margin: 5px 0;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #004080;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: 'Calibri', sans-serif;
}

.btn:hover {
    background-color: #0066cc;
}

.contact .btn {
    background-color: #28a745;
}

.contact .btn:hover {
    background-color: #218838;
}

.contact-form {
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #004080; /* Dark blue border */
    color: #004080; /* Dark blue text color */
    font-family: 'Calibri', sans-serif;
    background: rgba(255, 255, 255, 0.8); /* Slightly transparent background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #004080; /* Dark blue text color for labels */
    font-family: 'Calibri', sans-serif;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #333;
    font-family: 'Calibri', sans-serif;
}

.contact-form textarea {
    height: 150px; /* Increase the height of the textarea */
}

.contact-form button {
    padding: 10px 20px;
    background-color: #004080;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Calibri', sans-serif;
}

.contact-form button:hover {
    background-color: #0066cc;
}

.video-section, .animation-section, .articles-section, .slideshow-section {
    padding: 20px;
    border-radius: 10px;
    max-width: 1200px;
    width: 90%;
    margin: 20px auto;
    color: #004080; /* Dark blue text color */
    font-family: 'Calibri', sans-serif;
    background: rgba(255, 255, 255, 0.8); /* Slightly transparent background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.video-item, .animation-item, .article-item, .slide-item {
    margin-bottom: 20px;
}

.video-item iframe, .animation-item iframe {
    width: 100%;
    height: 315px;
    border-radius: 10px;
    border: none;
}

.slide-item img {
    width: 100%;
    border-radius: 10px;
}

.article-item h3, .video-item h3, .animation-item h3 {
    margin-top: 10px;
    color: #004080; /* Dark blue text color for headings */
    font-family: 'Calibri', sans-serif;
}

.swiper-container {
    width: 100%;
    height: 500px;
    margin: 20px auto;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Calibri', sans-serif;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet-active {
    background: #004080 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #004080;
}

footer p {
    margin: 5px 0;
    font-family: 'Calibri', sans-serif;
}

.index-text-block, .index-animation-block {
    padding: 20px;
    margin: 20px auto;
    text-align: center;
    font-family: 'Calibri', sans-serif;
    width: 90%; /* Make it responsive */
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.8); /* Slightly transparent background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.welcome-section .index-text-block {
    background: rgba(255, 255, 255, 0); /* Fully transparent background */
    color: white; /* White text color */
}

@media (max-width: 768px) {
    nav .menu {
        flex-direction: column;
    }

    .language-selector {
        position: relative;
        margin-top: 10px;
        text-align: center;
    }

    .section .content {
        width: 95%; /* Increase width on smaller devices */
    }

    .index-text-block, .index-animation-block {
        width: 95%; /* Increase width on smaller devices */
    }

    .contact-form {
        width: 95%; /* Increase width on smaller devices */
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 8px 16px;
    }

    .section .content h2 {
        font-size: 1.5em;
    }

    .section .content p, .section .content ul {
        font-size: 1em;
    }

    .index-text-block, .index-animation-block {
        width: 100%; /* Full width on mobile devices */
    }

    .contact-form {
        width: 100%; /* Full width on mobile devices */
    }
}
