/* =========================================
   VARIABLES & THEMING
   ========================================= */
:root {
  /* Colors - Dark Theme & Neon Glows */
  --bg-dark: #0a0a0c;
  --bg-secondary: #0f1014;
  --text-main: #f0f0f5;
  --text-muted: #a0a0b0;
  
  --neon-blue: #00d2ff;
  --neon-purple: #8a2be2;
  --neon-pink: #ff007f;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  
  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-normal: 0.3s ease;
  --trans-slow: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* =========================================
   RESETS & FOUNDATION
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* =========================================
   UTILITIES
   ========================================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.pos-rel {
  position: relative;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.w-100 {
  width: 100%;
}

/* Gradients & Glows */
.text-gradient {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-neon {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
}

/* Background Glows */
.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

.glow-1 {
  background: var(--neon-blue);
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
}

.glow-2 {
  background: var(--neon-purple);
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: -50px;
  animation-delay: 2s;
}

.glow-3 {
  background: var(--neon-blue);
  width: 350px;
  height: 350px;
  top: 40%;
  left: -100px;
}

.glow-4 {
  background: var(--neon-purple);
  width: 300px;
  height: 300px;
  top: 10%;
  right: -50px;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.2); opacity: 0.5; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: var(--trans-normal);
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
}

.btn-outline:hover {
  background: rgba(0, 210, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS (Intersection Observer)
   ========================================= */
.animate-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
}

.fade-in.is-visible {
  animation: fadeIn var(--trans-slow) forwards;
}

.slide-up.is-visible {
  animation: slideUp var(--trans-slow) forwards;
}

.slide-right.is-visible {
  animation: slideRight var(--trans-slow) forwards;
}

.slide-left.is-visible {
  animation: slideLeft var(--trans-slow) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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


/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--trans-normal);
}

.navbar.scrolled {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: var(--trans-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

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

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg-secondary);
  z-index: 2000;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: right 0.4s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.open {
  right: 0;
}

.close-menu {
  align-self: flex-end;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 40px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
}

.mobile-nav-links a:hover {
  color: var(--neon-blue);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-inline: auto;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.section-title {
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.image-wrapper {
  aspect-ratio: 4/5;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.placeholder-img {
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.1);
}

.floating-badge {
  position: absolute;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  animation: float 4s ease-in-out infinite;
}

.badge-1 {
  top: 10%;
  left: -20px;
}

.badge-2 {
  bottom: 15%;
  right: -20px;
  animation-delay: 2s;
}

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

.about-content h3 {
  font-size: 2rem;
  color: var(--neon-blue);
}

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

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  font-size: 0.95rem;
}

/* =========================================
   SKILLS SECTION
   ========================================= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.skill-category {
  padding: 30px;
  transition: var(--trans-normal);
}

.skill-category:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 210, 255, 0.1);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.skill-header i {
  font-size: 1.8rem;
}

.skill-header h3 {
  font-size: 1.3rem;
}

.skill-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.skill-list li i {
  color: var(--neon-purple);
  font-size: 0.9rem;
}

.tools-list li img {
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  text-align: center;
  transition: var(--trans-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  background: rgba(0, 210, 255, 0.05);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--neon-blue);
  box-shadow: inset 0 0 20px rgba(0, 210, 255, 0.05), 0 0 20px rgba(0, 210, 255, 0.1);
  transition: var(--trans-normal);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: inset 0 0 20px rgba(0, 210, 255, 0.1), 0 0 30px rgba(0, 210, 255, 0.3);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

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

/* =========================================
   PORTFOLIO SECTION
   ========================================= */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 500;
  cursor: pointer;
  transition: var(--trans-normal);
  backdrop-filter: blur(5px);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

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

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: block; /* For filtering */
}

.portfolio-item.hide {
  display: none;
}

.portfolio-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--trans-normal);
}

.neon-play {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.8);
  filter: drop-shadow(0 0 15px var(--neon-blue));
  transform: scale(0.8);
  transition: var(--trans-normal);
}

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .neon-play {
  transform: scale(1);
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  border-radius: 0 0 16px 16px;
  border-top: none;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.95), rgba(10, 10, 12, 0.2));
  transform: translateY(100%);
  opacity: 0;
  transition: var(--trans-normal);
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-info h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.category-tag {
  font-size: 0.8rem;
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--glass-border);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50px;
  position: relative;
  margin-bottom: 50px;
  width: 50%;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-left: 50px;
  padding-right: 0;
  margin-left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  right: -11px;
  width: 20px;
  height: 20px;
  background: var(--bg-dark);
  border: 4px solid var(--neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
  z-index: 10;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -9px;
  right: auto;
}

.timeline-content {
  padding: 30px;
  text-align: left;
  position: relative;
  transition: var(--trans-normal);
}

.timeline-content:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 43, 226, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 20px rgba(138, 43, 226, 0.1);
}

.timeline-date {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.company {
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 15px;
  font-size: 1rem;
}

.timeline-content ul {
  padding-left: 15px;
}

.timeline-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  margin-bottom: 8px;
}

.timeline-content li::before {
  content: '•';
  color: var(--neon-purple);
  position: absolute;
  left: -15px;
  font-size: 1.2rem;
  line-height: 1;
}

/* =========================================
   RESULTS SECTION
   ========================================= */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.result-item {
  padding: 40px 20px;
  text-align: center;
  transition: var(--trans-normal);
}

.result-item:hover {
  transform: translateY(-5px);
}

.result-item h3 {
  display: inline-block;
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.result-item span {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.result-item p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonial-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-wrapper {
  position: relative;
  min-height: 300px;
  overflow: hidden; /* For future sliding anim */
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 50px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
  text-align: center;
  border-radius: 20px;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  opacity: 0.2;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 30px;
  line-height: 1.8;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.client-info h5 {
  font-size: 1.1rem;
  margin-bottom: 3px;
}

.client-info span {
  font-size: 0.85rem;
  color: var(--neon-blue);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.slide-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--trans-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-btn:hover {
  background: var(--neon-purple);
  border-color: var(--neon-purple);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glass-border);
  cursor: pointer;
  transition: var(--trans-fast);
}

.dot.active {
  background: var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-blue);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.contact-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  transition: var(--trans-normal);
}

.contact-method:hover {
  transform: translateX(10px);
  border-color: rgba(0, 210, 255, 0.3);
}

.contact-method i {
  font-size: 1.8rem;
}

.contact-method h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-method span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-wrapper {
  padding: 40px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--trans-normal);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--neon-blue);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
  background: var(--bg-secondary);
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 1.2rem;
  transition: var(--trans-normal);
}

.footer-social a:hover {
  background: var(--neon-blue);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
}

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

/* =========================================
   VIDEO MODAL
   ========================================= */
.video-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.video-modal.show {
  display: flex;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 210, 255, 0.2);
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--trans-fast);
}

.close-modal:hover {
  color: var(--neon-pink);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================= */
@media screen and (max-width: 992px) {
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .timeline::before {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    justify-content: flex-start;
    padding-left: 90px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    margin-left: 0;
    padding-left: 90px;
  }
  
  .timeline-dot {
    left: 29px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 29px;
  }
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: 70px 0;
  }
  
  .skills-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 10px;
  }
  
  .portfolio-filters::-webkit-scrollbar {
    height: 4px;
  }
  
  .portfolio-filters::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 4px;
  }
  
  .filter-btn {
    white-space: nowrap;
  }
  
  .result-item h3 {
    font-size: 2.5rem;
  }
  
  .result-item span {
    font-size: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .floating-badge {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-dot {
    left: 9px;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 9px;
  }
  
  .testimonial-slide {
    padding: 30px 15px;
  }
}

/* =========================================
   CUSTOM CURSOR PARTICLE TRAIL
   ========================================= */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}
