/* ═══════════════════════════════════════════════════════════════
   FJEG GLOBAL — Main Stylesheet
   Brand: Gold #C9A84C | Purple #4B2E83 | Green #1E5631 | Blue #1A3A5C
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C96A;
  --gold-dark:   #A07830;
  --purple:      #4B2E83;
  --purple-light:#6B4EA3;
  --purple-dark: #2E1A5C;
  --green:       #1E5631;
  --green-light: #2E7D45;
  --green-dark:  #0F2E1A;
  --blue:        #1A3A5C;
  --blue-light:  #2A5A8C;
  --blue-dark:   #0D1F33;
  --white:       #FFFFFF;
  --off-white:   #F8F6F0;
  --light-gray:  #F2F0EC;
  --mid-gray:    #888888;
  --dark:        #1A1A1A;
  --text:        #2C2C2C;
  --nav-h:       80px;
  --transition:  0.35s ease;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 30px rgba(0,0,0,0.12);
  --shadow-lg:   0 12px 50px rgba(0,0,0,0.18);
  --radius:      8px;
  --radius-lg:   16px;
}

/* ── Skip Link (Accessibility) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--dark);
  padding: 8px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── Focus Visible ── */
*:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { font-size: 1rem; line-height: 1.8; }

/* ── Utility Classes ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-purple { color: var(--purple); }
.text-green  { color: var(--green); }
.text-white  { color: var(--white); }
.bg-dark     { background: var(--dark); }
.bg-green    { background: var(--green); }
.bg-purple   { background: var(--purple); }
.bg-off-white{ background: var(--off-white); }
.bg-light    { background: var(--light-gray); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--mid-gray);
  max-width: 640px;
  margin: 0 auto 48px;
}
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  border-radius: 2px;
  margin: 16px auto 32px;
}
.divider-left { margin-left: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.5);
}
.btn-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(75,46,131,0.35);
}
.btn-purple:hover {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(75,46,131,0.5);
}
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card-body { padding: 28px; }

/* ══════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10, 20, 12, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 16px rgba(201,168,76,0.4);
}
.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.5px;
}
.nav-name span { color: var(--gold); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}
.nav-link.active {
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
}

/* ── Dropdown ── */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(10,20,12,0.97);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
  min-width: 180px;
  padding: 8px 0;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-link {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.dropdown-link:hover,
.dropdown-link.active { background: rgba(201,168,76,0.15); color: var(--gold); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
/* Language Toggle */
.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50px;
  overflow: hidden;
}
.lang-btn {
  padding: 6px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.lang-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  border-radius: 50px;
}
/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════
   HERO SLIDER
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
/* Stronger overlay for slides with text-heavy background images */
.hero-slide.slide-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5,12,7,0.88) 0%,
    rgba(30,20,60,0.82) 50%,
    rgba(10,25,45,0.85) 100%
  );
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,20,12,0.75) 0%,
    rgba(75,46,131,0.45) 50%,
    rgba(26,58,92,0.55) 100%
  );
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.hero-content-inner {
  max-width: 780px;
  margin-left: 8%;
  animation: heroFadeUp 1s ease forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid rgba(201,168,76,0.6);
  border-radius: 50px;
  background: rgba(201,168,76,0.1);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
/* Slider Controls */
.hero-controls {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}
.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}
.hero-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all var(--transition);
}
.hero-arrow:hover {
  background: rgba(201,168,76,0.3);
  border-color: var(--gold);
}
/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollAnim 2s ease infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ══════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(135deg, var(--green-dark), var(--purple-dark));
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-item {
  background: transparent;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ══════════════════════════════════════════════
   SERVICES GRID
   ══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(75,46,131,0.1));
  border: 1.5px solid rgba(201,168,76,0.25);
  color: var(--gold);
  transition: all var(--transition);
  line-height: 1;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  transform: scale(1.08);
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--dark);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.7;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; color: var(--gold-dark); }

/* ══════════════════════════════════════════════
   WHY CHOOSE FJEG
   ══════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.why-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 16px;
}
.why-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.why-badge-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.3;
}
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.why-item:hover .why-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
}
.why-item h4 { font-size: 1rem; margin-bottom: 4px; }
.why-item p  { font-size: 0.88rem; color: var(--mid-gray); }

/* ══════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--green-dark) 50%, var(--blue-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/community1.jpg') center/cover no-repeat;
  opacity: 0.08;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 36px; }

/* ══════════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════════ */
.page-hero {
  height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,12,0.5) 0%, rgba(75,46,131,0.7) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.page-hero h1 { color: var(--white); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
}
.footer-top {
  padding: 70px 0 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}
.footer-brand .nav-logo { width: 64px; height: 64px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  max-width: 300px;
}
.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.25);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  align-items: flex-start;
}
.footer-contact-item .icon {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* ══════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════ */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-intro-grid img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-6px); }
.value-card .icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.value-card p  { font-size: 0.88rem; color: var(--mid-gray); }

/* ══════════════════════════════════════════════
   SERVICES PAGE
   ══════════════════════════════════════════════ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--light-gray);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.service-detail-content h2 { margin-bottom: 16px; }
.service-detail-content p  { color: var(--mid-gray); margin-bottom: 16px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(75,46,131,0.08);
  color: var(--purple);
  border: 1px solid rgba(75,46,131,0.2);
}

/* ══════════════════════════════════════════════
   TEAM PAGE
   ══════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.team-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
}
.team-info { padding: 24px; }
.team-info h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-title {
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.team-bio { font-size: 0.88rem; color: var(--mid-gray); line-height: 1.7; }

/* ══════════════════════════════════════════════
   RESEARCH PAGE
   ══════════════════════════════════════════════ */
.research-list { display: flex; flex-direction: column; gap: 20px; }
.research-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.research-item:hover {
  border-left-color: var(--purple);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.research-item h4 { margin-bottom: 6px; font-size: 1rem; }
.research-item p  { font-size: 0.88rem; color: var(--mid-gray); }
.research-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tag-academic  { background: rgba(30,86,49,0.1); color: var(--green); }
.tag-consulting{ background: rgba(75,46,131,0.1); color: var(--purple); }
.tag-publication{ background: rgba(201,168,76,0.15); color: var(--gold-dark); }

/* ══════════════════════════════════════════════
   CAPABILITIES PAGE
   ══════════════════════════════════════════════ */
.capability-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.download-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.download-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}
.download-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.download-icon { font-size: 2.5rem; margin-bottom: 16px; }
.download-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.download-card p  { font-size: 0.88rem; color: var(--mid-gray); margin-bottom: 20px; }

/* ══════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}
.contact-info-block { display: flex; flex-direction: column; gap: 32px; }
.contact-office {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
}
.contact-office h3 { font-size: 1.1rem; margin-bottom: 16px; color: var(--purple); }
.contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.contact-row .icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--purple); background: var(--white); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .why-grid   { grid-template-columns: 1fr; gap: 40px; }
  .why-image-wrap img { height: 380px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-intro-grid img { height: 380px; }
  .capability-intro { grid-template-columns: 1fr; gap: 40px; }
  .service-detail   { grid-template-columns: 1fr; gap: 32px; }
  .service-detail.reverse { direction: ltr; }
  .service-detail img { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 60px 0; }

  /* ── Mobile Nav: constrain brand, hide tagline, show hamburger ── */
  .nav-inner {
    padding: 0 16px;
    gap: 0;
    justify-content: space-between;
  }
  .nav-brand {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 56px);
    overflow: hidden;
  }
  .nav-logo { width: 40px; height: 40px; flex-shrink: 0; }
  .nav-name { font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Hide desktop right controls; hamburger takes over */
  .nav-right { display: none; }
  .nav-toggle {
    display: flex;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }

  /* Mobile dropdown menu */
  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,20,12,0.98);
    padding: 16px 20px 24px;
    gap: 4px;
    border-top: 1px solid rgba(201,168,76,0.2);
    z-index: 999;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 12px 16px; font-size: 0.95rem; border-radius: 8px; }

  /* Language toggle inside mobile menu */
  .mobile-lang-row {
    display: flex;
    padding: 12px 16px 4px;
    border-top: 1px solid rgba(201,168,76,0.15);
    margin-top: 8px;
  }
  .mobile-lang-row .lang-toggle { display: flex; }

  /* Layout fixes */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .value-cards { grid-template-columns: 1fr 1fr; }
  .download-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-content-inner { margin-left: 0; }
  .hero-arrows { display: none; }
  .hero-scroll { display: none; }
  .page-hero { height: 280px; padding-bottom: 40px; }
  .why-badge { width: 100px; height: 100px; bottom: -12px; right: -12px; }
  .why-badge-num { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .value-cards { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .hero-cta    { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .contact-form-wrap { padding: 24px; }
}
