/* ============================================================
   MANISH KUMAR — PROFESSIONAL PORTFOLIO & SEO SUITE
   THEME: Executive Modern Light Theme with Multi-layer Shadows
   ANIMATIONS: Slide-In, Slide-Out, Smooth Transitions
============================================================ */

@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&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* --- Light Theme Design Tokens --- */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.92);
  --bg-surface-elevated: #ffffff;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-accent-subtle: #eef2ff;
  --bg-accent-orange: #fff7ed;
  --bg-code: #0f172a;

  /* Typography Colors */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #ffffff;

  /* Brand Accents */
  --brand-primary: #4338ca;      /* Indigo 700 */
  --brand-secondary: #2563eb;    /* Blue 600 */
  --brand-accent: #0284c7;       /* Sky 600 */
  --brand-orange: #ea580c;       /* Orange 600 */
  --brand-green: #059669;        /* Emerald 600 */
  
  --brand-gradient: linear-gradient(135deg, #4338ca 0%, #2563eb 50%, #0284c7 100%);
  --brand-gradient-warm: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
  --brand-gradient-green: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --brand-glow: rgba(67, 56, 202, 0.12);

  /* Border Tokens */
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #818cf8;

  /* Multi-Tier Layered Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.09), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-floating: 0 25px 50px -12px rgba(15, 23, 42, 0.16);
  --shadow-hover: 0 20px 35px -5px rgba(67, 56, 202, 0.18), 0 8px 15px -4px rgba(37, 99, 235, 0.12);
  --shadow-glow: 0 0 25px rgba(79, 70, 229, 0.22);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions & Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET & GLOBAL STYLES
============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Subtle background pattern */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(#cbd5e1 0.75px, transparent 0.75px),
    radial-gradient(#e2e8f0 0.75px, #f8fafc 0.75px);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-secondary);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

/* ============================================================
   SLIDE-IN & SLIDE-OUT KEYFRAMES & UTILITIES
============================================================ */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-45px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(45px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulseBeacon {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.is-revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   BUTTONS & BADGES
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(67, 56, 202, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(67, 56, 202, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

.btn-orange {
  background: var(--brand-gradient-warm);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.25);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.35);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--bg-accent-subtle);
  color: var(--brand-primary);
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.badge-green {
  background: #ecfdf5;
  color: var(--brand-green);
  border-color: rgba(5, 150, 105, 0.2);
}

.badge-orange {
  background: var(--bg-accent-orange);
  color: var(--brand-orange);
  border-color: rgba(234, 88, 12, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  animation: pulseBeacon 2s infinite;
}

/* ============================================================
   HEADER & NAVBAR (Glassmorphism & Slide-in)
============================================================ */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  animation: slideInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

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

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

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

/* ============================================================
   SLIDE-OUT MOBILE DRAWER
============================================================ */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: var(--bg-surface);
  z-index: 2001;
  box-shadow: var(--shadow-floating);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1;
}

.drawer-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.drawer-link:hover {
  background: var(--bg-accent-subtle);
  color: var(--brand-primary);
}

/* ============================================================
   HERO SECTION (High Impact Light Theme)
============================================================ */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

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

.hero-content {
  animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-badge-wrapper {
  margin-bottom: 1.4rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 38px;
}

.typed-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: var(--brand-primary);
  vertical-align: middle;
  animation: blink 0.8s infinite;
}

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

.hero-description {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.hero-quick-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.meta-item i {
  color: var(--brand-primary);
  font-size: 1rem;
}

/* Hero Media with High Elevation Shadows */
.hero-media {
  animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 0.85rem;
  box-shadow: var(--shadow-xl), 0 0 35px rgba(79, 70, 229, 0.12);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-slow);
}

.hero-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-floating), 0 0 45px rgba(79, 70, 229, 0.2);
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #e2e8f0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Floating Badges on Hero Photo */
.floating-card {
  position: absolute;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  animation: floatGentle 4s ease-in-out infinite;
}

.floating-card.top-right {
  top: 1.5rem;
  right: -1.5rem;
  animation-delay: 0.5s;
}

.floating-card.bottom-left {
  bottom: 1.8rem;
  left: -1.5rem;
  animation-delay: 1.5s;
}

.floating-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.floating-icon.orange {
  background: var(--brand-gradient-warm);
}

.floating-text {
  display: flex;
  flex-direction: column;
}

.floating-value {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.floating-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================================================
   STATS BANNER
============================================================ */
.stats-banner {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  margin-top: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.9rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--brand-primary);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ============================================================
   SECTION HEADERS
============================================================ */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-accent-subtle);
  color: var(--brand-primary);
  margin-bottom: 0.9rem;
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ============================================================
   ABOUT SECTION (Dual Photo Layout)
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.about-images-stack {
  position: relative;
  padding: 1.5rem;
}

.about-img-main {
  width: 82%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
  position: relative;
  z-index: 1;
}

.about-img-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-floating);
  border: 4px solid #ffffff;
  z-index: 2;
  transition: var(--transition);
}

.about-img-secondary:hover {
  transform: translateY(-5px) scale(1.02);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.about-highlight-box {
  background: var(--bg-surface);
  border-left: 4px solid var(--brand-primary);
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.about-highlight-box p {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.about-feature i {
  color: var(--brand-primary);
  font-size: 1.2rem;
  margin-top: 0.15rem;
}

.about-feature h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   PROJECTS SECTION (Cards with Elevation & Hover)
============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(79, 70, 229, 0.3);
}

.project-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: #f1f5f9;
  overflow: hidden;
}

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

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

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
}

.project-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-meta {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.3rem;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.project-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.project-link:hover {
  gap: 0.65rem;
}

/* ============================================================
   EXPERIENCE & TIMELINE (Appletree Infotech)
============================================================ */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.timeline-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(79, 70, 229, 0.2);
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--brand-gradient);
}

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

.timeline-role {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.timeline-date {
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--bg-accent-subtle);
  color: var(--brand-primary);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
}

.timeline-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.timeline-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.timeline-point i {
  color: var(--brand-green);
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* ============================================================
   SKILLS & TECH STACK
============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skill-category-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skill-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-accent-subtle);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

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

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.skill-pill:hover {
  background: var(--bg-surface);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   JAVA PROGRAMS & DEV GUIDES
============================================================ */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.guide-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}

.guide-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.guide-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.guide-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.guide-topic-tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-subtle);
  color: var(--brand-primary);
  font-weight: 600;
}

/* ============================================================
   GHAZIABAD LOCAL SEO & TECH HUB SPOTLIGHT
============================================================ */
.local-spotlight {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  margin-bottom: 4rem;
}

.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.local-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.local-chip {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.local-chip:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

/* ============================================================
   FAQ ACCORDION COMPONENT
============================================================ */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  font-size: 1rem;
  color: var(--brand-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 1.5rem 1.3rem;
}

/* ============================================================
   CONTACT SECTION & FORM
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--bg-accent-subtle);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-method-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-method-val {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-form-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

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

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

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  background: var(--bg-body);
  color: var(--text-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

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

/* ============================================================
   SLIDE-OUT QUICK CONTACT MODAL
============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-floating);
  border: 1px solid var(--border-subtle);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.8rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-body {
  padding: 1.8rem;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* ============================================================
   TOAST NOTIFICATION (Slide-In / Slide-Out)
============================================================ */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--brand-green);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 4000;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateX(0);
}

/* ============================================================
   SEO LANDING PAGE TEMPLATE STYLES
============================================================ */
.seo-header-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--brand-primary);
}

.breadcrumbs span.current {
  color: var(--text-secondary);
  font-weight: 600;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 3rem;
  padding: 4rem 0;
}

.seo-article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.seo-article h2 {
  font-size: 1.85rem;
  color: var(--text-primary);
  margin-top: 1rem;
}

.seo-article h3 {
  font-size: 1.4rem;
  color: var(--brand-primary);
}

.seo-article p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.seo-highlight-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.seo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.sidebar-widget-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* ============================================================
   SEO DIRECTORY COMPONENT (seo-directory.html)
============================================================ */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.directory-category-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.directory-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.directory-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.directory-link:hover {
  color: var(--brand-primary);
  padding-left: 0.4rem;
}

/* ============================================================
   FOOTER (Comprehensive SEO Footer)
============================================================ */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.02);
}

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

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.3rem;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

.footer-link:hover {
  color: var(--brand-primary);
  padding-left: 0.25rem;
}

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

/* ============================================================
   RESPONSIVE DESIGN (Media Queries)
============================================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-quick-meta {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .seo-content-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .projects-grid, .skills-grid, .guides-grid, .directory-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .local-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .stat-item::after {
    display: none !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
