    :root{
      --gold: #d4af37;
      --gold-soft: rgba(212,175,55,0.12);
      --bg-dark: #0b0b0b;
      --card: #151515;
      --text: #efefef;
      --nav-height: 72px;
    }

    *{box-sizing:border-box;margin:0;padding:0}
    html,body{height:100%}
    body{
      font-family: 'Tajawal', sans-serif;
      background: linear-gradient(180deg,var(--bg-dark), #111);
      color:var(--text);
      scroll-behavior:smooth;
      padding-top: var(--nav-height); /* مساحة للشريط الثابت */
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
    }
    a{color:inherit;text-decoration:none}

    /* ===== NAVBAR ===== */
    nav{
      position:fixed;
      top:0; left:0; right:0;
      height:var(--nav-height);
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      padding:10px 28px;
      background: rgba(0,0,0,0.72);
      backdrop-filter: blur(6px);
      border-bottom: 1px solid rgba(212,175,55,0.06);
      z-index:2000;
    }

    .nav-left{
      display:flex; align-items:center; gap:12px;
    }
    .nav-left img{
      width:48px; height:48px; object-fit:cover; border-radius:8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    }
    .nav-left .brand{
      color:var(--gold); font-weight:700; font-size:1.05rem;
      letter-spacing:0.2px;
    }

    .nav-links{
      display:flex; align-items:center; gap:12px;
    }
    .nav-links a{
      display:flex; align-items:center; gap:10px;
      padding:2px 2px; border-radius:999px;
      color:#fff; font-weight:600; font-size:10px;
      transition: all .18s ease;
    }
    .nav-links a i{ color: var(--gold); font-size:16px; }
    .nav-links a:hover{
      transform:translateY(-3px);
      background: linear-gradient(90deg, rgba(212,175,55,0.12), rgba(255,255,255,0.02));
      color:#fff;
    }

    /* hamburger (mobile) */
    .nav-toggle{
      display:none;
      background:none; border:0; color:var(--text);
      font-size:1.35rem; cursor:pointer;
    }

    /* ===== HERO ===== */
    .hero{
      min-height: calc(100vh - var(--nav-height));
      display:flex; align-items:center; justify-content:center; text-align:center;
      padding:40px 18px;
      position:relative;
      background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80');
      background-size:cover; background-position:center;
    }
    .hero::before{
      content:''; position:absolute; inset:0;
      background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.6));
      z-index:0;
    }
    .hero .container{
      position:relative; z-index:1; max-width:1100px;
      color:var(--text);
    }
    .hero h1{ font-size: clamp(28px, 5vw, 48px); color:var(--gold); margin-bottom:10px; }
    .hero p{ font-size: clamp(15px,2vw,18px); color:#dcdcdc; margin-bottom:18px; max-width:900px; line-height:1.6 }
    .hero .cta{
      display:inline-flex; gap:12px; flex-wrap:wrap; justify-content:center;
    }
    .btn{
      background:var(--gold); color:#000; padding:11px 18px; border-radius:28px; font-weight:700;
      box-shadow: 0 6px 18px rgba(0,0,0,0.5);
      transition: transform .15s ease, box-shadow .15s ease;
    }
    .btn:hover{ transform:translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.6) }

    /* ===== SECTIONS ===== */
    section{ padding:72px 18px; }
    .wrap{ max-width:1100px; margin:0 auto; }

    h2{ color:var(--gold); font-size:1.75rem; margin-bottom:20px; text-align:center }

    /* services grid */
    .services-grid{
      display:grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap:18px;
      align-items:stretch;
    }
    .card{
      background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
      border: 1px solid rgba(255,255,255,0.03);
      padding:20px; border-radius:12px; text-align:center;
      transition: transform .2s ease, box-shadow .2s ease;
    }
    .card:hover{ transform: translateY(-8px); box-shadow: 0 14px 30px rgba(0,0,0,0.6) }
    .card i{ font-size:2.2rem; color:var(--gold); margin-bottom:12px; display:block }
    .card h3{ margin-bottom:8px; font-size:1.05rem; color:#fff }
    .card p{ color:#cfcfcf; font-size:0.95rem; line-height:1.5 }

    /* contact cards */
    .contact-grid{ display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:14px }
    .contact-card{
      display:flex; align-items:center; gap:12px; padding:10px; border-radius:10px;
      background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
      border:1px solid rgba(255,255,255,0.03);
      transition: background .15s ease, transform .15s ease;
    }
    .contact-card:hover{ background: var(--gold-soft); transform: translateY(-6px) }
    .contact-card .icon{ font-size:1.6rem; color:var(--gold); width:44px; text-align:center }

    /* scroll to top */
    #scrollTop{
      position:fixed; left:18px; bottom:18px; z-index:1500;
      width:46px;height:46px;border-radius:50%; background:var(--gold); color:#000;
      display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px rgba(0,0,0,0.5);
      cursor:pointer; opacity:0; transform:translateY(12px); transition:opacity .18s, transform .18s;
    }
    #scrollTop.show{ opacity:1; transform:translateY(0) }

    /* footer */
    footer{ padding:18px; text-align:center; color:#bfbfbf; font-size:0.95rem; border-top: 1px solid rgba(255,255,255,0.02) }

    /* responsive */
    @media (max-width:900px){
      .hero h1{ font-size:34px }
      nav{ padding:10px 16px }
    }
    @media (max-width:768px){
      .nav-links{ display:none; position:fixed; right:0; top:var(--nav-height); background:rgba(0,0,0,0.95); width:100%; flex-direction:column; padding:12px 12px; gap:4px; }
      .nav-links.show{ display:flex }
      .nav-toggle{ display:inline-flex; background:none;border:0;color:var(--text); font-size:1.25rem; cursor:pointer; padding:6px }
      .nav-links a{ padding:12px 16px; border-radius:8px }
    }
   
    .auth-container {
      background: #000;
      border: 1px solid gold;
      border-radius: 10px;
      max-width: 600px;
      height: 400px;
      margin: auto;
      padding: 20px;
      box-shadow: 0 0 15px rgba(255,215,0,0.5);
    }
    .tab-buttons {
      display: flex;
      justify-content: space-around;
      margin-bottom: 20px;
    }
    .tab-buttons button {
      background: none;
      border: none;
      color: gold;
      font-size: 16px;
      cursor: pointer;
      padding: 10px;
      border-bottom: 2px solid transparent;
      transition: all 0.3s;
    }
    .tab-buttons button.active {
      border-bottom: 2px solid gold;
      color: white;
    }
    form {
      display: none;
      flex-direction: column;
      gap: 15px;
    }
    form.active {
      display: flex;
      animation: fadeIn 0.5s ease;
    }
    input {
      padding: 10px;
      border: none;
      border-radius: 15px;
      outline: none;
      margin-top: 20px;
    }
    .btn {
      background: gold;
      color: black;
      border: none;
      padding: 10px;
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s;
    }
    .btn:hover {
      background: #d4af37;
    } 
    p{ font-size: clamp(15px,2vw,18px); color:#dcdcdc; margin-bottom:18px; max-width:900px; line-height:1.6 }
     #langSelect {
      background: transparent;
      border: 1px solid var(--gold);
      color: var(--gold);
      padding: 6px 12px;
      border-radius: 20px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s;
    }
    #langSelect:hover,
    #langSelect:focus {
      background-color: var(--gold);
      color: #000;
      outline: none;
    }

@media (max-width: 900px) {
  nav {
    justify-content: space-between;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
    background-color: var(--bg-dark);
    padding: 1rem 0;
    border-radius: 6px;
     
  }
  .nav-links.show {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .nav-left {
    flex-grow: 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* For mobile phones */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  #auth {
    margin: 1rem;
    max-width: 100%;
  }
  nav {
    padding: 0.5rem;
  }
}

/* ======= UTILITY ======= */
.wow {
  visibility: visible !important;
  animation-duration: 1s !important;
  animation-fill-mode: both !important;
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.dot {
  width: 15px;
  height: 15px;
  background: gold;
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  to {
    transform: translateY(-15px);
    opacity: 0.6;
  }
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

