/*
  Global Luxury Theme — Furqan Quranic Center
  - Modern dark / emerald + gold accents
  - RTL-first
  - Shared header + responsive navigation
*/

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&family=Cairo:wght@400;600;700;800&display=swap');

:root{
  --container: 1180px;

  /* Light Luxury Colors (more white / lively) */
  --bg-0: #f8fbff;
  --bg-1: #eef6ff;

  --surface: rgba(255,255,255,0.72);
  --surface-2: rgba(255,255,255,0.88);

  --stroke: rgba(10, 30, 45, 0.12);
  --stroke-2: rgba(10, 30, 45, 0.18);

  --text: rgba(9, 24, 34, 0.92);
  --muted: rgba(9, 24, 34, 0.68);
  --muted-2: rgba(9, 24, 34, 0.52);

  /* Brand accents */
  --brand: #2bd3c6;      /* emerald/aqua */
  --brand-2: #0f5f5a;    /* deep emerald */
  --gold: #d6b15e;
  --sky: #4bd4ff;
  --violet: #b56cff;
  --rose: #ff5fb7;
  --lime: #57ffb0;

  /* Shape & motion */
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 30px;

  --shadow-sm: 0 10px 26px rgba(10, 30, 45, 0.10);
  --shadow: 0 18px 50px rgba(10, 30, 45, 0.12);
  --shadow-lg: 0 28px 80px rgba(10, 30, 45, 0.16);

  --ease: cubic-bezier(.2,.9,.2,1);

  /* Effects */
  --blur: 18px;

  /* Back-compat aliases (older page css) */
  --radius-sm: var(--r-sm);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);
  --radius-xl: var(--r-xl);

  --shadow-md: var(--shadow);
}


*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: 'Tajawal', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--text);

  /* airy, bright background with brand tint */
  background:
    radial-gradient(900px 560px at 12% 10%, rgba(43, 211, 198, 0.22), transparent 60%),
    radial-gradient(900px 520px at 92% 12%, rgba(214, 177, 94, 0.18), transparent 60%),
    radial-gradient(900px 520px at 78% 92%, rgba(181, 108, 255, 0.12), transparent 65%),
    radial-gradient(900px 520px at 16% 86%, rgba(255, 95, 183, 0.10), transparent 62%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);

  min-height: 100vh;
  overflow-x: hidden;
  accent-color: var(--brand);
}


/* Soft background image overlay (keeps your original data/images) */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('imges/WhatsApp Image 2025-02-21 at 21.02.39_5b4ec0ca.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  filter: saturate(1.12) contrast(1.05);
  pointer-events: none;
  z-index: -2;
}
body::after{
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(900px 420px at 50% 0%, rgba(255,255,255,0.75), rgba(255,255,255,0.10) 72%);
  pointer-events: none;
  z-index: -1;
}


img{ max-width: 100%; display: block; }
a{ color: inherit; }

.container{
  width: min(var(--container), calc(100% - 36px));
  margin-inline: auto;
}

/* --------------------------------------
   Header / Navigation
-------------------------------------- */

.Logo{
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 10px 14px;
  min-height: 78px;

  background: linear-gradient(135deg, rgba(255,255,255,0.86), rgba(240, 252, 255, 0.72), rgba(245, 241, 255, 0.70));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 10px 30px rgba(10, 30, 45, 0.10);
}


.Logo > a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.Logo img{
  height: 56px;
  width: auto;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.75);
  padding: 8px;
  box-shadow: 0 10px 26px rgba(10, 30, 45, 0.12);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

/* Logo sizing (make center logo a bit bigger) */
.Logo .brand-logo img{
  height: 64px;
  padding: 10px;
}
.Logo #en img{
  height: 54px;
}
@media (max-width: 520px){
  .Logo .brand-logo img{ height: 56px; padding: 9px; }
  .Logo #en img{ height: 48px; }
}


.Logo a:hover img{
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(43,211,198,0.45);
  box-shadow: 0 18px 44px rgba(10, 30, 45, 0.16);
}


.nav-links{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin: 0;
  padding: 0;

  flex: 1;
  flex-wrap: wrap;
}

.nav-links li{ margin: 0; padding: 0; }

.nav-links a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  position: relative;
  overflow: hidden;
  isolation: isolate;

  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.64));
  box-shadow: 0 10px 22px rgba(10, 30, 45, 0.10);

  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;

  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.nav-links a::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.20) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 650ms var(--ease);
  opacity: .6;
  z-index: 1;
}
.nav-links a:hover::after{ transform: translateX(120%); }
.nav-links a > *{ position: relative; z-index: 2; }

.nav-links a:hover{
  transform: translateY(-1px);
  border-color: rgba(43,211,198,0.42);
  box-shadow: 0 18px 44px rgba(10, 30, 45, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(43,211,198,0.10));
}


.nav-links a[aria-current="page"]{
  border-color: rgba(214, 177, 94, 0.65);
  box-shadow: 0 0 0 4px rgba(214, 177, 94, 0.14), 0 18px 44px rgba(10, 30, 45, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(214,177,94,0.10));
}


.hamburger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;

  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;

  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.66));
  box-shadow: 0 10px 22px rgba(10, 30, 45, 0.10);

  font-size: 22px;
  color: var(--text);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}


.hamburger:hover{ transform: translateY(-1px); border-color: rgba(43,211,198,0.40); box-shadow: 0 18px 44px rgba(10, 30, 45, 0.14); }

/* Mobile nav */
@media (max-width: 1100px){
  .hamburger{ display: inline-flex; }

  .nav-links{
    position: fixed;
    top: 92px;
    right: 12px;
    left: 12px;

    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;

    padding: 14px;
    border-radius: 18px;

    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--stroke);

    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }

  .nav-links.show{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a{
    width: 100%;
    padding: 12px 14px;
    justify-content: flex-start;
    border-radius: 16px;
  }
}

/* --------------------------------------
   Shared components
-------------------------------------- */

.page-wrap{
  padding: 26px 0 40px;
}

.page-title{
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin: 0;
  color: var(--text);
}

.section{
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}

.card-surface{
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  position: relative;
  overflow: hidden;
  isolation: isolate;

  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.68));
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(43,211,198,0.42); box-shadow: 0 18px 44px rgba(10, 30, 45, 0.14); }

.btn::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.20) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 650ms var(--ease);
  opacity: .65;
  z-index: 1;
}
.btn:hover::after{ transform: translateX(120%); }
.btn > *{ position: relative; z-index: 2; }


.btn-gold{
  border-color: rgba(214, 177, 94, 0.55);
  box-shadow: 0 0 0 4px rgba(214, 177, 94, 0.12);
}
.btn-primary{
  border-color: rgba(43,211,198,.55);
  background: linear-gradient(135deg, rgba(43,211,198,.18), rgba(255,255,255,.06));
  box-shadow: 0 0 0 4px rgba(43,211,198,.12), 0 18px 44px rgba(0,0,0,0.22);
}
.btn-primary:hover{
  border-color: rgba(43,211,198,.70);
  box-shadow: 0 0 0 4px rgba(43,211,198,.16), 0 26px 70px rgba(0,0,0,0.32);
}

.input,
select,
textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  outline: none;
}

.input::placeholder,
textarea::placeholder{
  color: rgba(9,24,34,0.46);
}

.label{
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 800;
}

hr.sep{
  border: none;
  height: 1px;
  background: rgba(10, 30, 45, 0.10);
  margin: 18px 0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior: auto !important; }
}

/* --------------------------------------
   Ultra Luxury UI Enhancements
-------------------------------------- */

/* Page entrance */
body{
  animation: pageIn 650ms var(--ease) both;
}
@keyframes pageIn{
  from{ opacity: 0; transform: translateY(6px); }
  to{ opacity: 1; transform: none; }
}
body.is-loaded{ opacity: 1; transform: none; }

/* Top scroll progress */
.top-progress{
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 2500;
  background: linear-gradient(90deg, rgba(43,211,198,1), rgba(75,212,255,1), rgba(181,108,255,1), rgba(214,177,94,1));
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  border-radius: 999px;
  transform-origin: left center;
  pointer-events: none;
}

/* Back to top */
.back-to-top{
  position: fixed;
  inset-inline-start: 18px;
  bottom: 18px;
  z-index: 2200;

  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.68));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  color: var(--text);
  box-shadow: 0 18px 44px rgba(10, 30, 45, 0.14);
  cursor: pointer;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.back-to-top.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover{
  transform: translateY(-1px);
  border-color: rgba(214, 177, 94, 0.35);
  box-shadow: 0 26px 60px rgba(10, 30, 45, 0.18);
}

/* Floating Social Dock (quick contact) */
.social-dock{
  position: fixed;
  inset-inline-end: 18px; /* left on RTL */
  bottom: 18px;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.social-dock .dock-toggle{
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, rgba(43,211,198,.22), rgba(181,108,255,.14), rgba(255,255,255,.06));
  box-shadow: 0 28px 80px rgba(10, 30, 45, 0.16);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.social-dock .dock-toggle:hover{
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 34px 95px rgba(10, 30, 45, 0.20);
}

.social-dock .dock-toggle .dock-glow{
  content:"";
  position:absolute;
  inset:-18px;
  background: radial-gradient(circle at 50% 50%, rgba(43,211,198,.22), transparent 60%);
  filter: blur(12px);
  opacity: .9;
  z-index: 0;
}

.social-dock .dock-toggle svg{ position: relative; z-index: 1; }

.social-dock .dock-menu{
  width: min(220px, calc(100vw - 36px));
  display: grid;
  gap: 10px;
  transform: translateY(10px) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}

.social-dock.is-open .dock-menu{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.social-dock .dock-item{
  position: relative;
  overflow: hidden;
  isolation: isolate;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 12px 12px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 900;

  background: rgba(255,255,255,.08);
  border: 1px solid var(--stroke);
  box-shadow: 0 18px 46px rgba(0,0,0,.28);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));

  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease), filter 180ms var(--ease);
}

.social-dock .dock-item::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.20) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 650ms var(--ease);
  opacity: .65;
  z-index: 1;
}

.social-dock .dock-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(0,0,0,.40);
  border-color: rgba(255,255,255,.22);
  filter: saturate(1.05);
}
.social-dock .dock-item:hover::after{ transform: translateX(120%); }

.social-dock .dock-item .ico{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  color: #0b1212;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.social-dock .dock-item .txt{
  position: relative;
  z-index: 2;
  color: var(--text);
}

.social-dock .dock-item.is-wa{ border-color: rgba(55,211,105,.28); background: linear-gradient(135deg, rgba(55,211,105,.20), rgba(255,255,255,.06)); }
.social-dock .dock-item.is-wa .ico{ color: #25D366; }

.social-dock .dock-item.is-phone{ border-color: rgba(75,212,255,.28); background: linear-gradient(135deg, rgba(75,212,255,.18), rgba(255,255,255,.06)); }
.social-dock .dock-item.is-phone .ico{ color: #27b9ff; }

.social-dock .dock-item.is-fb{ border-color: rgba(24,119,242,.26); background: linear-gradient(135deg, rgba(24,119,242,.18), rgba(255,255,255,.06)); }
.social-dock .dock-item.is-fb .ico{ color: #1877F2; }

.social-dock .dock-item.is-ig{ border-color: rgba(255,95,183,.24); background: linear-gradient(135deg, rgba(255,95,183,.14), rgba(181,108,255,.12), rgba(255,255,255,.06)); }
.social-dock .dock-item.is-ig .ico{ color: #ff5fb7; }

.social-dock .dock-item.is-yt{ border-color: rgba(255,0,0,.22); background: linear-gradient(135deg, rgba(255,0,0,.14), rgba(255,255,255,.06)); }
.social-dock .dock-item.is-yt .ico{ color: #ff0000; }

@media (max-width: 520px){
  .social-dock{
    inset-inline-end: 14px;
    bottom: 14px;
    gap: 8px;
  }
  .social-dock .dock-toggle{ width: 52px; height: 52px; border-radius: 18px; }
  .social-dock .dock-menu{ width: auto; }
  .social-dock .dock-item{
    padding: 10px 10px;
    border-radius: 16px;
  }
  .social-dock .dock-item .txt{ display: none; }
  .social-dock .dock-item{ justify-content: center; }
}

/* Header shrink */
.Logo.is-scrolled{
  padding-top: 8px;
  padding-bottom: 8px;
  min-height: 74px;
  box-shadow: 0 22px 75px rgba(0,0,0,.40);
  border-bottom-color: rgba(255,255,255,0.14);
}
.Logo.is-scrolled img{
  height: 54px;
  padding: 7px;
}

/* Animated background orbs */
.bg-orbs{
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -3;
}
.bg-orbs .orb{
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .18;
  transform: translate3d(0,0,0);
  animation: orbFloat 16s ease-in-out infinite;
}
.bg-orbs .orb.orb-1{
  inset-inline-start: -140px;
  top: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(43,211,198,0.95), rgba(43,211,198,0.0) 64%);
  animation-duration: 18s;
}
.bg-orbs .orb.orb-2{
  inset-inline-end: -160px;
  top: 180px;
  background: radial-gradient(circle at 40% 30%, rgba(214,177,94,0.95), rgba(214,177,94,0.0) 62%);
  animation-duration: 22s;
}
.bg-orbs .orb.orb-3{
  left: 12%;
  bottom: -220px;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.55), rgba(255,255,255,0.0) 62%);
  animation-duration: 20s;
.bg-orbs .orb.orb-4{
  right: 18%;
  top: 42%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 95, 183, 0.80), rgba(255,95,183,0.0) 62%);
  animation-duration: 24s;
}
}
@keyframes orbFloat{
  0%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(0, -24px, 0) scale(1.04); }
  100%{ transform: translate3d(0,0,0) scale(1); }
}

/* Reveal on scroll */
.reveal{
  opacity: 0;
  transform: translateY(14px) scale(0.988);
  filter: blur(6px);
  transition:
    opacity 760ms var(--ease),
    transform 760ms var(--ease),
    filter 980ms var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform, filter;
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Luxury hover glow using mouse position (JS sets --mx/--my) */
.lux-card{
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.lux-card::before{
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(420px 280px at var(--mx, 50%) var(--my, 50%), rgba(214,177,94,.24), transparent 62%),
    radial-gradient(420px 280px at calc(var(--mx, 50%) + 12%) calc(var(--my, 50%) + 10%), rgba(43,211,198,.16), transparent 60%);
  opacity: 0;
  transition: opacity 220ms var(--ease);
  pointer-events: none;
  z-index: 0;
}
.lux-card::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.10);
  opacity: .9;
  pointer-events: none;
  z-index: 1;
  mask: linear-gradient(#000, #000);
  -webkit-mask: linear-gradient(#000, #000);
}
.lux-card:hover::before{ opacity: 1; }

/* Make inner content above the glow */
.lux-card > *{ position: relative; z-index: 2; }

/* Fancy focus ring */
:focus-visible{
  outline: 3px solid rgba(214,177,94,.30);
  outline-offset: 3px;
  border-radius: 14px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  body{ opacity: 1; transform: none; }
  .reveal{ opacity: 1; transform: none; filter: none; }
  .bg-orbs .orb{ animation: none; }
  .back-to-top{ transition: none; }
}


/* Partner logo tweaks */
#en img{ height: 46px; padding: 6px; }
@media (max-width: 520px){
  #en{ display:none; }
  .Logo img{ height: 52px; }
  .Logo{ min-height: 72px; padding: 10px 12px; }
}
