/* ==========================================================
   ATUL TIWARI - MODERN MULTI-PAGE PORTFOLIO STYLESHEET
   Theme: Futuristic Dark / Glassmorphism / Cyan & Indigo Glow
========================================================== */

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

:root {
  --bg-primary: #040814;
  --bg-secondary: #0a1128;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(26, 38, 66, 0.85);
  --card-border: rgba(56, 189, 248, 0.16);
  --card-border-hover: rgba(56, 189, 248, 0.55);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --accent-cyan: #38bdf8;
  --accent-blue: #0ea5e9;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-green: #10b981;
  --accent-glow: rgba(56, 189, 248, 0.35);
  --accent-glow-sm: rgba(56, 189, 248, 0.18);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 35px rgba(14, 165, 233, 0.28);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS Reset & Defaults */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(99, 102, 241, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #040814 0%, #080e22 50%, #030611 100%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #040814;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid #040814;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* Selection */
::selection {
  background: var(--accent-blue);
  color: #fff;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

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

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

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight {
  color: var(--accent-cyan);
}

/* ==========================================================
   HEADER & NAVBAR
========================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(4, 8, 20, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  padding: 14px 6%;
  background: rgba(4, 8, 20, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(56, 189, 248, 0.2);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent-cyan);
}

.logo-badge {
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
  border-radius: var(--radius-full);
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links li a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition-fast);
}

.nav-links li a i {
  font-size: 14px;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.nav-links li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links li a:hover i {
  color: var(--accent-cyan);
  opacity: 1;
}

.nav-links li a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.nav-links li a.active i {
  color: var(--accent-cyan);
  opacity: 1;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-talk {
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  border-radius: var(--radius-full);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-normal);
}

.btn-nav-talk:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(14, 165, 233, 0.6);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #fff;
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.menu-toggle:hover {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
}

/* ==========================================================
   BUTTONS & BADGES
========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  text-align: center;
}

.btn.primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.55);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(56, 189, 248, 0.3);
  color: #e2e8f0;
  backdrop-filter: blur(10px);
}

.btn.secondary:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-3px);
}

.btn.outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
}

.btn.outline:hover {
  border-color: var(--accent-cyan);
  color: #fff;
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-2px);
}

.btn.sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn.lg {
  padding: 15px 32px;
  font-size: 16px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-tag i {
  font-size: 12px;
}

/* ==========================================================
   PAGE HERO / HEADER SECTION (FOR INNER PAGES)
========================================================== */
.page-header {
  padding: 140px 6% 60px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
}

.page-header .badge-tag {
  margin-bottom: 18px;
}

.page-header h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 16px;
}

.page-header p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.8;
}

/* Section Header (In-page) */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .badge-tag {
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 14px;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 16px;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 6%;
}

.page-section {
  padding: 40px 0 90px;
}

/* ==========================================================
   HOME PAGE (index.html) SPECIFIC
========================================================== */
.home-hero {
  min-height: 100vh;
  padding: 145px 6% 80px;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  align-items: center;
  gap: 50px;
  position: relative;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
}

.hero-tag .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-left h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.hero-role-wrapper {
  font-size: clamp(20px, 2.8vw, 32px);
  font-family: var(--font-heading);
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.typed-text {
  color: var(--accent-cyan);
  font-weight: 800;
  border-right: 3px solid var(--accent-cyan);
  animation: blinkCursor 0.75s step-end infinite;
  padding-right: 4px;
}

@keyframes blinkCursor {
  from, to { border-color: transparent }
  50% { border-color: var(--accent-cyan); }
}

.hero-text {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 620px;
  line-height: 1.85;
  margin-bottom: 32px;
}

.hero-text b {
  color: #fff;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 580px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.stat-item .stat-num {
  font-size: 26px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
}

.stat-item .stat-num span {
  color: var(--accent-cyan);
}

.stat-item .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Right Image Box */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-avatar-container {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, rgba(99, 102, 241, 0.2) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.avatar-ring {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  border: 2px dashed rgba(56, 189, 248, 0.4);
  animation: rotateRing 20s linear infinite;
  z-index: 2;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.avatar-ring-2 {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.25);
  animation: rotateRing 30s linear infinite reverse;
  z-index: 2;
}

.avatar-img {
  width: 330px;
  height: 330px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 3;
  border: 5px solid rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 50px rgba(14, 165, 233, 0.4);
  transition: var(--transition-normal);
}

.avatar-img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 65px rgba(56, 189, 248, 0.6);
}

/* Floating Badges on Hero */
.floating-badge {
  position: absolute;
  z-index: 4;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  animation: floatUpDown 4s ease-in-out infinite;
}

.floating-badge.fb-1 {
  top: 15px;
  left: -20px;
  animation-delay: 0s;
}

.floating-badge.fb-2 {
  bottom: 25px;
  right: -15px;
  animation-delay: 2s;
}

.floating-badge i {
  font-size: 22px;
  color: var(--accent-cyan);
}

.floating-badge div h4 {
  font-size: 14px;
  margin-bottom: 2px;
}

.floating-badge div p {
  font-size: 11px;
  color: var(--text-muted);
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================
   CARDS & SECTIONS SHARED STYLES
========================================================== */
.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 30px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

.card-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--card-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(56, 189, 248, 0.15);
}

.card-glass:hover::before {
  opacity: 1;
}

/* Quick Overview Grid on Home */
.home-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.feature-card {
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 22px;
  margin-bottom: 20px;
  transition: var(--transition-normal);
}

.feature-card:hover .icon-box {
  background: var(--accent-blue);
  color: #fff;
  transform: scale(1.08) rotate(5deg);
}

.feature-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-card .card-link {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.feature-card .card-link i {
  transition: var(--transition-fast);
}

.feature-card:hover .card-link i {
  transform: translateX(5px);
}

/* ==========================================================
   ABOUT PAGE (about.html)
========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 45px;
  align-items: center;
  margin-bottom: 60px;
}

.about-photo-wrapper {
  position: relative;
}

.about-main-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(56, 189, 248, 0.3);
  box-shadow: var(--shadow-lg);
}

.about-experience-pill {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.4);
  backdrop-filter: blur(16px);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-experience-pill i {
  font-size: 30px;
  color: var(--accent-cyan);
}

.about-experience-pill strong {
  font-size: 20px;
  font-weight: 800;
  display: block;
}

.about-experience-pill span {
  font-size: 13px;
  color: var(--text-muted);
}

.about-info h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.about-info p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-info-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 25px 0 30px;
}

.about-info-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.about-info-tag i {
  color: var(--accent-cyan);
  font-size: 18px;
}

.about-info-tag span {
  color: var(--text-muted);
  font-size: 13px;
}

.about-info-tag strong {
  color: #fff;
  font-size: 14px;
  display: block;
}

/* Philosophy Card */
.philosophy-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.philosophy-banner i.quote-icon {
  font-size: 40px;
  color: rgba(56, 189, 248, 0.35);
  margin-bottom: 15px;
}

.philosophy-banner blockquote {
  font-size: clamp(18px, 2.5vw, 24px);
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  max-width: 850px;
  margin: 0 auto 15px;
}

.philosophy-banner cite {
  font-style: normal;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
}

/* Photo Gallery on About */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 8, 20, 0.95) 0%, rgba(4, 8, 20, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-overlay h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 12px;
  color: var(--accent-cyan);
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* ==========================================================
   SKILLS PAGE (skills.html)
========================================================== */
.skills-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.skill-category-card {
  padding: 35px 28px;
  display: flex;
  flex-direction: column;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-header .cat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 22px;
}

.category-header h3 {
  font-size: 22px;
}

.skill-progress-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-progress-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}

.skill-progress-meta span.level {
  color: var(--accent-cyan);
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.skill-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-bar-fill {
  height: 100%;
  width: 0; /* Starts at 0, smoothly grows on page visit/scroll */
  background: linear-gradient(90deg, #0284c7, #38bdf8, #818cf8);
  border-radius: var(--radius-full);
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
  position: relative;
}

.skill-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 15px;
  background: rgba(255, 255, 255, 0.6);
  filter: blur(2px);
  border-radius: var(--radius-full);
}

/* Skill Grid Cards (Visual Cards) */
.skills-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.skill-visual-card {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skill-visual-card i {
  font-size: 42px;
  color: var(--accent-cyan);
  margin-bottom: 14px;
  transition: var(--transition-normal);
}

.skill-visual-card:hover i {
  transform: scale(1.15) rotate(5deg);
  color: #fff;
  filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.8));
}

.skill-visual-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.skill-visual-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.skill-visual-card .tag-badge {
  margin-top: 14px;
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
}

/* ==========================================================
   EXPERIENCE PAGE (experience.html)
========================================================== */
.experience-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-indigo) 60%, transparent 100%);
}

.exp-timeline-item {
  position: relative;
  padding-left: 75px;
}

.exp-timeline-dot {
  position: absolute;
  top: 25px;
  left: 20px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--accent-cyan);
  box-shadow: 0 0 18px var(--accent-cyan);
  z-index: 2;
}

.exp-card {
  padding: 32px;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.exp-role-title h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.exp-role-title .company {
  color: var(--accent-cyan);
  font-size: 15px;
  font-weight: 600;
}

.exp-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 700;
}

.exp-desc {
  color: #cbd5e1;
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.exp-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.exp-highlights-list li {
  color: #e2e8f0;
  font-size: 14.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.exp-highlights-list li i {
  color: var(--accent-cyan);
  font-size: 14px;
  margin-top: 4px;
}

.exp-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-tech-tags span {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 600;
}

/* ==========================================================
   PROJECTS PAGE (projects.html)
========================================================== */
.project-filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 45px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.08);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(99, 102, 241, 0.25));
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.2);
}

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

.project-item-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.project-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #090e1d;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-item-card:hover .project-img-box img {
  transform: scale(1.08);
}

.project-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(4, 8, 20, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(10px);
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.project-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.project-content p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 20px;
  flex: 1;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.project-tech-stack span {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: var(--radius-full);
  color: #bae6fd;
}

.project-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ==========================================================
   EDUCATION PAGE (education.html)
========================================================== */
.education-timeline-wrap {
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.education-timeline-wrap::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 32px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-indigo), transparent);
}

.edu-timeline-card {
  position: relative;
  padding-left: 80px;
}

.edu-timeline-node {
  position: absolute;
  top: 25px;
  left: 20px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--accent-cyan);
  box-shadow: 0 0 16px var(--accent-cyan);
  z-index: 2;
}

.edu-card-inner {
  padding: 32px;
}

.edu-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.edu-card-top .edu-year {
  font-size: 14px;
  font-weight: 800;
  padding: 5px 14px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
}

.edu-card-top .edu-score {
  font-size: 15px;
  font-weight: 800;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.edu-card-inner h3 {
  font-size: 23px;
  margin-bottom: 6px;
}

.edu-card-inner .institute {
  color: var(--accent-cyan);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.edu-card-inner p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.8;
}

/* ==========================================================
   CONTACT PAGE (contact.html)
========================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-col .contact-lead {
  font-size: 16.5px;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 10px;
}

.contact-direct-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
}

.contact-direct-card .icon-circ {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 20px;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.contact-direct-card:hover .icon-circ {
  background: var(--accent-blue);
  color: #fff;
  transform: scale(1.08);
}

.contact-direct-card .text-box h4 {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-direct-card .text-box p {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.social-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  transition: var(--transition-fast);
}

.social-btn i {
  font-size: 18px;
  color: var(--accent-cyan);
}

.social-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-card {
  padding: 38px;
}

.contact-form-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-form-card p.form-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 25px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: #cbd5e1;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 17, 40, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: var(--transition-fast);
}

.form-control::placeholder {
  color: var(--text-dim);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
  background: rgba(14, 23, 50, 0.95);
}

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

/* ==========================================================
   CALL TO ACTION BANNER (SHARED ON PAGES)
========================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(99, 102, 241, 0.2) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 60px auto 0;
  max-width: 1100px;
}

.cta-banner h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 12px;
}

.cta-banner p {
  color: #cbd5e1;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 28px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================
   FOOTER
========================================================== */
.footer {
  background: rgba(3, 6, 17, 0.95);
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  padding: 60px 6% 30px;
  margin-top: 80px;
  position: relative;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 45px;
}

.footer-col.brand-col p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin: 15px 0 20px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--accent-blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

.footer-col h4 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--accent-cyan);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: var(--text-muted);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.footer-links li a i {
  font-size: 11px;
  opacity: 0.6;
}

.footer-links li a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 13.5px;
}

.back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.back-to-top:hover {
  background: var(--accent-blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.5);
}

/* ==========================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
========================================================== */
@media (max-width: 1080px) {
  .home-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 130px;
    gap: 40px;
  }
  
  .hero-left {
    align-items: center;
  }
  
  .hero-role-wrapper {
    justify-content: center;
  }
  
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .quick-stats {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-right {
    order: -1;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-photo-wrapper {
    max-width: 420px;
    margin: 0 auto;
  }
  
  .about-info-tags {
    text-align: left;
  }
  
  .skills-category-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-cta .btn-nav-talk {
    display: none;
  }
  
  .nav-links {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: rgba(4, 8, 20, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    flex-direction: column;
    padding: 24px 6%;
    gap: 12px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  }
  
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links li a {
    width: 100%;
    padding: 12px 18px;
    font-size: 16px;
  }
  
  .home-features-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .page-header {
    padding: 120px 5% 40px;
  }
  
  .profile-avatar-container {
    width: 290px;
    height: 290px;
  }
  
  .avatar-ring {
    width: 300px;
    height: 300px;
  }
  
  .avatar-ring-2 {
    width: 320px;
    height: 320px;
  }
  
  .avatar-img {
    width: 250px;
    height: 250px;
  }
  
  .floating-badge {
    display: none;
  }
  
  .quick-stats {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
  
  .about-info-tags {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .experience-timeline::before,
  .education-timeline-wrap::before {
    left: 15px;
  }
  
  .exp-timeline-item,
  .edu-timeline-card {
    padding-left: 45px;
  }
  
  .exp-timeline-dot,
  .edu-timeline-node {
    left: 5px;
  }
}

/* ==========================================================
   UNIQUE & ATTRACTIVE PORTFOLIO ENHANCEMENTS
   - Flagship Project Card Styling
   - Infinite Skills Marquee Ticker
   - Ambient Glow Cursor Follower
   - Quick Nav CV Action & Live Badges
========================================================== */

/* 1. Ambient Glow Follower */
.ambient-glow-cursor {
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(99, 102, 241, 0.05) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.4s ease;
  will-change: left, top;
}

@media (max-width: 992px) {
  .ambient-glow-cursor {
    display: none;
  }
}

/* 2. Nav CV Button */
.btn-nav-cv {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-cyan);
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.btn-nav-cv:hover {
  background: var(--accent-cyan);
  color: #040814;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

/* 3. Infinite Tech & Skills Marquee Ribbon */
.tech-marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 18px 0;
  background: linear-gradient(90deg, rgba(4, 8, 20, 0.95), rgba(10, 17, 40, 0.7) 50%, rgba(4, 8, 20, 0.95));
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  position: relative;
  margin: 30px 0 20px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.tech-marquee-track {
  display: flex;
  width: max-content;
  gap: 40px;
  animation: scrollMarquee 32s linear infinite;
}

.tech-marquee-container:hover .tech-marquee-track {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.marquee-item i {
  color: var(--accent-cyan);
  font-size: 16px;
}

/* 4. Flagship Project Card Custom Styling */
.project-item-card.featured-highlight {
  position: relative;
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 17, 40, 0.9) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.12);
}

.project-item-card.featured-highlight:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(56, 189, 248, 0.28);
}

.project-category-badge.flagship-badge {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(249, 115, 22, 0.2));
  border: 1px solid rgba(234, 179, 8, 0.5);
  color: #fde047;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.25);
}

.project-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.project-header-row h3 {
  margin-bottom: 0;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.pulse-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* 5. Smooth 3D Hover on Project Cards */
.project-item-card {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.project-item-card:hover {
  transform: translateY(-8px);
}

