/* ==========================================================================
   Abdalla Al-Swe Portfolio & Systems Showcase
   High-End Light Theme (Clean, Crisp, Harmonious & Compact Spacing)
   Typography: IBM Plex Sans Arabic & Plus Jakarta Sans (NO Cairo)
   ========================================================================== */

:root {
  /* Color Palette - Clean High-End Light Theme */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-input: #ffffff;

  --border-subtle: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-active: #059669;
  --border-glow: rgba(5, 150, 105, 0.2);

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-sub: #64748b;

  --primary: #059669;
  --primary-hover: #047857;
  --primary-glow: rgba(5, 150, 105, 0.18);
  --primary-soft: #ecfdf5;

  --accent-blue: #0284c7;
  --accent-soft-blue: #f0f9ff;
  --danger: #dc2626;

  /* Polished, Compact Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Subtle Crisp Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.06), 0 1px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 18px -4px rgba(15, 23, 42, 0.08);

  /* Modern Corporate Typography */
  --font-arabic: 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
  --font-latin: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-arabic);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

body[dir="ltr"] {
  font-family: var(--font-latin);
}

/* Subtle Ambient Accents */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.bg-glow-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.15) 0%, rgba(2, 132, 199, 0.08) 100%);
}

.bg-glow-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -80px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(5, 150, 105, 0.05) 100%);
}

/* Layout Utilities (Compact Rhythm) */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 3rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.8rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-avatar-mini {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary) 0%, #047857 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-xs);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-icon:hover {
  background: var(--bg-surface-elevated);
  color: var(--primary);
  border-color: var(--primary);
}

.mobile-only {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-secondary {
  background: #ffffff;
  border-color: var(--border-subtle);
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-hover);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-muted);
}

.btn-outline:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

/* Hero Section (Compact & Sleek) */
.hero-section {
  padding: 3rem 0 2rem;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  background: #059669;
  border-radius: 50%;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.greeting {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-sub);
  display: block;
  margin-bottom: 0.15rem;
}

.name-gradient {
  color: var(--text-main);
  background: linear-gradient(135deg, #0f172a 20%, var(--primary) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.hero-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.social-icon:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Avatar Card (Refined, no huge bubbly borders) */
.avatar-card-wrapper {
  position: relative;
  max-width: 310px;
  margin: 0 auto;
}

.avatar-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1.15;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: var(--transition);
}

.floating-badge:hover {
  border-color: var(--primary);
}

.floating-badge i {
  font-size: 1.2rem;
  color: var(--primary);
}

.badge-top-right {
  top: 10px;
  right: -15px;
}

.badge-bottom-left {
  bottom: 15px;
  left: -15px;
}

.float-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.float-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--text-sub);
}

/* Stats Bar Section */
.stats-section {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-subtle);
}

.stat-card:last-child {
  border-right: none;
}

[dir="ltr"] .stat-card {
  border-right: none;
  border-left: 1px solid var(--border-subtle);
}

[dir="ltr"] .stat-card:first-child {
  border-left: none;
}

.stat-value {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
  font-family: var(--font-latin);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-sub);
  font-weight: 600;
}

/* Projects Section */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.filter-tab {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 6px var(--primary-glow);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.25rem;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-xs);
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.project-card.featured {
  border-color: rgba(5, 150, 105, 0.4);
  background: linear-gradient(180deg, #ffffff 0%, rgba(5, 150, 105, 0.02) 100%);
}

.project-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.project-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.project-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.project-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--text-main);
}

.project-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.project-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  color: var(--text-sub);
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
}

.btn-live {
  flex-grow: 1;
  background: var(--primary);
  color: #ffffff;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-live:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Experience Timeline (Compact & Clean) */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 15px;
  width: 2px;
  background: var(--border-subtle);
}

[dir="ltr"] .timeline::before {
  right: auto;
  left: 15px;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
  padding-right: 45px;
}

[dir="ltr"] .timeline-item {
  padding-right: 0;
  padding-left: 45px;
}

.timeline-dot {
  position: absolute;
  right: 9px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  z-index: 2;
}

[dir="ltr"] .timeline-dot {
  right: auto;
  left: 9px;
}

.timeline-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.timeline-role {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.timeline-period {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
}

.timeline-company {
  font-size: 0.88rem;
  color: var(--accent-blue);
  font-weight: 700;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.skill-category-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.skill-category-card:hover {
  border-color: var(--primary);
}

.skill-cat-title {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.skill-cat-title i {
  color: var(--primary);
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skill-chip {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.skill-chip:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
}

/* Contact Section */
.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-blue) 100%);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.contact-header {
  text-align: center;
  max-width: 550px;
  margin: 0 auto 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.contact-info-item:hover {
  border-color: var(--primary);
  background: #ffffff;
  transform: translateY(-1px);
}

.contact-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-sub);
}

.contact-val {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.65rem 0.85rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.88rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-textarea {
  resize: vertical;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.75rem 0;
  background: #ffffff;
}

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

.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  display: block;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-sub);
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-link:hover {
  color: var(--primary);
}

/* Admin Modal (Clean Light Styling) */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.admin-modal.open {
  display: flex;
}

.admin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
}

.admin-panel {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  z-index: 2;
  overflow: hidden;
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}

.admin-panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.admin-lock-screen {
  padding: 2.5rem 1.5rem;
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}

.lock-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}

.lock-sub {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 1.25rem;
}

.pin-input {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.4rem;
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.admin-content-view {
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-tabs {
  display: flex;
  gap: 0.35rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
  overflow-x: auto;
}

.admin-tab {
  background: transparent;
  border: none;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: var(--transition);
}

.admin-tab:hover, .admin-tab.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.pane-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-projects-list, .admin-exp-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-item-row {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-item-info h5 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.admin-item-info p {
  font-size: 0.78rem;
  color: var(--text-sub);
}

.admin-item-actions {
  display: flex;
  gap: 0.4rem;
}

/* Mobile Responsive */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 1000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

[dir="rtl"] .mobile-drawer {
  transform: translateX(-100%);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero-content {
    order: 2;
  }
  .hero-visual {
    order: 1;
  }
  .hero-cta, .hero-socials {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card {
    border: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .mobile-only {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 1.5rem 1rem;
  }
  .badge-top-right, .badge-bottom-left {
    display: none;
  }
}
