      * { box-sizing: border-box; scroll-behavior: smooth; }
      body {
        margin: 0;
        font-family: "Tajawal", sans-serif;
        background-color: #f9f6fb;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        overflow-x: hidden;
      }

      /* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(249, 251, 247, 0.6); /* شفافية خفيفة */
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.2rem;
  margin: 0.5rem auto;
  max-width: 900px;
  backdrop-filter: blur(12px); /* ضبابية قوية */
  -webkit-backdrop-filter: blur(12px); /* دعم سفاري */
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  z-index: 1000;
}

/* لما المستخدم يبدأ يمر على المحتوى */
header.scrolled {
  background: rgba(249, 251, 247, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}


      @keyframes fadeDown {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
      }

      .logo {
        display: flex;
        align-items: center;
        gap: 0.6rem;
      }

      .logo img {
        height: 36px;
        width: auto;
        transition: transform 0.3s ease;
      }

      .logo img:hover { transform: rotate(3deg) scale(1.05); }

      .logo h1 {
        color: #5aae5e;
        font-size: 1.4rem;
        margin: 0;
        white-space: nowrap;
      }

.lang-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #e0f2f1;       /* خلفية فاتحة أخضر شفاف */
  border-radius: 20px;
  padding: 0.4rem 0.8rem;
  border: 1px solid #a5d6a7; /* حد أخضر فاتح */
}

.lang-container i {
  color: #388e3c; /* أيقونة العالم أخضر داكن */
}

.lang-select {
  border: none;
  background: transparent;
  font-size: 0.95rem;
  color: #388e3c; /* نص اللغة أخضر داكن */
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

      /* ===== MAIN ===== */
main {
  flex: 1;
  text-align: center;
  padding: 6rem 1rem 3rem;
  margin: 2rem auto;
  width: 90%;
  max-width: 1000px;
background: linear-gradient(180deg, #e0f2f1 0%, #f1faf1 100%);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.08);
  transition: 0.6s ease;
}


      main h2 {
        color: #5aae5e;
        font-size: 2.4rem;
        margin-bottom: 0.5rem;
        opacity: 0;
        transform: translateY(40px);
        transition: 1s ease;
      }

      main p {
        color: #555;
        max-width: 700px;
        line-height: 1.8;
        margin: 0 auto 2rem;
        opacity: 0;
        transform: translateY(40px);
        transition: 1s ease 0.3s;
      }

      .buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
        opacity: 0;
        transform: translateY(40px);
        transition: 1s ease 0.6s;
      }

      @media (min-width: 600px) {
        .buttons { flex-direction: row; justify-content: center; }
      }

      button {
        font-weight: 600;
        font-size: 1rem;
        padding: 0.8rem 2rem;
        border-radius: 1.5rem;
        cursor: pointer;
        transition: 0.4s ease;
      }

      .btn-primary {
        background-color: #5aae5e;
        color: white;
        border: none;
        box-shadow: 0 4px 10px rgba(91,49,149,0.3);
      }

      .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 14px rgba(91,49,149,0.4);
      }

      .btn-outline {
        background-color: white;
        color: #5aae5e;
        border: 2px solid #5aae5e;
      }

      .btn-outline:hover {
        background-color: #5aae5e;
        color: white;
        transform: translateY(-3px);
      }

      /* ===== FOOTER ===== */
      footer {
  background: linear-gradient(135deg, #2e7d32, #66bb6a);

        background-size: 400% 400%;
        animation: gradientMove 10s infinite alternate;
        color: white;
        text-align: center;
        padding: 2rem 1rem;
        font-size: 0.95rem;
        margin-top: auto;
      }

      @keyframes gradientMove {
        0% { background-position: 0% 50%; }
        100% { background-position: 100% 50%; }
      }

      .footer-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.6rem;
        margin-bottom: 0.8rem;
      }

      .footer-logo img {
        height: 70px;
        background: #f9f6fb;
        padding: 10px;
        border-radius: 5px;
        width: auto;
        transition: transform 0.3s ease;
      }

      .footer-logo img:hover { transform: scale(1.05); }

      .footer-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 10px;
      }

      .footer-links a {
        color: #fff;
        text-decoration: none;
        padding: 8px 16px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 15px;
        font-weight: 600;
        transition: background 0.3s ease, transform 0.2s ease;
      }

      .footer-links a:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(1.05);
      }

      .socials a {
        color: white;
        font-size: 1.3rem;
        margin: 0 8px;
        transition: 0.3s ease;
      }

      .socials a:hover { color: #ffd24c; transform: scale(1.1); }

      .lang-footer {
        margin-top: 1.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 20px;
        padding: 0.4rem 0.8rem;
      }

      .lang-footer i { color: #ffd24c; }

      .lang-footer select {
        background: transparent;
        border: none;
        color: white;
        font-weight: 600;
        cursor: pointer;
        font-size: 0.9rem;
        outline: none;
      }

      /* Scroll reveal class */
      .reveal { opacity: 0; transform: translateY(40px); transition: 1s ease; }
      .reveal.active { opacity: 1; transform: translateY(0); }

      .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }
	  
	  /* لتطبيق نفس تنسيق الأزرار على الروابط */
a.btn-primary,
a.btn-outline {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 1.5rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: 0.4s ease;
}

a.btn-primary {
background-color: #5aae5e;
  color: white;
  border: none;
  box-shadow: 0 4px 10px rgba(91,49,149,0.3);
}

a.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(91,49,149,0.4);
}

a.btn-outline {
  background-color: white;
  color: #5aae5e;
  border: 2px solid #5aae5e;
}

a.btn-outline:hover {
  background-color: #5aae5e;
  color: white;
  transform: translateY(-3px);
}