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

:root {
  --bg:          #ffffff;
  --bg2:         #f8faff;
  --bg3:         #f0fdf4;
  --surface:     #ffffff;
  --border:      #e2e8f0;
  --border-soft: #eef1f8;
  --text:        #1e293b;
  --muted:       #64748b;
  --light:       #94a3b8;
  --accent:      #3b5bdb;
  --accent2:     #16a34a;
  --accent-light:#dbeafe;
  --green:       #16a34a;
  --radius:      16px;
  --radius-sm:   10px;
  --nav-h:       72px;
  --font:        'Inter', system-ui, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:      0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 16px 48px rgba(59,91,219,0.12), 0 4px 16px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-soft), 0 4px 24px rgba(0,0,0,0.06);
}

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--text); }

.nav__cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}

.nav__cta:hover {
  background: var(--accent2) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(22,163,74,0.3);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   NAV RIGHT + LANGUAGE SWITCHER
   ============================================================ */
.nav__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  position: relative;
}

.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}

.lang-switcher__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.lang-switcher__btn svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.lang-switcher.open .lang-switcher__btn svg {
  transform: rotate(180deg);
}

.lang-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  list-style: none;
  overflow: hidden;
  min-width: 150px;
  z-index: 200;
}

.lang-switcher.open .lang-switcher__dropdown {
  display: block;
}

.lang-switcher__dropdown li { padding: 0; border: none; }

.lang-option {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-family: var(--font);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.lang-option:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.lang-option.active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-light);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-8px);
  opacity: 0;
  transition: all 0.3s;
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu ul { list-style: none; }
.mobile-menu li { padding: 0.75rem 0; border-bottom: 1px solid var(--border-soft); }
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu a { font-size: 1rem; font-weight: 500; color: var(--text); }

.mobile-lang {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--border-soft);
  margin-top: 0.25rem;
}

.mobile-lang .lang-option {
  display: inline-flex;
  width: auto;
  padding: 0.35rem 0.8rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  text-align: center;
}

.mobile-lang .lang-option.active {
  border-color: var(--accent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(59,91,219,0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59,91,219,0.38);
}

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

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 7rem 2rem;
}

.section:nth-child(even) {
  background: var(--bg2);
}

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

.section__header {
  margin-bottom: 4rem;
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.section__title em {
  font-style: italic;
  color: var(--accent);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--nav-h) 2rem 0;
  background: linear-gradient(160deg, #ffffff 0%, #f0fdf8 50%, #dcfce7 100%);
}

.hero__bg-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
}

/* Hero SVG shape animations */
.svg-shape--1 {
  animation: floatUp 8s ease-in-out infinite;
}
.svg-shape--2 {
  animation: floatUp 10s ease-in-out infinite reverse;
}
.svg-shape--3 {
  animation: floatSide 7s ease-in-out infinite;
}
.svg-shape--4 {
  animation: spinSlow 20s linear infinite;
  transform-origin: 80px 480px;
}

.svg-dot-float--1 {
  animation: floatUp 5s ease-in-out infinite;
}
.svg-dot-float--2 {
  animation: floatUp 7s ease-in-out infinite 1s;
}
.svg-dot-float--3 {
  animation: floatSide 6s ease-in-out infinite 0.5s;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes floatSide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(12px); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero__inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--nav-h));
  padding: 3rem 0 5rem;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.hero__tag-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.1); }
}

.hero__name {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero__name em {
  font-style: italic;
  color: var(--accent);
}

.hero__title {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.hero__title strong { color: var(--accent); font-weight: 600; }

.hero__sub {
  font-size: 1rem;
  color: var(--light);
  margin-bottom: 2.25rem;
  max-width: 420px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero__badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero__badges span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid #bfdbfe;
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.04em;
}

/* Photo area */
.hero__photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__photo-ring {
  position: absolute;
  width: 360px;
  height: 360px;
  pointer-events: none;
}

.hero__photo-ring svg { width: 100%; height: 100%; }

.hero__photo-frame {
  width: 280px;
  height: 340px;
  border-radius: 140px 140px 100px 100px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255,255,255,0.9);
  position: relative;
  z-index: 1;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Floating info cards */
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 2;
  white-space: nowrap;
}

.hero__float--1 {
  top: 20%;
  left: -20px;
  animation: floatUp 5s ease-in-out infinite;
}

.hero__float--2 {
  bottom: 20%;
  right: -20px;
  animation: floatUp 6s ease-in-out infinite 1s;
}

.hero__float-icon {
  color: var(--accent);
  font-size: 0.9rem;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 1;
}

.hero__scroll span {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light);
}

.hero__scroll-line {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   WAVE DIVIDER
   ============================================================ */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about__text p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.85;
}

.about__text strong { color: var(--text); font-weight: 600; }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent2);
  vertical-align: top;
  line-height: 1.4;
}

.stat-card p {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* Chart */
.about__chart {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.chart-svg { width: 100%; }

.chart-bar {
  transition: y 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chart-line {
  transition: stroke-dashoffset 1.5s ease;
}

.chart-arrow {
  transition: stroke-dashoffset 0.6s ease;
}

.chart-dot {
  opacity: 0;
  transition: opacity 0.3s;
}

.chart-caption {
  font-size: 0.75rem;
  color: var(--light);
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================================
   VENTURES
   ============================================================ */
.ventures { background: var(--bg3); }

.ventures__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.venture-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
}

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

.venture-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%);
  border-color: #c7d2fe;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 1.5rem;
}

.venture-card--featured .venture-card__icon { grid-row: 1; grid-column: 1; }
.venture-card--featured .venture-card__badge { grid-row: 1; grid-column: 2; align-self: center; }
.venture-card--featured h3 { grid-row: 2; grid-column: 2; }
.venture-card--featured .venture-card__location { grid-row: 3; grid-column: 2; align-self: start; }
.venture-card--featured .venture-card__desc { grid-row: 4; grid-column: 2; }
.venture-card--featured .venture-card__link { grid-row: 5; grid-column: 2; }

.venture-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.venture-card__icon svg { width: 100%; height: 100%; }

.venture-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: 50px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.6rem;
}

.venture-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.venture-card__location {
  font-size: 0.8rem;
  color: var(--light);
  margin-bottom: 0.75rem;
}

.venture-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.venture-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.venture-card__link:hover { gap: 0.5rem; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.timeline__era {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: 50px;
  display: inline-block;
  padding: 0.3rem 1rem;
  margin-bottom: 1.75rem;
}

.timeline__items {
  position: relative;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.timeline__items::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}

.timeline__item {
  position: relative;
}

.timeline__dot {
  position: absolute;
  left: -2.2rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg2);
  transition: all 0.3s;
}

.timeline__dot--active {
  background: var(--accent);
  border-color: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(59,91,219,0.12);
}

.timeline__content {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.timeline__content:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.timeline__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.timeline__content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.timeline__company {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.timeline__date {
  font-size: 0.75rem;
  color: var(--light);
  white-space: nowrap;
  background: var(--bg2);
  border: 1px solid var(--border-soft);
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  flex-shrink: 0;
}

.timeline__story {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.timeline__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.timeline__tags span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.18rem 0.65rem;
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills { background: var(--bg2); }

.skills__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.skills__sub {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Skill tags */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  transition: all 0.2s;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s, border-color 0.2s, color 0.2s;
}

.skill-tag.animated {
  opacity: 1;
  transform: translateY(0);
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.skill-tag--primary {
  color: var(--accent);
  background: var(--accent-light);
  border-color: #bfdbfe;
  font-weight: 600;
}

/* Language bars */
.lang-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.lang-item {}

.lang-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.45rem;
}

.lang-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.lang-level {
  font-size: 0.75rem;
  color: var(--light);
}

.lang-bar {
  height: 6px;
  background: var(--bg3);
  border-radius: 50px;
  overflow: hidden;
}

.lang-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Globe */
.globe-wrap {
  text-align: center;
  padding: 1rem 0;
}

.globe-svg {
  width: 130px;
  height: 130px;
  margin: 0 auto;
  display: block;
}

.globe-caption {
  font-size: 0.75rem;
  color: var(--light);
  margin-top: 0.5rem;
}

/* ============================================================
   EDUCATION
   ============================================================ */
.edu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.edu__card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.edu__card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.edu__year-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--light);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.2rem 0.65rem;
}

.edu__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}

.edu__icon svg { width: 100%; height: 100%; }

.edu__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
  line-height: 1.3;
  padding-right: 5rem;
}

.edu__degree {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.edu__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.edu__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.edu__tags span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: 50px;
  padding: 0.18rem 0.65rem;
}

.edu__schools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.edu__card--school {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.edu__card--school:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.edu__card--school .edu__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.edu__card--school .edu__body h3 {
  font-size: 0.9rem;
  padding-right: 4rem;
}

.edu__card--school .edu__degree {
  font-size: 0.78rem;
  margin-bottom: 0;
}

.edu__card--school .edu__year-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  top: 0.75rem;
  right: 0.75rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: linear-gradient(160deg, #f0fdf8 0%, #dcfce7 100%);
}

.contact__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.contact__bg-svg {
  position: absolute;
  inset: -3rem;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--radius);
}

.contact__bg-svg svg { width: 100%; height: 100%; }

.contact__text {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

.contact__text .section__tag { margin-bottom: 1rem; }

.contact__text p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: 1.25rem;
  line-height: 1.8;
}

.contact__links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}

.contact__link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact__link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59,91,219,0.18);
}

.contact__link--primary {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(59,91,219,0.3);
}

.contact__link--primary:hover {
  background: var(--accent2) !important;
  border-color: var(--accent2) !important;
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(22,163,74,0.35) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  background: var(--bg);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.footer p {
  font-size: 0.825rem;
  color: var(--light);
}

.footer__domain {
  font-weight: 500;
  color: var(--muted);
}

/* ============================================================
   SOCIAL LIFE
   ============================================================ */
.social__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.social__card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.social__card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.social__card-icon svg {
  width: 48px;
  height: 48px;
}

.social__card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.social__card-body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* Map */
.social__map-wrap {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.social__map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.social__map-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.social__map-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.social__map {
  padding: 1rem;
}

.social__map svg {
  width: 100%;
  height: auto;
  display: block;
}

.social__map-legend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.78rem;
  color: var(--muted);
}

.social__legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.social__legend-dot--home {
  background: var(--accent2);
  width: 10px;
  height: 10px;
}

/* Map tooltip */
.map-tooltip {
  position: absolute;
  background: var(--text);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translate(-50%, -130%);
}
.map-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom: none;
  border-top-color: var(--text);
}

@media (max-width: 900px) {
  .social__cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .social__cards { grid-template-columns: 1fr; }
  .social__map-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 3rem;
    padding-bottom: 4rem;
  }

  .hero__photo-wrap {
    order: -1;
    justify-content: center;
  }

  .hero__photo-frame {
    width: 220px;
    height: 260px;
  }

  .hero__photo-ring {
    width: 280px;
    height: 280px;
  }

  .hero__float--1 { left: 5%; }
  .hero__float--2 { right: 5%; }

  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .ventures__grid { grid-template-columns: 1fr; }
  .venture-card--featured { grid-column: span 1; grid-template-columns: 1fr; }
  .venture-card--featured .venture-card__icon,
  .venture-card--featured .venture-card__badge,
  .venture-card--featured h3,
  .venture-card--featured .venture-card__location,
  .venture-card--featured .venture-card__desc,
  .venture-card--featured .venture-card__link { grid-column: 1; grid-row: auto; }
  .edu__grid { grid-template-columns: 1fr; }
  .edu__schools-grid { grid-template-columns: 1fr; }
  .skills__grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .footer .container { flex-direction: column; text-align: center; }
  .contact__links { flex-direction: column; align-items: center; }
  .timeline__header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .section { padding: 5rem 1.25rem; }
  .hero { padding-left: 1.25rem; padding-right: 1.25rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hero__float { display: none; }
}

/* ============================================================
   RTL — Arabic support
   ============================================================ */
[dir="rtl"] body { font-family: 'Segoe UI', Tahoma, 'Arial', var(--font); }

[dir="rtl"] .nav__inner { flex-direction: row-reverse; }
[dir="rtl"] .nav__links { flex-direction: row-reverse; }
[dir="rtl"] .nav__right { flex-direction: row-reverse; }

[dir="rtl"] .lang-switcher__dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-option { text-align: right; }

[dir="rtl"] .mobile-lang { flex-direction: row-reverse; }

[dir="rtl"] .hero__inner { direction: rtl; }
[dir="rtl"] .hero__meta { flex-direction: row-reverse; }
[dir="rtl"] .hero__actions { flex-direction: row-reverse; }

[dir="rtl"] .about__grid { direction: rtl; }
[dir="rtl"] .about__text { text-align: right; }

[dir="rtl"] .section-header { direction: rtl; text-align: right; }
[dir="rtl"] .section-header::before { right: 0; left: auto; }

[dir="rtl"] .ventures__grid { direction: rtl; }

[dir="rtl"] .timeline { direction: rtl; }
[dir="rtl"] .timeline__items { padding-left: 0; padding-right: 2rem; }
[dir="rtl"] .timeline__items::before { left: auto; right: 5px; }
[dir="rtl"] .timeline__dot { left: auto; right: -2.2rem; }
[dir="rtl"] .timeline__header { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .timeline__period { text-align: right; }

[dir="rtl"] .skills__grid { direction: rtl; }
[dir="rtl"] .skill-tags { flex-direction: row-reverse; flex-wrap: wrap; }
[dir="rtl"] .lang-item { flex-direction: row-reverse; }
[dir="rtl"] .lang-item__info { text-align: right; }
[dir="rtl"] .lang-bar { direction: ltr; } /* keep bar fill going left-to-right */

[dir="rtl"] .edu__grid { direction: rtl; }
[dir="rtl"] .edu__card { text-align: right; }
[dir="rtl"] .edu__card--school { flex-direction: row-reverse; }
[dir="rtl"] .edu__year-badge { right: auto; left: 1rem; }
[dir="rtl"] .edu__card--school .edu__year-badge { right: auto; left: 0.75rem; }
[dir="rtl"] .edu__tags { flex-direction: row-reverse; }

[dir="rtl"] .contact { text-align: right; }
[dir="rtl"] .contact__links { flex-direction: row-reverse; }

[dir="rtl"] .footer .container { flex-direction: row-reverse; }

[dir="rtl"] .stat-card { text-align: right; }
[dir="rtl"] .stats-grid { direction: rtl; }

[dir="rtl"] .social__cards { direction: rtl; }
[dir="rtl"] .social__card-body { text-align: right; }
[dir="rtl"] .social__map-header { flex-direction: row-reverse; }
[dir="rtl"] .social__map-legend { flex-direction: row-reverse; }

@media (max-width: 768px) {
  [dir="rtl"] .footer .container { flex-direction: column; text-align: center; }
  [dir="rtl"] .contact__links { flex-direction: column; align-items: center; }
  [dir="rtl"] .timeline__items { padding-left: 0; padding-right: 1.5rem; }
}
