/* ============ Design tokens & Theme variables ============ */
:root {
  /* Brand colors */
  --color-forest-grove: #0b835c;
  --color-pine-shadow: #07583e;
  
  /* Soft Muted Palettes (Light Mode) */
  --bg-offwhite: #fbfbf9;
  --bg-pistachio: #E0EAE1;
  --bg-card: #ffffff;
  --border-subtle: rgba(28, 28, 30, 0.08);

  --color-ink-black: #1c1c1e;
  --color-graphite: #303033;
  --color-slate-mid: #676768;
  --color-pure-white: #ffffff;
  
  /* Modern Typography */
  --font-serif: 'Libre Caslon Text', serif;
  --font-sans: 'Geist', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Alexandria', system-ui, sans-serif;

  --radius-tag: 9999px;
  --radius-card: 20px;
  --radius-large-card: 24px;
  --radius-button: 9999px;

  --section-gap: 72px;
  --page-max: 1200px;
  
  --transition-speed: 250ms ease;
}

/* ============ Dark Theme Variables ============ */
[data-theme="dark"] {
  --bg-offwhite: #121413;
  --bg-pistachio: #181d1a;
  --bg-card: #1f2421;
  --border-subtle: rgba(255, 255, 255, 0.1);

  --color-ink-black: #f0f2f1;
  --color-graphite: #d0d4d2;
  --color-slate-mid: #a0a5a2;
  --color-pure-white: #1f2421;
}

/* Base resets */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-offwhite);
  color: var(--color-ink-black);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* Arabic RTL support */
[dir="rtl"] body {
  font-family: var(--font-arabic);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--color-forest-grove); outline-offset: 2px; }

/* ============ Section Wrapper & Background Alternation ============ */
.section-wrapper {
  width: 100%;
  transition: background-color var(--transition-speed);
}
.bg-offwhite { background-color: var(--bg-offwhite); }
.bg-pistachio { background-color: var(--bg-pistachio); }

.section {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--section-gap) 32px;
}

/* ============ Announcement Banner ============ */
.announce {
  background: var(--color-forest-grove);
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  font-weight: 500;
}

/* ============ Navigation ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 251, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}
[data-theme="dark"] .nav {
  background: rgba(18, 20, 19, 0.85);
}
.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-icon { width: 24px; height: 24px; }
.brand-word {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-ink-black);
}
[dir="rtl"] .brand-word { font-family: var(--font-arabic); font-weight: 700; }

/* Navigation Links with Underline Hover Effect */
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink-black);
  padding: 4px 0;
  transition: color 200ms ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-forest-grove);
  transition: width 250ms ease;
  border-radius: 2px;
}
[dir="rtl"] .nav-links a::after {
  left: auto;
  right: 0;
}
.nav-links a:hover {
  color: var(--color-forest-grove);
}
.nav-links a:hover::after {
  width: 100%;
}

/* Nav Actions & Theme/Lang Controls */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.control-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--color-ink-black);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
}
.control-btn:hover {
  border-color: var(--color-forest-grove);
  color: var(--color-forest-grove);
  transform: translateY(-1px);
}
.control-btn svg { width: 18px; height: 18px; }

[data-theme="light"] .moon-icon { display: block; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: block; }

.lang-btn {
  width: auto;
  padding: 0 12px;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: 13px;
}

.pill-btn {
  border: 1px solid var(--color-ink-black);
  border-radius: var(--radius-button);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  transition: all 200ms ease;
}
.ghost-nav:hover {
  background: var(--color-forest-grove);
  border-color: var(--color-forest-grove);
  color: #ffffff;
}

/* ============ Section Headings ============ */
.section-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-forest-grove);
  margin-bottom: 12px;
  font-weight: 600;
}
.section-heading {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.9px;
  margin: 0 0 8px 0;
  color: var(--color-ink-black);
}
.section-heading.center { text-align: center; }
.section-sub {
  color: var(--color-slate-mid);
  font-size: 16px;
  max-width: 520px;
  margin-top: 8px;
}
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============ Hero Section ============ */
.hero {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 48px 32px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.announcement-pill {
  display: inline-block;
  border: 1px solid var(--color-forest-grove);
  color: var(--color-forest-grove);
  border-radius: var(--radius-tag);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 58px;
  line-height: 1.15;
  color: var(--color-ink-black);
  margin: 0 0 20px 0;
}
[dir="rtl"] .hero-title { font-family: var(--font-arabic); font-weight: 700; }
.accent-word { color: var(--color-forest-grove); }
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-graphite);
  max-width: 480px;
  line-height: 1.5;
  margin: 0 0 32px 0;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-row.center { justify-content: center; }

.btn {
  border-radius: var(--radius-button);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.btn-filled {
  background: var(--color-ink-black);
  color: var(--color-pure-white);
  border: 1px solid var(--color-ink-black);
}
.btn-filled:hover {
  background: var(--color-forest-grove);
  border-color: var(--color-forest-grove);
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid var(--color-ink-black);
  color: var(--color-ink-black);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--color-forest-grove);
  color: var(--color-forest-grove);
  transform: translateY(-2px);
}

.hero-right { display: flex; justify-content: center; }
.mockup-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-large-card);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.mockup-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.mockup-bubble {
  position: absolute;
  background: var(--bg-card);
  color: var(--color-ink-black);
  border-radius: var(--radius-tag);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.mockup-bubble-1 {
  top: 20px;
  left: 20px;
  background: var(--color-forest-grove);
  color: #ffffff;
}
[dir="rtl"] .mockup-bubble-1 { left: auto; right: 20px; }
.mockup-bubble-2 {
  bottom: 20px;
  left: 20px;
  right: 20px;
  border: 1px solid var(--border-subtle);
}

/* ============ Feature Grid ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}
.feature-icon { width: 30px; height: 30px; margin-bottom: 16px; }
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--color-ink-black);
}
.feature-card p {
  font-size: 14px;
  color: var(--color-slate-mid);
  margin: 0;
  line-height: 1.5;
}

/* ============ About ============ */
.about-text {
  font-size: 17px;
  color: var(--color-graphite);
  max-width: 680px;
  line-height: 1.7;
}

/* ============ Gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.gallery-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card);
}
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 400ms ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.span-2 { grid-column: span 2; }

/* ============ About Section Layout ============ */
.about-container {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 16px;
}

/* Profile Image & Glow Effects */
.profile-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 250px;
  height: 250px;
}

.profile-glow {
  position: absolute;
  inset: -8px;
  background: radial-gradient(circle, var(--color-forest-grove) 0%, transparent 70%);
  opacity: 0.25;
  filter: blur(16px);
  border-radius: 50%;
  transition: opacity 400ms ease, transform 400ms ease;
}

.profile-avatar-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 400ms ease;
}

/* Hover Animation */
.profile-avatar-wrapper:hover .profile-img {
  transform: scale(1.08);
}

.profile-avatar-wrapper:hover .profile-glow {
  opacity: 0.45;
  transform: scale(1.1);
}

.about-content {
  flex: 1;
}

/* Responsive Support */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .profile-avatar-wrapper {
    width: 150px;
    height: 150px;
  }
}
/* ============ Responsive Video Containers ============ */
.responsive-video-container {
  width: 100%;
  border-radius: var(--radius-large-card);
  overflow: hidden;
  background: #000;
  position: relative;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}
.responsive-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Vertical / Portrait video adjustments */
.vertical-video {
  max-width: 320px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
}

.video-section-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}

/* ============ CTA Box ============ */
.cta-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-large-card);
  padding: 56px 32px;
  text-align: center;
}

/* ============ Contact & Maps ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px;
}
.contact-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: var(--color-ink-black);
}
.contact-detail-text {
  font-size: 14px;
  color: var(--color-slate-mid);
  margin: 0 0 12px 0;
  line-height: 1.5;
}
.map-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.contact-buttons-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.sm-btn {
  padding: 8px 14px;
  font-size: 13px;
  flex: 1;
  justify-content: center;
}
.whatsapp-btn {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
.whatsapp-btn:hover {
  background: #1eb857;
  border-color: #1eb857;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-forest-grove);
  transition: opacity 150ms ease;
}
.social-row a:hover { opacity: 0.7; }
.social-row svg { width: 18px; height: 18px; }

.location-video-box {
  aspect-ratio: 9 / 16;
}
.location-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 13px;
  text-align: center;
  padding: 10px;
  margin: 0;
}

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 32px;
  background: var(--bg-offwhite);
}
.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-slate-mid);
}
/* ============ REVIEWS SECTION STYLES ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-card {
  background-color: var(--color-bg, #c3f8d5);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.review-author {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text, #111827);
}

.review-tag {
  font-size: 0.75rem;
  color: #6b7280;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 4px;
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-sub, #4b5563);
  font-style: italic;
  margin: 0;
}

.google-badge-container {
  text-align: center;
  margin-top: 2.5rem;
}

.google-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 30px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: background-color 0.2s ease;
}

.google-badge-link:hover {
  background-color: #f9fafb;
}
/* ============ Responsive Breakpoints ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { order: -1; }
  .hero-title { font-size: 42px; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.span-2 { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .video-section-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-title { font-size: 34px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.span-2 { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-row { justify-content: center; }
}



