/* AAMCO Website — Brand Stylesheet
   Built on AAMCO Brand Spec v2
   Colors: Navy #0F1E33, Gold #C9A96E, Orange #E07B00
   Fonts: SIF Headline, SIF Text, Vazirmatn (Arabic)
*/

/* ===== Fonts ===== */
@font-face {
  font-family: 'SIF Headline';
  src: url('../fonts/SIFHeadline.ttf') format('truetype');
  font-weight: bold;
  font-display: swap;
}
@font-face {
  font-family: 'SIF Text';
  src: url('../fonts/SIFText.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.ttf') format('truetype');
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.ttf') format('truetype');
  font-weight: bold;
  font-display: swap;
}

/* ===== Variables ===== */
:root {
  --navy: #0F1E33;
  --navy-light: #1a2d4a;
  --gold: #C9A96E;
  --gold-dark: #A88D65;
  --orange: #E07B00;
  --gray-dark: #374151;
  --gray: #6B7280;
  --gray-light: #D1D5DB;
  --bg: #FAFAFA;
  --body: #1A1A1A;
  --white: #FFFFFF;
  --cream: #FAF9F6;
  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'SIF Text', 'Inter', sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'SIF Headline', 'Montserrat', sans-serif;
  font-weight: bold;
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: 2.8rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }

.eyebrow {
  font-family: 'SIF Headline', 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.section-intro {
  max-width: 700px;
  color: var(--gray);
  margin-bottom: 2.5rem;
}

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
section {
  padding: 5rem 0;
}
section.dark {
  background: var(--navy);
  color: var(--white);
}
section.dark h1, section.dark h2, section.dark h3 { color: var(--white); }
section.dark .eyebrow { color: var(--gold); }

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}
header.scrolled {
  background: rgba(15, 30, 51, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'SIF Headline', 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 1px;
}
.nav-logo .nav-symbol { height: 32px; width: auto; }
.nav-logo span { color: var(--gold); }
.nav-logo .gold-dot { color: var(--white); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.lang-toggle {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  transition: var(--transition);
}
.lang-toggle:hover {
  background: var(--gold);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(201,169,110,0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(201,169,110,0.05) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hero .eyebrow {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hero h1 .gold { color: var(--gold); }
.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.8rem;
  font-family: 'SIF Headline', 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201,169,110,0.3);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.hero-symbol {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  opacity: 0.12;
}

/* ===== Services — Pillars ===== */
.pillar-block {
  margin-bottom: 2.5rem;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
}
/* Pillar-specific border colors */
#pillar-1 { border-left-color: var(--navy); }
#pillar-2 { border-left-color: var(--orange); }
#pillar-3 { border-left-color: var(--gold); }
#pillar-4 { border-left-color: var(--navy); }
#pillar-5 { border-left-color: var(--gold); }

.pillar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.pillar-num {
  font-family: 'SIF Headline', 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: bold;
  background: rgba(201,169,110,0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}
/* Pillar-specific number colors matching border */
#pillar-1 .pillar-num { color: var(--navy); background: rgba(15,30,51,0.08); }
#pillar-2 .pillar-num { color: var(--orange); background: rgba(224,123,0,0.1); }
#pillar-3 .pillar-num { color: var(--gold); background: rgba(201,169,110,0.1); }
#pillar-4 .pillar-num { color: var(--navy); background: rgba(15,30,51,0.08); }
#pillar-5 .pillar-num { color: var(--gold); background: rgba(201,169,110,0.1); }
.pillar-header h3 {
  font-size: 1.4rem;
  margin: 0;
}

.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.service-item {
  background: var(--cream);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 10px;
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
}
.service-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(15,30,51,0.06);
  transform: translateY(-2px);
}
.svc-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  background: rgba(201,169,110,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-icon svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}
/* Pillar-specific icon colors */
#pillar-1 .svc-icon svg { color: var(--navy); }
#pillar-1 .svc-icon { background: rgba(15,30,51,0.08); }
#pillar-2 .svc-icon svg { color: var(--orange); }
#pillar-2 .svc-icon { background: rgba(224,123,0,0.1); }
#pillar-3 .svc-icon svg { color: var(--gold); }
#pillar-3 .svc-icon { background: rgba(201,169,110,0.1); }
#pillar-4 .svc-icon svg { color: var(--navy); }
#pillar-4 .svc-icon { background: rgba(15,30,51,0.08); }
#pillar-5 .svc-icon svg { color: var(--gold); }
#pillar-5 .svc-icon { background: rgba(201,169,110,0.1); }
.service-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
  padding-right: 2rem;
}
.service-item p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== Service Lifecycle — Vertical Timeline ===== */
.lifecycle-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
}
.lifecycle-title {
  font-family: 'SIF Headline', 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.lifecycle-intro {
  color: var(--gray);
  font-size: 0.95rem;
  max-width: 650px;
  margin-bottom: 2.5rem;
}
.lifecycle-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lc-phase {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
.lc-phase:last-child {
  padding-bottom: 0;
}
.lc-phase-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.lc-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'SIF Headline', 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  border: 2px solid var(--gold);
  z-index: 1;
}
.lc-phase:nth-child(even) .lc-num {
  background: var(--orange);
}
.lc-line {
  width: 2px;
  flex: 1;
  background: var(--gray-light);
  margin-top: 0.5rem;
  min-height: 30px;
}
.lc-phase-content {
  padding-top: 0.3rem;
  padding-bottom: 0.5rem;
}
.lc-phase-content h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lc-phase-desc {
  color: var(--gray-dark);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}
.lc-phase-services {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  background: rgba(201,169,110,0.08);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  display: inline-block;
}
html[dir="rtl"] .lc-phase { flex-direction: row-reverse; direction: rtl; align-items: flex-start; justify-content: flex-start; }
html[dir="rtl"] .lc-phase-marker { order: 2; margin-right: 0; }
html[dir="rtl"] .lc-phase-content { order: 1; text-align: right; padding-top: 0.5rem; flex: 1; }

/* ===== Founder Section ===== */
.founder-section {
  margin-bottom: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,169,110,0.15);
}
.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}
.founder-image {
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 14px;
  padding: 2.5rem 1.5rem;
}
.founder-image img {
  width: 140px;
  margin-bottom: 1.2rem;
}
.founder-name-en {
  font-family: 'SIF Headline', 'Montserrat', sans-serif;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: bold;
}
.founder-name-ar {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 0.25rem;
}
.founder-role {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.founder-bio {
  padding-top: 0.5rem;
}
.founder-bio p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 1rem;
}



/* ===== Three Dimensions ===== */
.dimensions-section {
  margin-bottom: 3rem;
}
.dim-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.dim-section-header .eyebrow {
  margin-bottom: 0.4rem;
}
.dim-section-header h3 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.dim-section-header p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
}

.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dim-card {
  background: var(--cream);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  border-top: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
}
.dim-navy { border-top-color: var(--navy); }
.dim-orange { border-top-color: var(--orange); }
.dim-gold { border-top-color: var(--gold); }

.dim-label {
  font-family: 'SIF Headline', 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.dim-navy .dim-label { color: var(--navy); }
.dim-orange .dim-label { color: var(--orange); }
.dim-gold .dim-label { color: var(--gold); }

.dim-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
}
.dim-navy .dim-icon { color: var(--navy); }
.dim-orange .dim-icon { color: var(--orange); }
.dim-gold .dim-icon { color: var(--gold); }
.dim-icon svg { width: 100%; height: 100%; }

.dim-card h4 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.dim-card p {
  color: var(--gray-dark);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}
.dim-focus {
  display: block;
  background: rgba(15,30,51,0.05);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Why AAMCO — 2x2 Grid with Icons ===== */
.why-section {
  margin-bottom: 3rem;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--cream);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 12px;
  padding: 2rem;
  border-left: 5px solid var(--gold);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.value-card:nth-child(1) { border-left-color: var(--gold); }
.value-card:nth-child(2) { border-left-color: var(--navy); }
.value-card:nth-child(3) { border-left-color: var(--orange); }
.value-card:nth-child(4) { border-left-color: var(--gold); }

.value-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,169,110,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-card:nth-child(1) .value-icon { background: rgba(201,169,110,0.12); }
.value-card:nth-child(2) .value-icon { background: rgba(15,30,51,0.08); }
.value-card:nth-child(3) .value-icon { background: rgba(224,123,0,0.1); }
.value-card:nth-child(4) .value-icon { background: rgba(201,169,110,0.12); }

.value-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}
.value-card:nth-child(2) .value-icon svg { color: var(--navy); }
.value-card:nth-child(3) .value-icon svg { color: var(--orange); }

.value-content h4 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.value-content p {
  color: var(--gray-dark);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ===== Sectors — White Cards ===== */
.sectors-section {
  margin-bottom: 2rem;
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sector-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.sector-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(15,30,51,0.08);
  transform: translateY(-2px);
}
.sector-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,169,110,0.1);
  border-radius: 50%;
}
.sector-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}
.sector-card h4 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.sector-card p {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0;
}



/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(201,169,110,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item .label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-item .value {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 500;
}
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--gray-light);
}
.contact-form .form-group {
  margin-bottom: 1.2rem;
}
.contact-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; justify-content: center; }

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-brand .nav-logo .nav-symbol { }
.footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-bottom .tagline { color: var(--gold); font-style: italic; }

/* ===== RTL / Arabic ===== */
html[dir="rtl"] body { font-family: 'Vazirmatn', 'SIF Text', sans-serif; direction: rtl; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6 { font-family: 'Vazirmatn', 'SIF Headline', sans-serif; text-align: right; letter-spacing: 0; text-transform: none; }
html[dir="rtl"] p { text-align: right; }
html[dir="rtl"] .eyebrow { font-family: 'Vazirmatn', 'SIF Headline', sans-serif; direction: rtl; text-align: right; letter-spacing: 0; text-transform: none; font-weight: bold; }
html[dir="rtl"] .pillar-num { font-family: 'Vazirmatn', 'SIF Headline', sans-serif; }
html[dir="rtl"] .lc-num { font-family: 'Vazirmatn', 'SIF Headline', sans-serif; }

/* Layout direction */
html[dir="rtl"] .container { direction: rtl; text-align: right; }
html[dir="rtl"] .section-body { direction: rtl; }
html[dir="rtl"] .sections-container { direction: rtl; }
html[dir="rtl"] .section-header { direction: rtl; text-align: right; }
html[dir="rtl"] .section-header > div { text-align: right; direction: rtl; }
html[dir="rtl"] .section-header h2 { text-align: right; }
html[dir="rtl"] .section-header .eyebrow { text-align: right; }
html[dir="rtl"] .section-header .toggle-icon { margin-left: 0; margin-right: 0; }
html[dir="rtl"] .section-intro { text-align: right; }

/* Nav */
html[dir="rtl"] .nav-bar { flex-direction: row-reverse; }
html[dir="rtl"] .nav-logo { flex-direction: row-reverse; }
html[dir="rtl"] .nav-links { flex-direction: row-reverse; }

/* Hero */
html[dir="rtl"] .hero-content { direction: rtl; text-align: right; }
html[dir="rtl"] .hero h1 { text-align: right; }
html[dir="rtl"] .hero p { text-align: right; }
html[dir="rtl"] .hero-buttons { flex-direction: row-reverse; }

/* Pillars */
html[dir="rtl"] .pillar-block { border-left: none; border-right: 4px solid var(--gold); padding-left: 0; padding-right: 1.5rem; }
html[dir="rtl"] #pillar-1 { border-right-color: var(--navy); }
html[dir="rtl"] #pillar-2 { border-right-color: var(--orange); }
html[dir="rtl"] #pillar-3 { border-right-color: var(--gold); }
html[dir="rtl"] #pillar-4 { border-right-color: var(--navy); }
html[dir="rtl"] #pillar-5 { border-right-color: var(--gold); }
html[dir="rtl"] .service-items { direction: rtl; }
html[dir="rtl"] .svc-icon { right: auto; left: 1rem; }
html[dir="rtl"] .service-item h4 { padding-right: 0; padding-left: 2rem; }

/* Dimensions */
html[dir="rtl"] .dimensions-grid { direction: rtl; }
html[dir="rtl"] .dim-card { text-align: right; direction: rtl; }
html[dir="rtl"] .dim-section-header { direction: rtl; text-align: center; }
html[dir="rtl"] .dim-section-header h3 { text-align: center; }
html[dir="rtl"] .dim-section-header p { text-align: center; }
html[dir="rtl"] .dim-focus { text-align: center; }

/* Founder */
html[dir="rtl"] .founder-card { direction: rtl; }
html[dir="rtl"] .founder-bio p { text-align: right; }

/* Value props */
html[dir="rtl"] .value-grid { direction: rtl; }
html[dir="rtl"] .value-card { flex-direction: row-reverse; }
html[dir="rtl"] .value-content { text-align: right; }

/* Sectors */
html[dir="rtl"] .sectors-grid { direction: rtl; }
html[dir="rtl"] .sector-card { text-align: center; direction: rtl; }

/* Lifecycle */
html[dir="rtl"] .lifecycle-timeline { direction: rtl; }
html[dir="rtl"] .lifecycle-title { text-align: right; }
html[dir="rtl"] .lifecycle-intro { text-align: right; margin-left: auto; }

/* Contact */
html[dir="rtl"] .contact-item { flex-direction: row-reverse; }
html[dir="rtl"] .contact-form { text-align: right; }
html[dir="rtl"] .contact-form label { text-align: right; }

/* Footer */
html[dir="rtl"] .footer-grid { text-align: right; }
html[dir="rtl"] .footer-col a { text-align: right; }
html[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }


/* ===== Responsive ===== */
@media (max-width: 968px) {
  .dimensions-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-card { grid-template-columns: 1fr; gap: 2rem; }
  .founder-image { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-symbol { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-top: 1px solid rgba(201,169,110,0.15);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  section { padding: 3rem 0; }
  .container { padding: 0 1.2rem; }

  .lc-num { width: 36px; height: 36px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .sectors-grid { grid-template-columns: 1fr; }
  .service-items { grid-template-columns: 1fr; }
  .value-card { flex-direction: column; gap: 0.8rem; }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Expandable Sections ===== */
.sections-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.expand-section {
  margin-bottom: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  background: var(--white);
  transition: var(--transition);
}
.expand-section.dark {
  background: var(--navy);
  border-color: rgba(201,169,110,0.2);
}
.expand-section:hover {
  box-shadow: 0 4px 20px rgba(15,30,51,0.08);
}
.section-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: var(--transition);
}
.section-header.dark {
  color: var(--white);
}
.section-header:hover { background: rgba(201,169,110,0.04); }
.section-header .eyebrow { margin-bottom: 0.4rem; }
.section-header h2 { font-size: 1.6rem; margin: 0; }
.section-header.dark h2 { color: var(--white); }
.section-header .toggle-icon {
  font-size: 2rem;
  color: var(--gold);
  transition: transform 0.3s ease;
  min-width: 30px;
  text-align: center;
}
.toggle-icon.rotated { transform: rotate(45deg); }

.section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 2.5rem;
}
.section-body.open {
  max-height: 6000px;
  padding: 0 2.5rem 2.5rem;
}
.section-body.dark { color: rgba(255,255,255,0.8); }
.section-body.dark .contact-item .value { color: var(--white); }
.section-body.dark .contact-item .label { color: rgba(255,255,255,0.5); }