/* ==========================================================================
   ISHRAK T. — FULL-STACK DEVELOPER PORTFOLIO
   Awwwards-Winning Visual Design System & Master Stylesheet
   Signature Theme: Deep Ocean Blue (base), Deep Black (shadows),
   with Vibrant Purple & Pink Glowing Accents.
   Headings: 'Playfair Display' (Serif) | Body: 'Manrope' (Sans-Serif)
   ========================================================================== */

:root {
  /* ------------------------------------------------------------------------
     Signature Color Palette (Deep Ocean Blue, Black, Vibrant Purple & Pink)
     ------------------------------------------------------------------------ */
  --bg-ocean-deep: #020813;
  --bg-ocean-mid: #051226;
  --bg-ocean-soft: #0A192F;
  --bg-void-black: #02050A;
  --bg-pure-black: #000000;

  /* Vibrant Signature Purple */
  --accent-purple: #8B4BD2;
  --accent-purple-bright: #A855F7;
  --accent-purple-neon: #C084FC;
  --accent-purple-glow: rgba(139, 75, 210, 0.45);
  --accent-purple-subtle: rgba(139, 75, 210, 0.12);

  /* Vibrant Signature Pink / Magenta */
  --accent-pink: #EC4899;
  --accent-pink-bright: #F43F5E;
  --accent-pink-neon: #FB7185;
  --accent-pink-glow: rgba(236, 72, 153, 0.45);
  --accent-pink-subtle: rgba(236, 72, 153, 0.12);

  /* Signature Gradient: Pink to Purple */
  --grad-signature: linear-gradient(135deg, #EC4899 0%, #A855F7 50%, #8B4BD2 100%);
  --grad-signature-soft: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(139, 75, 210, 0.2) 100%);
  --grad-text: linear-gradient(135deg, #FFFFFF 0%, #F3E8FF 50%, #FBCFE8 100%);

  /* Secondary Futuristic Accents (Cyber Teal / Cyan) */
  --accent-cyan: #00E5FF;
  --accent-cyan-glow: rgba(0, 229, 255, 0.4);

  /* Prestigious Golden Yellow Accents */
  --accent-gold: #F59E0B;
  --accent-gold-bright: #FBBF24;
  --accent-gold-light: #FDE68A;
  --accent-gold-deep: #D97706;
  --accent-gold-glow: rgba(245, 158, 11, 0.45);
  --accent-gold-subtle: rgba(245, 158, 11, 0.12);
  --grad-gold: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
  --grad-gold-soft: linear-gradient(135deg, rgba(253, 230, 138, 0.25) 0%, rgba(245, 158, 11, 0.12) 100%);

  /* Typography Colors */
  --text-pure: #FFFFFF;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dim: #475569;

  /* Glassmorphism Constants */
  --glass-surface: rgba(6, 18, 36, 0.65);
  --glass-surface-hover: rgba(10, 27, 51, 0.85);
  --glass-border: rgba(168, 85, 247, 0.18);
  --glass-border-hover: rgba(236, 72, 153, 0.45);
  --glass-blur: 24px;

  /* Typography Scale */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Dimensions & Layout */
  --header-height: 84px;
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Springs & Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.25s var(--ease-out);
  --transition-smooth: 0.45s var(--ease-out);
  --transition-slow: 0.85s var(--ease-out);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: #020813;
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: #020813;
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  position: relative;
  min-height: 100vh;
}

main {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: #020813;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-void-black);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-purple), var(--accent-pink));
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-pink-bright);
}

/* Selection */
::selection {
  background: rgba(236, 72, 153, 0.4);
  color: var(--text-pure);
}

/* Links & Media */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   CINEMATIC BACKGROUND ATMOSPHERE (Liquid Galaxy & Deep Ocean Blue)
   ========================================================================== */
.galaxy-atmosphere {
  position: fixed;
  inset: 0;
  width: 100vw;
  min-width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, var(--bg-ocean-mid) 0%, var(--bg-ocean-deep) 60%, var(--bg-void-black) 100%);
}

.galaxy-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  pointer-events: none;
  animation: floatAura 22s ease-in-out infinite alternate;
}

.glow-purple-1 {
  width: 750px;
  height: 750px;
  top: -150px;
  left: 20%;
  background: radial-gradient(circle, rgba(139, 75, 210, 0.35) 0%, rgba(139, 75, 210, 0) 70%);
}

.glow-pink-1 {
  width: 650px;
  height: 650px;
  top: 15%;
  right: -100px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(236, 72, 153, 0) 70%);
  animation-duration: 26s;
}

.glow-ocean-1 {
  width: 900px;
  height: 900px;
  bottom: 10%;
  left: -200px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(6, 18, 36, 0) 75%);
  animation-duration: 32s;
}

.glow-purple-2 {
  width: 700px;
  height: 700px;
  bottom: -150px;
  right: 15%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(139, 75, 210, 0) 70%);
  animation-duration: 28s;
}

/* Ambient Floating Aura */
@keyframes floatAura {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 35px) scale(1.08); }
}

/* Starfield / Subtle Dust Overlay */
.galaxy-stars-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1px 1px at 25px 35px, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1.5px 1.5px at 120px 80px, rgba(236, 72, 153, 0.8), transparent),
    radial-gradient(1.2px 1.2px at 240px 190px, rgba(168, 85, 247, 0.8), transparent),
    radial-gradient(1px 1px at 380px 320px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 520px 140px, rgba(0, 229, 255, 0.7), transparent),
    radial-gradient(1px 1px at 680px 280px, rgba(255, 255, 255, 0.4), transparent);
  background-size: 800px 800px;
  opacity: 0.45;
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: rgba(2, 8, 19, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
  box-shadow: 0 4px 20px rgba(2, 5, 10, 0.35);
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth), backdrop-filter var(--transition-smooth), box-shadow var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(2, 8, 19, 0.90);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 10px 30px rgba(2, 5, 10, 0.65);
}

.header-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0284C7 0%, #00D2FF 35%, #8B4BD2 70%, #EC4899 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-pure);
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.45), 0 0 30px rgba(168, 85, 247, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.65), 0 0 35px rgba(236, 72, 153, 0.5);
}

.logo-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter var(--transition-fast);
}

.brand-logo:hover .logo-text {
  filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5));
}

/* Nav Links */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--grad-signature);
  border-radius: var(--radius-pill);
  transition: transform var(--transition-fast);
  box-shadow: 0 0 8px rgba(236, 72, 153, 0.8);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Header Action CTA */
.header-action {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFDF5;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.22), inset 0 0 10px rgba(245, 158, 11, 0.08);
  transition: all var(--transition-fast);
}

.btn-header-cta svg {
  color: var(--accent-gold-bright);
  transition: transform var(--transition-fast), color var(--transition-fast), stroke var(--transition-fast);
}

.btn-header-cta:hover {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
  border-color: #FDE68A;
  color: #020813;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.65), 0 0 50px rgba(217, 119, 6, 0.35);
  transform: translateY(-2px) scale(1.03);
}

.btn-header-cta:hover svg {
  color: #020813;
  stroke: #020813;
  transform: translate(2px, -2px);
}

/* Mobile Toggle Hamburger (3 Lines) */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2.2px;
  background-color: var(--text-pure);
  border-radius: var(--radius-pill);
  transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--accent-pink);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--accent-pink);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: rgba(4, 11, 22, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.3);
  padding: 2rem 2.5rem;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
  z-index: 999;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.mobile-nav-link[href="#contact"] {
  color: #FDE68A;
}

.mobile-nav-link:hover {
  color: var(--accent-pink);
  transform: translateX(8px);
}

.mobile-nav-link[href="#contact"]:hover {
  color: var(--accent-gold-bright);
}

/* ==========================================================================
   SECTION 1: THE HERO (Landing Page)
   Premium Deep Ocean Blue (#020813 fading into #0A192F)
   with Mouse-Following Glowing Spotlight (PC) & Ambient Breathing (Mobile)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  min-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  z-index: 1;
  background-color: #020813;
  background: 
    radial-gradient(ellipse 95% 75% at 50% 25%, #0A192F 0%, #051226 50%, #020813 100%),
    linear-gradient(180deg, #020813 0%, #06152B 50%, #0A192F 100%);
  background-blend-mode: screen;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Hero Background Layer Container */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100vw;
  min-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Deep Ocean Blue Gradient Base: #020813 fading into #0A192F */
.hero-gradient-base {
  position: absolute;
  inset: 0;
  width: 100vw;
  min-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: 
    radial-gradient(ellipse 95% 75% at 50% 25%, #0A192F 0%, #051226 50%, #020813 100%),
    linear-gradient(180deg, #020813 0%, #06152B 50%, #0A192F 100%);
  background-blend-mode: screen;
}

/* Large Soft Glowing Purple/Pink Aurora Breathing in Background */
.hero-aurora-glow {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 950px;
  max-width: 95vw;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse 75% 65% at 50% 50%,
    rgba(168, 85, 247, 0.32) 0%,
    rgba(236, 72, 153, 0.22) 35%,
    rgba(10, 25, 47, 0.12) 65%,
    transparent 80%
  );
  filter: blur(85px);
  pointer-events: none;
  animation: auroraBreathe 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
  z-index: 1;
}

@keyframes auroraBreathe {
  0% {
    transform: translate(-50%, -50%) scale(0.92) rotate(0deg);
    opacity: 0.75;
  }
  50% {
    transform: translate(-48%, -52%) scale(1.15) rotate(4deg);
    opacity: 1;
  }
  100% {
    transform: translate(-52%, -48%) scale(1.02) rotate(-4deg);
    opacity: 0.85;
  }
}

/* ==========================================================================
   STATIC GEOMETRIC HALF-CIRCLES (Sticky & Non-Distracting Architectural Layer)
   Full-Screen Edge-to-Edge Architectural Arches & Screen-Edge Bezier Flanks
   Ocean Blue (#00D2FF / #1A8FA6), Purple & Pink, Lighter than Dark Base
   ========================================================================== */
.hero-static-half-circles {
  position: absolute;
  inset: 0;
  width: 100vw;
  min-width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.half-circle-arch {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: none !important;
  pointer-events: none;
}

/* Full-Screen Outer Dome Arch: Spans 100vw Edge-to-Edge across viewport */
.arch-outer {
  width: 100vw;
  min-width: 100%;
  height: clamp(480px, 50vw, 960px);
  border-radius: 50% 50% 0 0;
  border: 1.5px solid rgba(0, 210, 255, 0.32);
  background: linear-gradient(180deg, rgba(0, 210, 255, 0.08) 0%, rgba(139, 75, 210, 0.04) 50%, transparent 100%);
  box-shadow: 0 -5px 35px rgba(0, 210, 255, 0.16);
}

/* Mid Dome Arch: 78vw Wide */
.arch-mid {
  width: 78vw;
  height: clamp(370px, 39vw, 740px);
  border-radius: 50% 50% 0 0;
  border: 1.5px dashed rgba(168, 85, 247, 0.35);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.06) 0%, transparent 80%);
}

/* Inner Dome Arch: 54vw Wide */
.arch-inner {
  width: 54vw;
  height: clamp(260px, 27vw, 520px);
  border-radius: 50% 50% 0 0;
  border: 1px solid rgba(236, 72, 153, 0.3);
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 210, 255, 0.12) 0%, rgba(236, 72, 153, 0.05) 50%, transparent 80%);
}

/* ==========================================================================
   WELL-ROUNDED SCREEN-EDGE HALF-CIRCLES (Left & Right Flanks)
   Mathematically Perfect 1:2 Semicircles (Width = Radius R, Height = Diameter 2R)
   Ocean Blue (#00D2FF) Dominant with Concentric Rings & Pink/Purple Glowing Accents
   ========================================================================== */
.half-circle-flank {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

/* Left Screen-Edge Well-Rounded Half-Circle (Blue Dominant with Concentric Rings) */
.flank-left {
  left: 0;
  width: clamp(150px, 16vw, 280px);
  aspect-ratio: 1 / 2;
  border-radius: 0 1000px 1000px 0;
  border: 1.5px solid rgba(0, 210, 255, 0.42);
  border-left: none;
  background: radial-gradient(
    circle at 0% 50%,
    rgba(0, 210, 255, 0.16) 0%,
    rgba(2, 132, 199, 0.08) 45%,
    rgba(168, 85, 247, 0.05) 75%,
    transparent 90%
  );
  box-shadow: 6px 0 35px rgba(0, 210, 255, 0.22), inset -2px 0 15px rgba(0, 210, 255, 0.12);
}

/* Left Inner Concentric Half-Circle (Purple Accent) */
.flank-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 72%;
  aspect-ratio: 1 / 2;
  border-radius: 0 1000px 1000px 0;
  border: 1.5px dashed rgba(168, 85, 247, 0.38);
  border-left: none;
  background: radial-gradient(circle at 0% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 80%);
  pointer-events: none;
}

/* Left Innermost Half-Circle (Pink Accent) */
.flank-left::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44%;
  aspect-ratio: 1 / 2;
  border-radius: 0 1000px 1000px 0;
  border: 1px solid rgba(236, 72, 153, 0.35);
  border-left: none;
  background: radial-gradient(circle at 0% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 75%);
  pointer-events: none;
}

/* Right Screen-Edge Well-Rounded Half-Circle (Blue Dominant with Concentric Rings) */
.flank-right {
  right: 0;
  width: clamp(150px, 16vw, 280px);
  aspect-ratio: 1 / 2;
  border-radius: 1000px 0 0 1000px;
  border: 1.5px solid rgba(0, 210, 255, 0.42);
  border-right: none;
  background: radial-gradient(
    circle at 100% 50%,
    rgba(0, 210, 255, 0.16) 0%,
    rgba(2, 132, 199, 0.08) 45%,
    rgba(236, 72, 153, 0.05) 75%,
    transparent 90%
  );
  box-shadow: -6px 0 35px rgba(0, 210, 255, 0.22), inset 2px 0 15px rgba(0, 210, 255, 0.12);
}

/* Right Inner Concentric Half-Circle (Pink Accent) */
.flank-right::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 72%;
  aspect-ratio: 1 / 2;
  border-radius: 1000px 0 0 1000px;
  border: 1.5px dashed rgba(236, 72, 153, 0.38);
  border-right: none;
  background: radial-gradient(circle at 100% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 80%);
  pointer-events: none;
}

/* Right Innermost Half-Circle (Purple Accent) */
.flank-right::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44%;
  aspect-ratio: 1 / 2;
  border-radius: 1000px 0 0 1000px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-right: none;
  background: radial-gradient(circle at 100% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 75%);
  pointer-events: none;
}

/* ==========================================================================
   SHARP GLASS-LIKE 3D SPARKLE / STAR (Hero Section)
   Volumetric 3D Y-Axis Rotation (Spinning in Space), Dominant Ocean Blue with Pink & Purple
   ========================================================================== */
.hero-sparkle-3d-wrapper {
  position: absolute;
  top: 23%;
  left: 12%;
  width: 185px;
  height: 185px;
  perspective: 1200px;
  z-index: 2;
  pointer-events: none;
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.sparkle-3d-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 3D Y-axis continuous rotation (spinning in space) */
  animation: sparkleSpin3D 14s linear infinite;
  will-change: transform;
}

@keyframes sparkleSpin3D {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.sparkle-glow-aura {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, 0.65) 0%,
    rgba(2, 132, 199, 0.45) 30%,
    rgba(168, 85, 247, 0.32) 55%,
    rgba(236, 72, 153, 0.22) 72%,
    transparent 88%
  );
  filter: blur(28px);
  pointer-events: none;
}

.sparkle-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.sparkle-face-main {
  transform: rotateY(0deg);
}

.sparkle-face-cross {
  transform: rotateY(90deg);
}

.sparkle-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.7)) drop-shadow(0 0 32px rgba(168, 85, 247, 0.42)) drop-shadow(0 0 45px rgba(236, 72, 153, 0.25));
}

/* Subtle CSS SVG Noise / Grain Texture Overlay */
.hero-noise-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

/* PC: Mouse-Following Glowing Spotlight (Soft Radial Gradient of Purple/Pink) */
.hero-spotlight-interactive {
  position: absolute;
  top: 0;
  left: 0;
  width: 850px;
  height: 850px;
  margin-top: -425px;
  margin-left: -425px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.28) 0%,
    rgba(236, 72, 153, 0.20) 30%,
    rgba(10, 25, 47, 0.08) 55%,
    transparent 72%
  );
  filter: blur(50px);
  opacity: 0;
  transform: translate3d(50vw, 50vh, 0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-spotlight-interactive.active {
  opacity: 1;
}

/* Mobile: Elegant, Continuous Breathing Glow */
.hero-spotlight-mobile {
  display: none;
  position: absolute;
  inset: -15%;
  background: 
    radial-gradient(circle at 35% 30%, rgba(168, 85, 247, 0.24) 0%, transparent 55%),
    radial-gradient(circle at 65% 70%, rgba(236, 72, 153, 0.20) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(10, 25, 47, 0.35) 0%, transparent 70%);
  filter: blur(60px);
  animation: mobileHeroBreathe 12s ease-in-out infinite alternate;
}

@keyframes mobileHeroBreathe {
  0% {
    transform: scale(0.95) translate(0, 0);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.12) translate(5%, -4%);
    opacity: 1;
  }
  100% {
    transform: scale(1.02) translate(-4%, 5%);
    opacity: 0.85;
  }
}

/* Readability Scrim (guarantees crystal-clear high contrast for 'Ishrak T.' in center) */
.hero-readability-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(2, 8, 19, 0.82) 0%, rgba(2, 8, 19, 0.4) 65%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Centered Hero Wrapper */
.hero-center-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 3rem) 2rem 5.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Eyebrow Badge */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.25rem;
  background: rgba(139, 75, 210, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  margin-bottom: 1.8rem;
  box-shadow: 0 0 25px rgba(139, 75, 210, 0.2);
}

.pulsing-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-pink);
  box-shadow: 0 0 10px var(--accent-pink-bright);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.65; }
}

.eyebrow-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E2E8F0;
}

/* Main Heading: 'Ishrak T.' */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.8rem, 8.5vw, 7.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-pure);
}

.title-main {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F3FF 40%, #E9D5FF 70%, #F472B6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.4));
  display: inline-block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.title-main:hover {
  filter: drop-shadow(0 0 60px rgba(236, 72, 153, 0.6));
  transform: scale(1.02);
}

/* Exact Subtitle: '18-Year-Old Full-Stack Developer & Digital Strategist.' */
.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

/* Hero Statement */
.hero-statement {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.75;
  margin-bottom: 2.8rem;
}

/* Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.2rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-signature);
  color: var(--text-pure);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.45), 0 0 15px rgba(236, 72, 153, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 45px rgba(236, 72, 153, 0.65), 0 0 25px rgba(168, 85, 247, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(6, 18, 36, 0.65);
  color: var(--text-pure);
  border: 1px solid rgba(168, 85, 247, 0.35);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  background: rgba(139, 75, 210, 0.18);
  border-color: rgba(236, 72, 153, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(139, 75, 210, 0.25);
}

/* Hero Stats Row: Generous Breathing Room & Visual Balance */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.4rem 2.8rem;
  background: rgba(6, 18, 36, 0.55);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);
  box-shadow: 0 15px 35px rgba(2, 5, 10, 0.45);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.stat-number.live-stat {
  color: #10B981;
  -webkit-text-fill-color: #10B981;
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 12px #10B981;
  animation: pulseLive 1.8s infinite;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.4), transparent);
}

/* Scroll-Down Indicator Centered */
.scroll-indicator {
  margin: 3.5rem auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.6rem;
  z-index: 3;
  color: var(--text-muted);
  position: relative;
  width: fit-content;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.scroll-indicator:hover {
  color: var(--accent-pink);
  transform: translateY(3px);
}

.scroll-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.8px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3.5px;
  height: 6.5px;
  background-color: currentColor;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  80% { transform: translate(-50%, 14px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

/* ==========================================================================
   COMMON SECTION STYLING & HEADERS
   ========================================================================== */
section {
  position: relative;
  z-index: 2;
  padding: 8rem 2rem;
}

.section-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 1rem;
  background: rgba(139, 75, 210, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-pink-bright);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-pink-bright);
  box-shadow: 0 0 8px var(--accent-pink);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.7;
}

/* ==========================================================================
   SECTION 2: MY WORK (Featured Creations - 5 Cards Grid)
   ========================================================================== */
.work-section {
  background: linear-gradient(180deg, transparent 0%, rgba(6, 18, 36, 0.5) 50%, transparent 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

/* Project Card 1: Large Featured Card */
.project-card-large {
  grid-column: 1 / -1;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 25px 60px rgba(2, 5, 10, 0.7), 0 0 35px var(--accent-purple-glow);
}

.card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card-large .card-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
}

/* Image Frame & Object-Fit Formatting */
.project-image-link {
  display: block;
  position: relative;
  overflow: hidden;
  background-color: #030810;
}

.image-frame {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
}

.project-card-large .image-frame {
  height: 100%;
  min-height: 420px;
}

/* CRITICAL FIX: object-fit: cover & object-position: center center */
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
  transition: transform 0.85s var(--ease-out);
}

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

.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 11, 22, 0.1) 0%, rgba(4, 11, 22, 0.6) 80%, rgba(4, 11, 22, 0.95) 100%);
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.project-card:hover .img-overlay {
  opacity: 0.6;
}

/* Featured Badge */
.card-badge-featured {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(139, 75, 210, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  color: var(--text-pure);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

/* Hover Explore Indicator */
.card-hover-indicator {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(4, 11, 22, 0.8);
  border: 1px solid rgba(236, 72, 153, 0.5);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  color: var(--text-pure);
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 3;
}

.project-card:hover .card-hover-indicator {
  opacity: 1;
  transform: translateY(0);
}

/* Card Content Area */
.card-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

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

.card-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-pink-bright);
}

.card-year {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.project-card:hover .card-title a {
  color: var(--accent-pink-bright);
}

.card-description {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* RHT Store Highlight Box: Centered, Bold Dark Purple, Glowing Purple Box */
.rht-admin-alert {
  margin: 1.25rem 0 1.75rem;
  padding: 1.15rem 1.4rem;
  background: linear-gradient(135deg, rgba(42, 10, 74, 0.85) 0%, rgba(139, 75, 210, 0.28) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.7);
  border-radius: var(--radius-md);
  box-shadow: 0 0 30px rgba(139, 75, 210, 0.4), inset 0 0 15px rgba(139, 75, 210, 0.2);
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.rht-admin-alert:hover {
  transform: scale(1.015);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.65), inset 0 0 20px rgba(236, 72, 153, 0.3);
}

.rht-alert-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.rht-alert-icon {
  font-size: 1.3rem;
  color: #E9D5FF;
}

.rht-alert-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #F5E8FF;
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Card Footer & Tech Stack */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.tech-stack {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.project-card:hover .tech-pill {
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(139, 75, 210, 0.12);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-pink-bright);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.link-arrow:hover {
  color: var(--text-pure);
  transform: translateX(4px);
}

/* SPECIFIC CARD THEMES */
/* 1. Theme RHT Store (Dark Purple Glassmorphism: #2a0a4a and #8b4bd2) */
.theme-rht {
  border-color: rgba(139, 75, 210, 0.35);
}
.theme-rht .card-glow-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(139, 75, 210, 0.3) 0%, rgba(42, 10, 74, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}
.theme-rht:hover {
  box-shadow: 0 25px 60px rgba(42, 10, 74, 0.5), 0 0 40px rgba(139, 75, 210, 0.5);
}

/* 2. Theme Serein (Soft Blue/White with Hint of Green: #00a896 / #028090) */
.theme-serein {
  border-color: rgba(0, 168, 150, 0.28);
}
.theme-serein .card-glow-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.22) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.theme-serein:hover {
  border-color: rgba(0, 168, 150, 0.6);
  box-shadow: 0 20px 50px rgba(2, 5, 10, 0.6), 0 0 35px rgba(0, 168, 150, 0.35);
}
.theme-serein .card-tag,
.theme-serein .link-arrow {
  color: #2DD4BF;
}

/* 3. Theme FORGE (Matte Black with Vibrant Orange: #FF5A00) */
.theme-forge {
  background: rgba(8, 8, 10, 0.75);
  border-color: rgba(255, 90, 0, 0.28);
}
.theme-forge .card-glow-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.theme-forge:hover {
  border-color: rgba(255, 90, 0, 0.7);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 90, 0, 0.4);
}
.theme-forge .card-tag,
.theme-forge .link-arrow {
  color: #FF5A00;
}

/* 4. Theme Aurelia Homes (Warm Beige/Brown with Subtle Green: #D4AF37, #8C6D46) */
.theme-aurelia {
  border-color: rgba(212, 175, 55, 0.25);
}
.theme-aurelia .card-glow-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(45, 59, 45, 0) 70%);
  filter: blur(55px);
  pointer-events: none;
}
.theme-aurelia:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 20px 50px rgba(2, 5, 10, 0.6), 0 0 35px rgba(212, 175, 55, 0.35);
}
.theme-aurelia .card-tag,
.theme-aurelia .link-arrow {
  color: #EAB308;
}

/* 5. Theme Grill It (Black with Gold/Yellow: #FFD700) */
.theme-grill {
  border-color: rgba(255, 215, 0, 0.25);
}
.theme-grill .card-glow-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.22) 0%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
}
.theme-grill:hover {
  border-color: rgba(255, 215, 0, 0.65);
  box-shadow: 0 20px 50px rgba(2, 5, 10, 0.6), 0 0 35px rgba(255, 215, 0, 0.35);
}
.theme-grill .card-tag,
.theme-grill .link-arrow {
  color: #FACC15;
}

/* ==========================================================================
   SECTION 3: ABOUT ME (Scroll-Driven Sticky Stacking Cards + 3D CSS Shield)
   ========================================================================== */
.about-section {
  position: relative;
  overflow: visible;
}

.sticky-cards-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.about-glass-card {
  position: sticky;
  top: 100px;
  background: rgba(6, 18, 36, 0.92);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 -12px 40px rgba(2, 5, 10, 0.85), 0 0 35px rgba(139, 75, 210, 0.25);
  overflow: hidden;
  transform-origin: center top;
  will-change: transform, opacity;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

#about-card-1 {
  z-index: 1;
}

#about-card-2 {
  z-index: 2;
}

#about-card-3 {
  z-index: 3;
}

.about-glass-card:hover {
  border-color: rgba(236, 72, 153, 0.6);
  box-shadow: 0 -12px 45px rgba(2, 5, 10, 0.9), 0 0 45px rgba(236, 72, 153, 0.4);
}

.glass-reflection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.glass-card-header {
  margin-bottom: 1.8rem;
}

.card-index-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.card-index {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
}

/* Golden Yellow Touches: The Mindset & The Craft */
.about-badge {
  background: rgba(245, 158, 11, 0.1) !important;
  border-color: rgba(245, 158, 11, 0.42) !important;
  color: #FDE68A !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15) !important;
}

.badge-dot-gold {
  background: var(--accent-gold-bright) !important;
  box-shadow: 0 0 10px var(--accent-gold) !important;
}

.gold-text-highlight {
  background: linear-gradient(135deg, #FFF9E6 0%, #FDE68A 25%, #F59E0B 65%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-style: italic;
  filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.4));
}

.gold-amp {
  color: var(--accent-gold-bright);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  opacity: 0.95;
  filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.4));
}

.card-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.glass-card-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: -0.01em;
}

.glass-card-body {
  margin-bottom: 2rem;
}

.glass-quote {
  font-size: 1.22rem;
  font-weight: 400;
  color: #E2E8F0;
  line-height: 1.8;
  font-style: italic;
}

.status-body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.status-indicator-cluster {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.status-radar-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(16, 185, 129, 0.4);
  border-radius: 50%;
  animation: radarExpand 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.status-core-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 16px #10B981;
}

@keyframes radarExpand {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.status-quote {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-pure);
  font-style: normal;
}

.glass-card-footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-tags {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
}

.available-tag {
  color: #A7F3D0;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

/* --------------------------------------------------------------------------
   CYBERSECURITY SKILL EXPANSION & 3D CSS SHIELD ICON (Silver & Blue Render)
   -------------------------------------------------------------------------- */
.cyber-expansion-wrapper {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

.cyber-expansion-tag {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 2.4rem;
  background: linear-gradient(135deg, rgba(6, 18, 36, 0.85) 0%, rgba(10, 27, 51, 0.75) 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 35px rgba(2, 5, 10, 0.5), 0 0 25px rgba(0, 229, 255, 0.2);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
}

.cyber-expansion-tag:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(0, 229, 255, 0.8);
  box-shadow: 0 15px 45px rgba(2, 5, 10, 0.7), 0 0 40px rgba(0, 229, 255, 0.45);
}

/* 3D CSS SHIELD ICON (Silver Metallic with Glowing Cyan Core & Hover Tilt) */
.cyber-shield-3d-wrapper {
  perspective: 600px;
  width: 44px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cyber-shield-3d {
  width: 40px;
  height: 46px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out);
}

.cyber-expansion-tag:hover .cyber-shield-3d {
  transform: rotateY(-22deg) rotateX(15deg) translateZ(8px);
}

.shield-face {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 20%, 100% 70%, 50% 100%, 0% 70%, 0% 20%);
}

/* Shield Base: Metallic Silver Gradient */
.shield-base {
  background: linear-gradient(135deg, #F8FAFC 0%, #CBD5E1 35%, #64748B 75%, #334155 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  transform: translateZ(0px);
}

/* Shield Rim: Chrome Specular Bevel */
.shield-rim {
  inset: 2px;
  background: linear-gradient(145deg, #FFFFFF 0%, #94A3B8 50%, #475569 100%);
  transform: translateZ(4px);
}

/* Shield Core: Glowing Cyber-Blue Nucleus & Padlock Crest */
.shield-core {
  inset: 5px;
  background: radial-gradient(circle at 50% 40%, #00E5FF 0%, #0284C7 60%, #032A4A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(8px);
  box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.8);
}

.shield-crest-symbol {
  color: #FFFFFF;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.9));
}

.shield-glow-aura {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.5) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  transform: translateZ(-5px);
}

.cyber-content-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cyber-status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: pulseDot 1.8s infinite;
}

.cyber-text {
  font-size: 1rem;
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   SECTION 3B: WHAT I CAN DO FOR YOU (4 Glowing Cards + 3D Glass Icons)
   ========================================================================== */
.services-section {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.service-card {
  position: relative;
  background: rgba(6, 18, 36, 0.65);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(236, 72, 153, 0.55);
  box-shadow: 0 25px 60px rgba(2, 5, 10, 0.7), 0 0 40px var(--accent-purple-glow);
}

.service-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.service-card-2 .service-card-glow {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.22) 0%, transparent 70%);
}
.service-card-3 .service-card-glow {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, transparent 70%);
}
.service-card-4 .service-card-glow {
  background: radial-gradient(circle, rgba(244, 63, 94, 0.22) 0%, transparent 70%);
}

/* 3D ICON CONTAINER & BASE STYLING */
.icon-3d-container {
  width: 72px;
  height: 72px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 700px;
}

/* 1. 3D GLASS DATABASE CYLINDER ICON (Full-Stack Development) */
.icon-3d-database {
  width: 52px;
  height: 58px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(25deg) rotateY(-18deg);
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover .icon-3d-database {
  transform: rotateX(32deg) rotateY(-28deg) scale(1.1);
}

.cylinder-disc {
  position: absolute;
  width: 52px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(6, 182, 212, 0.3) 50%, rgba(4, 11, 22, 0.8) 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.65);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 2px 6px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.cylinder-top {
  top: 0;
  z-index: 3;
}

.cylinder-mid {
  top: 18px;
  z-index: 2;
}

.cylinder-bot {
  top: 36px;
  z-index: 1;
}

.disc-glow-ring {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.9);
  animation: rotateRing 8s linear infinite;
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cylinder-axis-light {
  position: absolute;
  top: 10px;
  left: 24px;
  width: 4px;
  height: 38px;
  background: linear-gradient(180deg, #00E5FF, #8B4BD2);
  filter: drop-shadow(0 0 8px #00E5FF);
}

/* 2. 3D GLASS FLOATING UI LAYERS (Creative Frontend) */
.icon-3d-frontend {
  width: 58px;
  height: 58px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(25deg) rotateY(-25deg);
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover .icon-3d-frontend {
  transform: rotateX(32deg) rotateY(-35deg) scale(1.1);
}

.glass-layer {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(236, 72, 153, 0.65);
  transition: transform 0.4s var(--ease-out);
}

.layer-back {
  background: rgba(139, 75, 210, 0.25);
  transform: translateZ(-16px) translate(8px, -8px);
}

.layer-mid {
  background: rgba(168, 85, 247, 0.35);
  transform: translateZ(0px);
}

.layer-front {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(236, 72, 153, 0.35) 100%);
  transform: translateZ(16px) translate(-8px, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.45);
}

.code-bracket {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* 3. 3D GLASS DASHBOARD & METRIC BLOCK (E-Commerce & Dashboards) */
.icon-3d-ecommerce {
  width: 58px;
  height: 58px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(28deg) rotateY(-20deg);
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover .icon-3d-ecommerce {
  transform: rotateX(35deg) rotateY(-28deg) scale(1.1);
}

.dash-platform {
  position: absolute;
  bottom: 0;
  width: 54px;
  height: 38px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.3) 0%, rgba(6, 18, 36, 0.8) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.65);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.dash-bar {
  position: absolute;
  bottom: 8px;
  width: 7px;
  border-radius: 4px;
  background: var(--grad-signature);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
  transform: translateZ(10px);
}

.dash-bar-1 { left: 10px; height: 16px; }
.dash-bar-2 { left: 22px; height: 26px; }
.dash-bar-3 { left: 34px; height: 34px; }

.dash-floating-cart {
  position: absolute;
  top: -8px;
  right: -4px;
  color: #38BDF8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
  transform: translateZ(20px);
}

/* 4. 3D GLOWING GROWTH ARROW (Digital Strategy & Ads) */
.icon-3d-growth {
  width: 58px;
  height: 58px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(20deg) rotateY(-15deg);
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover .icon-3d-growth {
  transform: rotateX(28deg) rotateY(-22deg) scale(1.12);
}

.growth-radar {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 63, 94, 0.4);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring-1 {
  width: 36px;
  height: 36px;
  animation: radarPulse 2s infinite;
}

.radar-ring-2 {
  width: 54px;
  height: 54px;
  animation: radarPulse 2s 0.6s infinite;
}

@keyframes radarPulse {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

.arrow-3d-head {
  position: absolute;
  top: 6px;
  right: 6px;
  color: #FB7185;
  filter: drop-shadow(0 0 12px rgba(244, 63, 94, 0.9));
  transform: translateZ(16px);
  animation: arrowFloat 2.5s ease-in-out infinite alternate;
}

@keyframes arrowFloat {
  0% { transform: translateZ(16px) translate(0, 0); }
  100% { transform: translateZ(24px) translate(3px, -3px); }
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.service-card-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-pill {
  font-size: 0.76rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.service-card:hover .service-pill {
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(139, 75, 210, 0.14);
}

/* ==========================================================================
   SECTION 4: CONTACT
   Exact Text & Massive Glowing CTA Button
   ========================================================================== */
.contact-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 10rem 2rem 8rem;
}

.contact-spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.28) 0%, rgba(139, 75, 210, 0.18) 45%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
}

.contact-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-header {
  margin-bottom: 3.5rem;
}

.contact-badge {
  color: var(--accent-pink-bright);
}

.pulse-purple {
  background: var(--accent-pink);
  box-shadow: 0 0 10px var(--accent-pink-bright);
}

.contact-main-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.contact-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 720px;
}

/* Massive Glowing Email Button */
.contact-cta-wrapper {
  margin-bottom: 3rem;
  width: 100%;
  max-width: 600px;
}

.massive-glowing-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 1.4rem 2.5rem;
  background: linear-gradient(135deg, rgba(6, 18, 36, 0.85) 0%, rgba(14, 27, 51, 0.9) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: 0 15px 40px rgba(2, 5, 10, 0.6), 0 0 30px rgba(139, 75, 210, 0.3);
}

.btn-glow-aura {
  position: absolute;
  inset: -10px;
  background: var(--grad-signature);
  opacity: 0;
  filter: blur(25px);
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.massive-glowing-btn:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(236, 72, 153, 0.8);
  box-shadow: 0 20px 55px rgba(236, 72, 153, 0.45), 0 0 50px rgba(168, 85, 247, 0.6);
}

.massive-glowing-btn:hover .btn-glow-aura {
  opacity: 0.35;
}

.btn-inner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(139, 75, 210, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-pink-bright);
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
  padding: 0 1.5rem;
}

.btn-prompt {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-pink-bright);
}

.btn-email-address {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.01em;
}

.btn-arrow-box {
  color: var(--text-pure);
  transition: transform var(--transition-fast);
}

.massive-glowing-btn:hover .btn-arrow-box {
  transform: translate(4px, -4px);
  color: var(--accent-pink-bright);
}

/* GitHub Presence Link */
.contact-sublinks {
  display: flex;
  align-items: center;
  justify-content: center;
}

.github-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: #CBD5E1;
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.github-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--text-pure);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   5. MASTER FOOTER
   Background: #02050A (Void Black) | 'Based in Algeria'
   ========================================================================== */
.master-footer {
  position: relative;
  z-index: 2;
  background-color: var(--bg-void-black);
  border-top: 1px solid rgba(168, 85, 247, 0.18);
  padding: 6rem 2rem 2.5rem;
}

.footer-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-col-brand .brand-logo {
  margin-bottom: 1.25rem;
}

.footer-bio {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 420px;
}

.footer-column-heading {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-pure);
  margin-bottom: 1.5rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-pink-bright);
  transform: translateX(4px);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-contact-link:hover {
  color: var(--accent-pink-bright);
}

/* Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
}

.footer-bottom-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright-text {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #CBD5E1;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
}

.location-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseLive 2s infinite;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (Flawless under 1024px & 768px)
   ========================================================================== */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card-large .card-inner {
    grid-template-columns: 1fr;
  }

  .project-card-large .image-frame {
    height: 320px;
    min-height: auto;
  }

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

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

@media (max-width: 768px) {
  /* Navigation */
  .main-nav,
  .btn-header-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Full-Bleed Mobile Background: Edge-to-edge coverage, zero white gaps */
  html, body, main {
    width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    background-color: #020813 !important;
  }

  /* Hero Section */
  .hero-section {
    width: 100vw !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    background-color: #020813 !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* Mobile Glowing Spotlight: Disables mouse-follow & enables continuous ambient breathing */
  .hero-spotlight-interactive {
    display: none !important;
  }
  .hero-spotlight-mobile {
    display: block !important;
  }

  .hero-center-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: calc(var(--header-height) + 1.5rem) 1.25rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-center-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2.6rem, 10vw, 4rem);
    text-align: center;
    width: 100%;
    white-space: nowrap;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3.8vw, 1.18rem);
    text-align: center;
    width: 100%;
  }

  .hero-statement {
    font-size: 0.98rem;
    margin: 0 auto 2.2rem;
    text-align: center;
    max-width: 540px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.9rem;
    margin: 0 auto 2.5rem;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
  }

  /* Hero Static Half-Circles on Mobile: Full-Screen Coverage */
  .hero-static-half-circles {
    position: absolute;
    inset: 0;
    width: 100vw !important;
    min-width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    pointer-events: none;
  }

  .half-circle-arch {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: none !important;
    pointer-events: none;
  }

  .arch-outer {
    width: 100vw !important;
    min-width: 100% !important;
    height: clamp(280px, 52vh, 440px) !important;
    border-radius: 50% 50% 0 0 !important;
  }

  .arch-mid {
    width: 86vw !important;
    height: clamp(220px, 40vh, 340px) !important;
    border-radius: 50% 50% 0 0 !important;
  }

  .arch-inner {
    width: 66vw !important;
    height: clamp(160px, 28vh, 240px) !important;
    border-radius: 50% 50% 0 0 !important;
  }

  /* Well-Rounded Half-Circles on Mobile: Clean 1:2 Semicircles Pinned to Screen Edges */
  .half-circle-flank {
    display: block !important;
    position: absolute;
    top: 48% !important;
    transform: translateY(-50%) !important;
    pointer-events: none;
  }

  .flank-left {
    left: 0 !important;
    top: 48% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: auto !important;
    aspect-ratio: 1 / 2 !important;
    border-radius: 0 1000px 1000px 0 !important;
  }

  .flank-right {
    right: 0 !important;
    top: 48% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: auto !important;
    aspect-ratio: 1 / 2 !important;
    border-radius: 1000px 0 0 1000px !important;
  }

  /* 3D Sparkle on Mobile: Placed slightly to the left so it does NOT cover text */
  .hero-sparkle-3d-wrapper {
    top: 13%;
    left: 6%;
    right: auto;
    transform: none !important;
    width: 95px;
    height: 95px;
  }

  /* Center the Scroll Indicator on Mobile with Breathing Room */
  .scroll-indicator {
    margin: 3.5rem auto 0 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: fit-content !important;
  }

  /* Mobile Image Heights: Clean Framing on Smartphones */
  .project-card .image-frame {
    height: 220px;
  }

  .project-card-large .image-frame {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
  }

  .theme-rht .card-content {
    padding: 1.4rem 1.25rem;
  }

  .theme-rht .card-title {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
  }

  .theme-rht .card-description {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
  }

  .rht-admin-alert {
    margin: 0.85rem 0 1.15rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
  }

  .rht-alert-inner {
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .rht-alert-icon {
    font-size: 1rem;
  }

  .rht-alert-text {
    font-size: 0.82rem;
    line-height: 1.45;
    font-weight: 700;
  }

  /* Sections */
  section {
    padding: 5rem 1.25rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  /* About Me: Sticky Stacking Cards on Mobile (Flawless under top: 80px) */
  .sticky-cards-container {
    gap: 3.5rem;
    padding-bottom: 2rem;
  }

  .about-glass-card {
    position: sticky;
    top: 80px;
    padding: 2rem 1.5rem;
  }

  .glass-card-title {
    font-size: 1.75rem;
  }

  .glass-quote {
    font-size: 1.05rem;
  }

  .cyber-expansion-tag {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.8rem;
    border-radius: var(--radius-lg);
  }

  /* Services */
  .service-card {
    padding: 2.2rem 1.6rem;
  }

  /* Contact */
  .massive-glowing-btn {
    padding: 1.2rem 1.5rem;
  }

  .btn-inner-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .btn-text-group {
    padding: 0;
    align-items: center;
  }

  .btn-email-address {
    font-size: 1.05rem;
  }

  .btn-arrow-box {
    display: none;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
}
