/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #555;
    font-weight: 500;
}
#language-toggle {
    background: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #555;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    margin-left: 1rem;
    transition: all 0.3s;
}

#language-toggle:hover {
    background-color: #f0f0f0;
    border-color: #aaa;
}

/* Main Content */
main {
    padding: 0 5%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 1rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-top: 2rem;
    border-radius: 8px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    color: #f8f9fa;
    margin-bottom: 2.5rem;
}

.cta-button {
    background-color: #007bff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
    text-decoration: none;
}

/* Sections */
section {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

/* Features Section - Scroller */
.scroller {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.features-scroller {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

.feature-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 300px; /* Fixed width for each item */
    margin: 0 1rem; /* Spacing between items */
}

.feature-item img {
    width: 100%;
    height: 200px; /* Set a fixed height */
    object-fit: cover; /* Ensure the image covers the area without distortion */
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* About Section */
#about {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/about-us.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: #fff;
    padding: 6rem 1rem;
    text-align: center;
}

#about h2 {
    color: #fff;
}

#about p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem; /* Slightly larger font for better readability */
    line-height: 1.8;
}

/* Contact Section */
#contact p {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background-color: #343a40;
    color: #fff;
}