/* ========================================
   TALHA ASIF — PERSONAL WEBSITE
   Design System & Global Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --teal:        #0D6E7A;
  --teal-dark:   #094E58;
  --teal-light:  #E8F4F6;
  --gold:        #C8963E;
  --gold-light:  #F9EDD6;
  --navy:        #1C2B4A;
  --navy-light:  #2D3F64;
  --off-white:   #F7F4EF;
  --white:       #FFFFFF;
  --charcoal:    #2D2D2D;
  --gray-mid:    #6B7280;
  --gray-light:  #E5E7EB;
  --border:      rgba(13,110,122,0.15);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;

  --shadow-sm:   0 2px 8px rgba(28,43,74,0.08);
  --shadow-md:   0 4px 20px rgba(28,43,74,0.12);
  --shadow-lg:   0 8px 40px rgba(28,43,74,0.18);

  --radius:      8px;
  --radius-lg:   16px;
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);

  --container:   1200px;
  --nav-height:  72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-dark); }
button { cursor: pointer; border: none; outline: none; font-family: var(--font-body); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }
p  { margin-bottom: 1.2rem; color: var(--charcoal); }

/* ---- Utilities ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-teal  { color: var(--teal); }
.text-gold  { color: var(--gold); }
.text-navy  { color: var(--navy); }
.text-center { text-align: center; }
.bg-off-white { background: var(--off-white); }
.bg-navy    { background: var(--navy); }
.bg-teal    { background: var(--teal); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--teal); color: var(--white);
  box-shadow: 0 4px 15px rgba(13,110,122,0.3);
}
.btn-primary:hover {
  background: var(--teal-dark); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,110,122,0.4);
}
.btn-outline {
  background: transparent; color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal); color: var(--white); transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold); color: var(--white);
  box-shadow: 0 4px 15px rgba(200,150,62,0.3);
}
.btn-gold:hover {
  background: #a97830; color: var(--white); transform: translateY(-2px);
}
.tag {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag-teal { background: var(--teal-light); color: var(--teal); }
.tag-gold { background: var(--gold-light); color: #8a6220; }
.tag-navy { background: rgba(28,43,74,0.1); color: var(--navy); }
.divider {
  width: 60px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  margin: 16px auto 0;
}
.divider-left { margin-left: 0; }

/* ---- Section Headers ---- */
.section-header { margin-bottom: 52px; }
.section-header .eyebrow {
  display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--gray-mid); max-width: 600px; font-size: 1.05rem; }

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height); background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
}
.nav-logo-img {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--teal);
}
.nav-logo-placeholder {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem;
  font-family: var(--font-display);
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; color: var(--navy); line-height: 1.1;
}
.nav-logo-title {
  font-size: 0.7rem; color: var(--gold); font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 6px; list-style: none;
}
.nav-links a {
  padding: 8px 14px; border-radius: 6px; font-size: 0.9rem;
  font-weight: 600; color: var(--charcoal); letter-spacing: 0.01em;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--teal); background: var(--teal-light);
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 6px;
  background: var(--off-white); border: 1px solid var(--border);
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
  cursor: pointer; transition: var(--transition);
}
.lang-toggle:hover { background: var(--teal-light); color: var(--teal); }
.nav-cta { display: none; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border-radius: 6px;
  background: transparent;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: var(--transition);
}
.mobile-menu {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg); z-index: 999; padding: 16px 24px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li { border-bottom: 1px solid var(--gray-light); }
.mobile-menu ul li a {
  display: block; padding: 14px 0; font-weight: 600; color: var(--charcoal); font-size: 1rem;
}
.mobile-menu ul li a:hover { color: var(--teal); }

/* ==========================================
   HERO SECTIONS
   ========================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #243650 50%, #1a3a4a 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-height);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230D6E7A' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: var(--container); margin: 0 auto;
  padding: 80px 24px;
}
.hero-eyebrow {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(200,150,62,0.2); border: 1px solid rgba(200,150,62,0.4);
  color: var(--gold); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 {
  color: var(--white); margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title-accent { color: var(--gold); display: block; }
.hero-subtitle {
  color: rgba(255,255,255,0.75); font-size: 1.1rem;
  max-width: 500px; margin-bottom: 32px; line-height: 1.7;
}
.hero-credentials {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px;
}
.credential-badge {
  padding: 6px 14px; border-radius: 20px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9); font-size: 0.8rem; font-weight: 600;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-photo-side { display: flex; justify-content: center; align-items: center; }
.hero-photo-frame {
  position: relative; width: 380px; height: 460px;
}
.hero-photo-frame::before {
  content: ''; position: absolute;
  top: -16px; right: -16px;
  width: 100%; height: 100%;
  border: 2px solid var(--gold); border-radius: var(--radius-lg);
  opacity: 0.4;
}
.hero-photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(13,110,122,0.3), rgba(28,43,74,0.5));
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.1);
}
.hero-photo-placeholder .initials {
  font-family: var(--font-display); font-size: 5rem; font-weight: 900;
  color: var(--white); opacity: 0.9; line-height: 1;
}
.hero-photo-placeholder .name-text {
  color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #243650);
  padding: calc(var(--nav-height) + 60px) 0 60px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230D6E7A' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: var(--white); position: relative; z-index: 1; }
.page-hero p  { color: rgba(255,255,255,0.7); position: relative; z-index: 1; max-width: 600px; margin: 16px auto 0; }

/* ==========================================
   STATS BAR
   ========================================== */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 28px 0;
  box-shadow: var(--shadow-sm);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-item { }
.stat-number {
  display: block; font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 900; color: var(--teal);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--gray-mid); font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; }

/* ==========================================
   ABOUT SNAPSHOT
   ========================================== */
.about-snapshot { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-snapshot img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-text p { color: var(--gray-mid); }
.about-highlights { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.highlight-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--off-white); border-left: 3px solid var(--teal);
}
.highlight-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--teal-light); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--teal); font-size: 1rem;
}
.highlight-text strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 2px; }
.highlight-text span { font-size: 0.83rem; color: var(--gray-mid); }

/* ==========================================
   EXPERIENCE CARDS
   ========================================== */
.experience-grid { display: flex; flex-direction: column; gap: 40px; }
.exp-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light); padding: 36px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  position: relative; overflow: hidden;
}
.exp-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: linear-gradient(180deg, var(--teal), var(--gold));
}
.exp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.exp-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.exp-org { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.exp-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.exp-dates {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  background: var(--teal-light); color: var(--teal);
  font-size: 0.78rem; font-weight: 700; white-space: nowrap;
}
.exp-project-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  background: var(--gold-light); color: #8a6220;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 16px;
}
.exp-body { margin-top: 16px; }
.exp-body p { color: var(--gray-mid); font-size: 0.95rem; margin-bottom: 0; }
.exp-projects { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.exp-project-tag {
  padding: 5px 12px; border-radius: var(--radius);
  background: var(--off-white); border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 600; color: var(--navy);
}
.exp-bullets { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.exp-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--gray-mid);
}
.exp-bullets li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0; margin-top: 8px;
}

/* ==========================================
   BLOG / POSTS
   ========================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-thumb {
  height: 180px; background: linear-gradient(135deg, var(--navy), var(--teal));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.blog-card-thumb .cat-icon { font-size: 3rem; opacity: 0.6; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.blog-date { font-size: 0.78rem; color: var(--gray-mid); }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--teal); }
.blog-card p { font-size: 0.88rem; color: var(--gray-mid); flex: 1; margin-bottom: 16px; }
.read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 700; color: var(--teal);
}
.read-more svg { width: 14px; transition: var(--transition); }
.read-more:hover svg { transform: translateX(4px); }

/* Category colors */
.cat-infra     .blog-card-thumb { background: linear-gradient(135deg, #0D6E7A, #1a8fa0); }
.cat-case      .blog-card-thumb { background: linear-gradient(135deg, #1C2B4A, #2D3F64); }
.cat-ot        .blog-card-thumb { background: linear-gradient(135deg, #7a0d0d, #a01a1a); }
.cat-geo       .blog-card-thumb { background: linear-gradient(135deg, #4a7a0d, #6aa01a); }
.cat-pmo       .blog-card-thumb { background: linear-gradient(135deg, #7a4a0d, #a06a1a); }
.cat-3d        .blog-card-thumb { background: linear-gradient(135deg, #4a0d7a, #6a1aa0); }
.cat-general   .blog-card-thumb { background: linear-gradient(135deg, #2D2D2D, #444); }

/* Blog category page header */
.cat-header {
  padding: 48px 0; margin-bottom: 0;
  border-bottom: 1px solid var(--gray-light);
}
.cat-header-inner {
  display: flex; align-items: center; gap: 24px;
}
.cat-icon-lg {
  width: 72px; height: 72px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal), var(--gold));
}
.cat-header h1 { font-size: 2rem; }
.cat-header p  { color: var(--gray-mid); margin: 0; font-size: 0.95rem; }

/* Blog filters */
.blog-filters {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 20px;
  border: 1px solid var(--gray-light);
  font-size: 0.85rem; font-weight: 600;
  background: var(--white); color: var(--charcoal);
  cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--teal); color: var(--white); border-color: var(--teal);
}

/* Single post */
.post-hero { padding: calc(var(--nav-height) + 48px) 0 48px; }
.post-hero .tag { margin-bottom: 16px; }
.post-hero h1 { max-width: 800px; }
.post-hero .post-meta {
  display: flex; align-items: center; gap: 24px;
  margin-top: 24px; color: rgba(255,255,255,0.7); font-size: 0.9rem;
}
.post-body { max-width: 800px; margin: 0 auto; }
.post-body h2 { margin: 40px 0 16px; }
.post-body h3 { margin: 30px 0 12px; }
.post-body p  { font-size: 1.05rem; color: #3d3d3d; line-height: 1.8; }
.post-body ul, .post-body ol { margin: 16px 0 24px 24px; }
.post-body li { font-size: 1.05rem; color: #3d3d3d; line-height: 1.7; margin-bottom: 6px; }
.post-keywords {
  margin-top: 40px; padding: 24px; border-radius: var(--radius);
  background: var(--off-white); border: 1px solid var(--border);
}
.post-keywords h4 { margin-bottom: 12px; }
.post-keywords-list { display: flex; flex-wrap: wrap; gap: 8px; }
.post-keywords-list span {
  padding: 4px 12px; border-radius: 20px;
  background: var(--white); border: 1px solid var(--border);
  font-size: 0.78rem; color: var(--gray-mid);
}

/* ==========================================
   CATEGORY NAV CARDS
   ========================================== */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-nav-card {
  border-radius: var(--radius-lg); padding: 28px 24px;
  text-align: center; transition: var(--transition);
  border: 1px solid var(--gray-light); background: var(--white);
  cursor: pointer; text-decoration: none;
}
.cat-nav-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-nav-card .icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.cat-nav-card h4 { font-size: 1rem; margin-bottom: 6px; color: var(--navy); }
.cat-nav-card span { font-size: 0.78rem; color: var(--gray-mid); }
.cat-nav-card.active, .cat-nav-card:hover { border-color: var(--teal); }

/* ==========================================
   SPEAKING SECTION
   ========================================== */
.speaking-topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.speaking-topic {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--gray-light);
  transition: var(--transition);
}
.speaking-topic:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.speaking-topic .icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--teal-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.speaking-topic h4 { margin-bottom: 8px; }
.speaking-topic p  { font-size: 0.88rem; color: var(--gray-mid); margin: 0; }

/* ==========================================
   TEACHING SECTION
   ========================================== */
.teaching-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light); padding: 32px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.teaching-card:hover { box-shadow: var(--shadow-md); }
.teaching-card-header {
  display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px;
}
.teaching-org-badge {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.teaching-meta { }
.teaching-org { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.teaching-role { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }
.teaching-dates { font-size: 0.8rem; color: var(--gray-mid); margin-top: 4px; }
.course-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.course-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--gray-mid);
}
.course-list li::before {
  content: '📖'; font-size: 0.85rem; margin-top: 1px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: var(--radius); background: var(--off-white);
  margin-bottom: 16px;
}
.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--teal); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-text strong { display: block; font-size: 0.85rem; color: var(--gray-mid); margin-bottom: 2px; }
.contact-info-text a, .contact-info-text span { color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.contact-form-wrapper {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 700;
  color: var(--navy); margin-bottom: 8px; letter-spacing: 0.02em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--gray-light); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--charcoal);
  transition: var(--transition); background: var(--white);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,110,122,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ==========================================
   ENTREPRENEURSHIP / TASK FORCE
   ========================================== */
.taskforce-card {
  background: linear-gradient(135deg, var(--navy), #243650);
  border-radius: var(--radius-lg); padding: 48px;
  color: var(--white); position: relative; overflow: hidden;
}
.taskforce-card::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230D6E7A' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.taskforce-inner { position: relative; z-index: 1; }
.taskforce-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(200,150,62,0.2); border: 1px solid rgba(200,150,62,0.4);
  color: var(--gold); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
}
.taskforce-card h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 12px; }
.taskforce-card p  { color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.taskforce-streams { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.stream-tag {
  padding: 8px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9); font-size: 0.82rem; font-weight: 600;
}
.taskforce-links { display: flex; gap: 16px; }

/* ==========================================
   LINKS BAR (Concept Dash, Digital Twin, PMO)
   ========================================== */
.links-bar {
  background: var(--off-white); border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light); padding: 20px 0;
}
.links-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.links-bar-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-mid);
}
.link-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 20px;
  background: var(--white); border: 1px solid var(--border);
  color: var(--navy); font-size: 0.85rem; font-weight: 600;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.link-pill:hover { border-color: var(--teal); color: var(--teal); box-shadow: var(--shadow-md); }
.link-pill svg { width: 14px; height: 14px; }

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: var(--navy); color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .nav-logo-name { color: var(--white); font-size: 1.2rem; }
.footer-brand .nav-logo-title { color: var(--gold); }
.footer-brand p {
  color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-top: 16px; margin-bottom: 20px;
}
.footer-social a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 6px;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8);
  font-size: 0.85rem; font-weight: 600;
}
.footer-social a:hover { background: var(--teal); color: var(--white); }
.footer-col h5 {
  color: var(--white); font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55); font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0; }

/* ==========================================
   ADMIN / CMS
   ========================================== */
.admin-body { background: #f0f2f5; min-height: 100vh; font-family: var(--font-body); }
.admin-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
}
.admin-login-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 48px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg);
}
.admin-header {
  background: var(--navy); padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.admin-header-title { color: var(--white); font-weight: 700; }
.admin-header a { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.admin-header a:hover { color: var(--gold); }
.admin-sidebar {
  width: 240px; background: var(--white); border-right: 1px solid var(--gray-light);
  min-height: calc(100vh - 64px); padding: 24px 0;
}
.admin-nav { list-style: none; }
.admin-nav li a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px; color: var(--charcoal); font-size: 0.9rem; font-weight: 600;
  transition: var(--transition); border-left: 3px solid transparent;
}
.admin-nav li a:hover, .admin-nav li a.active {
  background: var(--teal-light); color: var(--teal); border-left-color: var(--teal);
}
.admin-main { flex: 1; padding: 32px; }
.admin-layout { display: flex; }
.admin-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light); padding: 28px; box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: var(--off-white); padding: 12px 16px;
  text-align: left; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gray-mid); border-bottom: 1px solid var(--gray-light);
}
.admin-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--gray-light);
  font-size: 0.9rem; color: var(--charcoal);
}
.admin-table tr:hover td { background: var(--off-white); }
.admin-actions { display: flex; gap: 8px; }
.admin-btn {
  padding: 6px 14px; border-radius: var(--radius);
  font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.admin-btn-edit { background: var(--teal-light); color: var(--teal); }
.admin-btn-delete { background: #fee2e2; color: #dc2626; }

/* ==========================================
   ARABIC RTL SUPPORT
   ========================================== */
[lang="ar"], .rtl {
  direction: rtl; text-align: right;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}
[lang="ar"] .divider-left { margin-right: 0; margin-left: auto; }
[lang="ar"] .exp-card::before { right: 0; left: auto; }
[lang="ar"] .nav-links { flex-direction: row-reverse; }
[lang="ar"] .hero-credentials { flex-direction: row-reverse; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo-side { display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .speaking-topics-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-right .btn { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 60px 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .about-snapshot { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .speaking-topics-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .exp-header { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { display: none; }
  .taskforce-links { flex-direction: column; }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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