@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary-hsl: 102, 27%, 33%;
  --primary: hsl(var(--primary-hsl));
  --primary-light: hsl(102, 27%, 45%);
  --primary-dark: hsl(102, 27%, 18%);
  --primary-alpha: rgba(74, 107, 61, 0.15);
  
  --accent-hsl: 31, 48%, 64%;
  --accent: hsl(var(--accent-hsl));
  --accent-hover: hsl(31, 48%, 54%);
  --accent-alpha: rgba(212, 163, 115, 0.2);
  
  --bg-light: #faf8f5;
  --bg-card: #ffffff;
  --bg-dark: #121a0f;
  --bg-dark-card: #1c2718;
  
  --text-dark: #1e281a;
  --text-muted: #5e6b56;
  --text-light: #ffffff;
  --text-light-muted: #abb5a5;

  /* Typography & Fonts */
  --font-en: 'Outfit', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  
  /* Borders, Radius, Shadows */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 32px;
  --border-radius-full: 9999px;
  
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 50px rgba(74, 107, 61, 0.08);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.08);

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles & Bi-directional setups */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html[lang="en"] {
  font-family: var(--font-en);
}

html[lang="ar"] {
  font-family: var(--font-ar);
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 5px;
  border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Utility Layout Classes using CSS Logical Properties */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section-padding {
  padding-block: 6rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 15px var(--primary-alpha);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 107, 61, 0.3);
}

.btn-secondary {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 4px 15px var(--accent-alpha);
}

.btn-secondary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* Header & Glassmorphism Nav */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding-block: 1.5rem;
}

.header-nav.scrolled {
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74, 107, 61, 0.1);
  padding-block: 0.8rem;
  box-shadow: var(--shadow-sm);
}

.header-nav.scrolled-dark {
  background: rgba(18, 26, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-block: 0.8rem;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 60px;
  width: auto;
  transition: var(--transition-smooth);
}

.logo-desc {
  display: flex;
  flex-direction: column;
}

.logo-desc .title-main {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.scrolled-dark .logo-desc .title-main {
  color: var(--text-light);
}

.logo-desc .title-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 1px;
}

/* Nav Links */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff; /* Default to white for transparent nav over dark video */
  position: relative;
  padding-block: 0.5rem;
}

.header-nav.scrolled .nav-link {
  color: var(--text-dark); /* Turn dark green when scrolled down */
}

.scrolled-dark .nav-link {
  color: var(--text-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.header-nav.scrolled .nav-link:hover,
.header-nav.scrolled .nav-link.active {
  color: var(--primary-light);
}

.scrolled-dark .nav-link:hover {
  color: var(--accent);
}

/* Language and Contact Quick Bar */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switch {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4); /* Light border by default */
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  color: #ffffff; /* White text by default */
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-fast);
}

.header-nav.scrolled .lang-switch {
  color: var(--primary);
  border-color: var(--primary-light);
}

.scrolled-dark .lang-switch {
  color: var(--text-light);
  border-color: rgba(255,255,255,0.2);
}

.lang-switch.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
}

.lang-switch:hover {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

/* Hamburger Menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.hamburger span {
  width: 100%;
  height: 2.5px;
  background-color: #ffffff; /* White spans by default */
  transition: var(--transition-fast);
  border-radius: 2px;
}

.header-nav.scrolled .hamburger span {
  background-color: var(--text-dark); /* Turn dark green when scrolled down */
}

.scrolled-dark .hamburger span {
  background-color: var(--text-light);
}

/* Mobile Menu open states */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 0;
    inset-inline-end: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-light);
    flex-direction: column;
    padding: 8rem 2rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    z-index: 1005;
    align-items: flex-start;
  }
  
  .nav-menu.open {
    inset-inline-end: 0;
  }
  
  .nav-menu .nav-link {
    color: var(--text-dark); /* Ensure mobile links are visible on light background */
  }
  
  .nav-menu .lang-switch {
    color: var(--primary); /* Ensure mobile buttons are visible on light background */
    border-color: var(--primary-light);
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-actions {
    display: none;
  }
  
  .nav-menu .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-top: auto;
  }
}

@media (min-width: 992px) {
  .nav-menu .nav-actions-mobile {
    display: none;
  }
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 26, 15, 0.9) 0%, rgba(18, 26, 15, 0.6) 50%, rgba(74, 107, 61, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-text-wrap {
  max-width: 780px;
}

.hero-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInDown 1s var(--transition-smooth);
}

.hero-logo-img {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.hero-logo-img.coat-arms {
  height: 90px;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 163, 115, 0.18);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.4rem 1.2rem;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--transition-smooth);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s var(--transition-smooth) 0.1s;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-light-muted);
  margin-bottom: 2.5rem;
  max-width: 650px;
  animation: fadeInUp 1s var(--transition-smooth) 0.2s;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s var(--transition-smooth) 0.3s;
}

/* Quick Stats Bar */
.stats-banner {
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  margin-top: -4rem;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(74, 107, 61, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  border-inline-end: 1px solid rgba(74, 107, 61, 0.15);
  padding-inline-end: 1rem;
}

.stat-item:last-child {
  border-inline-end: none;
}

@media (max-width: 767px) {
  .stat-item {
    border-inline-end: none;
    border-bottom: 1px solid rgba(74, 107, 61, 0.15);
    padding-bottom: 1.5rem;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* About Sections & Grid layouts */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-badge {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Features Cards Grid */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(74, 107, 61, 0.04);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(74, 107, 61, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background: var(--primary-alpha);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-link {
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  font-size: 0.9rem;
}

.card-link:hover {
  color: var(--accent-hover);
}

/* Dark Green Section */
.bg-dark-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.bg-dark-section h1,
.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4 {
  color: var(--text-light);
}

.bg-dark-section p {
  color: var(--text-light-muted);
}

.bg-dark-section .section-badge {
  color: var(--accent);
}

/* Glassmorphism Feature Block */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 991px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.feature-img-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
}

.feature-img-wrapper img {
  width: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.feature-img-wrapper:hover img {
  transform: scale(1.05);
}

.glass-badge {
  position: absolute;
  bottom: 2rem;
  inset-inline-start: 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-light);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-glass);
}

.glass-badge h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent) !important;
}

.glass-badge p {
  font-size: 0.85rem;
  margin-top: 0.2rem;
  font-weight: 500;
}

/* Sponsorship Tiers Grid */
.sponsor-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.sponsor-tier-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(74, 107, 61, 0.06);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.sponsor-tier-card.platinum {
  border: 2px solid var(--accent);
  position: relative;
}

.sponsor-tier-card.platinum::before {
  content: 'RECOMMENDED / الموصى به';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: var(--text-dark);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 1.2rem;
  border-radius: var(--border-radius-full);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.sponsor-tier-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.tier-badge {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem auto;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.platinum .tier-badge {
  background: linear-gradient(135deg, #e5e5e5 0%, #ffffff 100%);
  color: #7f8c8d;
}

.gold .tier-badge {
  background: linear-gradient(135deg, #ffe066 0%, #f5b041 100%);
  color: #7d6608;
}

.silver .tier-badge {
  background: linear-gradient(135deg, #bdc3c7 0%, #ecf0f1 100%);
  color: #5d6d7e;
}

.bronze .tier-badge {
  background: linear-gradient(135deg, #d35400 0%, #e59866 100%);
  color: #6e2c00;
}

.tier-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.tier-benefits {
  list-style: none;
  margin-bottom: 2.5rem;
  text-align: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.tier-benefits li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.tier-benefits li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}

.sponsor-tier-card .btn {
  margin-top: auto;
  width: 100%;
}

/* History Success Timeline */
.timeline-wrapper {
  max-width: 900px;
  margin-inline: auto;
  position: relative;
  padding-block: 2rem;
}

.timeline-wrapper::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  opacity: 0.3;
}

.timeline-item {
  padding: 1rem 3rem;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--bg-card);
  border: 4px solid var(--accent);
  top: 2rem;
  border-radius: 50%;
  z-index: 1;
}

.timeline-left {
  left: 0;
}

.timeline-right {
  left: 50%;
}

.timeline-right::after {
  left: -10px;
}

.timeline-content {
  padding: 2rem;
  background-color: var(--bg-card);
  position: relative;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(74, 107, 61, 0.05);
}

.timeline-year {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

@media (max-width: 767px) {
  .timeline-wrapper::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 5rem;
    padding-right: 1.5rem;
  }
  .timeline-item::after {
    left: 21px;
  }
  .timeline-right {
    left: 0%;
  }
  .timeline-right::after {
    left: 21px;
  }
}

/* Custom Multi-step Registration Wizard */
.wizard-box {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  border: 1px solid rgba(74, 107, 61, 0.05);
  max-width: 800px;
  margin-inline: auto;
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 3rem;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  background: var(--primary-alpha);
  height: 4px;
  width: 100%;
  top: 25px;
  left: 0;
  z-index: 1;
}

.wizard-step-indicator {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.wizard-step-indicator .circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--primary-alpha);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.wizard-step-indicator.active .circle {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
}

.wizard-step-indicator.complete .circle {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-dark);
}

.wizard-step-indicator .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.wizard-step-indicator.active .label {
  color: var(--primary);
}

.wizard-step-indicator.complete .label {
  color: var(--accent-hover);
}

.wizard-form-step {
  display: none;
}

.wizard-form-step.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .form-group-grid {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(74, 107, 61, 0.2);
  background-color: var(--bg-light);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 4px var(--primary-alpha);
}

.form-options-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-option-card {
  border: 2px solid var(--primary-alpha);
  border-radius: var(--border-radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.form-option-card:hover {
  border-color: var(--primary-light);
}

.form-option-card.selected {
  border-color: var(--accent);
  background: var(--primary-alpha);
}

.form-option-card input[type="radio"] {
  display: none;
}

.form-option-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.form-option-card .title {
  font-weight: 700;
  font-size: 1.05rem;
}

.form-option-card .desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(74, 107, 61, 0.1);
}

/* Contact Info & Forms */
.contact-split {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
}

@media (max-width: 991px) {
  .contact-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(74, 107, 61, 0.04);
}

.contact-card-icon {
  font-size: 1.5rem;
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-alpha);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-card-details p {
  font-size: 0.95rem;
  word-break: break-all;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.social-btn:hover {
  background: var(--accent);
  color: var(--text-dark);
  transform: translateY(-3px);
}

.map-container {
  height: 350px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e3eae0 0%, #cbd9c7 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.map-placeholder svg {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

/* Footer styles */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light-muted);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

html[lang="ar"] .footer-col h4::after {
  left: auto;
  right: 0;
}

.footer-desc {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.footer-links a:hover {
  color: var(--accent);
  padding-inline-start: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s var(--transition-smooth) forwards;
}

/* Placeholder decorative classes */
.logo-placeholder {
  background: var(--primary-alpha);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
}

.img-placeholder {
  background: var(--primary-alpha);
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 2px dashed rgba(74, 107, 61, 0.2);
}
