/* ==========================================================================
   SYED SAQIB EJAZ BUKHARI — PREMIUM EDITORIAL & SAAS PORTFOLIO
   Powered by Bootstrap 5.3 Grid + Fluid Viewport Typography & Div Scaling
   ========================================================================== */

:root {
  /* Surfaces */
  --bg-canvas: #FAF9F5;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F3F2EE;
  --bg-muted: #EAE8E1;
  --bg-dark-ink: #0F172A;
  --bg-dark-card: #1E293B;

  /* Typography Colors */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-on-dark: #F8FAFC;

  /* Accent Palette (Electric Cobalt Blue) */
  --accent: #1D4ED8;
  --accent-hover: #1E40AF;
  --accent-bright: #2563EB;
  --accent-soft: #EFF6FF;
  --accent-border: #BFDBFE;

  /* Semantic Status Colors */
  --emerald: #059669;
  --emerald-soft: #ECFDF5;
  --emerald-border: #A7F3D0;
  --amber: #D97706;
  --amber-soft: #FFFBEB;
  --danger: #DC2626;

  /* Borders & Shadows */
  --border-light: #E5E4DF;
  --border-strong: #CBD5E1;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.05);

  /* Typography Families */
  --font-sans: 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Sans Arabic', monospace;

  /* Auto-Adjusting Fluid Typography Scale (320px -> 1920px+) */
  --fs-2xs: clamp(0.64rem, 0.6rem + 0.15vw, 0.72rem);
  --fs-xs:  clamp(0.7rem,  0.66rem + 0.18vw, 0.78rem);
  --fs-sm:  clamp(0.78rem, 0.74rem + 0.22vw, 0.88rem);
  --fs-base: clamp(0.88rem, 0.83rem + 0.26vw, 1.02rem);
  --fs-md:  clamp(0.95rem, 0.88rem + 0.35vw, 1.15rem);
  --fs-lg:  clamp(1.06rem, 0.96rem + 0.5vw,  1.38rem);
  --fs-xl:  clamp(1.35rem, 1.12rem + 1.05vw, 2.25rem);
  --fs-2xl: clamp(1.6rem,  1.25rem + 1.65vw, 2.85rem);
  --fs-hero: clamp(1.85rem, 1.35rem + 2.5vw, 4.05rem);

  /* Layout & Fluid Spacing */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: clamp(10px, 1.2vw, 14px);
  --radius-lg: clamp(14px, 1.8vw, 20px);
  --radius-xl: clamp(18px, 2.4vw, 28px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE & BOOTSTRAP HARMONIZATION
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Fluid root font-size scales every rem unit smoothly across all screen sizes */
  font-size: clamp(14.5px, 13.8px + 0.22vw, 17px);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
}

/* Automatic balanced line wrapping for headings & paragraphs on any screen width */
h1, h2, h3, h4, h5, h6,
.hero-headline,
.section-title,
.project-title {
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

.container-xxl {
  max-width: var(--container-max);
  padding-left: clamp(0.95rem, 3vw, 2.25rem);
  padding-right: clamp(0.95rem, 3vw, 2.25rem);
}

::selection {
  background-color: var(--accent);
  color: #FFFFFF;
}

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* Skip to content for keyboard accessibility */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1.5rem;
  background: var(--accent);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  color: #FFFFFF;
}

/* Subtle Desktop Cursor Follower */
#cursor-halo {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  #cursor-halo {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(29, 78, 216, 0.28);
    background: rgba(29, 78, 216, 0.03);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9990;
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
                background-color 0.25s ease, border-color 0.25s ease;
  }

  body.cursor-interactive #cursor-halo {
    width: 48px;
    height: 48px;
    border-color: rgba(29, 78, 216, 0.5);
    background: rgba(29, 78, 216, 0.06);
  }
}

/* ==========================================================================
   10. NAVIGATION BAR (CLEAN, EDITORIAL, STICKY)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 249, 245, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-xs);
  background: rgba(255, 255, 255, 0.96);
}

.nav-container {
  padding: clamp(0.65rem, 1.2vw, 0.95rem) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.08rem);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: clamp(30px, 2.5vw, 35px);
  height: clamp(30px, 2.5vw, 35px);
  border-radius: 9px;
  background: var(--text-primary);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.brand-link:hover .brand-mark {
  background: var(--accent);
}

.nav-links {
  align-items: center;
  gap: 0.3rem;
  list-style: none;
}

.nav-item-link {
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease, background-color 0.2s ease;
  display: inline-block;
}

.nav-item-link:hover {
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.04);
}

.nav-item-link.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

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

.mobile-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: calc(100dvh - 58px);
  overflow-y: auto;
  background: var(--bg-canvas);
  z-index: 490;
  padding: 1.25rem clamp(1rem, 4vw, 2rem) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  border-top: 1px solid var(--border-light);
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.4rem;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-link.active {
  color: var(--accent);
}

.mobile-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.25rem;
}

/* ==========================================================================
   REUSABLE BUTTONS & TAGS (FLUID AUTO-SCALING)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: clamp(0.65rem, 1vw, 0.82rem) clamp(1.05rem, 1.8vw, 1.45rem);
  border-radius: 10px;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease,
              background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-align: center;
  line-height: 1.35;
}

.btn-sm {
  padding: clamp(0.45rem, 0.8vw, 0.56rem) clamp(0.85rem, 1.4vw, 1.05rem);
  font-size: var(--fs-xs);
  border-radius: 8px;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  border-color: var(--text-primary) !important;
  background: var(--bg-subtle) !important;
  color: var(--text-primary) !important;
  transform: translateY(-2px);
}

/* Section Layout Primitives */
.section {
  padding: clamp(3rem, 6.5vw, 6.25rem) 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  max-width: 740px;
  margin-bottom: clamp(2rem, 4.2vw, 3.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.68;
}

/* ==========================================================================
   2. HERO SECTION — TWO-COLUMN EDITORIAL & PRODUCT COMPOSITION
   ========================================================================== */
.hero-section {
  padding: clamp(2rem, 4.5vw, 4.25rem) 0 clamp(3rem, 5.5vw, 5.75rem);
  border-bottom: 1px solid var(--border-light);
  background:
    radial-gradient(circle at 85% 15%, rgba(29, 78, 216, 0.05) 0%, transparent 45%),
    var(--bg-canvas);
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: clamp(0.38rem, 0.7vw, 0.45rem) clamp(0.75rem, 1.2vw, 0.95rem);
  border-radius: 100px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
  max-width: 100%;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  position: relative;
  flex-shrink: 0;
}

.availability-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--emerald);
  opacity: 0.45;
  animation: pulseRing 2.2s infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero-name-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}

.hero-headline span {
  color: var(--accent);
}

.hero-lead {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 630px;
  margin-bottom: clamp(1.5rem, 2.8vw, 2.1rem);
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1vw, 0.65rem);
  padding-top: clamp(1.15rem, 2vw, 1.5rem);
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.hero-socials-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.social-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-secondary);
  padding: clamp(0.35rem, 0.6vw, 0.42rem) clamp(0.65rem, 1vw, 0.85rem);
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-link-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Right Column: Editorial Portrait & Product Composition */
.hero-composition {
  position: relative;
  max-width: 500px;
  width: 100%;
}

.portrait-editorial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(0.65rem, 1.5vw, 1rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.portrait-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.3;
  background: var(--bg-subtle);
  position: relative;
}

.portrait-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease-out);
}

.portrait-editorial-card:hover .portrait-image-frame img {
  transform: scale(1.02);
}

.portrait-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: clamp(0.65rem, 1.2vw, 0.95rem) 0.35rem 0.2rem;
  gap: 0.55rem;
}

.portrait-meta-bar h2 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.portrait-meta-bar p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.location-chip {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* Floating Architectural Product Badges */
.floating-product-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(0.65rem, 1.2vw, 0.85rem) clamp(0.8rem, 1.5vw, 1.05rem);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 4;
}

.static-badge-card {
  position: static !important;
  box-shadow: var(--shadow-sm);
}

.floating-card-top {
  top: 1.25rem;
  left: -1.5rem;
}

.floating-card-bottom {
  bottom: 5rem;
  right: -1.25rem;
}

.float-icon {
  width: clamp(34px, 3vw, 40px);
  height: clamp(34px, 3vw, 40px);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  flex-shrink: 0;
}

.float-copy span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.float-copy strong {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--text-primary);
}

/* ==========================================================================
   3. ABOUT ME — TELL MY REAL STORY (MULTIDISCIPLINARY NARRATIVE)
   ========================================================================== */
.about-narrative {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.35rem);
}

.about-narrative p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.75;
}

.about-narrative p.lead-paragraph {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.62;
}

.about-quote-box {
  margin-top: 0.25rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  border-left: 3px solid var(--accent);
  background: var(--bg-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-xs);
}

.about-quote-box p {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.about-quote-box span {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.discipline-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.discipline-icon {
  width: clamp(36px, 3vw, 42px);
  height: clamp(36px, 3vw, 42px);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  margin-bottom: 0.85rem;
}

.discipline-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.discipline-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   4. FEATURED PROJECTS — LARGE PREMIUM PRODUCT CARDS
   ========================================================================== */
.projects-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.8vw, 3.25rem);
}

.project-showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(1.15rem, 3.2vw, 2.85rem);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-showcase-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.project-meta-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.project-type-badge {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.68rem;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.project-role-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.project-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}

.project-description {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 1.25rem;
}

.project-features-heading {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.project-features-list {
  list-style: none;
  margin-bottom: 1.35rem;
}

.project-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--text-primary);
  font-weight: 500;
}

.project-features-list li i {
  color: var(--accent);
  margin-top: 0.26rem;
  font-size: var(--fs-xs);
  flex-shrink: 0;
}

.tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 500;
  padding: 0.26rem 0.62rem;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}

/* Client Web & Branding Archive Grid */
.client-archive-block {
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  padding-top: clamp(1.85rem, 3.5vw, 3rem);
  border-top: 1px solid var(--border-light);
}

.client-project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.client-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.client-date-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
}

.client-region-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  color: var(--text-muted);
}

.client-project-card h4 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.client-project-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.client-domain-pill {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  width: fit-content;
  max-width: 100%;
  word-break: break-word;
}

/* Education & Certifications Panels */
.credential-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2.8vw, 2.15rem);
  box-shadow: var(--shadow-sm);
}

.credential-panel-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.credential-panel-title i {
  color: var(--accent);
}

.credential-list {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.credential-item {
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--border-light);
}

.credential-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.credential-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.credential-item-head h4 {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-primary);
}

.credential-year {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.16rem 0.55rem;
  border-radius: 100px;
  white-space: nowrap;
}

.credential-inst {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* Visual Preview Mockup Frames */
.product-preview-stage {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(0.65rem, 1.8vw, 1.2rem);
  position: relative;
}

.browser-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.browser-bar {
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-light);
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #CBD5E1;
}

.browser-dots span:nth-child(1) { background: #FCA5A5; }
.browser-dots span:nth-child(2) { background: #FCD34D; }
.browser-dots span:nth-child(3) { background: #6EE7B7; }

.browser-address {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 0.18rem 0.6rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  word-break: break-all;
}

.browser-content {
  padding: clamp(0.8rem, 2vw, 1.3rem);
}

/* Mockup Internal UI Elements */
.mockup-header-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border-light);
}

.mockup-kpi-box {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: clamp(0.55rem, 1.2vw, 0.75rem);
}

.mockup-kpi-box span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.mockup-kpi-box strong {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--text-primary);
}

.mockup-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: clamp(0.55rem, 1.2vw, 0.7rem) clamp(0.65rem, 1.4vw, 0.85rem);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: var(--fs-xs);
  background: #FFFFFF;
}

.mockup-badge-ok {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  padding: 0.15rem 0.52rem;
  border-radius: 100px;
  background: var(--emerald-soft);
  color: var(--emerald);
  white-space: nowrap;
}

.mockup-badge-blue {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  padding: 0.15rem 0.52rem;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}

/* ==========================================================================
   7. UNIQUE INTERACTIVE SECTION — MUDEER OMAN MINI DASHBOARD & CODE INSPECTOR
   ========================================================================== */
.interactive-sandbox-shell {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sandbox-topbar {
  background: var(--bg-dark-ink);
  color: #FFFFFF;
  padding: clamp(0.8rem, 1.8vw, 1.15rem) clamp(0.95rem, 2.5vw, 1.75rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sandbox-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.sandbox-title-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: #93C5FD;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sandbox-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.sandbox-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E2E8F0;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sandbox-toggle-btn:hover,
.sandbox-toggle-btn.active {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: #FFFFFF;
}

.sandbox-body {
  padding: clamp(1rem, 2.8vw, 2rem);
}

.sandbox-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.filter-pills {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.filter-pill-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill-btn:hover,
.filter-pill-btn.active {
  background: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
}

.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.ticket-row-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: clamp(0.7rem, 1.5vw, 0.9rem) clamp(0.8rem, 1.8vw, 1.05rem);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--bg-surface);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  width: 100%;
}

.ticket-row-item:hover,
.ticket-row-item.selected {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.08);
  background: #F8FAFC;
}

.ticket-id-code {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.48rem;
  border-radius: 6px;
}

.ticket-device-info strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-primary);
}

.ticket-device-info span {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  color: var(--text-muted);
  word-break: break-word;
}

.ticket-price-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
}

/* Quick Add Simulator Form inside Sandbox */
.quick-ticket-adder {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: clamp(0.85rem, 1.8vw, 1.1rem);
}

.quick-ticket-adder h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 0.7rem;
}

.sandbox-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0.52rem 0.72rem;
  font-size: var(--fs-sm);
  outline: none;
}

.sandbox-input:focus {
  border-color: var(--accent);
}

/* Live Invoice & QR Receipt Preview Card */
.invoice-inspector-card {
  background: #F8FAFC;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  position: relative;
}

.invoice-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.7rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--border-strong);
  margin-bottom: 0.9rem;
}

.invoice-qr-box {
  width: clamp(48px, 4vw, 56px);
  height: clamp(48px, 4vw, 56px);
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: var(--text-primary);
}

.invoice-field-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  font-size: var(--fs-sm);
}

.invoice-field-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.3rem 0.65rem;
}

.invoice-field-row span {
  color: var(--text-muted);
}

.invoice-field-row strong {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  word-break: break-word;
}

/* Code Architecture View inside Sandbox */
.sandbox-code-view {
  display: none;
  background: var(--bg-dark-ink);
  color: #E2E8F0;
  border-radius: 14px;
  padding: clamp(0.9rem, 2.2vw, 1.45rem);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.65;
  overflow-x: auto;
}

.sandbox-code-view.active {
  display: block;
}

.sandbox-ui-view.hidden {
  display: none;
}

/* ==========================================================================
   5. SKILLS — PROFESSIONAL PRESENTATION (4 CATEGORIES)
   ========================================================================== */
.skill-domain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2.8vw, 2.15rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.skill-domain-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.skill-domain-icon {
  width: clamp(40px, 3.5vw, 48px);
  height: clamp(40px, 3.5vw, 48px);
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  flex-shrink: 0;
}

.skill-domain-header h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.skill-domain-desc {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

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

.skill-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: clamp(0.35rem, 0.6vw, 0.44rem) clamp(0.65rem, 1.1vw, 0.85rem);
  border-radius: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-primary);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.skill-tag-item i {
  color: var(--accent);
  font-size: var(--fs-xs);
}

.skill-domain-card:hover .skill-tag-item {
  background: #F8FAFC;
  border-color: var(--border-strong);
}

/* ==========================================================================
   6. EXPERIENCE & CAREER JOURNEY — ELEGANT EDITORIAL TIMELINE
   ========================================================================== */
.journey-timeline {
  display: flex;
  flex-direction: column;
  gap: clamp(1.1rem, 2.2vw, 1.65rem);
}

.journey-item {
  padding: clamp(1.2rem, 2.8vw, 2.15rem);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.journey-item:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}

.journey-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.journey-duration {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  width: fit-content;
}

.journey-location {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.38rem;
  margin-top: 0.15rem;
  word-break: break-word;
}

.journey-content h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.journey-org {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.journey-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.journey-points li {
  position: relative;
  padding-left: 1.15rem;
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.65;
}

.journey-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==========================================================================
   8. CONTACT SECTION — CLOSING CONVERSION EXPERIENCE
   ========================================================================== */
.contact-layout {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(1.2rem, 3.2vw, 3rem);
  box-shadow: var(--shadow-md);
}

.contact-direct-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.35rem 0;
}

.contact-card-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: clamp(0.75rem, 1.5vw, 0.95rem) clamp(0.85rem, 1.8vw, 1.15rem);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.contact-card-link:hover {
  border-color: var(--accent);
  background: #FFFFFF;
  transform: translateX(4px);
}

.contact-card-icon {
  width: clamp(38px, 3.2vw, 44px);
  height: clamp(38px, 3.2vw, 44px);
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  flex-shrink: 0;
}

.contact-card-copy {
  min-width: 0;
}

.contact-card-copy span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-card-copy strong {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  color: var(--text-primary);
  word-break: break-word;
}

/* Form Styling */
.contact-form-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 2.8vw, 2.15rem);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: clamp(0.65rem, 1.2vw, 0.78rem) clamp(0.8rem, 1.5vw, 0.98rem);
  font-size: var(--fs-base);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.form-control.has-error {
  border-color: var(--danger);
}

.field-error {
  font-size: var(--fs-xs);
  color: var(--danger);
  display: none;
}

.field-error.visible {
  display: block;
}

.form-feedback {
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  font-size: var(--fs-sm);
  font-weight: 500;
  display: none;
}

.form-feedback.success {
  display: block;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: #065F46;
}

/* ==========================================================================
   11. ATS CV PREVIEW MODAL & FOOTER
   ========================================================================== */
.cv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 1.5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.cv-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cv-modal-box {
  background: #FFFFFF;
  width: 100%;
  max-width: 880px;
  max-height: 92dvh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cv-modal-header {
  background: var(--bg-dark-ink);
  color: #FFFFFF;
  padding: clamp(0.75rem, 1.5vw, 1rem) clamp(0.95rem, 2vw, 1.35rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cv-modal-header h3 {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cv-modal-scroll {
  padding: clamp(1rem, 3vw, 2.5rem);
  overflow-y: auto;
  background: #FFFFFF;
}

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.35rem);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ==========================================================================
   RESPONSIVE REFINEMENTS FOR MOBILE TICKETS & TIMELINE
   ========================================================================== */
@media (max-width: 767.98px) {
  .journey-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .ticket-row-item {
    grid-template-columns: 1fr auto;
    gap: 0.45rem 0.75rem;
  }

  .ticket-device-info {
    grid-column: 1 / -1;
    order: 2;
  }

  .ticket-price-tag {
    grid-column: 1 / -1;
    order: 3;
  }

  .sandbox-controls {
    width: 100%;
  }

  .sandbox-toggle-btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .availability-pill {
    border-radius: 14px;
    line-height: 1.38;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   ARABIC (RTL) TYPOGRAPHY & DIRECTIONAL REFINEMENTS
   ========================================================================== */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: clamp(0.4rem, 0.8vw, 0.48rem) clamp(0.65rem, 1.2vw, 0.85rem);
  border-radius: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lang-switch-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

html[dir="rtl"] body {
  font-family: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', sans-serif;
}

html[dir="rtl"] .hero-headline,
html[dir="rtl"] .section-title,
html[dir="rtl"] .project-title,
html[dir="rtl"] .skill-domain-header h3,
html[dir="rtl"] .journey-content h3,
html[dir="rtl"] .discipline-card h3 {
  font-family: 'IBM Plex Sans Arabic', 'Space Grotesk', sans-serif;
  letter-spacing: 0;
}

html[dir="rtl"] .about-quote-box {
  border-left: none;
  border-right: 3px solid var(--accent);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

html[dir="rtl"] .journey-points li {
  padding-left: 0;
  padding-right: 1.15rem;
}

html[dir="rtl"] .journey-points li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .ticket-row-item {
  text-align: right;
}

html[dir="rtl"] .contact-card-link:hover {
  transform: translateX(-4px);
}

html[dir="rtl"] .fa-arrow-right {
  transform: scaleX(-1);
}
