body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

header {
  background: #004d40;
  color: #fff;
  padding: 20px 10px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2em;
}

nav {
  background: #00796b;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  padding: 12px 18px;
  text-decoration: none;
  display: block;
}

nav a:hover {
  background: #004d40;
}

section {
  padding: 30px;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  color: #00796b;
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table, th, td {
  border: 1px solid #ccc;
}

th, td {
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background-color: #e0f2f1;
}

.site-header {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 1s ease, transform 1s ease;
}

.site-header.visible {
  opacity: 1;
  transform: translateY(0);
}


.logo {
  width: 110px;
  height: auto;
  margin-bottom: 10px;
}
/* Fade in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  text-align: center;
  padding: 20px;
  background: #004d40;
  color: #fff;
  margin-top: 30px;
}


html[dir="rtl"] nav {
  flex-direction: row-reverse;
}
html[dir="rtl"] .lang-toggle {
  left: 20px;
  right: auto;
}

.lang-toggle {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 14px;
  font-weight: 600;
}

.lang-toggle .lang-link {
  color: #ffffff;
  text-decoration: none;
  padding: 2px 4px;
  opacity: 0.8;
}

.lang-toggle .lang-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.lang-toggle .lang-sep {
  color: #ffffff;
  margin: 0 4px;
  opacity: 0.6;
}

.lang-toggle .active {
  opacity: 1;
  text-decoration: underline;
  cursor: default;
}


.quote-slider {
  background: #f1f8f6;
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.quote-slide {
  display: none;
  max-width: 700px;
  margin: auto;
}

.quote-slide.active {
  display: block;
}

.quote-slide img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #004d40;
}

.quote-slide blockquote {
  font-size: 1.2em;
  font-style: italic;
  color: #004d40;
  margin: 20px 0;
}

.quote-slide .author {
  font-weight: bold;
  color: #00796b;
}

/* dots */
.quote-dots {
  margin-top: 20px;
}

.quote-dots .dot {
  height: 10px;
  width: 10px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px;
  cursor: pointer;
}

.quote-dots .dot.active {
  background: #004d40;
}
html[dir="rtl"] .quote-slide blockquote {
  direction: rtl;
}



/* ===== Mobile Drawer Menu (FIXED for real phones) ===== */

.menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 26px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1200;
}

/* Desktop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    transform: none !important;
    height: auto;
    flex-direction: row;
    background: #00796b;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #004d40;
    padding-top: 80px;
    display: flex;
    flex-direction: column;

    /* IMPORTANT: use transform ONLY */
    transform: translateX(-100%);
    transition: transform 0.3s ease;

    z-index: 1100;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
}

/* ================= RTL (Arabic) ================= */

html[dir="rtl"] .menu-toggle {
  right: auto;
  left: 20px;
}

@media (max-width: 768px) {
  html[dir="rtl"] .main-nav {
    left: auto;
    right: 0;
    transform: translateX(100%);
    text-align: right;
  }

  html[dir="rtl"] .main-nav.open {
    transform: translateX(0);
  }

  html[dir="rtl"] .main-nav a {
    text-align: right;
    padding-right: 20px;
  }
}
