:root {
    --primary-color: #FFCC00;
    --secondary-color: #003366;
    --text-color: #333333;
    --light-color: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.nav{
    height: 80px;
}

.lang-menu-top {
    background-color: #1A2942;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 1001;
    top: 0;
}

.language-selector {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.lang-option {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-left: 20px;
    padding: 5px 10px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.lang-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.lang-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.lang-name {
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
    .language-selector {
        justify-content: center;
    }
    
    .lang-option {
        margin: 0 10px;
    }
    
    .lang-name {
        display: none;
    }
}


.navbar {
    background-color: var(--secondary-color);
    margin-top: 50px; /* Push down navbar to leave space for the language menu */
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 30px;
}

.nav-link {
    color: var(--light-color) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Contact Us Button in the Navbar */
.btn-contact-us {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    margin-left: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-contact-us:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .lang-menu-top {
        text-align: center;
    }

    .btn-contact-us {
        width: 100%; /* Full width on small screens */
        text-align: center;
        margin-top: 10px;
    }
}



.hero {
position: relative;
min-height: 100vh; /* Changed from height to min-height */
background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
padding: 80px 0; /* Add padding to ensure content doesn't touch the edges */
}

.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 51, 102, 0.7);
}

#particles-js {
position: absolute;
width: 100%;
height: 100%;
}

.hero-content {
position: relative;
z-index: 1;
text-align: center;
color: var(--light-color);
max-width: 900px;
padding: 2rem;
}

.hero-content h1 {
font-size: 3rem;
margin-bottom: 1rem;
}

.hero-content p {
font-size: 1.2rem;
margin-bottom: 2rem;
}

/* Add these media queries for better responsiveness */
@media (max-width: 768px) {
    .hero-content{
        margin-top: 60px;
    }
.hero-content h1 {
font-size: 2.5rem;
}

.hero-content p {
font-size: 1rem;
}
}

@media (max-width: 480px) {
.hero-content h1 {
font-size: 2rem;
}

.hero-content p {
font-size: 0.9rem;
}
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: bold;
    border: none;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* RTL styles */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .navbar-nav {
    padding-right: 0;
}

.rtl .lang-flag {
    margin-left: 0;
    margin-right: 10px;
}

.whatsapp-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    width: 60px;  /* Adjusted width */
    height: 60px; /* Adjusted height */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;  /* Adjusted font size */
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.whatsapp-link:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}


@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--secondary-color);
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 20px;
    }

    .navbar-nav {
        align-items: center;
    }

    .nav-item {
        margin-bottom: 10px;
    }

    .btn-contact-us {
        margin-top: 10px;
    }
}