/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header and Navigation */
header {
    background: #343a40;
    color: #fff;
    height: 100px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    max-height: 70px;
    width: auto;
}

nav {
    flex-grow: 1;
    text-align: center;
}

nav ul {
    list-style: none;
    display: inline-flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e63946;
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none; 
}

.language-switcher-rtl {
    left: 10px;
    right: auto;
}

.language-switcher a {
    margin: 0 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.language-switcher a:hover {
    color: #e63946;
}

/* Hero Section */
.hero {
    background: url('images/hero-image.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    margin: 1.5rem 0;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
    padding: 1rem 2rem;
    background: #e63946;
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #d62828;
}

/* Sections */
section {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #343a40;
}

/* Gallery Styles */
.gallery-container {
    column-count: 3;
    column-gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(52, 58, 64, 0.8);
    color: #f1f1f1;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    text-align: center;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay .text {
    color: white;
    font-size: 1.2rem;
}

/* Client Section Styles */
.clients-container {
    column-count: 3;
    column-gap: 1rem;
    margin-top: 2rem;
}

.clients-container img {
    margin: 0 0 1rem;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.clients-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
    margin: 0.5rem 0;
    font-weight: bold;
    color: #343a40;
}

form input,
form textarea {
    padding: 0.75rem;
    margin-bottom: 1rem;
    width: 80%;
    max-width: 400px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 0.75rem 2rem;
    background: #343a40;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

form button:hover {
    background: #555;
}

/* Footer */
footer {
    background: #343a40;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    position: relative;
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .cta-button {
        font-size: 1rem;
    }

    .gallery-container,
    .clients-container {
        column-count: 1;
    }

    .language-switcher {
        position: static;
        margin-top: 1rem;
    }

    /* Background Grid */
.background-grid {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.3;
}

.background-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: translateY(0);
}

.background-slide {
    flex: 0 0 auto;
    width: 80%;
    height: auto;
    margin: 1rem auto;
    background-size: cover;
    background-position: center;
    transition: top 0.1s linear;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: absolute;
}
/* Sections */
section {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #343a40;
}


}
