:root {
  --blue: #0078d7;
  --dark-blue: #005fa3;
  --light-gray: #f2f6fa;
  --text-dark: #1b1b1b;
  --text-light: #ffffff;
}

* {
  box-sizing: border-box;
  font-family: "Cairo", "Tahoma", sans-serif;
}

body {
  margin: 0;
  background-color: var(--light-gray);
  color: var(--text-dark);
  direction: rtl;
}

/* الهيدر */
.header {
  background-color: var(--blue);
  color: var(--text-light);
  text-align: center;
  padding: 60px 20px;
}

.header h1 {
  margin: 0;
  font-size: 2.2rem;
}

.header p {
  margin-top: 10px;
  font-size: 1.1rem;
}

/* قسم من نحن */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
}

.about-text h2 {
  color: var(--blue);
  margin-bottom: 10px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text ul {
  list-style: none;
  padding: 0;
}

.about-text li {
  background: url('data:image/svg+xml;utf8,<svg fill=\"%230078d7\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M20.285 2.857L8.571 14.571l-4.856-4.857L2 11.429 8.571 18l14-14z\"/></svg>') no-repeat right center;
  background-size: 20px;
  padding-right: 30px;
  margin-bottom: 10px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.about-image{
  height: 90%;
  position: relative;
  bottom: 0;
}
/* قسم الإحصائيات */
.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.stat {
  background-color: white;
  border-radius: 10px;
  padding: 20px 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: 240PX;
}

.stat h3 {
  color: var(--blue);
  font-size: 2rem;
  margin: 0;
}

.stat p {
  margin: 5px 0 0;
  font-weight: 600;
}

/* الفوتر */
footer {
  width: 100%;
  position: relative;
  bottom: 0;    
  background-color: var(--dark-blue);
  color: var(--text-light);
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}
@font-face {
    font-family: 'mywebfont';
    src: url('adobe_regular.eot');
    src: url('adobe_regular.eot?#iefix') format('embedded-opentype'),
         url('adobe_regular.woff') format('woff'),
         url('adobe_regular.ttf') format('truetype'),
         url('adobe_regular.svg#adobe_regular') format('svg');
    font-weight: normal;
    font-style: normal;
}
body {
  font-family: "Cairo", sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  margin: 0;
  direction: rtl;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

header {
  background: #0056b3;
  color: white;
  padding: 15px 0;
}

header .logo {
  font-size: 1.5em;
  font-weight: bold;
  width: 30%;
  display: flex;
  justify-content: center;
}

header nav ul {
  list-style: none;
  display: flex; 
  flex-wrap : wrap;
  justify-content: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

header nav a.active,
header nav a:hover {
  border-bottom: 2px solid #ffffff;
  padding-bottom: 3px;
}

/* Contact Page */
.contact-page h1,
.about-page h1 {
  color: #0056b3;
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.contact-section form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.contact-section form label {
  margin-top: 10px;
  font-weight: bold;
}

.contact-section form input,
.contact-section form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
}

.contact-section form button {
  margin-top: 15px;
  background: #0056b3;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-section form button:hover {
  background: #003f82;
}

.info {
  flex: 1;
  min-width: 250px;
}

/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #f2f6ff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 86, 179, 0.1);
}

.card h3 {
  color: #0056b3;
}

.img-partner{
    width: 100%;
    height: 70%;
}
.partners{
    color: var(--blue);
}
.header-template{
  display: flex;
  width: 95%;
  margin: auto;
  align-items: center;
}
.navbar{
  width: 40%;
}
@media(max-width:968px){
  .header-template{
    display: grid;
    justify-items: center;
    gap: 20px;

  }
  .img-logo{
    display: none;
  }
  header .logo{
    width: 100%;
    text-align: center;
  }
  .navbar{
    width: 100%;
  }
  .about-image{
    margin-bottom: 10%;
  }
}
/* ===== القائمة الجانبية ===== */
.side-menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 220px;
  height: 100%;
  background-color: #0056b3;
  color: white;
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  padding-top: 60px;
  z-index: 999;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.side-menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  transition: background 0.3s;
}

.side-menu a:hover {
  background-color: #003f87;
}

/* إظهار القائمة عند التفعيل */
#menu-toggle:checked ~ .side-menu {
  right: 0;
}

/* ===== تصميم للموبايل ===== */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
}

@media (min-width: 769px) {
  .side-menu {
    display: none;
  }
}


/* ===== القائمة الجانبية المنسدلة ===== */
.options-menu {
  position: relative;
  font-size: 26px;
  cursor: pointer;
  user-select: none;
}

/* محتوى القائمة */
.side-dropdown {
  position: absolute;
  top: 45px;
  right: 0;
  background-color: white;
  color: #0056b3;
  box-shadow: 0 4px 10px rgba(0, 86, 179, 0.2);
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  width: 180px;
  text-align: right;
}

/* ظهور القائمة عند تمرير الماوس */
.options-menu:hover .side-dropdown {
  display: block;
}

/* تنسيق الروابط داخل القائمة */
.side-dropdown li a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: #0056b3;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s;
  font-size: 16px;
}

.side-dropdown li:last-child a {
  border-bottom: none;
}

.side-dropdown li a:hover {
  background-color: #f0f6ff;
}

/* ===== للموبايل فقط ===== */
@media (min-width: 550px) {
  .options-menu {
    display: none;
  }
  .mob-logo{
    display: none;
  }
}
@media (max-width: 550px) {
  .header-template{
    display: none;
  }
}
.mob-view{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 20px;
}