/* ==========================================================================
   CSS DESIGN SYSTEM - K MANOJ PORTFOLIO
   Theme: High-End Dark Glassmorphism with Soft Amber / Warm Gold Accents
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #080808;
  --bg-secondary: #121212;
  --bg-card: rgba(18, 18, 18, 0.65);
  --bg-card-hover: rgba(26, 26, 26, 0.85);

  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dark: #6B7280;

  /* Accent Colors */
  --accent-gold: #FFC107;
  --accent-gold-soft: #E5A93C;
  --accent-gold-glow: rgba(255, 193, 7, 0.25);
  --accent-gold-glow-strong: rgba(229, 169, 60, 0.45);

  /* Glassmorphism Styles */
  --glass-bg: rgba(20, 20, 22, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(229, 169, 60, 0.4);
  --glass-blur: blur(16px);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;

  /* Layout */
  --container-max: 1200px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

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

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

html, body {
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling bug on mobile */
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
}

body {
  position: relative;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-main);
}

/* Fluid Typography & Media Scaling */
img, svg, video {
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

/* Ambient Glow Blobs */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-1 {
  top: 50px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-gold-glow-strong) 0%, rgba(0,0,0,0) 70%);
}

.glow-2 {
  top: 1100px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, rgba(0,0,0,0) 70%);
}

.glow-3 {
  top: 2200px;
  right: -50px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent-gold-glow-strong) 0%, rgba(0,0,0,0) 70%);
}

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

.grid {
  display: grid;
  gap: 2rem;
}

.section-padding {
  padding: 100px 0;
}

.dark-bg {
  background: linear-gradient(180deg, rgba(8,8,8,0) 0%, rgba(14,14,16,0.8) 50%, rgba(8,8,8,0) 100%);
}

/* Typography Helpers */
.text-white {
  color: #FFFFFF;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--accent-gold) 70%, var(--accent-gold-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

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

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

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  width: 90%;
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #FFFFFF;
}

.logo-accent {
  color: var(--accent-gold);
  margin-right: 2px;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-gold);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Glassmorphic Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-gold-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-soft) 100%);
  color: #000000;
  box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-gold-glow-strong);
  filter: brightness(1.08);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: #FFFFFF;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: #000000;
  box-shadow: 0 0 15px var(--accent-gold-glow);
}

/* Highlighted Navigation Resume Button */
.btn-resume-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  background: rgba(255, 193, 7, 0.1);
  border: 1.5px solid #FFC107;
  border-radius: 8px;
  color: #FFC107;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-resume-nav:hover {
  background: #FFC107;
  color: #121212;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.pill-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-main);
  backdrop-filter: var(--glass-blur);
}

.pill-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
}

/* Profile Halo Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

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

.profile-card {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--glass-border-hover);
  box-shadow: 0 0 40px var(--accent-gold-glow-strong);
  z-index: 2;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.profile-card:hover .profile-img {
  transform: scale(1.03);
}

.glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  inset: -20px;
  border: 1px dashed var(--accent-gold-soft);
  border-radius: calc(var(--radius-lg) + 20px);
  opacity: 0.35;
  animation: rotate 30s linear infinite;
  pointer-events: none;
}

.ring-outer {
  inset: -40px;
  border-style: solid;
  border-color: rgba(255, 193, 7, 0.15);
  animation-duration: 45s;
  animation-direction: reverse;
}

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

.floating-tag {
  position: absolute;
  padding: 0.5rem 1rem;
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid var(--accent-gold);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF;
  backdrop-filter: var(--glass-blur);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.floating-tag i {
  color: var(--accent-gold);
  width: 14px;
  height: 14px;
}

.tag-1 {
  top: 20px;
  left: -40px;
  animation: float 4s ease-in-out infinite;
}

.tag-2 {
  bottom: 30px;
  right: -30px;
  animation: float 5s ease-in-out infinite 1s;
}

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

/* About & Education Section */
.about-grid {
  grid-template-columns: 1fr 1fr;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.card-icon.gold {
  background: rgba(255, 193, 7, 0.15);
  color: var(--accent-gold);
}

.card-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.bio-quote {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--accent-gold);

}

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

.timeline-pill {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.status-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-muted);
}

.edu-degree {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

.edu-major {
  font-size: 1.05rem;
  color: var(--accent-gold-soft);
  margin-bottom: 1rem;
}

.institution {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.edu-desc {
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* Experience Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-gold) 0%, rgba(255, 193, 7, 0.1) 100%);
}

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

.timeline-dot {
  position: absolute;
  left: 13px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold);
}

.experience-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.role-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #FFFFFF;
}

.company-name {
  font-size: 1.1rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-right: 0.8rem;
}

.work-type {
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-muted);
}

.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.highlights-list li i {
  color: var(--accent-gold);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Skills & Services */
.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.skill-category {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.skill-category h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.skill-category h4 i {
  color: var(--accent-gold);
}

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

.skill-chip {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.skill-chip:hover {
  background: rgba(255, 193, 7, 0.15);
  border-color: var(--accent-gold);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.services-title-margin {
  margin-bottom: 2rem;
}

.subsection-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #FFFFFF;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card .service-icon {
  width: 54px;
  height: 54px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--accent-gold);
  color: #000000;
  box-shadow: 0 0 20px var(--accent-gold-glow);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: #FFFFFF;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 3rd Service Card: Animated AI Robot Widget */
.robot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 2rem 1.5rem;
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 16px;
}

.robot-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 25px var(--accent-gold-glow-strong);
}

.code-speech-bubble {
  background: #0d0d0d;
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: 'Fira Code', 'Space Grotesk', monospace;
  font-size: 0.85rem;
  color: #00FF88;
  margin-bottom: 1rem;
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.2);
  width: 100%;
  max-width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.terminal-prompt {
  color: var(--accent-gold);
  font-weight: bold;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: #FFC107;
}

@keyframes blink {
  50% { opacity: 0; }
}

.robot-avatar-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: robotFloat 4s ease-in-out infinite;
}

.robot-icon {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 12px rgba(255, 193, 7, 0.6));
  z-index: 2;
}

.robot-glow-effect {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.25) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  z-index: 1;
}

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

.robot-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin: 0;
}

/* Currently Learning Grid Styling */
.learning-section {
  padding: 3rem 0;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.learning-card {
  padding: 1.25rem;
  background: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.learning-card:hover {
  border-color: #FFC107;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
}

.learning-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #FFC107;
  background: rgba(255, 193, 7, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 193, 7, 0.25);
  margin-bottom: 0.75rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #00FF88;
  border-radius: 50%;
  box-shadow: 0 0 8px #00FF88;
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.learning-tech-name {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.learning-category {
  color: #a1a1aa;
  font-size: 0.825rem;
}

/* Featured Projects */
.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

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

.project-type {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Badge Group Container */
.card-action-badges {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Highlighted GitHub Badge Circle */
.github-badge-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.4);
  color: #FFC107;
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.github-badge-highlight:hover {
  background: #FFC107;
  color: #121212;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

.arrow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.arrow-badge:hover {
  background: var(--accent-gold);
  color: #121212;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px var(--accent-gold-glow);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

/* Tech Stack Strip Directly Under Project Title */
.tech-stack-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Fira Code', monospace, sans-serif;
  font-size: 0.8rem;
  color: #FFC107; /* Glowing Amber Accent */
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.tech-stack-strip .dot {
  color: rgba(255, 193, 7, 0.4);
  font-weight: 400;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Concise Bullet Point List Styling for Project Cards */
.project-bullet-list {
  list-style-type: none;
  padding: 0;
  margin: 1rem 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-bullet-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #d1d5db; /* Soft light gray text for readability */
}

/* Custom Soft Gold Bullet Indicator */
.project-bullet-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: #FFC107; /* Brand Amber/Gold */
  font-size: 0.9rem;
}

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

.project-card-footer {
  margin-top: auto;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.tech-stack-pills span {
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-muted);
}

/* Certifications & Professional Development Section */
.section-subtitle-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Minimal Card Styling */
.cert-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  background: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 193, 7, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.cert-card:hover {
  border-color: rgba(255, 193, 7, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.15);
}

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

.cert-issuer {
  font-size: 0.85rem;
  color: #a1a1aa;
  font-weight: 500;
}

.cert-date-badge {
  font-size: 0.75rem;
  background: rgba(255, 193, 7, 0.1);
  color: #FFC107;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 193, 7, 0.25);
}

.cert-title {
  color: #FFC107;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.cert-img-wrapper {
  width: 100%;
  height: 140px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 193, 7, 0.15);
}

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

.cert-verify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
}

.cert-verify-btn:hover {
  background: #FFC107;
  color: #121212;
  border-color: #FFC107;
  font-weight: 600;
}

.cert-verify-btn:hover {
  background: var(--accent-gold);
  color: #121212;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
}

/* Contact Section */
.contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-box {
  width: 44px;
  height: 44px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.detail-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  transition: var(--transition-fast);
}

a.detail-value:hover {
  color: var(--accent-gold);
}

.social-links-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.social-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
  background: rgba(255, 193, 7, 0.15);
  border-color: #FFC107;
  color: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
}

.contact-form-card {
  padding: 2.5rem;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

.form-success-msg {
  margin-top: 1rem;
  padding: 0.8rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10B981;
  border-radius: var(--radius-sm);
  color: #10B981;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-primary);
}

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

.copyright {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: var(--text-dark);
  transition: var(--transition-fast);
}

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

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-visual {
    margin-top: 2rem;
  }

  .profile-halo-wrapper {
    width: 280px;
    height: 330px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: var(--glass-blur);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-150%);
    transition: var(--transition-normal);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-btn {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: left;
    padding-top: 2rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .services-grid,
  .projects-grid,
  .certifications-grid,
  .learning-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .glass-card,
  .cert-card,
  .learning-card {
    padding: 1.25rem;
  }

  .section-title,
  .section-heading {
    font-size: 1.75rem;
  }

  .tech-stack-strip {
    font-size: 0.75rem;
    gap: 0.25rem;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    padding-left: 35px;
  }

  .timeline-dot {
    left: 3px;
  }

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

  .footer-socials {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (max-width: 600px) {
  .certifications-grid,
  .learning-grid {
    grid-template-columns: 1fr !important;
  }

  .cert-img-wrapper {
    height: 120px;
  }
}

/* ==========================================================================
   DYNAMIC INFINITE TECH STACK LOGO TICKER
   ========================================================================== */
.tech-marquee-wrapper {
  margin: 2rem 0 4rem 0;
  padding: 1.8rem 0;
  background: linear-gradient(90deg, rgba(255, 193, 7, 0.05) 0%, rgba(18, 18, 18, 0.6) 50%, rgba(255, 193, 7, 0.05) 100%);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid rgba(255, 193, 7, 0.3);
  border-bottom: 1px solid rgba(255, 193, 7, 0.3);
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.15);
}

.tech-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: scrollRight 30s linear infinite;
}

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

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.6rem;
  background: rgba(26, 26, 32, 0.85);
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 193, 7, 0.15);
  transition: var(--transition-fast);
}

.marquee-item img {
  width: 26px;
  height: 26px;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.2s ease;
}

.marquee-item:hover {
  background: rgba(255, 193, 7, 0.2);
  border-color: var(--accent-gold);
  color: #FFFFFF;
  box-shadow: 0 0 25px var(--accent-gold-glow-strong);
  transform: translateY(-3px) scale(1.05);
}

.marquee-item:hover img {
  transform: scale(1.15) rotate(5deg);
}

/* Enhanced Double Pulsating Profile Aura Ring & Tilt Wrapper */
.profile-card {
  box-shadow: 0 0 25px rgba(255, 193, 7, 0.4), inset 0 0 15px rgba(255, 193, 7, 0.2);
  animation: auraPulse 4s ease-in-out infinite alternate;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

@keyframes auraPulse {
  0% {
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3), 0 0 40px rgba(229, 169, 60, 0.1);
  }
  100% {
    box-shadow: 0 0 40px rgba(255, 193, 7, 0.75), 0 0 70px rgba(255, 193, 7, 0.35);
  }
}

