/* CSS Variables */
:root {
  --bg: #0A0A0A;
  --primary: #7F00FF;
  --secondary: #00BFFF;
  --tertiary: #00BFFF;
  --accent: #7F00FF;
  --text: #E6E6E6;
  --text-muted: #B3B3B3;
  --glow: 0 0 5px rgba(127, 0, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2);
  /* New gradient palette */
  --deep-black: #0A0A0A;
  --midnight-violet: #0A0A0A;
  --electric-purple: #7F00FF;
  --neon-magenta: #00BFFF;
  --cyber-blue: #00BFFF;
  --accent-glow: rgba(127, 0, 255, 0.1);
  --cyber-glow: rgba(0, 191, 255, 0.1);
}

/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
}


/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 40px;
  filter: drop-shadow(0 0 5px var(--primary));
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transition: width 0.3s ease;
}
.nav-links li a:hover,
.nav-links li a:focus {
  color: var(--primary);
}
.nav-links li a:hover::after,
.nav-links li a:focus::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 5px var(--primary);
  transition: all 0.3s ease;
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text);
  background: var(--midnight-violet);
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.1);
  z-index: 0;
}
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  opacity: 0.7;
  filter: drop-shadow(0 0 20px var(--primary));
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 0 1rem;
}
.hero-content h1 {
  font-family: 'Orbitron', monospace;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: var(--glow);
  margin-bottom: 1rem;
  animation: textShimmer 3s infinite;
  letter-spacing: 2px;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-weight: 300;
}
.cta-button {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--bg);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--glow);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.cta-button::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: left 0.5s;
}
.cta-button:hover::before {
  left: 100%;
}
.cta-button:hover,
.cta-button:focus {
  box-shadow: 0 0 30px var(--primary), 0 0 50px var(--secondary);
  transform: scale(1.05) translateY(-2px);
  animation: pulseGlow 2s infinite;
}

/* Parallax Wave Dividers */
.parallax-wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateZ(0);
}

.parallax-wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 150px;
  transform: translateZ(0);
}

.parallax-wave-divider .wave-shape {
  fill: var(--accent);
  animation: waveFloat 8s ease-in-out infinite;
}

@keyframes waveFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

/* Gradient Overlays for Sections */

/* Animated Gradient Borders */
.section-border {
  position: relative;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary), var(--tertiary));
  background-size: 400% 400%;
  animation: borderPulse 4s ease-in-out infinite;
  margin: 0;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

@keyframes borderPulse {
  0%, 100% {
    background-position: 0% 50%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 0 0 40px rgba(180, 0, 255, 0.5);
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 2rem;
  background: rgba(10, 10, 15, 0.3);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: glassMorph 1s ease-out;
}

@keyframes glassMorph {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Scroll-triggered Color Shifts */
.color-shift-section {
  transition: background 0.5s ease, color 0.5s ease;
}

.color-shift-active {
  background: linear-gradient(135deg, var(--bg) 0%, var(--primary) 100%);
  color: var(--text);
}

/* About Section */
#about {
  padding: 5rem 2rem;
  background: var(--midnight-violet);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.about-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-image-box {
  flex: 1 1 400px;
  animation: fadeSlideIn 1s ease forwards;
}
.about-image-box img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 40px var(--primary);
  animation: floatUpDown 6s ease-in-out infinite;
}
.about-text-box {
  flex: 1 1 500px;
  padding: 2rem;
  animation: fadeSlideIn 1.5s ease forwards;
}
.about-text-box h2 {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-shadow: var(--glow);
  letter-spacing: 1px;
}
.about-text-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 300;
}
.about-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary), var(--accent), transparent);
  margin: 2rem 0;
  box-shadow: 0 0 10px var(--primary);
  border-radius: 1px;
}

/* Our Process Section */
#process {
  padding: 5rem 2rem;
  background: var(--midnight-violet);
  color: var(--text);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#process h2 {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: var(--primary);
  text-shadow: var(--glow);
  letter-spacing: 2px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.process-step {
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text);
  /* Make process cards visible by default so they are not hidden on load.
    Keep the transition so .fade-in and .fade-in.visible still animate correctly. */
  opacity: 1;
  transform: translateY(0);
  position: relative;
  overflow: hidden;
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.process-step.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay);
}
.process-step:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2), 0 0 60px rgba(180, 0, 255, 0.1);
  border-color: var(--primary);
}
.process-step:hover::before {
  opacity: 1;
}
.process-step h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 1rem 0 0.5rem;
  letter-spacing: 1px;
}
.process-step p {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
}
.process-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-size: 2rem;
  box-shadow: var(--glow);
  transition: all 0.3s ease;
}
.process-step:hover .process-icon {
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--primary), 0 0 50px var(--secondary);
}

/* Statistics Section */
#statistics {
  padding: 5rem 2rem;
  background: var(--midnight-violet);
  color: var(--text);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#statistics h2 {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: var(--primary);
  text-shadow: var(--glow);
  letter-spacing: 2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-item {
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text);
  opacity: 0;
  transform: translateY(30px);
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay);
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2), 0 0 60px rgba(180, 0, 255, 0.1);
  border-color: var(--primary);
}

.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1rem;
  text-shadow: var(--glow);
  transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
  transform: scale(1.1);
  text-shadow: 0 0 30px var(--primary), 0 0 50px var(--secondary);
}

.stat-item h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 1rem 0 0.5rem;
  letter-spacing: 1px;
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
}

/* Services Section */
#services {
  padding: 5rem 2rem;
  background: var(--midnight-violet);
  color: var(--text);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#services h2 {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: var(--primary);
  text-shadow: var(--glow);
  letter-spacing: 2px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.service-card {
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text);
  opacity: 0;
  transform: translateY(50px);
  position: relative;
  overflow: hidden;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay);
}
.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2), 0 0 60px rgba(180, 0, 255, 0.1);
  border-color: var(--primary);
}
.service-card h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 1rem 0 0.5rem;
  letter-spacing: 1px;
}
.service-card p {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
}
.service-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

/* Service Icons */
.web-dev {
  border: 2px solid var(--primary);
  background: rgba(0, 255, 255, 0.1);
}
.web-dev::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 5px var(--primary);
}
.video-edit {
  border: 2px solid var(--secondary);
  background: rgba(255, 0, 255, 0.1);
  clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0 100%);
}
.video-edit::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 15px;
  width: 40px;
  height: 30px;
  background: var(--secondary);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 0 5px var(--secondary);
}
.digital-design {
  border: 2px solid var(--tertiary);
  background: rgba(0, 128, 255, 0.1);
  border-radius: 50%;
}
.digital-design::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35px;
  height: 35px;
  background: var(--tertiary);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--tertiary);
}
.business-tech {
  border: 2px solid var(--accent);
  background: rgba(180, 0, 255, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.business-tech::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 40px;
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent);
}

/* Portfolio Sections */
#website-portfolio,
#video-editing-portfolio,
#design-portfolio {
  padding: 5rem 2rem;
  background: var(--midnight-violet);
  color: var(--text);
  text-align: center;
  position: relative;
}

#website-portfolio h2,
#video-editing-portfolio h2,
#design-portfolio h2 {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: var(--primary);
  text-shadow: var(--glow);
  letter-spacing: 2px;
}
.carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide {
  min-width: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
}
.carousel-slide img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
}
#design-portfolio .carousel-slide img {
  object-fit: contain;
}
.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  padding: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  text-align: center;
  z-index: 3;
}
.slide-overlay h3 {
  font-family: 'Orbitron', monospace;
  letter-spacing: 1px;
}
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}
.carousel-prev {
  left: 10px;
}
.carousel-next {
  right: 10px;
}
.carousel-prev:hover,
.carousel-next:hover {
  background: var(--primary);
  color: var(--bg);
}

/* Contact Section */
#contact {
  padding: 5rem 2rem;
  background: var(--midnight-violet);
  color: var(--text);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#contact h2 {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--primary);
  text-shadow: var(--glow);
  letter-spacing: 2px;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(10, 10, 15, 0.5);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: vertical;
  font-family: 'Poppins', sans-serif;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  transform: scale(1.02);
}
.submit-button {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--bg);
  font-weight: 700;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: var(--glow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: 'Orbitron', monospace;
  letter-spacing: 1px;
}
.submit-button:hover,
.submit-button:focus {
  box-shadow: 0 0 40px var(--primary), 0 0 60px var(--secondary);
  transform: scale(1.05) translateY(-2px);
  animation: pulseGlow 2s infinite;
}
.submit-button::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: 0;
}
.submit-button:hover::after {
  width: 300%;
  height: 300%;
}
.contact-text {
  font-size: 1.1rem;
  margin: 1rem 0;
  color: var(--text-muted);
  font-style: italic;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.social-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}
.social-icon::before {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--bg);
}
.social-icon.instagram::before {
  content: '📸';
}
.social-icon.linkedin::before {
  content: '💼';
}
.social-icon.email::before {
  content: '✉️';
}
.social-icon:hover {
  transform: scale(1.2) rotate(5deg);
  box-shadow: 0 0 30px var(--primary), 0 0 50px var(--secondary);
}

/* Clients Section */
#clients {
  padding: 5rem 2rem;
  background: var(--midnight-violet);
  color: var(--text);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#clients h2 {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: var(--primary);
  text-shadow: var(--glow);
  letter-spacing: 2px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  overflow: hidden;
}

.client-logo img {
  max-width: 100px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(0%) brightness(1);
  transform: scale(1.1);
}

/* Footer */
#footer {
  background: var(--midnight-violet);
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
  height: 40px;
  filter: drop-shadow(0 0 10px var(--primary));
}
.footer-social {
  display: flex;
  gap: 1.5rem;
}
.footer-social .social-icon {
  width: 45px;
  height: 45px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--primary);
}
.footer-social .social-icon::before {
  color: var(--primary);
  font-size: 1.2rem;
}
#footer p {
  font-size: 0.9rem;
  letter-spacing: 1px;
  opacity: 0.8;
}


/* Animations */
@keyframes textShimmer {
  0% {
    text-shadow: 0 0 10px var(--primary);
  }
  50% {
    text-shadow: 0 0 30px var(--primary), 0 0 50px var(--accent);
  }
  100% {
    text-shadow: 0 0 10px var(--primary);
  }
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px var(--primary), 0 0 40px var(--accent);
  }
  50% {
    box-shadow: 0 0 40px var(--primary), 0 0 60px var(--accent);
  }
}
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Scroll fade-in helper */
.fade-in {
  opacity: 1;
  transform: translateY(30px);
  transition: transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .about-container {
    gap: 2rem;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  #services h2,
  #contact h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  #navbar {
    padding: 1rem;
  }
  .nav-container {
    max-width: 100%;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 1100;
    padding: 2rem 0;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li a {
    font-size: 1.2rem;
  }
  .hamburger {
    display: flex;
  }
  .hero-content h1 {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  #about {
    padding: 3rem 1rem;
  }
  .about-container {
    flex-direction: column;
    gap: 2rem;
  }
  .about-text-box h2 {
    font-size: 2rem;
  }
  .about-text-box p {
    font-size: 1rem;
  }
  #services {
    padding: 3rem 1rem;
  }
  #services h2 {
    font-size: 2.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-card {
    padding: 2rem 1rem;
  }
  .service-icon {
    width: 60px;
    height: 60px;
  }
  #website-portfolio,
  #video-editing-portfolio,
  #design-portfolio {
    padding: 3rem 1rem;
  }
  #website-portfolio h2,
  #video-editing-portfolio h2,
  #design-portfolio h2 {
    font-size: 2.5rem;
  }
  .carousel-slide img {
    height: 350px;
  }
  .carousel-prev,
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  #contact {
    padding: 3rem 1rem;
  }
  #contact h2 {
    font-size: 2.5rem;
  }
  .contact-form {
    padding: 1.5rem;
    margin: 0 auto 1rem;
  }
  .social-icons {
    gap: 1.5rem;
  }
  .footer-content {
    gap: 1rem;
  }
  .footer-social {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .cta-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }
  .about-text-box h2 {
    font-size: 1.8rem;
  }
  .about-text-box p {
    font-size: 0.95rem;
  }
  #services h2,
  #contact h2,
  #website-portfolio h2,
  #video-editing-portfolio h2,
  #design-portfolio h2 {
    font-size: 2rem;
  }
  .service-card h3 {
    font-size: 1.3rem;
  }
  .service-card p {
    font-size: 0.9rem;
  }
  .carousel-slide img {
    height: 200px;
  }
  .carousel-prev,
  .carousel-next {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  .submit-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  .social-icons {
    gap: 1rem;
  }
  .social-icon {
    width: 45px;
    height: 45px;
  }
  .social-icon::before {
    font-size: 1.2rem;
  }
  #footer {
    padding: 1.5rem 1rem;
  }
  .footer-logo {
    height: 30px;
  }
  .footer-social .social-icon {
    width: 40px;
    height: 40px;
  }
  .footer-social .social-icon::before {
    font-size: 1rem;
  }
  #footer p {
    font-size: 0.8rem;
  }
}
