  /* =========================
    ROOT
        ========================= */

  
       :root {
          --primary: #00e5ff;
          --primary-dark: #00b8d4;
          --dark: #0b1220;
          --dark-light: #162033;
          --white: #ffffff;
          --gray: #94a3b8;
          --bg: #050b16;
          --border: rgba(0, 229, 255, 0.12);
          --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
        }
    
        /* الثيم الأخضر */
        [data-theme="green"] {
          --primary: #10b981;
          --primary-dark: #059669;
          --dark: #0b1215;
          --dark-light: #162126;
          --white: #ffffff;
          --gray: #9ca3af;
          --bg: #05090b;
          --border: rgba(16, 185, 129, 0.12);
          --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
        }
    
        [data-theme="blue2"] {
          --primary: #00b7ff;
          --primary-dark: #0095d9;
          --dark: #0f172a;
          --dark-light: #1e293b;
          --white: #ffffff;
          --gray: #94a3b8;
          --bg: #020617;
          --border: rgba(255, 255, 255, 0.08);
          --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
        }

  /* =========================
        RESET
        ========================= */

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cairo", sans-serif;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden; 
    transition:
      background 0.4s ease,
      color 0.4s ease;
  }

  a {
    text-decoration: none;
    color: var(--white);
  }

  ul {
    list-style: none;
  }

  img {
    max-width: 100%;
    display: block;
  }

  .container {
    width: min(1200px, 92%);
    margin: auto;
  }

  /* =========================
        SCROLLBAR
        ========================= */

  ::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 50px;
  }

  /* =========================
        HEADER
        ========================= */

  header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);
  }

  .navbar {
    height: 85px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
  
  }

  .logo {
    color: var(--white);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
  }

  .logo span {
    color: var(--primary);
  }


  .btn {
    border: none;
    cursor: pointer;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 15px;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    -ms-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
  }

  .menu-btn {
    display: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
  }

  /* =========================
        FLOATING BUTTONS
========================= */

  .back-btn {
    position: absolute;
    right: 5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.8);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: 0.3s;
    bottom: 20px;

    position: static;
  }

  .back-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
  }

  /* =========================
        FOOTER
        ========================= */

  footer {
    background: #02040c;
    padding-top: 80px;
    border-top: 1px solid var(--border);
  }

  .footer-container {
    width: min(1200px, 92%);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
  }

  .footer-box h3 {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .footer-box span {
    color: var(--primary);
  }

  .footer-box p,
  .footer-box a {
    color: var(--gray);
    line-height: 2;
    transition: 0.3s;
  }

  .footer-box a:hover {
    color: var(--primary);
    padding-right: 5px;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
  }

  .social-icons a {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--dark-light);

    color: white;

    transition: 0.3s;
  }

  .social-icons a:hover {
    transform: translateY(5px);
    font-size: 17px;
    -webkit-transform: translateY(5px);
    -moz-transform: translateY(5px);
    -ms-transform: translateY(5px);
    -o-transform: translateY(5px);
}

  .footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding: 25px;
    border-top: 1px solid var(--border);
    color: var(--gray);
  }