/* =====================================================
   WASATA CONSULTING — Global Stylesheet
   Design: Deep Teal + Warm Gold + Cream
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&family=Amiri:ital,wght@0,400;0,700;1,400&family=Tajawal:wght@300;400;500;700&display=swap');

/* ── CSS Variables ── */
:root {
  --primary:        #1B5E6E;
  --primary-light:  #2A7D91;
  --primary-dark:   #0F3D4A;
  --secondary:      #2C7A5E;
  --accent:         #C9A84C;
  --accent-light:   #F0D98A;
  --accent-dark:    #9E7E2E;
  --bg:             #FAFAF7;
  --bg-alt:         #EEF4F3;
  --surface:        #FFFFFF;
  --border:         #D6E4E0;
  --text:           #1A2B35;
  --text-muted:     #567080;
  --text-light:     #8EA5B0;
  --overlay:        rgba(15, 61, 74, 0.72);

  --font-heading:    'Playfair Display', Georgia, serif;
  --font-body:       'Inter', system-ui, sans-serif;
  --font-ar-heading: 'Amiri', serif;
  --font-ar-body:    'Tajawal', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 4px rgba(27,94,110,0.07);
  --shadow-sm: 0 3px 12px rgba(27,94,110,0.10);
  --shadow-md: 0 8px 28px rgba(27,94,110,0.13);
  --shadow-lg: 0 20px 56px rgba(27,94,110,0.18);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 76px;
  --max-w: 1200px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Arabic / RTL */
body[dir="rtl"] {
  font-family: var(--font-ar-body);
}
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4 {
  font-family: var(--font-ar-heading);
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; }
ul, ol { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.8; }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--primary-dark); color: #fff; }
.section--dark p { color: rgba(255,255,255,0.75); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  margin-bottom: 1.25rem;
  max-width: 600px;
}
.section-title--center { text-align: center; margin: 0 auto 1.25rem; }
.section-intro {
  max-width: 640px;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}
.section-intro--center { text-align: center; margin: 0 auto 3rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(27,94,110,0.3);
}
.btn--primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27,94,110,0.35);
}
.btn--accent {
  background: var(--accent);
  color: #1A2B35;
  box-shadow: 0 4px 14px rgba(201,168,76,0.3);
}
.btn--accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn--outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn--outline-white {
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  background: transparent;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ── Header / Nav ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo__mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}
.logo__tagline {
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}
.nav__link:hover, .nav__link.active { color: var(--primary); }
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* Dropdown */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
body[dir="rtl"] .nav__dropdown { left: auto; right: 50%; transform: translateX(50%) translateY(8px); }
.nav__item:hover .nav__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
body[dir="rtl"] .nav__item:hover .nav__dropdown {
  transform: translateX(50%) translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav__dropdown a:hover { background: var(--bg-alt); color: var(--primary); }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 0.75rem; }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  padding: 3px;
  border: 1px solid var(--border);
}
.lang-toggle button {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
}
.lang-toggle button.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-xs);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.mobile-nav a:hover, .mobile-nav a.active { background: var(--bg-alt); color: var(--primary); }
.mobile-nav .divider { height: 1px; background: var(--border); margin: 0.5rem 0; }
.mobile-nav .mobile-actions { display: flex; gap: 0.75rem; padding: 0.5rem 0; flex-wrap: wrap; }

/* ── Hero ── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F3D4A 0%, #1B5E6E 45%, #2C7A5E 100%);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='1'%3E%3Cpath d='M40 0l5 13.4L54.5 5 49.5 18 64 18l-11.5 8.5L57 40l-14-5.5L40 48 37 34.5 23 40l4.5-13.5L16 18l14.5 0-5-13z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.hero__label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--accent-light); font-style: italic; }
.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}
.hero__scroll::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Stats bar ── */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  box-shadow: var(--shadow-xs);
}
.stats-bar__grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-item__label {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
  transition: var(--transition);
}
.service-card:hover .service-card__icon {
  background: var(--primary);
}
.service-card__icon svg { transition: var(--transition); }
.service-card:hover .service-card__icon svg { stroke: #fff; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.9rem; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.service-card__link:hover { gap: 0.6rem; }

/* ── Values / About ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.value-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.value-card h4 { margin-bottom: 0.5rem; color: var(--primary); }
.value-card p { font-size: 0.88rem; }

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-card__photo {
  height: 280px;
  background: linear-gradient(135deg, var(--bg-alt), var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.team-card__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(27,94,110,0.08));
}
.team-card__info { padding: 1.5rem; }
.team-card__name { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.team-card__role { font-size: 0.85rem; color: var(--accent); font-weight: 500; }
.team-card__bio { font-size: 0.88rem; margin-top: 0.75rem; }
.team-card__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.cert-badge {
  font-size: 0.72rem;
  background: var(--bg-alt);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

/* ── Testimonials ── */
.testimonials-carousel { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  min-width: 100%;
  padding: 0 1rem;
}
.testimonial-inner {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.testimonial-quote {
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}
.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-light); }
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.carousel-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ── Programs / Calendar ── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.program-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.program-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.program-card__header {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
}
.program-card__date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}
.program-card__title { font-family: var(--font-heading); font-size: 1.2rem; color: #fff; }
.program-card__body { padding: 1.5rem; flex: 1; }
.program-card__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.program-card__meta span { display: flex; align-items: center; gap: 0.35rem; }
.program-card__footer { padding: 0 1.5rem 1.5rem; display: flex; gap: 0.75rem; }

/* ── Booking ── */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.booking-calendar { background: var(--surface); border-radius: var(--radius-lg); padding: 1.75rem; border: 1px solid var(--border); }
.booking-calendar__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.booking-calendar__nav { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 12px; font-size: 1rem; color: var(--text); }
.booking-calendar__nav:hover { background: var(--primary); color: #fff; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-day-label { text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-light); padding: 0.4rem 0; }
.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  color: var(--text-muted);
}
.calendar-day:hover { background: var(--bg-alt); color: var(--primary); }
.calendar-day.has-slots { color: var(--primary); font-weight: 600; }
.calendar-day.selected { background: var(--primary); color: #fff; }
.calendar-day.today { border-color: var(--accent); color: var(--accent); }
.calendar-day.disabled { opacity: 0.35; cursor: default; }

.time-slots h4 { margin: 1.25rem 0 0.75rem; font-size: 1rem; }
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.slot {
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}
.slot:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-alt); }
.slot.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.slot.booked { background: var(--bg-alt); color: var(--text-light); cursor: not-allowed; }

/* Booking Form */
.booking-form { background: var(--surface); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--border); }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(27,94,110,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Login ── */
.login-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--header-h);
}
.login-page__visual {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.login-page__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A84C'%3E%3Cpath d='M40 0l5 13.4L54.5 5 49.5 18 64 18l-11.5 8.5L57 40l-14-5.5L40 48 37 34.5 23 40l4.5-13.5L16 18l14.5 0-5-13z'/%3E%3C/g%3E%3C/svg%3E");
}
.login-page__form-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: var(--bg);
}
.login-box {
  width: 100%;
  max-width: 420px;
}
.login-tabs {
  display: flex;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}
.login-tab {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
}
.login-tab.active { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  cursor: pointer;
  gap: 1rem;
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question h4 { font-size: 0.95rem; font-weight: 500; color: var(--text); flex: 1; margin: 0; }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ── Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border);
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-info-text strong { display: block; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 0.2rem; }
.contact-info-text a, .contact-info-text span { font-size: 0.95rem; color: var(--text); }
.contact-form-card { background: var(--surface); border-radius: var(--radius-lg); padding: 2.5rem; border: 1px solid var(--border); }

/* ── Resources / Blog ── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.resource-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.resource-card__thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-alt), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.resource-card__category {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.resource-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.resource-card__date { font-size: 0.78rem; color: var(--text-light); margin-bottom: 0.5rem; }
.resource-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.resource-card p { font-size: 0.88rem; flex: 1; }
.resource-card__footer { padding: 0 1.5rem 1.5rem; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--secondary) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A84C'%3E%3Cpath d='M40 0l5 13.4L54.5 5 49.5 18 64 18l-11.5 8.5L57 40l-14-5.5L40 48 37 34.5 23 40l4.5-13.5L16 18l14.5 0-5-13z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 540px; margin: 0 auto 2rem; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}
.footer__social { display: flex; gap: 0.75rem; }
.social-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-icon:hover { background: var(--accent); border-color: var(--accent); color: #1A2B35; }
.footer__col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer__col a:hover { color: #fff; padding-inline-start: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer__newsletter { margin-top: 1rem; }
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--accent); background: rgba(255,255,255,0.12); }
.newsletter-form button {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #1A2B35;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--accent-light); }

/* ── Floating CTA ── */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
}
body[dir="rtl"] .floating-cta { right: auto; left: 2rem; }
.floating-cta a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #1A2B35;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(201,168,76,0.45);
  transition: var(--transition);
  animation: floatPulse 3s infinite;
}
.floating-cta a:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 28px rgba(201,168,76,0.5); }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(201,168,76,0.45); }
  50%       { box-shadow: 0 4px 30px rgba(201,168,76,0.65); }
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A84C'%3E%3Cpath d='M40 0l5 13.4L54.5 5 49.5 18 64 18l-11.5 8.5L57 40l-14-5.5L40 48 37 34.5 23 40l4.5-13.5L16 18l14.5 0-5-13z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero__label { color: var(--accent-light); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 560px; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ── Chips / Tags ── */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--primary);
  border: 1px solid var(--border);
}
.chip--primary { background: rgba(27,94,110,0.1); border-color: rgba(27,94,110,0.2); }
.chip--accent  { background: rgba(201,168,76,0.12); color: var(--accent-dark); border-color: rgba(201,168,76,0.25); }

/* ── Alerts ── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.alert--success { background: rgba(44,122,94,0.1); border-color: rgba(44,122,94,0.25); color: var(--secondary); }
.alert--info { background: rgba(27,94,110,0.08); border-color: rgba(27,94,110,0.2); color: var(--primary); }

/* ── Dividers ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-accent  { color: var(--accent); }
.text-primary { color: var(--primary); }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .login-page { grid-template-columns: 1fr; }
  .login-page__visual { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 66px; }
  .nav, .header__actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .hero { min-height: calc(100svh - var(--header-h)); }
  .section { padding: 3.5rem 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar__grid { gap: 1.5rem; }
  .cta-banner { padding: 2.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── RTL Specific ── */
[dir="rtl"] .service-card::before { transform-origin: right; }
[dir="rtl"] .service-card:hover::before { transform: scaleX(1); }
[dir="rtl"] .footer__col a:hover { padding-inline-start: 4px; }
[dir="rtl"] .carousel-dot { direction: ltr; }
