/* ==========================================
   IMPORT GOOGLE FONTS (Outfit & Poppins)
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ==========================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================== */
:root {
  --bg-black: #000000;
  --bg-dark-gray: #050505;
  --bg-card: rgba(15, 15, 15, 0.65);
  
  /* Pure Golden Accent Palette */
  --accent-gold-primary: #FFD700;      /* Vivid Gold */
  --accent-gold-secondary: #FFDF00;    /* Golden Yellow */
  --accent-gold-dark: #B8860B;         /* Dark Goldenrod */
  --accent-gold-glow: rgba(255, 215, 0, 0.15);
  --accent-gold-glow-hover: rgba(255, 215, 0, 0.45);
  
  /* Text Colors */
  --text-white: #FFFFFF;
  --text-muted: #A3A3A3;
  --text-muted-dark: #666666;
  
  /* Border & Glassmorphism */
  --border-glass: rgba(255, 215, 0, 0.08);
  --border-glass-hover: rgba(255, 215, 0, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --blur-filter: blur(12px);
  
  /* Fonts */
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   BASE & RESET STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  cursor: none; /* Custom cursor */
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

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

p {
  font-family: var(--font-secondary);
  font-weight: 300;
  color: var(--text-muted);
}

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

ul {
  list-style: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--bg-dark-gray), var(--accent-gold-primary));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold-secondary);
}

/* ==========================================
   CUSTOM CURSOR & BACKGROUND PARTICLES
   ========================================== */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold-primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s;
}

.custom-cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-gold-primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.1s ease-out, border-color 0.2s, background-color 0.2s;
  box-shadow: 0 0 15px var(--accent-gold-glow);
}

/* Cursor Hover States */
body.hovered .custom-cursor {
  width: 12px;
  height: 12px;
  background-color: var(--accent-gold-secondary);
}

body.hovered .custom-cursor-outline {
  width: 50px;
  height: 50px;
  border-color: var(--accent-gold-secondary);
  background-color: rgba(255, 215, 0, 0.05);
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ==========================================
   REUSABLE COMPONENTS & UTILITIES
   ========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-subtitle {
  font-family: var(--font-secondary);
  color: var(--accent-gold-primary);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-white);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-gold-primary);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-gold-primary);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold-primary) 0%, var(--accent-gold-dark) 100%);
  color: var(--bg-black);
  border: 1px solid var(--accent-gold-primary);
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-glass);
  backdrop-filter: var(--blur-filter);
}

.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gold-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-secondary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-secondary:hover {
  color: var(--bg-black);
  border-color: var(--accent-gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--accent-gold-glow);
}

.btn-icon {
  margin-left: 8px;
  font-size: 1rem;
}

/* Glass Card Base Style */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur-filter);
  -webkit-backdrop-filter: var(--blur-filter);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.08), 0 0 20px var(--accent-gold-glow);
  transform: translateY(-5px);
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 1.5rem 0;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: var(--blur-filter);
  -webkit-backdrop-filter: var(--blur-filter);
  border-bottom: 1px solid rgba(255, 215, 0, 0.05);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -1px;
}

.nav-logo span {
  color: var(--accent-gold-primary);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold-primary);
  transition: var(--transition-fast);
  box-shadow: 0 0 8px var(--accent-gold-primary);
}

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

/* Hamburger Menu Toggle Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Hamburger Active / Close Animation */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--accent-gold-primary);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--accent-gold-primary);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  z-index: 10;
}

.hero-greeting {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-gold-primary);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
  text-shadow: 0 0 10px var(--accent-gold-glow);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--accent-gold-primary);
  background: linear-gradient(135deg, var(--accent-gold-secondary) 0%, var(--accent-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Typing Text Container */
.typing-container {
  height: 40px;
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--accent-gold-primary);
  border-right: 2px solid var(--accent-gold-primary);
  padding-right: 5px;
  white-space: nowrap;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: var(--accent-gold-primary); }
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* Floating Hero Image Container */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.hero-image-glow-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse-glow 6s infinite alternate;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.hero-image-container {
  width: 380px;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.1);
  position: relative;
  animation: float 6s ease-in-out infinite;
  background-color: var(--bg-dark-gray);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: contrast(1.05) brightness(0.95);
}

.hero-image-container:hover .hero-image {
  transform: scale(1.05);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.about-text h3 span {
  color: var(--accent-gold-primary);
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  padding: 2.2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold-primary), transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

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

.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-gold-primary);
  margin-bottom: 0.5rem;
  display: block;
  text-shadow: 0 0 10px var(--accent-gold-glow);
}

.stat-label {
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   TECH STACK & TOOLS SECTIONS
   ========================================== */
.tech-container {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.5rem;
}

.tech-card {
  padding: 1.8rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.tech-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

/* Skill Custom Glows */
.tech-card:hover .tech-icon {
  color: var(--accent-gold-primary);
  transform: scale(1.1);
  text-shadow: 0 0 15px var(--accent-gold-glow-hover);
}

.tech-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

/* ==========================================
   EXPERIENCE SECTION (Timeline)
   ========================================== */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Timeline Central Line */
.timeline-container::after {
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent-gold-primary) 15%, var(--accent-gold-primary) 85%, transparent);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

.timeline-item {
  padding: 1.5rem 0;
  position: relative;
  width: 50%;
  z-index: 1;
}

/* Alternate Left / Right items */
.timeline-item-left {
  left: 0;
  padding-right: 3rem;
}

.timeline-item-right {
  left: 50%;
  padding-left: 3rem;
}

/* Timeline Glowing Nodes */
.timeline-node {
  width: 16px;
  height: 16px;
  background: var(--bg-black);
  border: 3px solid var(--accent-gold-primary);
  border-radius: 50%;
  position: absolute;
  top: 2rem;
  left: 100%;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 10px var(--accent-gold-primary);
  transition: var(--transition-normal);
}

.timeline-item-right .timeline-node {
  left: 0;
}

.timeline-item:hover .timeline-node {
  background: var(--accent-gold-secondary);
  box-shadow: 0 0 20px var(--accent-gold-secondary), 0 0 10px #ffffff;
  transform: translateX(-50%) scale(1.3);
}

/* Timeline Card */
.timeline-card {
  padding: 2rem;
}

.timeline-date {
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-role {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.timeline-desc {
  font-size: 0.95rem;
}

/* ==========================================
   CERTIFICATES SECTION
   ========================================== */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.cert-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cert-img-container {
  height: 180px;
  overflow: hidden;
  position: relative;
  background: var(--bg-dark-gray);
  border-bottom: 1px solid rgba(255, 215, 0, 0.05);
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(20%) brightness(0.9);
}

.cert-card:hover .cert-img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1.0);
}

.cert-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cert-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  color: var(--text-white);
}

.cert-desc {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.cert-btn {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-img-container {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--bg-dark-gray);
}

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

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

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--text-white);
}

.project-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.project-tag {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  color: var(--accent-gold-primary);
}

.project-actions {
  display: flex;
  gap: 1rem;
}

.project-btn {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-info-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info-desc {
  font-size: 1rem;
  max-width: 400px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  transition: var(--transition-fast);
}

.contact-link:hover {
  color: var(--accent-gold-primary);
}

/* Premium Form Styling */
.contact-form {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 1rem 0.5rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--text-muted-dark);
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--text-white);
  outline: none;
  transition: var(--transition-normal);
}

.form-label {
  position: absolute;
  left: 0.5rem;
  top: 1rem;
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-normal);
}

/* Form Animation States */
.form-input:focus ~ .form-label,
.form-input:valid ~ .form-label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--accent-gold-primary);
}

.form-input:focus {
  border-bottom-color: var(--accent-gold-primary);
  box-shadow: 0 2px 0 var(--accent-gold-glow);
}

/* For textarea height setting */
textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 215, 0, 0.05);
  background: var(--bg-black);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

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

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.social-btn:hover {
  color: var(--bg-black);
  background-color: var(--accent-gold-primary);
  box-shadow: 0 0 15px var(--accent-gold-glow-hover);
  transform: translateY(-3px);
}

.footer-copy {
  font-size: 0.9rem;
  font-family: var(--font-secondary);
  color: var(--text-muted-dark);
}

.footer-copy span {
  color: var(--text-muted);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS (Intersection Observer)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

.reveal.active {
  opacity: 1;
  transform: translate(0);
}

/* Sequence delay helpers */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================
   RESPONSIVENESS (Media Queries)
   ========================================== */

/* Tablet Optimization */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .hero-grid {
    gap: 3rem;
  }
  
  .hero-image-container {
    width: 320px;
    height: 320px;
  }
  
  .about-grid {
    gap: 3rem;
  }
  
  .contact-grid {
    gap: 3rem;
  }
}

/* Mobile & Small Screens */
@media (max-width: 768px) {
  * {
    /* Hide custom cursor on mobile touch screens and restore default pointer */
    cursor: auto !important;
  }
  
  .custom-cursor, .custom-cursor-outline {
    display: none;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  /* Navbar Collapse */
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: var(--blur-filter);
    -webkit-backdrop-filter: var(--blur-filter);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 8rem 3rem;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  /* Stacking Hero Section */
  .hero {
    padding-top: 6rem;
    min-height: auto;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-image-wrapper {
    order: 1;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    justify-content: center;
  }
  
  .hero-desc {
    margin: 0 auto 2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  /* Stacking About Section */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-text {
    text-align: center;
  }
  
  /* Timeline Responsive Redesign (Collapse to Single Column aligned left) */
  .timeline-container::after {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 3.5rem;
    padding-right: 0;
  }
  
  .timeline-item-left, .timeline-item-right {
    left: 0;
  }
  
  .timeline-node {
    left: 20px !important;
  }
  
  /* Stacking Contact Section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .contact-info {
    text-align: center;
    align-items: center;
  }
  
  .contact-list {
    align-items: flex-start;
    text-align: left;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Small Mobile Screen Adjustments */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-image-container {
    width: 260px;
    height: 260px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
  }
}
