html {
  scroll-behavior: smooth;
}

:root {
  --deep-black: #0A0908;
  --burgundy: #49111C;
  --soft-white: #F2F4F3;
  --warm-beige: #A9927D;
  --radius: 12px;
  --radius-lg: 16px;
}

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

body {
  font-family: 'Tajawal', 'Inter', -apple-system, sans-serif;
  background: var(--soft-white);
  color: var(--deep-black);
  min-height: 100vh;
  padding: 2rem 1.5rem;
  padding-top: 6rem;
  line-height: 1.6;
}

h2 {
  font-family: 'Tajawal', 'Inter', -apple-system, sans-serif;
}

body[dir="rtl"] {
  direction: rtl;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 2px 12px rgba(10, 9, 8, 0.06);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo-img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--deep-black);
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--burgundy);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header Section */
.header {
  text-align: center;
  margin-bottom: 3rem;
  animation: hero-in 0.8s ease-out both;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  animation: logo-in 0.8s ease-out both;
}

.logo {
  display: block;
  height: 120px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  border-radius: var(--radius);
  margin: 0 auto;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--deep-black);
  margin-bottom: 0.5rem;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--deep-black);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.tagline {
  font-size: 1.1rem;
  color: var(--burgundy);
  font-weight: 500;
  margin-bottom: 1rem;
}

.essence {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--warm-beige);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Mission Section */
.mission {
  background: linear-gradient(135deg, var(--burgundy) 0%, #6b1a2a 100%);
  color: var(--soft-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
  animation: block-in 0.6s ease-out 0.2s both;
  box-shadow: 0 4px 24px rgba(73, 17, 28, 0.2);
}

.mission h2 {
  font-family: 'Tajawal', 'Inter', -apple-system, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.mission p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Features Grid */
.features {
  margin-bottom: 3rem;
}

.section-title {
  font-family: 'Tajawal', 'Inter', -apple-system, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--deep-black);
  text-align: center;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(10, 9, 8, 0.06);
  animation: block-in 0.5s ease-out both;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 24px rgba(10, 9, 8, 0.1);
}

.feature-card:nth-child(1) { animation-delay: 0.3s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.5s; }
.feature-card:nth-child(4) { animation-delay: 0.6s; }
.feature-card:nth-child(5) { animation-delay: 0.7s; }
.feature-card:nth-child(6) { animation-delay: 0.8s; }

@keyframes block-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #c9a227;
  filter: drop-shadow(0 2px 6px rgba(73, 17, 28, 0.35));
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: #5a5a5a;
  line-height: 1.6;
}

.feature-card ul {
  list-style: none;
  margin-top: 1rem;
}

.feature-card ul li {
  font-size: 0.85rem;
  color: #666;
  padding-inline-start: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.feature-card ul li:before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--warm-beige);
  font-weight: 600;
}

/* Value Proposition */
.value-prop {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.value-card {
  background: #fff;
  border-inline-start: 4px solid var(--burgundy);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(10, 9, 8, 0.05);
  animation: block-in 0.5s ease-out both;
}

.value-card:nth-child(1) { animation-delay: 0.9s; }
.value-card:nth-child(2) { animation-delay: 1s; border-inline-start-color: var(--warm-beige); }
.value-card:nth-child(3) { animation-delay: 1.1s; border-inline-start-color: #6b1a2a; }

.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--deep-black);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
  color: #5a5a5a;
  line-height: 1.6;
}

/* Contact Form */
.contact-section {
  max-width: 600px;
  margin: 0 auto;
  animation: block-in 0.5s ease-out 1.2s both;
}

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(10, 9, 8, 0.08);
  text-align: start;
}

.form-card h2 {
  font-family: 'Tajawal', 'Inter', -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-black);
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-card > p {
  font-size: 0.95rem;
  color: #5a5a5a;
  margin-bottom: 2rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--deep-black);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--deep-black);
  background: var(--soft-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--warm-beige);
  box-shadow: 0 0 0 3px rgba(169, 146, 125, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn {
  display: inline-block;
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--soft-white);
}

.btn-primary:hover {
  background: #3a0e16;
}

.btn-primary:active {
  transform: scale(0.99);
}

.message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.message.success {
  display: block;
  background: rgba(72, 187, 120, 0.15);
  color: #166534;
}

.message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
}

/* Site Footer – full width, logo-inverse */
.site-footer {
  width: 100%;
  margin-top: 3rem;
  background: var(--deep-black);
  color: var(--soft-white);
  text-align: center;
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.logo-inverse {
  display: block;
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-slogan {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--soft-white);
  opacity: 0.9;
  margin: 0 0 1.5rem;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--warm-beige);
  opacity: 0.9;
  margin: 0;
}

/* Language Dropdown in Navbar */
.lang-dropdown-wrap {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(169, 146, 125, 0.4);
  border-radius: 8px;
  background: #fff;
  color: var(--deep-black);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lang-dropdown-btn:hover {
  background: var(--soft-white);
  border-color: var(--warm-beige);
  color: var(--burgundy);
}

.lang-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.lang-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.lang-dropdown-wrap.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  inset-inline-end: 0;
  margin: 0.5rem 0 0;
  padding: 0.25rem;
  min-width: 120px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(10, 9, 8, 0.12);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 300;
}

.lang-dropdown-wrap.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--deep-black);
  cursor: pointer;
  text-align: start;
  transition: background 0.2s, color 0.2s;
}

.lang-option:hover {
  background: var(--soft-white);
  color: var(--burgundy);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-inner {
    flex-wrap: wrap;
  }

  .navbar-links {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .navbar-links a {
    font-size: 0.9rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .value-prop {
    grid-template-columns: 1fr;
  }
}
