:root {
  --ink: #111114;
  --charcoal: #1a1b20;
  --coal: #24262c;
  --gold: #c9a15b;
  --gold-soft: #e2c88b;
  --cream: #f6f3ee;
  --stone: #e2dbd1;
  --sand: #b7a99c;
  --line: rgba(201, 161, 91, 0.25);
  --shadow: 0 24px 60px rgba(12, 12, 14, 0.35);
  --radius: 18px;
  --section-padding: clamp(3.5rem, 6vw, 6.5rem);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Kufi Arabic", sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(201, 161, 91, 0.12), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(17, 17, 20, 0.08), transparent 60%),
    linear-gradient(120deg, rgba(226, 219, 209, 0.35), transparent 40%);
  min-height: 100vh;
  line-height: 1.75;
}

h1,
h2,
h3 {
  font-weight: 600;
}

button {
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.section {
  padding: var(--section-padding) 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--ink);
}

.section-title span {
  color: var(--gold);
}

.sub-english {
  font-family: "Marcellus", "Times New Roman", serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(17, 17, 20, 0.6);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, rgba(201, 161, 91, 0.9), rgba(201, 161, 91, 0.65));
  color: #111114;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(201, 161, 91, 0.3);
}

.btn.outline {
  background: transparent;
  color: var(--gold-soft);
  border-color: rgba(201, 161, 91, 0.6);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(201, 161, 91, 0.1);
  color: var(--gold);
  border: 1px solid rgba(201, 161, 91, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.surface-dark .badge {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 16, 20, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 161, 91, 0.2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo img {
  height: 55px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  color: var(--gold);
  font-family: 'Marcellus', serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-text small {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0;
}

.logo-ar {
  font-size: 0.95rem;
  color: rgba(246, 243, 238, 0.8);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: rgba(246, 243, 238, 0.8);
  font-size: 0.95rem;
}

.nav-links a {
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f6f3ee;
  border-color: var(--gold);
}

/* Dropdown Support */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown .drop-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links .dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #1a1b20;
  padding: 0.8rem 0;
  border-radius: 8px;
  border: 1px solid var(--gold);
  min-width: 200px;
  z-index: 9999;
  display: none;
  flex-direction: column; /* Ensure vertical list */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Open State */
.nav-links .dropdown.is-open .dropdown-menu,
.nav-links .dropdown:hover .dropdown-menu {
  display: block !important;
}

@media (max-width: 820px) {
  .nav-links .dropdown .dropdown-menu {
    position: static;
    border: none;
    border-right: 2px solid var(--gold);
    background: rgba(255, 255, 255, 0.05);
    width: 100%;
    margin-top: 0.5rem;
    display: none; /* Default hidden on mobile unless parent is-open */
    flex-direction: column;
  }
  
  .nav-links .dropdown.is-open .dropdown-menu {
    display: flex !important;
  }
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 0.7rem 1.5rem;
  white-space: nowrap;
  border-bottom: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: rgba(201, 161, 91, 0.12);
  color: var(--gold-soft);
  padding-right: 1.8rem;
  /* Subtle indent effect in RTL */
}



.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201, 161, 91, 0.4);
  background: transparent;
  color: #f6f3ee;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #f6f3ee;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 161, 91, 0.35), transparent 45%),
    radial-gradient(circle at 75% 5%, rgba(226, 219, 209, 0.12), transparent 55%),
    linear-gradient(120deg, #0f1116, #181a20 55%, #141519);
}

.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.8rem 0 1rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 161, 91, 0.22), transparent 65%);
  filter: blur(4px);
  opacity: 0.65;
}

.hero::before {
  top: -120px;
  right: 15%;
}

.hero::after {
  bottom: -160px;
  left: 8%;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
  padding: 5rem 0 6rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.hero p {
  margin: 1.5rem 0 2.2rem;
  color: rgba(246, 243, 238, 0.8);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-card {
  background: rgba(246, 243, 238, 0.08);
  border: 1px solid rgba(201, 161, 91, 0.35);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card ul {
  display: grid;
  gap: 0.75rem;
  color: rgba(246, 243, 238, 0.85);
  font-size: 0.95rem;
}

.hero-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(201, 161, 91, 0.35);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image .overlay-label {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  padding: 0.5rem 1rem;
  background: rgba(17, 17, 20, 0.65);
  border: 1px solid rgba(201, 161, 91, 0.45);
  border-radius: 999px;
  font-size: 0.85rem;
  color: #f6f3ee;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 161, 91, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  border-color: var(--gold);
}

.stat-card strong {
  font-size: 1.3rem;
  color: var(--gold);
  display: block;
}

.stat-card .desc {
  font-size: 0.9rem;
  color: rgba(246, 243, 238, 0.8);
  line-height: 1.5;
}

.grid {
  display: grid;
  gap: 1.8rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 161, 91, 0.12);
  padding: 1.2rem;
  box-shadow: 0 10px 30px rgba(12, 12, 14, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(12, 12, 14, 0.12);
  border-color: rgba(201, 161, 91, 0.3);
}

.card img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--stone);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.5rem;
}

.card-title-1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  margin-top: 0.5rem;
}

.card p {
  color: rgba(17, 17, 20, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.surface-dark {
  background: linear-gradient(140deg, #15171c 0%, #1f2126 45%, #14161a 100%);
  color: #f6f3ee;
}

.surface-dark .section-title,
.surface-dark p,
.surface-dark strong,
.surface-dark span:not(.tag) {
  color: #f6f3ee;
}

.surface-dark p {
  color: rgba(246, 243, 238, 0.8);
}

.surface-dark .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 161, 91, 0.2);
  backdrop-filter: blur(10px);
}

.surface-dark .card .card-title {
  color: #ffffff;
}

.surface-dark .card p {
  color: rgba(255, 255, 255, 0.7);
}

.surface-dark .card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}



.tag {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 161, 91, 0.3);
  color: var(--gold);
  background: rgba(201, 161, 91, 0.08);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.surface-dark .tag {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.surface-dark .footer-links a,
.surface-dark .footer-links span {
  color: rgba(246, 243, 238, 0.8) !important;
}

.surface-dark a:hover {
  color: #ffffff !important;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.highlight-box {
  border-radius: 24px;
  padding: 2rem;
  background: linear-gradient(130deg, rgba(201, 161, 91, 0.16), rgba(246, 243, 238, 0.95));
  border: 1px solid rgba(201, 161, 91, 0.35);
  box-shadow: 0 20px 40px rgba(12, 12, 14, 0.12);
}

.highlight-box strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.list {
  display: grid;
  gap: 0.8rem;
}

.list li {
  position: relative;
  padding-right: 1.6rem;
}

.list li::before {
  content: "●";
  position: absolute;
  right: 0;
  color: var(--gold);
}

.form-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 161, 91, 0.25);
  box-shadow: 0 20px 40px rgba(12, 12, 14, 0.1);
}

form {
  display: grid;
  gap: 1rem;
}

label {
  font-size: 0.9rem;
  color: rgba(17, 17, 20, 0.7);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 20, 0.15);
  font-family: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: rgba(17, 17, 20, 0.65);
}

.map {
  border-radius: var(--radius);
  border: 1px solid rgba(201, 161, 91, 0.25);
  overflow: hidden;
  min-height: 320px;
}

.site-footer {
  background: #111114;
  color: rgba(246, 243, 238, 0.8);
  padding: 3rem 0 2rem;
}

.footer-logo {
  display: inline-block;
  background: #ffffff;
  padding: 0.4rem 0.7rem;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 64px;
  width: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-title {
  font-size: 1.1rem;
  color: #f6f3ee;
  margin-bottom: 0.8rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(201, 161, 91, 0.25);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #101217;
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {

  .grid.two,
  .grid.three,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: right;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

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

.search-form {
  margin-bottom: 2rem;
  display: flex;
  gap: 0.5rem;
}

.search-form input {
  flex-grow: 1;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.8rem 1.2rem;
  font-family: inherit;
  background-color: #fff;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: float-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15) translateY(-5px);
  background-color: #20ba5a;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

@keyframes float-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}