:root {
  --bg-color: #080808;
  --card-bg: #121214;
  --card-border: #222222;
  --text-main: #F5F5F5;
  --text-muted: #A0A0A0;
  --orange-primary: #FF7900;
  --orange-hover: #ff8c1a;
  --orange-gradient: linear-gradient(135deg, #FF7900 0%, #ffa033 100%);
  --orange-glow: rgba(255, 121, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Times New Roman', Times, serif !important;
}

body, html, button, input, textarea, select {
  font-family: 'Times New Roman', Times, serif !important;
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
  scroll-behavior: smooth;
  selection-background-color: var(--orange-primary);
  selection-color: #000;
}

::selection {
  background: var(--orange-primary);
  color: #000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
  background: #ff6b00;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff8c2b;
}

/* Typography elements */
.font-heading {
  font-family: 'Times New Roman', Times, serif !important;
}

/* Orange Gradient Text */
.text-orange-gradient {
  background: linear-gradient(135deg, #ff6b00 0%, #ffaa00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Dark Glassmorphism */
.glass-panel {
  background: rgba(17, 17, 19, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.glass-panel:hover {
  border-color: rgba(255, 107, 0, 0.4);
}

/* Ambient Orange Glow Blobs */
.orange-glow-blob {
  position: absolute;
  filter: blur(110px);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.blob-hero {
  display: none;
}

.blob-mid {
  background: radial-gradient(circle, rgba(255, 140, 0, 0.16) 0%, rgba(255, 140, 0, 0) 70%);
  width: 450px;
  height: 450px;
  top: 45%;
  left: -120px;
  animation: floatOrb 15s infinite alternate-reverse ease-in-out;
}

.blob-bottom {
  background: radial-gradient(circle, rgba(255, 107, 0, 0.18) 0%, rgba(255, 107, 0) 70%);
  width: 500px;
  height: 500px;
  bottom: 50px;
  right: -100px;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.08); }
  100% { transform: translateY(20px) scale(0.95); }
}

/* Button Styling */
.btn-orange {
  background: #FF7900;
  color: #080808;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 121, 0, 0.25);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 121, 0, 0.35);
  background: #ff8c1a;
  color: #080808;
}

.btn-orange-outline {
  border: 1px solid #FF7900;
  background: rgba(18, 18, 21, 0.6);
  color: #FF7900;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-orange-outline:hover {
  background: rgba(255, 121, 0, 0.12);
  border-color: #ff8c1a;
  color: #ff8c1a;
  transform: translateY(-2px);
}

/* Card hover animation */
.hover-card-effect {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.hover-card-effect:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 107, 0, 0.18);
}

/* Tech Stack Logo Cards */
.tech-pill {
  background: rgba(20, 20, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-pill:hover {
  background: rgba(28, 28, 34, 0.95);
  border-color: #ff6b00;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(255, 107, 0, 0.25);
}

.tech-pill img,
.tech-pill i {
  transition: transform 0.3s ease;
}

.tech-pill:hover img,
.tech-pill:hover i {
  transform: scale(1.18);
}

/* Timeline vertical line & node */
.timeline-container::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, #ff6b00, rgba(255, 107, 0, 0.15));
}

.timeline-dot {
  position: absolute;
  left: 13px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff6b00;
  border: 3px solid #070708;
  box-shadow: 0 0 12px #ff6b00;
  z-index: 2;
}

/* Hero Large Professional Portrait Frame */
.hero-portrait-card {
  position: relative;
  background: #121214;
  border: 1px solid #262626;
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.hero-portrait-card:hover {
  border-color: rgba(255, 121, 0, 0.4);
}

.hero-portrait-card::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 121, 0, 0.15);
  pointer-events: none;
  z-index: -1;
  transition: border-color 0.4s ease;
}

.hero-portrait-card:hover::before {
  border-color: rgba(255, 121, 0, 0.35);
}

/* DSA Progress meters */
.progress-fill-orange {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #ea580c, #ff8c00);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated subtle grid background */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(255, 107, 0, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
