/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'LENOS', sans-serif;
}

/* Body */
body {
  color: #333;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  margin: 0;
}

/* Header Logo */
.header {
  text-align: center;
  padding: 20px 0;
}

.header .logo {
  max-width: 150px;
}

/* Welcome Box */
.welcome-box {
 
  animation: slideFade 3s ease-in-out infinite alternate;
}

@keyframes slideFade {
  0% { transform: translateY(0px); opacity: 1; }
  50% { transform: translateY(-10px); opacity: 0.9; }
  100% { transform: translateY(0px); opacity: 1; }
}

.welcome-box h1 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  color: #fff;
}

/* Navbar */
nav.navbar {
  background: #F75C03;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 15px;
}

nav.navbar a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px;
  transition: color 0.3s ease;
}

nav.navbar a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #0339A6;
  transition: width 0.3s ease;
}

nav.navbar a:hover {
  color: #0339A6;
}

nav.navbar a:hover::after {
  width: 100%;
}

/* Sections */
section {
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Sections Backgrounds */
#home { background-color: #F75C03; color: #fff; }
#about { background-color: #F9EAE1; color: #333; }
#structure { background-color: #F9EAE1; color: #333; } /* الهيكل التنظيمي */
#updates { background-color: #FFDDC1; color: #333; }
#join { background-color: #4C2C72 !important; color: #fff; } /* انضم لنا */

/* Headings */
h1, h2 {
  text-align: center;
  margin-bottom: 30px;
}

h1 { font-size: 2rem; color: #fff; }
h2 { font-size: 1.8rem; color: #4C2C72; }

/* About Section Box */
.about-box {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  max-width: 850px;
  margin: 20px auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: right;
}

/* Vision & Mission */
.vision-mission {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-top: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.vision-mission h3 {
  color: #F75C03;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.vision-mission p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* News Slider */
.news-slider {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 20px;
}

.news-item {
  position: absolute;
  opacity: 0;
  font-size: 1.2rem;
  padding: 20px;
  color: #0339A6;
  transition: opacity 1s ease;
  text-align: center;
}

.news-item.active { opacity: 1; }

/* Update Cards */
.update-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}

/* Forms */
form {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

button {
  background: #F75C03;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.3s ease;
}

button:hover {
  background: #fff;
  color: #4C2C72;
  transform: scale(1.05);
  border: 1px solid #4C2C72;
}

/* Footer */
footer {
  background: #4C2C72;
  color: #fff;
  text-align: center;
  padding: 25px 10px;
  margin-top: 40px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

footer p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: bold;
}

footer .social-icons a {
  margin: 0 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}

footer .social-icons a:hover {
  transform: scale(1.2);
}

footer .social-icons img {
  width: 25px;
  height: 25px;
}

/* Font Face */
@font-face {
  font-family: 'LENOS';
  src: url('fonts/Lenos-Bold.otf') format('opentype');
}



