/* ==========================================================================
   Abdullah Al Salman (Sallu) - Ultra-Modern Portfolio Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Color Palette - Cyber Dark Luxe (Default) */
  --bg-primary: #080c15;
  --bg-secondary: #0d1424;
  --bg-surface: #131b2e;
  --bg-card: rgba(19, 27, 46, 0.75);
  --bg-card-hover: rgba(26, 38, 64, 0.85);
  --bg-glass: rgba(13, 20, 36, 0.72);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(56, 189, 248, 0.3);
  --border-glow: rgba(56, 189, 248, 0.5);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #080c15;

  /* Accents */
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.25);
  --accent-blue: #3b82f6;
  --accent-violet: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #8b5cf6 100%);
  --grad-warm: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-dark-card: linear-gradient(145deg, rgba(25, 34, 58, 0.6) 0%, rgba(13, 20, 36, 0.8) 100%);
  --grad-glow-sphere: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-cyan-glow: 0 8px 30px rgba(56, 189, 248, 0.22);
  --shadow-card-glow: 0 0 35px -5px rgba(56, 189, 248, 0.12);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(248, 250, 252, 0.85);

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-card: rgba(15, 23, 42, 0.12);
  --border-accent: rgba(2, 132, 199, 0.3);
  --border-glow: rgba(2, 132, 199, 0.4);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #f8fafc;

  --accent-cyan: #0284c7;
  --accent-cyan-glow: rgba(2, 132, 199, 0.2);
  --accent-blue: #2563eb;
  --accent-violet: #7c3aed;

  --grad-primary: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  --grad-dark-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%);
  --grad-glow-sphere: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(124, 58, 237, 0.04) 50%, transparent 70%);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-cyan-glow: 0 8px 30px rgba(2, 132, 199, 0.15);
  --shadow-card-glow: 0 0 30px -5px rgba(2, 132, 199, 0.1);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background Lights */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
  will-change: transform;
}

.ambient-blob-1 {
  top: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-blob-2 {
  top: 40%;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.ambient-blob-3 {
  bottom: -150px;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
  animation: floatOrb 25s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-cyan { color: var(--accent-cyan) !important; }
.text-violet { color: var(--accent-violet) !important; }
.text-emerald { color: var(--accent-emerald) !important; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Glassmorphic Header & Navbar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.logo-bracket {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-primary);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
  transform: rotate(15deg);
}

.btn-hire-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: var(--grad-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-cyan-glow);
  transition: all var(--transition-fast);
}

.btn-hire-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem;
  z-index: 1;
}

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

/* Availability Badge */
.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  color: var(--accent-emerald);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.radar-dot {
  position: relative;
  width: 10px;
  height: 10px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
}

.radar-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent-emerald);
  border-radius: 50%;
  animation: pulseRadar 2s infinite;
}

@keyframes pulseRadar {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero-greeting {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.hero-name {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.hero-title-box {
  display: flex;
  align-items: center;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  min-height: 2.4rem;
}

.typewriter-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-display);
}

.typewriter-cursor {
  display: inline-block;
  color: var(--accent-cyan);
  font-weight: 300;
  animation: blink 0.8s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-description strong {
  color: var(--text-primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Custom Buttons */
.btn-prime {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.9rem;
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-cyan-glow);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-prime::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-prime:hover::before {
  left: 100%;
}

.btn-prime:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.4);
  color: #ffffff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.9rem;
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
  border-radius: 12px;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.btn-whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

/* Hero Stats Counter Bar */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
}

.stat-plus {
  color: var(--accent-cyan);
  font-size: 1.3rem;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0.15rem;
}

/* Hero Image & Orbital Badges */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-backdrop-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(139, 92, 246, 0.15) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.avatar-card {
  position: relative;
  z-index: 2;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.6) 0%, rgba(139, 92, 246, 0.4) 50%, rgba(16, 185, 129, 0.6) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(56, 189, 248, 0.25);
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(56, 189, 248, 0.2); }
  100% { box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 55px rgba(139, 92, 246, 0.35); }
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--bg-surface);
  border: 4px solid var(--bg-primary);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.avatar-card:hover .avatar-img {
  transform: scale(1.05);
}

/* Floating Tech Badges */
.floating-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  animation: floatOrb 5s ease-in-out infinite alternate;
}

.floating-badge i {
  font-size: 1.25rem;
}

.badge-laravel {
  top: 10%;
  left: -25px;
  animation-delay: 0s;
  border-left: 3px solid #ff2d20;
}
.badge-laravel i { color: #ff2d20; }

.badge-vue {
  bottom: 12%;
  left: -15px;
  animation-delay: 1.2s;
  border-left: 3px solid #42b883;
}
.badge-vue i { color: #42b883; }

.badge-api {
  top: 15%;
  right: -25px;
  animation-delay: 2.4s;
  border-left: 3px solid var(--accent-cyan);
}
.badge-api i { color: var(--accent-cyan); }

.badge-mysql {
  bottom: 8%;
  right: -20px;
  animation-delay: 3.6s;
  border-left: 3px solid #00758f;
}
.badge-mysql i { color: #00758f; }

/* ==========================================================================
   Section Layouts
   ========================================================================== */
section {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
}

/* Glass Card Component */
.glass-card {
  background: var(--grad-dark-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.about-narrative h3 {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.about-narrative p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-highlight-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(56, 189, 248, 0.08);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 14px 14px 0;
  margin: 1.75rem 0;
}

.about-highlight-box i {
  font-size: 2rem;
  color: var(--accent-cyan);
}

.about-highlight-box p {
  margin: 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 500;
}

.about-details-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.detail-row {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-val {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Philosophy Cards */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.philosophy-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  transition: all var(--transition-normal);
}

.philosophy-card:hover {
  border-color: var(--accent-cyan);
  transform: translateX(6px);
  background: var(--bg-card-hover);
}

.philosophy-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.philosophy-card:nth-child(2) .philosophy-icon {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-violet);
}

.philosophy-card:nth-child(3) .philosophy-icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
}

.philosophy-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.philosophy-content p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-secondary);
}

/* ==========================================================================
   Premade Ready-To-Deploy Websites Marketplace
   ========================================================================== */
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.market-card {
  display: flex;
  flex-direction: column;
  background: var(--grad-dark-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
}

.market-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card-glow);
  transform: translateY(-6px);
}

.market-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 0.35rem 0.85rem;
  background: rgba(8, 12, 21, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.market-price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 0.4rem 1rem;
  background: var(--grad-emerald);
  color: #ffffff;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.market-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: var(--bg-surface);
}

.market-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.market-card:hover .market-thumb {
  transform: scale(1.04);
}

.market-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.75rem;
}

.market-title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.market-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.tech-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.tech-pill.primary {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
}

.tech-pill.emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.tech-pill.violet {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--accent-violet);
}

/* Credentials Box */
.credentials-box {
  background: rgba(8, 12, 21, 0.6);
  border: 1px dashed var(--border-card);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.credentials-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.cred-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.cred-row strong {
  color: var(--text-primary);
}

.btn-copy-cred {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-copy-cred:hover {
  background: var(--accent-cyan);
  color: var(--text-inverse);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.market-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.market-actions .btn-demo {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.925rem;
  transition: all var(--transition-fast);
}

.market-actions .btn-demo:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--bg-card-hover);
}

.market-actions .btn-buy {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--grad-primary);
  color: #ffffff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.925rem;
  box-shadow: var(--shadow-cyan-glow);
  transition: all var(--transition-fast);
}

.market-actions .btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   Featured Custom Projects Showcase (CouponBD & MarveIT)
   ========================================================================== */
.featured-showcase-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.featured-project-card {
  display: flex;
  flex-direction: column;
  background: var(--grad-dark-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 1.35rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
}

.featured-project-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card-glow);
  transform: translateY(-5px);
}

.featured-project-card.reverse {
  display: flex;
  flex-direction: column;
}

/* Floating Client Project Badge */
.client-project-badge {
  position: absolute;
  top: 1.85rem;
  left: 1.85rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(8, 12, 21, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Project Gallery & Carousel */
.project-gallery-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  background-color: var(--bg-surface);
  margin-bottom: 1.15rem;
}

.gallery-main-view {
  width: 100%;
  height: 205px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease, opacity 0.2s ease;
}

.gallery-main-view:hover .gallery-img {
  transform: scale(1.04);
}

.zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 0.25rem 0.6rem;
  background: rgba(8, 12, 21, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.gallery-main-view:hover .zoom-hint {
  opacity: 1;
}

.gallery-nav-thumbs {
  display: flex;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  background: rgba(8, 12, 21, 0.85);
  border-top: 1px solid var(--border-subtle);
}

.gallery-thumb {
  flex: 1;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0.55;
}

.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--accent-cyan);
  opacity: 1;
  transform: scale(1.02);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Project Info Details */
.project-info-box {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--text-primary);
}

.project-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.project-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.project-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.815rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

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

.featured-project-card .tech-badges-wrap {
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.featured-project-card .tech-pill {
  font-size: 0.725rem;
  padding: 0.25rem 0.65rem;
}

.project-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.btn-project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-project-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.btn-project-link.primary {
  background: var(--grad-primary);
  color: #ffffff;
  border: none;
  box-shadow: var(--shadow-cyan-glow);
}

.btn-project-link.primary:hover {
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   Skills Matrix Section
   ========================================================================== */
.skills-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-tab-btn {
  padding: 0.6rem 1.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab-btn:hover, .filter-tab-btn.active {
  background: var(--accent-cyan);
  color: var(--text-inverse);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-cyan-glow);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

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

.skill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.skill-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skill-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.skill-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.skill-percent {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-cyan);
}

.skill-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.skill-progress-bar {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 9999px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 0;
}

.skill-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Experience & Career Timeline
   ========================================================================== */
.timeline-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-violet) 50%, rgba(255,255,255,0.05) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 5rem;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-node {
  position: absolute;
  top: 6px;
  left: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-node::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.timeline-card {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.timeline-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-card-glow);
  transform: translateX(6px);
}

.timeline-badge-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.timeline-period {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.timeline-role {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.timeline-company {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   Services / Why Choose Me
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-card-glow);
  transform: translateY(-6px);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--grad-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-card-content {
  flex-grow: 1;
}

.contact-card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.contact-card-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-all;
}

.btn-copy-contact {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.btn-copy-contact:hover {
  color: var(--accent-cyan);
  transform: scale(1.15);
}

/* Social Buttons */
.social-buttons-box {
  margin-top: 1rem;
}

.social-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--accent-cyan-glow);
}

.social-btn.whatsapp:hover {
  border-color: #25d366;
  color: #25d366;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.35);
}

/* Contact Form */
.contact-form-panel {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: rgba(8, 12, 21, 0.5);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

[data-theme="light"] .form-control {
  background: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-bio h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.footer-bio p {
  font-size: 0.95rem;
  max-width: 400px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   UI Components: Lightbox Modal & Toast Notification
   ========================================================================== */
/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(56, 189, 248, 0.2);
  font-size: 0.925rem;
  font-weight: 600;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

.toast-item i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutToast {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* Image Lightbox */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 13, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
}

.lightbox-content-box {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.25);
  border: 1px solid var(--border-card);
  object-fit: contain;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  color: var(--accent-cyan);
  transform: scale(1.1);
}

/* Back to Top Floating Button */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--accent-cyan);
  color: var(--text-inverse);
  box-shadow: var(--shadow-cyan-glow);
  transform: translateY(-4px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title-box {
    justify-content: center;
  }

  .hero-stats-grid {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .featured-showcase-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-main-view {
    height: 240px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 98;
    align-items: flex-start;
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-toggle {
    display: block;
    z-index: 99;
  }

  .marketplace-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .timeline-wrap::before {
    left: 15px;
  }

  .timeline-item {
    padding-left: 3rem;
  }

  .timeline-node {
    left: 2px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .gallery-main-view {
    height: 185px;
  }

  .featured-project-card {
    padding: 1.1rem;
  }

  .project-links {
    flex-direction: column;
    width: 100%;
  }

  .btn-project-link {
    width: 100%;
  }
}

