/* =============================================
   آثار القابضة - Main Stylesheet
   ============================================= */

/* Google Fonts - Tajawal (Arabic) */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
  --primary: #1a2b5e;
  --primary-dark: #0d1738;
  --primary-light: #253a7a;
  --accent: #3ecfca;
  --accent-dark: #2ab5b0;
  --accent-light: #6ddbd7;
  --gold: #c8a96e;
  --gold-light: #dfc18e;
  --white: #ffffff;
  --off-white: #f4f6fb;
  --text-dark: #1a2b5e;
  --text-muted: #6b7a99;
  --text-body: #374060;
  --border: #e0e7f0;
  --shadow: 0 4px 24px rgba(26, 43, 94, 0.10);
  --shadow-lg: 0 8px 40px rgba(26, 43, 94, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --navbar-h: 80px;
  --font: 'Tajawal', sans-serif;
}

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

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

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  direction: rtl;
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== Typography Scale ===== */
h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.3;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.35;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.75;
}

/* ===== Utility Classes ===== */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-pad {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

.text-gold {
  color: var(--gold);
}

.text-white {
  color: var(--white);
}

.bg-primary {
  background: var(--primary);
}

.bg-off {
  background: var(--off-white);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.8);
}

.title-bar {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
  margin: 12px auto 32px;
}

.title-bar.right {
  margin: 12px 0 32px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(62, 207, 202, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-ghost:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== Navbar ===== */
#navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: var(--primary);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  transition: background 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(13, 23, 56, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo img {
  height: 75px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

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

.nav-cta .btn {
  padding: 10px 22px;
  font-size: 0.95rem;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* ===== Page Hero Banner ===== */
.page-hero {
  position: relative;
  padding: calc(var(--navbar-h) + 60px) 0 60px;
  background: var(--primary);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.breadcrumb {
  margin-top: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 8px;
}

/* ===== Hero Section (Homepage) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--primary-dark);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      rgba(13, 23, 56, 0.92) 0%,
      rgba(13, 23, 56, 0.70) 55%,
      rgba(13, 23, 56, 0.30) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 0;
}

.hero-tag {
  display: inline-block;
  background: rgba(62, 207, 202, 0.18);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.hero-content h1 .accent {
  color: var(--accent);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== About Section ===== */
.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.about-img img {
  width: 100%;
  height: 635px;
  object-fit: cover;
}

.about-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 60%;
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  transform: translate(16px, 16px);
  z-index: -1;
}

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.vm-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 20px;
  border-right: 3px solid var(--accent);
  transition: var(--transition);
}

.vm-card:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-3px);
}

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

.vm-card:hover p {
  color: rgba(255, 255, 255, 0.82);
}

.vm-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.vm-card h4 svg {
  color: var(--accent);
  flex-shrink: 0;
}

.vm-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  transition: var(--transition);
}

/* ===== Values Section ===== */
.values-section {
  background: var(--off-white);
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  border-bottom: 3px solid transparent;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
  border-bottom-color: var(--accent);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(62, 207, 202, 0.15), rgba(200, 169, 110, 0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.value-icon-2 {
  width: 470px;
  text-align: right;
}

/* ===== Paths / مسارات أثرنا ===== */
.paths-section {
  background: var(--primary);
  padding: 80px 0;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.path-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 3px solid transparent;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.path-card:hover {
  background: rgba(62, 207, 202, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
  border-bottom-color: var(--accent);
  transform: translateY(-4px);
}

.path-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(62, 207, 202, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.path-icon svg {
  width: 28px;
  height: 28px;
}

.path-card h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.path-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== Companies Section ===== */
.companies-section {
  padding: 80px 0;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.company-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-bottom: 3px solid transparent;
}

.company-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
  border-bottom-color: var(--accent);
}

.company-logo {
  height: 80px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.company-logo img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

.company-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.company-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
}

.company-card .btn {
  margin-top: 20px;
  align-self: flex-start;
}

/* ===== Board Members - Flip Cards ===== */
.board-section {
  background: var(--off-white);
  padding: 80px 0;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.flip-card {
  perspective: 1000px;
  height: 400px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.flip-front {
  background: var(--white);
  box-shadow: var(--shadow);
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(30%);
  transition: filter 0.3s;
}

.flip-card:hover .flip-front img {
  filter: grayscale(0%);
}

.flip-front-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(13, 23, 56, 0.95), transparent);
  padding: 32px 20px 20px;
  color: var(--white);
}

.flip-front-label h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.flip-front-label span {
  font-size: 0.88rem;
  color: var(--accent);
  display: block;
  margin-top: 4px;
}

.flip-back {
  background: var(--primary);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
}

.flip-back h4 {
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.flip-back .role {
  color: var(--gold);
  font-size: 0.88rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.flip-back p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  line-height: 1.7;
  overflow-y: auto;
  max-height: 270px;
}

.flip-back p::-webkit-scrollbar {
  width: 3px;
}

.flip-back p::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

/* ===== Stats / إنجازاتنا ===== */
.stats-section {
  background: var(--primary);
  padding: 70px 0;
}

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

.stat-item h3 {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* ===== Partners ===== */
.partners-section {
  padding: 60px 0;
  background: var(--off-white);
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}

.partners-logos img {
  height: 200px;
  width: auto;
  object-fit: contain;
  filter: grayscale(80%);
  opacity: 0.6;
  transition: var(--transition);
}

.partners-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== Future Section ===== */
.future-section {
  padding: 80px 0;
  background: #132356;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.future-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: var(--transition);
}

.future-card:hover {
  background: rgba(62, 207, 202, 0.1);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.future-card h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 10px;
}

.future-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== Company Detail (our-companies page) ===== */
.company-detail {
  padding: 80px 0;
}

.company-detail:nth-child(even) {
  background: var(--off-white);
}

.company-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.company-detail-grid.reverse {
  direction: ltr;
}

.company-detail-grid.reverse>* {
  direction: rtl;
}

.company-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.company-detail-img img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  padding: 32px;
  background: var(--white);
}

.company-detail .company-logo-big {
  margin-bottom: 24px;
}

.company-detail .company-logo-big img {
  max-height: 90px;
}

.features-list {
  margin-top: 24px;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.65;
}

.features-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.tag-label {
  display: inline-block;
  background: rgba(62, 207, 202, 0.12);
  color: var(--accent-dark);
  border: 1px solid rgba(62, 207, 202, 0.3);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ===== Strategic Goals ===== */
.goals-section {
  padding: 80px 0;
  background: var(--off-white);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.goal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid var(--accent);
}

.goal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.goal-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: rgba(62, 207, 202, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.goal-icon svg {
  width: 24px;
  height: 24px;
}

.goal-card h4 {
  color: var(--primary);
  font-size: 0.97rem;
  line-height: 1.5;
}

/* ===== Work Paths (About Page) ===== */
.work-paths {
  padding: 80px 0;
}

.work-paths-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.work-paths-list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--gold));
  border-radius: 1px;
}

.work-path-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  position: relative;
}

.path-num {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--accent);
}

.path-content {
  padding-top: 8px;
}

.path-content h4 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.path-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(62, 207, 202, 0.08);
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(62, 207, 202, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item-text strong {
  display: block;
  color: var(--primary);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.contact-item-text span {
  color: var(--text-body);
  font-size: 0.95rem;
}

/* ===== Form ===== */
.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form-box h3 {
  color: var(--primary);
  margin-bottom: 28px;
  font-size: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-body);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  direction: rtl;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(62, 207, 202, 0.15);
  background: var(--white);
}

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

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-submit {
  width: fit-content;
  padding: 12px 32px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  justify-content: center;
  margin-top: 8px;
}

/* ===== Strategic Goals Section ===== */
.goals-section {
  padding: 80px 0;
  background: var(--off-white);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.goal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  border-bottom: 3px solid transparent;
}

.goal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
  border-bottom-color: var(--accent);
}

.goal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(62, 207, 202, 0.15), rgba(200, 169, 110, 0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.goal-icon svg {
  width: 28px;
  height: 28px;
}

.goal-card h4 {
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.5;
}

/* ===== Jobs Page ===== */
.jobs-section {
  padding: 80px 0;
}

.jobs-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.jobs-intro h2 {
  color: var(--primary);
  margin-bottom: 16px;
}

.jobs-intro p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.jobs-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.jobs-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.jobs-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  grid-column: 1 / -1;
  margin-top: 0;
}

.jobs-form-box h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.jobs-form-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.97rem;
  line-height: 1.65;
}

/* File Upload */
.file-upload-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
  background: var(--off-white);
  transition: var(--transition);
}

.file-upload-label:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.file-upload-label svg {
  color: var(--accent);
  flex-shrink: 0;
}

input[type="file"] {
  display: none;
}

/* ===== Footer ===== */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 52px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-right: 4px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.65;
}

.newsletter-form {
  display: flex;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.newsletter-form input {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  direction: rtl;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-form button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-form button:hover {
  background: var(--accent-dark);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* ===== Horizontal VM Cards (homepage about) ===== */
.vm-card-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  border-right: 3px solid var(--accent);
  transition: var(--transition);
}

.vm-card-horizontal:hover {
  background: var(--primary);
  border-color: var(--gold);
}

.vm-card-horizontal:hover .vm-card-h-icon {
  background: rgba(62, 207, 202, 0.2);
  color: var(--accent);
}

.vm-card-horizontal:hover .vm-card-h-body h4 {
  color: var(--accent);
}

.vm-card-horizontal:hover .vm-card-h-body p {
  color: rgba(255, 255, 255, 0.82);
}

.vm-card-h-icon {
  width: 44px;
  height: 44px;
  background: rgba(62, 207, 202, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: var(--transition);
}

.vm-card-h-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  transition: var(--transition);
}

.vm-card-h-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  transition: var(--transition);
}

/* ===== Future card icon ===== */
.future-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(62, 207, 202, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.future-list {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.future-list li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  padding-right: 14px;
  position: relative;
  line-height: 1.5;
}

.future-list li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== English counter numbers ===== */
.counter-en {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  direction: ltr;
  display: inline-block;
}

/* ===== Values with side image (about-us page) ===== */
.values-with-image .values-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.values-image-col {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 43, 94, 0.18);
}

.values-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.values-with-image .value-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--off-white);
  border-right: 3px solid var(--accent);
  transition: var(--transition);
}

.values-with-image .value-card:hover {
  background: var(--primary);
  border-color: var(--gold);
}

.values-with-image .value-card:hover .value-icon {
  background: rgba(62, 207, 202, 0.2);
  color: var(--accent);
}

.values-with-image .value-card:hover h4 {
  color: var(--accent);
}

.values-with-image .value-card:hover p {
  color: rgba(255, 255, 255, 0.75);
}

.values-with-image .value-card .value-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(62, 207, 202, 0.1);
  color: var(--accent);
  transition: var(--transition);
}

.values-with-image .value-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  transition: var(--transition);
}

.values-with-image .value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  transition: var(--transition);
}

/* ===== Work Paths with side image ===== */
.work-paths-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.work-paths-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 43, 94, 0.18);
  position: sticky;
  top: 100px;
}

.work-paths-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .values-with-image .values-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-image-col {
    max-height: 360px;
  }

  .work-paths-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .work-paths-image {
    position: static;
  }
}

/* Scroll Animations */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 {
  transition-delay: 0.1s;
}

.animate-delay-2 {
  transition-delay: 0.2s;
}

.animate-delay-3 {
  transition-delay: 0.3s;
}

.animate-delay-4 {
  transition-delay: 0.4s;
}

.animate-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .company-detail-grid {
    grid-template-columns: 1fr;
  }

  .company-detail-grid.reverse {
    direction: rtl;
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-h: 68px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
    position: fixed;
    top: var(--navbar-h);
    right: 0;
    left: 0;
    background: var(--primary-dark);
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open a {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .vision-mission {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

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

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

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .newsletter-form {
    flex-wrap: wrap;
  }

  .newsletter-form input {
    flex: 1 1 100%;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }

  .newsletter-form button {
    flex: 1 1 100%;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }
}