/* ============================================
   AHMED AL AMRI RECRUITMENT
   SEO-Optimized Arabic RTL Landing Page Stylesheet
   ============================================ */

:root {
  --color-white: #fdfbf7;
  --color-ivory: #f8f6f2;
  --color-black: #1a1a1a;
  --color-charcoal: #2d2d2d;
  --color-gold: #c5a572;
  --color-gold-light: #d4b88a;
  --color-gold-dark: #a68a5e;
  --color-gray: #666666;
  --color-gray-light: #999999;
  --color-gray-lighter: #e5e5e5;
  
  --font-primary: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --spacing-xxl: 8rem;
  
  --container-max-width: 1200px;
  --container-padding: 2rem;
  
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 1;
}

body.loaded {
  opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-black);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  border: 2px solid transparent;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-base);
}

.btn:hover svg {
  transform: translateX(-3px);
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-charcoal);
  border-color: var(--color-gray-lighter);
}

.btn-outline:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-gold);
  border-color: var(--color-white);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 1rem;
}

.section-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0 auto 1.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: all var(--transition-base);
  padding: 1.5rem 0;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-weight: 800;
  color: var(--color-black);
  transition: color var(--transition-fast);
}

.logo:hover {
  color: var(--color-gold);
}

.logo-text {
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-charcoal);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 999;
  transition: right var(--transition-slow);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  padding: 6rem 2rem 2rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: block;
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-charcoal);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
  background-color: var(--color-ivory);
  color: var(--color-gold);
}

.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 0 4rem;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: var(--color-ivory);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to left,
      rgba(250, 247, 242, 0.92) 0%,
      rgba(250, 247, 242, 0.82) 22%,
      rgba(250, 247, 242, 0.55) 45%,
      rgba(250, 247, 242, 0.18) 72%,
      rgba(250, 247, 242, 0.04) 100%
    );
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    radial-gradient(circle at 20% 50%, var(--color-gold) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, var(--color-gold) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero > .container,
.scroll-indicator {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 72vh;
}

.hero-text {
  max-width: 720px;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title-main {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1.3;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-gray);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.trust-item svg {
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.trust-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.hero-visual {
  display: none;
}

.hero-visual-placeholder {
  display: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gray);
  font-size: 0.875rem;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}

.scroll-indicator svg {
  color: var(--color-gold);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.about {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  max-width: 560px;
}

.about-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-charcoal);
}

.about-features svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-placeholder svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.services {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-ivory);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-lighter);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
  transition: transform var(--transition-base);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray);
}

.worker-options {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.option-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--color-ivory);
  transition: all var(--transition-base);
}

.option-card:hover {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.option-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--color-gold);
}

.option-icon svg {
  width: 100%;
  height: 100%;
}

.option-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.option-description {
  font-size: 0.9375rem;
  color: var(--color-gray);
  line-height: 1.6;
}

.options-cta {
  text-align: center;
}

.why-alamri {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-ivory);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-lighter);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.benefit-number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-gold);
  opacity: 0.15;
  line-height: 1;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1rem;
}

.benefit-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray);
}

.process {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  right: 40px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, 
    var(--color-gold) 0%, 
    var(--color-gold-light) 100%);
  opacity: 0.3;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-marker {
  position: relative;
  z-index: 1;
}

.timeline-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.timeline-content {
  padding-top: 0.75rem;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.timeline-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-gray);
}

.trust {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, var(--color-ivory) 0%, var(--color-white) 100%);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.trust-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-lighter);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--color-gold);
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.trust-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-gray);
}

.testimonials {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
}

.testimonials-placeholder {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--color-ivory);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--color-gray-lighter);
}

.testimonial-placeholder-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  color: var(--color-gold);
  opacity: 0.3;
}

.testimonial-placeholder-icon svg {
  width: 100%;
  height: 100%;
}

.testimonial-placeholder-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray);
  margin-bottom: 0.5rem;
}

.testimonial-placeholder-note {
  font-size: 0.875rem;
  color: var(--color-gray-light);
  font-style: italic;
}

.faq {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-ivory);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--color-gray-lighter);
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-gold);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-black);
  text-align: right;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-gold);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-gold);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 2rem 2rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-gray);
}

.location {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--color-gold);
}

.info-icon svg {
  width: 100%;
  height: 100%;
}

.info-content {
  flex: 1;
}

.info-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

.info-text {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-gray);
}

.info-text a {
  color: var(--color-gold);
  font-weight: 600;
}

.info-text a:hover {
  text-decoration: underline;
}

.location-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 400px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-ivory);
}

.map-placeholder svg {
  width: 100%;
  height: 100%;
}

.final-cta {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-white);
  text-align: center;
}

.final-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.final-cta-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.footer {
  padding: var(--spacing-lg) 0 var(--spacing-md);
  background-color: var(--color-black);
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.footer-description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--color-gold);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--color-gold);
}

.footer-hours {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: all var(--transition-base);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6);
  }
}

@media (max-width: 992px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-content,
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline::before {
    right: 30px;
  }
  .timeline-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  .services-grid,
  .options-grid,
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --container-padding: 1.5rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 5rem;
  }
  .hero {
    padding: 6rem 0 3rem;
    min-height: 100svh;
  }
  .hero-content {
    min-height: 72svh;
  }
  .hero-bg-image {
    background-position: center center;
    transform: scale(1.01);
  }
  .hero-overlay {
    background: rgba(248, 246, 242, 0.88);
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .hero-trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .timeline {
    padding-right: 0;
  }
  .timeline::before {
    right: 24px;
  }
  .timeline-item {
    gap: 1rem;
  }
  .timeline-number {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  .timeline-title {
    font-size: 1.25rem;
  }
  .services-grid,
  .options-grid,
  .benefits-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .location-grid {
    gap: 2rem;
  }
  .location-buttons {
    flex-direction: column;
  }
  .location-buttons .btn {
    width: 100%;
  }
  .final-cta-buttons {
    flex-direction: column;
  }
  .final-cta-buttons .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .whatsapp-float {
    bottom: 1.5rem;
    left: 1.5rem;
    width: 56px;
    height: 56px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-indicator {
    animation: none;
  }
  .whatsapp-float {
    animation: none;
  }
}

@media print {
  .navbar,
  .mobile-menu,
  .whatsapp-float,
  .scroll-indicator {
    display: none !important;
  }
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
}
/* =========================================
   FORCE FINAL HERO LAYOUT
========================================= */

#home.hero {
  position: relative !important;
  min-height: 100vh !important;
  padding: 120px 0 70px !important;
  overflow: hidden !important;
}

#home .hero-background {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
}

#home .hero-bg-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;

  background-image: url("assets/hero.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;

  transform: none !important;
}

/* نخلي ناحية النص أوضح والصورة باينة في باقي الشاشة */
#home .hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;

  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.18) 35%,
    rgba(253,251,247,0.70) 68%,
    rgba(253,251,247,0.94) 100%
  ) !important;
}

#home .hero-pattern {
  z-index: 1 !important;
}

#home > .container {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
}

#home .hero-content {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  justify-content: flex-start !important;

  width: 100% !important;
  min-height: 70vh !important;

  gap: 0 !important;
}

#home .hero-text {
  width: 500px !important;
  max-width: 500px !important;
  margin: 0 !important;
}

/* أهم جزء: تصغير العنوان */
#home .hero-title-main {
  font-size: 38px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  max-width: 500px !important;
}

#home .hero-title-sub {
  font-size: 24px !important;
  line-height: 1.5 !important;
}

#home .hero-description {
  font-size: 17px !important;
  line-height: 1.9 !important;
  max-width: 500px !important;
}

/* إلغاء الصورة/الكارت القديم نهائياً */
#home .hero-visual,
#home .hero-visual-placeholder {
  display: none !important;
}


/* =========================
   TABLET
========================= */

@media (max-width: 992px) {

  #home .hero-text {
    width: 60% !important;
    max-width: 560px !important;
  }

  #home .hero-title-main {
    font-size: 40px !important;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {

  #home.hero {
    min-height: 100svh !important;
    padding: 105px 0 45px !important;
  }

  #home .hero-overlay {
    background: rgba(253,251,247,0.84) !important;
  }

  #home .hero-text {
    width: 100% !important;
    max-width: 100% !important;
  }

  #home .hero-title-main {
    font-size: 34px !important;
    max-width: 100% !important;
  }

  #home .hero-title-sub {
    font-size: 21px !important;
  }

  #home .hero-description {
    font-size: 16px !important;
  }
}
/* Additions to the original ivory and gold design. */
body { opacity: 1; }
html { scroll-padding-top: 112px; }
section { scroll-margin-top: 112px; }
:focus-visible { outline: 3px solid #806232; outline-offset: 5px; }
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }
.skip-link { position: fixed; top: -100px; right: 20px; z-index: 2000; padding: 12px 24px; background: #fff; color: #1a1a1a; }
.skip-link:focus { top: 12px; }
.logo { flex-shrink: 0; }
.logo img { width: 112px; height: 64px; object-fit: contain; }
.nav-content { gap: 1.1rem; }
.nav-links { gap: 1.2rem; }
.nav-link { font-size: .86rem; white-space: nowrap; }
.nav-cta { gap: .5rem; }
.nav-cta .btn { padding: .65rem .9rem; font-size: .85rem; }
.btn-primary,.btn-primary:hover { color: #211c14; }
.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-photo { position: relative; overflow: hidden; background: #e9e0d2; }
.service-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .45s ease; }
.service-number { position: absolute; right: 18px; top: 18px; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; background: #fdfbf7ed; color: #806232; font-weight: 700; }
.service-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-title { line-height: 1.6; margin-bottom: .6rem; }
.service-description { font-size: .95rem; }
.service-points { margin: .2rem 0 1.6rem; color: #685a45; font-size: .88rem; }
.service-points li::before { content: '✓'; color: #806232; margin-left: .55rem; }
.service-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: auto; }
.service-actions .btn { padding: .7rem 1rem; font-size: .86rem; }
.service-cost { font-size: .82rem; color: #75592d; text-decoration: underline; text-underline-offset: 5px; }
.countries { padding: var(--spacing-xl) 0; text-align: center; background: #f0eade; border-block: 1px solid #e7ddce; }
.eyebrow { display: block; color: #806232; font-size: .85rem; margin-bottom: 1rem; }
.countries-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 1rem; }
.country-card { display: flex; align-items: center; flex-direction: column; padding: 1.7rem .65rem; border: 1px solid #e1d5c3; border-radius: 12px; background: #fdfbf7; transition: transform .25s ease, box-shadow .25s ease; }
.country-card img { width: 60px; height: 40px; object-fit: cover; border-radius: 4px; box-shadow: 0 2px 8px #0002; margin-bottom: 1.3rem; }
.country-card h3 { font-size: 1.05rem; margin-bottom: .65rem; }
.country-card > span { color: #806232; font-size: .73rem; }
.countries-note { margin: 1.8rem auto; max-width: 680px; font-size: .9rem; color: #655b4d; }
.about-image-card { position: relative; border-radius: 16px; overflow: hidden; }
.about-image-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.image-note { position: absolute; bottom: 12px; left: 12px; background: #fdfbf7e8; color: #655b4d; border-radius: 4px; padding: 3px 8px; font-size: .65rem; }
.faq-question { list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
details.faq-item .faq-answer { max-height: none; }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-item[open] { border-color: var(--color-gold); }
.faq-item[open] .faq-answer { animation: answer-in .22s ease; }
.google-map { display: block; width: 100%; min-height: 400px; height: 100%; border: 0; }
.mobile-menu { visibility: hidden; height: 100dvh; right: 0; transform: translateX(100%); transition: transform .28s ease, visibility .28s; }
.mobile-menu.active { visibility: visible; transform: translateX(0); }
.whatsapp-float { animation: none; }
@keyframes answer-in { from { opacity: .5; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes page-out { to { opacity: 0; transform: translateX(-18px); } }
@keyframes page-in { from { opacity: 0; transform: translateX(32px); } }
::view-transition-old(root) { animation: page-out 150ms ease both; }
::view-transition-new(root) { animation: page-in 300ms cubic-bezier(.2,.7,.2,1) both; }
@media (hover: hover) {
  .service-card:hover .service-photo img { transform: scale(1.025); }
  .country-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
}
@media (max-width: 1100px) {
  .nav-links,.nav-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .countries-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: minmax(0,1fr); }
  .countries-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
  .country-card { padding: 1.35rem .5rem; }
  .service-body { padding: 1.4rem; }
  .logo img { height: 52px; width: 96px; }
  #home .hero-title-main { font-size: clamp(26px,7.5vw,34px) !important; }
  .mobile-menu-content { padding-top: 100px; padding-bottom: 32px; }
  .mobile-nav-links { gap: .8rem; }
  ::view-transition-new(root) { animation-duration: 220ms; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  ::view-transition-old(root),::view-transition-new(root) { animation: none !important; }
}

.logo img { background: #29251f; border-radius: 8px; padding: 5px; }
section { scroll-margin-top: 0; } .hero .btn-outline-light { color: #29251f; border-color: #8b7759; background: #fdfbf7c9; }

/* Main and support services share one section and one navigation position. */
.services-tabs { display: flex; justify-content: center; gap: .65rem; margin: -1rem auto 2.5rem; }
.services-tabs[hidden], .services-panel[hidden] { display: none; }
.services-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .85rem 1.5rem; border: 1px solid #d8c7ab; border-radius: 10px; color: #65543c; background: #fdfbf7; font-size: 1rem; font-weight: 700; transition: background .2s ease, color .2s ease; }
.services-tabs button[aria-selected="true"] { background: var(--color-gold); color: #211c14; border-color: var(--color-gold); }
.services-count { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 50%; background: #ffffff73; font-size: .75rem; }
.services-panels { overflow: clip; padding: 6px; margin: -6px; }
.services-panel { scroll-margin-top: 16px; }
.support-intro { text-align: center; margin: 1rem 0 2rem; }
.support-intro h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.support-intro p { color: var(--color-gray); font-size: .95rem; }
.support-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.support-card { display: flex; flex-direction: column; align-items: flex-start; padding: 2rem; border: 1px solid #e5dfd6; background: var(--color-white); border-radius: var(--radius-lg); }
.support-icon { width: 52px; height: 52px; padding: 12px; margin-bottom: 1.25rem; background: #f1e9dc; border-radius: 12px; color: #806232; }
.support-icon svg { width: 100%; height: 100%; }
.support-card h4 { font-size: 1.2rem; line-height: 1.6; margin-bottom: .65rem; }
.support-card p { color: var(--color-gray); font-size: .95rem; margin-bottom: 1.5rem; }
.support-card .btn { margin-top: auto; padding: .65rem 1rem; font-size: .9rem; }
@media (max-width:640px) {
  .services-tabs { gap: .5rem; margin-bottom: 1.8rem; }
  .services-tabs button { flex: 1; padding: .8rem .55rem; gap: .35rem; font-size: .82rem; }
  .services-count { min-width: 20px; height: 20px; }
  .support-grid { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .support-card { padding: 1.5rem; }
}
@media (prefers-reduced-motion:reduce) { .services-tabs button { transition: none; } }
