/* ============================================
   SHAZA FATIMA KHAWAJA - PERSONAL WEBSITE
   Color Palette:
   - Navy: #0f172a
   - Telecom Blue: #0284c7
   - Emerald: #059669
   - Off-White: #f8fafc
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --navy-dark: #0a0f1a;
  --blue: #0284c7;
  --blue-light: #38bdf8;
  --blue-dark: #0369a1;
  --emerald: #059669;
  --emerald-light: #34d399;
  --purple: #7c3aed;
  --off-white: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--gray-700);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 20px 0; position: relative; }

/* === TYPOGRAPHY === */
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(2,132,199,0.1), rgba(5,150,105,0.1));
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-title.left-align { text-align: left; }
.section-desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  box-shadow: 0 4px 14px rgba(2,132,199,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2,132,199,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248,250,252,0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-bottom-color: transparent;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.3s ease;
}
.navbar.scrolled .nav-container {
  height: 56px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-initials {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: white;
  letter-spacing: 1px;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(2,132,199,0.2);
}
.nav-brand:hover .brand-initials {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(2,132,199,0.3);
}
.navbar.scrolled .brand-initials {
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
  border-radius: 8px;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.2;
  transition: font-size 0.3s ease;
}
.brand-sub {
  font-size: 0.65rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.navbar.scrolled .brand-name { font-size: 0.95rem; }
.navbar.scrolled .brand-sub { font-size: 0.6rem; }

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}
.nav-links > li { display: flex; align-items: center; }
.nav-links > li > a {
  position: relative;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 6px 10px;
  line-height: 1.4;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color 0.25s ease, background 0.25s ease;
}
/* Underline slide-in on hover */
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 10px;
  right: 10px;
  height: 2px;
  border-radius: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links > li > a:hover {
  color: var(--blue);
  background: rgba(2,132,199,0.04);
}
.nav-links > li > a:hover::after {
  transform: scaleX(1);
}
/* Active state — gradient underline */
.nav-links > li > a.active {
  color: var(--navy);
  font-weight: 600;
  background: transparent;
}
.nav-links > li > a.active::after {
  transform: scaleX(1);
  height: 2.5px;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  bottom: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(135deg, var(--off-white) 0%, #e8f4fd 50%, #ecfdf5 100%);
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(2,132,199,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(5,150,105,0.05) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(124,58,237,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
  background: rgba(5,150,105,0.1);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 24px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { display: flex; justify-content: flex-end; }
.hero-stats-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.06);
  width: 100%;
  max-width: 420px;
}
.stats-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.stats-card-label { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.stats-card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--emerald);
  background: rgba(5,150,105,0.1);
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 1px;
}
.stats-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.mini-stat { display: flex; flex-direction: column; gap: 4px; }
.mini-stat-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(2,132,199,0.12), rgba(5,150,105,0.12));
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.mini-stat-icon svg { width: 14px; height: 14px; }
.mini-stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
}
.mini-stat-label { font-size: 0.8rem; color: var(--gray-400); font-weight: 500; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-300), transparent);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  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; }
}

/* === METRICS === */
.metrics-section { background: white; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.metric-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(2,132,199,0.15);
  border-color: rgba(2,132,199,0.3);
  background: white;
}
.metric-card:hover::before { transform: scaleX(1); }
.metric-card:hover .metric-icon {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(2,132,199,0.2);
}
.metric-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.metric-icon svg { width: 28px; height: 28px; }
.metric-icon.blue { background: rgba(2,132,199,0.1); color: var(--blue); }
.metric-icon.emerald { background: rgba(5,150,105,0.1); color: var(--emerald); }
.metric-icon.navy { background: rgba(15,23,42,0.1); color: var(--navy); }
.metric-icon.purple { background: rgba(124,58,237,0.1); color: var(--purple); }
.metric-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.metric-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(2,132,199,0.12), rgba(5,150,105,0.12));
  color: var(--blue);
  margin-bottom: 6px;
}
.metric-badge svg {
  width: 16px;
  height: 16px;
}
.metric-label { font-size: 0.9rem; color: var(--gray-500); font-weight: 500; margin-bottom: 8px; }
.metric-change {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-block;
}
.metric-change.positive { background: rgba(5,150,105,0.1); color: var(--emerald); }

/* === JOURNEY (Staggered Pin Board) === */
.timeline-section { background: var(--off-white); }

.journey-board {
  display: grid;
  gap: 0;
}

/* Year divider bar */
.journey-year-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 32px 0 18px;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 20px;
  position: relative;
}
.journey-year-bar::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 72px;
  height: 2px;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
}
.journey-year-bar:first-child { padding-top: 0; }
.year-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.year-tag {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.5px;
}

/* Pin grid */
.pin-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 8px;
}

/* Stagger: push even cards down for Pinterest feel */
.pin-grid .pin-card:nth-child(even) {
  margin-top: 28px;
}

.pin-card {
  background: white;
  border-radius: 12px;
  padding: 22px 20px 20px;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.pin-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}
.pin-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(2,132,199,0.12);
  border-color: rgba(2,132,199,0.2);
}
.pin-card:hover::before { transform: scaleX(1); }
.pin-card:hover .pin-date { color: var(--emerald); }

/* Year color accents on left border */
.pin-card[data-year="2024"] { border-left: 3px solid #0284c7; }
.pin-card[data-year="2025"] { border-left: 3px solid #059669; }
.pin-card[data-year="2026"] { border-left: 3px solid #7c3aed; }

.pin-date {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  transition: color 0.35s ease;
}
.pin-card[data-year="2024"] .pin-date { color: #0284c7; }
.pin-card[data-year="2025"] .pin-date { color: #059669; }
.pin-card[data-year="2026"] .pin-date { color: #7c3aed; }

.pin-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.pin-card p {
  font-size: 0.84rem;
  color: var(--gray-500);
  line-height: 1.65;
}
.pin-card p strong { color: var(--navy); }

/* === ABOUT === */
.about-section { background: white; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.about-portrait-frame { position: relative; }
.about-portrait-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 200 / 260;
  width: 100%;
}
.about-portrait-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-portrait-accent {
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--blue);
  border-radius: var(--radius-lg);
  opacity: 0.2;
  z-index: -1;
}
.about-badge-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
  border: 1px solid var(--gray-100);
}
.badge-card-icon svg { width: 40px; height: 40px; }
.about-badge-card strong { display: block; color: var(--navy); font-size: 1rem; }
.about-badge-card span { font-size: 0.85rem; color: var(--gray-400); }

.about-role {
  font-size: 1.15rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 24px;
}
.about-bio p {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}
.about-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.credential {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
}
.credential-icon { color: var(--emerald); font-size: 1.1rem; margin-top: 2px; }
.credential strong { display: block; color: var(--navy); font-size: 0.9rem; }
.credential span { font-size: 0.8rem; color: var(--gray-400); }

.about-quote {
  border-left: 4px solid var(--blue);
  padding: 24px;
  margin: 32px 0 0;
  background: linear-gradient(135deg, rgba(2,132,199,0.05), rgba(5,150,105,0.03));
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.about-quote p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 8px;
}
.about-quote cite {
  font-size: 0.85rem;
  color: var(--blue);
  font-style: normal;
  font-weight: 600;
}

/* === ACHIEVEMENTS === */
.achievements-section { background: var(--off-white); }
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.achievement-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.achievement-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 48px rgba(15,23,42,0.1);
  border-color: rgba(2,132,199,0.25);
}
.achievement-card:hover::before { transform: scaleX(1); }
.achievement-card:hover .achievement-number { color: var(--blue); }
.achievement-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gray-100);
  position: absolute;
  top: 16px;
  right: 20px;
  transition: color 0.35s ease;
  line-height: 1;
}
.achievement-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.achievement-icon svg { width: 22px; height: 22px; }
.achievement-icon.blue { background: rgba(2,132,199,0.1); color: var(--blue); }
.achievement-icon.emerald { background: rgba(5,150,105,0.1); color: var(--emerald); }
.achievement-icon.navy { background: rgba(15,23,42,0.1); color: var(--navy); }
.achievement-icon.purple { background: rgba(124,58,237,0.1); color: var(--purple); }
.achievement-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.achievement-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.achievement-card p strong { color: var(--navy); }

/* === EXPORT ENGINE === */
.exports-section { background: white; }
.exports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.export-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.export-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.export-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(2,132,199,0.12);
  border-color: rgba(2,132,199,0.2);
  background: white;
}
.export-card:hover::before { transform: scaleX(1); }
.export-card:hover .export-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(2,132,199,0.15);
}
.export-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.export-icon svg { width: 22px; height: 22px; }
.export-icon.blue { background: rgba(2,132,199,0.1); color: var(--blue); }
.export-icon.emerald { background: rgba(5,150,105,0.1); color: var(--emerald); }
.export-icon.navy { background: rgba(15,23,42,0.1); color: var(--navy); }
.export-icon.purple { background: rgba(124,58,237,0.1); color: var(--purple); }
.export-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.export-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.export-card p strong { color: var(--navy); }

/* === POLICY & LEGISLATION === */
.policy-section { background: white; }
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.policy-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-100);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.policy-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--blue), var(--emerald));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15,23,42,0.08);
  border-color: rgba(2,132,199,0.2);
  background: white;
}
.policy-card:hover::after { transform: scaleY(1); }
.policy-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.policy-icon svg { width: 24px; height: 24px; }
.policy-icon.blue { background: rgba(2,132,199,0.1); color: var(--blue); }
.policy-icon.emerald { background: rgba(5,150,105,0.1); color: var(--emerald); }
.policy-icon.navy { background: rgba(15,23,42,0.1); color: var(--navy); }
.policy-icon.purple { background: rgba(124,58,237,0.1); color: var(--purple); }
.policy-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.policy-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.policy-card p strong { color: var(--navy); }

/* === CONNECTIVITY REVOLUTION === */
.connectivity-section { background: var(--off-white); }
.connectivity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.connectivity-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.connectivity-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.connectivity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(2,132,199,0.12);
  border-color: rgba(2,132,199,0.2);
}
.connectivity-card:hover::before { transform: scaleX(1); }
.connectivity-card:hover .connectivity-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(2,132,199,0.15);
}
.connectivity-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.connectivity-icon svg { width: 22px; height: 22px; }
.connectivity-icon.blue { background: rgba(2,132,199,0.1); color: var(--blue); }
.connectivity-icon.emerald { background: rgba(5,150,105,0.1); color: var(--emerald); }
.connectivity-icon.navy { background: rgba(15,23,42,0.1); color: var(--navy); }
.connectivity-icon.purple { background: rgba(124,58,237,0.1); color: var(--purple); }
.connectivity-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.connectivity-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.conn-stat { display: flex; flex-direction: column; }
.conn-stat-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
}
.conn-stat-label {
  font-size: 0.7rem;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.connectivity-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* === GLOBAL PARTNERSHIPS === */
.global-section { background: white; }
.partnerships-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partnership-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.partnership-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.partnership-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(2,132,199,0.12);
  background: white;
  border-color: rgba(2,132,199,0.2);
}
.partnership-card:hover::before { transform: scaleX(1); }
.partnership-card:hover .partnership-logo {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(2,132,199,0.15);
}
.partnership-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: white;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.partnership-logo svg { width: 32px; height: 32px; }
.partnership-logo.ibi { color: #1e40af; }
.partnership-logo.sovereign { color: #7c3aed; }
.partnership-logo.alibaba { color: #ff6a00; }
.partnership-logo.kaspersky { color: #006d5b; }
.partnership-logo.microsoft { color: #00a4ef; }
.partnership-logo.veon { color: #e4002b; }
.partnership-logo.zte { color: #0067B9; }
.partnership-logo.starlink { color: #0B3D91; }
.partnership-logo.amazon { color: #FF9900; }
.partnership-logo.saudi { color: #006C35; }
.partnership-logo.go { color: #6C3AED; }
.partnership-logo.huawei { color: #cf0a2c; }
.partnership-logo.meta { color: #0668E1; }
.partnership-logo.tiktok { color: #010101; }
.partnership-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.partnership-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.partnership-details li {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.partnership-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}
.partnership-details li strong { color: var(--navy); }

/* === GALLERY & DOWNLOADS === */
.gallery-section { background: var(--off-white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.5), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.gallery-item:hover { box-shadow: 0 16px 32px rgba(15,23,42,0.15); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(to top, rgba(15,23,42,0.8), transparent);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-400);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-placeholder svg { width: 32px; height: 32px; transition: transform 0.35s ease; }
.gallery-placeholder span { font-size: 0.8rem; font-weight: 600; }
.gallery-item:hover .gallery-placeholder {
  background: linear-gradient(135deg, rgba(2,132,199,0.12), rgba(5,150,105,0.12));
  color: var(--blue);
}
.gallery-item:hover .gallery-placeholder svg { transform: scale(1.2); }

/* === NAV DROPDOWN (Downloads) === */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--gray-600);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 10px;
  right: 10px;
  height: 2px;
  border-radius: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-dropdown-toggle:hover {
  color: var(--blue);
  background: rgba(2,132,199,0.04);
}
.nav-dropdown-toggle:hover::after { transform: scaleX(1); }
.nav-dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 260px;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  list-style: none;
  z-index: 200;
  padding: 8px 0;
  margin-top: 10px;
  animation: dropdownFadeIn 0.2s ease;
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.15s ease;
}
.nav-dropdown-item:hover {
  background: rgba(2,132,199,0.06);
  color: var(--blue);
  padding-left: 24px;
}

/* === CONTACT === */
.contact-section { background: white; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-desc { font-size: 1rem; color: var(--gray-500); margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  background: rgba(2,132,199,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.contact-item-icon svg { width: 22px; height: 22px; }
.contact-item strong { display: block; color: var(--navy); font-size: 0.95rem; }
.contact-item span { font-size: 0.85rem; color: var(--gray-400); }

.portal-links { display: flex; flex-direction: column; gap: 12px; }
.portal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  border: 1px solid var(--gray-100);
}
.portal-link svg { width: 18px; height: 18px; color: var(--blue); }
.portal-link:hover { border-color: var(--blue); background: rgba(2,132,199,0.05); }

.contact-form-wrapper {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-100);
}
.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  background: white;
  transition: all 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.1);
}
.form-group textarea { resize: vertical; }

/* === FOOTER === */
.footer {
  background: var(--navy);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-brand { margin-bottom: 16px; }
.footer-brand .brand-name { color: white; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.4); }
.footer-initials {
  background: linear-gradient(135deg, var(--blue), var(--emerald));
}
.footer-tagline { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }

.footer-links h4 {
  font-family: var(--font-heading);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue-light); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* === 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);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-content: center; }
  .hero-stats-card { max-width: 100%; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .exports-grid { grid-template-columns: repeat(2, 1fr); }
  .pin-grid { grid-template-columns: repeat(2, 1fr); }
  .pin-grid .pin-card:nth-child(even) { margin-top: 18px; }
  .partnerships-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-grid { grid-template-columns: 1fr; }
  .connectivity-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-featured { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 9; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-100);
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { width: 100%; padding: 10px 12px; font-size: 0.9rem; }
  .nav-toggle { display: flex; }

  .hero-section { min-height: auto; padding: 120px 0 64px; }
  .hero-title { font-size: 2rem; }
  .hero-scroll-indicator { display: none; }

  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .achievements-grid { grid-template-columns: 1fr; }
  .exports-grid { grid-template-columns: 1fr; }
  .partnerships-grid { grid-template-columns: 1fr; }
  .connectivity-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-featured { grid-column: span 2; grid-row: span 1; }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    margin: 0;
    min-width: auto;
  }
  .nav-dropdown-menu li a { font-size: 0.8rem; padding: 6px 0; }

  .pin-grid { grid-template-columns: 1fr; }
  .pin-grid .pin-card:nth-child(even) { margin-top: 0; }

  .about-credentials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-featured { grid-column: span 1; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .stats-card-grid { grid-template-columns: 1fr; }
}
