/* General Styles */
body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    direction: rtl;
    text-align: right;
}

/* Header Styles */
header {
    background-color: #004d4d;
    background: #004d4d;
    color: #fff;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    font-size: 1.8em;
    flex: 1;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
}


header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    white-space: normal;
    text-align: center;
    display: block;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

header nav ul li a:hover {
    color: #f0f0f0;
}

/* Mobile View - Icon Color */
.navbar-toggler {
    border-color: #ffcc00;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 204, 0, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero Section */
#hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.overlay h2 {
    font-size: 2.5em;
}

/* Services Section */
#services {
    padding: 40px;
    background: #fff;
    text-align: center;
}

.service-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-item {
    background: #d3f9b2;
    padding: 20px;
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    animation: fadeInLeft 1s ease;
}

.service-item:hover {
    transform: scale(1.05);
}

/* About Section */
#about {
    padding: 40px;
    background: #d3f9b2;
    text-align: center;
}

.about-images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.about-images img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
   .about p, #about ul li {
        line-height: 1.8; /* Adjust this value as needed */
    }

/* Team Section */
#team {
    padding: 40px;
    background: #fff;
    text-align: center;
}

.team-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    background: #f4f4f4;
    padding: 20px;
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease;
}

.team-member img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* Events Section */
#events {
    padding: 40px;
    background: #d3f9b2;
    text-align: center;
}

.events-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.event-item {
    background: #fff;
    padding: 20px;
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    animation: fadeInRight 1s ease;
}

.event-item:hover {
    transform: scale(1.05);
}

.event-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Contact Section */
#contact {
    padding: 40px;
    background: #fff;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    width: 400px;
    margin: 0 auto;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

form button {
    padding: 10px;
    background: rgba(0, 128, 0, 0.9);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background: #006400;
}

/* Contact Info */
.contact-info {
    margin-top: 20px;
    font-size: 1.1em;
    color: #333;
}

.contact-info a {
    color: rgba(0, 128, 0, 0.9);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer Section */
footer {
    background: #004d4d;
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

footer .social-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

footer .social-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

footer .social-links li a:hover {
    color: #f0f0f0;
}

/* Mobile View Navigation */
@media (max-width: 768px) {
    header nav ul {
       
        padding: 15px;
        border-radius: 10px;
    }

    header nav ul li a {
        color: #ffcc00;
    }
}
