/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  /* Dark Theme Colors */
  --bg-dark: #0a0a1a;
  --bg-light: #1a1a2a;
  --neon-blue: #00ffff;
  --neon-cyan: #00bfff;
  --neon-green: #00ff41;
  --neon-purple: #ff00ff;
  --text-light: #e0e0ff;
  --text-dark: #8888aa;
  --glow-intensity: 0.6;
  --active-nav-blue-light: #00bfff;
  --active-nav-blue-dark: #007bff;
}
[data-theme='light'] {
  /* Light Theme Colors */
  --bg-dark: #f5f5f5;
  --bg-light: #e8e8e8;
  --neon-blue: #0066cc;
  --neon-cyan: #0080ff;
  --neon-green: #00aa00;
  --neon-purple: #cc0066;
  --text-light: #333333;
  --text-dark: #666666;
  --glow-intensity: 0.3;
  --active-nav-blue-light: #0080ff;
  --active-nav-blue-dark: #0066cc;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--bg-dark);
  overflow-x: hidden;
  transition: all 0.3s ease;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: var(--neon-blue);
  color: var(--bg-dark);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}
/* Neon Glow Mixin */
.neon-text-glow {
  text-shadow:
    0 0 5px var(--neon-blue),
    0 0 10px var(--neon-blue),
    0 0 20px var(--neon-blue),
    0 0 40px rgba(0, 255, 255, var(--glow-intensity));
}
.neon-box-glow {
  box-shadow:
    0 0 5px var(--neon-blue),
    0 0 10px var(--neon-blue),
    0 0 20px var(--neon-blue),
    0 0 40px rgba(0, 255, 255, var(--glow-intensity));
}
/* Sci-Fi Technology Background */
.scifi-tech-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(0, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(0, 255, 65, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, rgba(0, 20, 40, 0.8) 0%, rgba(0, 10, 30, 0.9) 100%);
}
/* Matrix-style Code Rain */
.code-rain {
  position: absolute;
  top: -100%;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--neon-green);
  text-shadow: 0 0 5px var(--neon-green);
  white-space: nowrap;
  animation: code-fall linear infinite;
  opacity: 0.7;
}
.code-rain:nth-child(1) {
  left: 5%;
  animation-duration: 8s;
  animation-delay: 0s;
}
.code-rain:nth-child(2) {
  left: 15%;
  animation-duration: 12s;
  animation-delay: 2s;
}
.code-rain:nth-child(3) {
  left: 25%;
  animation-duration: 10s;
  animation-delay: 4s;
}
.code-rain:nth-child(4) {
  left: 35%;
  animation-duration: 9s;
  animation-delay: 1s;
}
.code-rain:nth-child(5) {
  left: 45%;
  animation-duration: 11s;
  animation-delay: 3s;
}
.code-rain:nth-child(6) {
  left: 55%;
  animation-duration: 13s;
  animation-delay: 5s;
}
.code-rain:nth-child(7) {
  left: 65%;
  animation-duration: 7s;
  animation-delay: 1.5s;
}
.code-rain:nth-child(8) {
  left: 75%;
  animation-duration: 14s;
  animation-delay: 3.5s;
}
.code-rain:nth-child(9) {
  left: 85%;
  animation-duration: 9.5s;
  animation-delay: 2.5s;
}
.code-rain:nth-child(10) {
  left: 95%;
  animation-duration: 11.5s;
  animation-delay: 4.5s;
}
/* Floating Tech Icons */
.tech-icon {
  position: absolute;
  font-size: 24px;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
  animation: float-tech 6s ease-in-out infinite;
  opacity: 0.6;
}
.tech-icon:nth-child(11) {
  top: 20%;
  left: 8%;
  animation-delay: 0s;
}
.tech-icon:nth-child(12) {
  top: 35%;
  right: 12%;
  animation-delay: 1s;
}
.tech-icon:nth-child(13) {
  bottom: 35%;
  left: 12%;
  animation-delay: 2s;
}
.tech-icon:nth-child(14) {
  bottom: 20%;
  right: 8%;
  animation-delay: 3s;
}
.tech-icon:nth-child(15) {
  top: 50%;
  left: 5%;
  animation-delay: 4s;
}
.tech-icon:nth-child(16) {
  top: 50%;
  right: 5%;
  animation-delay: 5s;
}
/* Holographic Grid */
.holo-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: 50%;
  animation: grid-pulse 4s ease-in-out infinite;
  opacity: 0.3;
  mask: radial-gradient(circle, black 60%, transparent 80%);
}
/* Keyframe Animations */
@keyframes code-fall {
  0% {
    transform: translateY(-100vh);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}
@keyframes float-tech {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  33% {
    transform: translateY(-15px) rotate(120deg);
    opacity: 0.8;
  }
  66% {
    transform: translateY(10px) rotate(240deg);
    opacity: 0.4;
  }
}
@keyframes grid-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.05);
  }
}
/* Profile Image Floating Animation */
@keyframes profile-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}
/* Keyframe Animations */
@keyframes pulse-glow-blue {
  0% {
    text-shadow:
      0 0 5px var(--neon-blue),
      0 0 10px var(--neon-blue);
  }
  50% {
    text-shadow:
      0 0 10px var(--neon-blue),
      0 0 20px var(--neon-blue),
      0 0 30px rgba(0, 255, 255, var(--glow-intensity) * 1.2);
  }
  100% {
    text-shadow:
      0 0 5px var(--neon-blue),
      0 0 10px var(--neon-blue);
  }
}
@keyframes pulse-glow-purple {
  0% {
    box-shadow:
      0 0 5px var(--neon-blue),
      0 0 10px var(--neon-blue);
  }
  50% {
    box-shadow:
      0 0 10px var(--neon-blue),
      0 0 20px var(--neon-blue),
      0 0 30px rgba(0, 255, 255, var(--glow-intensity) * 1.2);
  }
  100% {
    box-shadow:
      0 0 5px var(--neon-blue),
      0 0 10px var(--neon-blue);
  }
}
/* Typing Animation */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--neon-blue);
  }
}
.typing-cursor {
  border-right: 3px solid var(--neon-blue);
}
/* Slide-in animations for sections */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Apply animations to sections */
.animate-slide-left {
  animation: slideInLeft 0.8s ease-out forwards;
}
.animate-slide-right {
  animation: slideInRight 0.8s ease-out forwards;
}
.animate-slide-up {
  animation: slideInUp 0.8s ease-out forwards;
}
.animate-fade-scale {
  animation: fadeInScale 0.8s ease-out forwards;
}
/* Header */
.header {
  background: linear-gradient(135deg, #0f0f2f 0%, #2a0a2a 100%);
  color: var(--text-light);
  padding: 60px 0;
  text-align: center;
  border-bottom: 2px solid var(--neon-blue);
  position: relative;
  overflow: hidden;
}
[data-theme='light'] .header {
  background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
}
.profile-container {
  position: relative;
  display: inline-block;
  z-index: 10;
}
.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid var(--neon-blue);
  margin-bottom: 20px;
  object-fit: cover;
  box-shadow:
    0 0 15px var(--neon-blue),
    0 0 30px rgba(0, 255, 255, var(--glow-intensity));
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  animation: profile-float 3s ease-in-out infinite;
}
.profile-img:hover {
  transform: scale(1.05) translateY(-15px);
  box-shadow:
    0 0 20px var(--neon-blue),
    0 0 40px rgba(0, 255, 255, var(--glow-intensity) * 1.5);
}
/* Green status dot */
.status-dot {
  position: absolute;
  bottom: 25px;
  right: 15px;
  width: 20px;
  height: 20px;
  background: #00ff00;
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 10px #00ff00;
  animation: pulse-green 2s infinite;
  z-index: 11;
}
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 10px #00ff00;
  }
  50% {
    box-shadow:
      0 0 20px #00ff00,
      0 0 30px #00ff00;
  }
  100% {
    box-shadow: 0 0 10px #00ff00;
  }
}
.header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 300;
  color: var(--neon-blue);
  animation: pulse-glow-blue 3s infinite alternate;
  z-index: 10;
  position: relative;
}
.header .subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 20px;
  color: var(--text-light);
  z-index: 10;
  position: relative;
}
.contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
  z-index: 10;
  position: relative;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 1.1rem;
}
.contact-item span:first-child {
  color: var(--neon-blue);
  font-size: 1.3em;
}
/* Social Links */
.social-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 10;
  position: relative;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--neon-blue);
  color: var(--bg-dark);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px var(--neon-blue);
}
.social-links a:hover {
  background: var(--neon-blue);
  transform: translateY(-3px) scale(1.1);
  box-shadow:
    0 0 15px var(--neon-blue),
    0 0 30px rgba(0, 255, 255, var(--glow-intensity));
}
.social-links .linkedin-icon {
  width: 24px;
  height: 24px;
  fill: var(--bg-dark);
}
/* Download Resume Button */
.download-resume {
  margin-top: 30px;
  z-index: 10;
  position: relative;
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, var(--neon-blue), #0080ff);
  color: var(--bg-dark);
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  cursor: pointer;
}
.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.8);
  background: linear-gradient(45deg, #0080ff, var(--neon-blue));
}
.download-btn svg {
  width: 20px;
  height: 20px;
}
/* Navigation */
.nav {
  background: var(--bg-light);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--neon-blue);
}
.nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.nav a::before {
  content: none;
}
.nav a:hover,
.nav a.active-link {
  background: linear-gradient(
    45deg,
    var(--active-nav-blue-light),
    var(--active-nav-blue-dark)
  );
  color: var(--bg-dark);
  box-shadow:
    0 0 10px rgba(0, 191, 255, 0.7),
    0 0 20px rgba(0, 191, 255, 0.5);
  transform: none;
}
/* Sections */
.section {
  padding: 60px 0;
  background: var(--bg-dark);
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.section:nth-child(even) {
  background: var(--bg-light);
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--neon-blue);
  position: relative;
  animation: pulse-glow-purple 3s infinite alternate;
}
.section-title::after {
  content: '';
  width: 80px;
  height: 3px;
  background: var(--neon-blue);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow:
    0 0 5px var(--neon-blue),
    0 0 15px var(--neon-blue);
}
/* About */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}
/* Education */
.education-item {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--neon-blue);
  transition: all 0.3s ease;
}
.education-item:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 15px var(--neon-blue),
    0 0 30px rgba(0, 255, 255, var(--glow-intensity));
}
.education-item h3 {
  color: var(--neon-blue);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.education-meta {
  color: var(--text-dark);
  margin-bottom: 15px;
}

.campus-view-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.8);
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-blue));
}

.campus-view-btn svg {
  transition: transform 0.3s ease;
}

.campus-view-btn:hover svg {
  transform: scale(1.1);
}
/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.skill-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid var(--neon-blue);
}
.skill-item:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 15px var(--neon-blue),
    0 0 30px rgba(0, 255, 255, var(--glow-intensity));
}
.skill-item h4 {
  color: var(--neon-blue);
  margin-bottom: 10px;
}
.skill-item p {
  color: var(--text-light);
}
/* Certificates Slider */
.certificates-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-light);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  overflow: hidden;
  border: 2px solid var(--neon-blue);
}
.slider-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}
.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}
.certificate-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.certificate-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow:
    0 0 10px rgba(0, 255, 255, 0.4),
    0 0 20px rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.certificate-slide img:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 15px var(--neon-blue),
    0 0 30px rgba(0, 255, 255, var(--glow-intensity) * 1.5);
}
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 255, 255, 0.6);
  color: var(--bg-dark);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
.slider-nav:hover {
  background: var(--neon-blue);
  transform: translateY(-50%) scale(1.1);
  box-shadow:
    0 0 15px var(--neon-blue),
    0 0 30px rgba(0, 255, 255, var(--glow-intensity));
}
.slider-nav.prev {
  left: 20px;
}
.slider-nav.next {
  right: 20px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  background: var(--bg-dark);
  flex-wrap: wrap;
  border-top: 1px solid var(--neon-blue);
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--text-dark);
}
.dot.active {
  background: var(--neon-blue);
  transform: scale(1.2);
  box-shadow:
    0 0 5px var(--neon-blue),
    0 0 10px var(--neon-blue);
  border-color: var(--neon-blue);
}
.certificate-info {
  text-align: center;
  padding: 20px;
  background: var(--bg-dark);
  color: var(--text-light);
  border-top: 1px solid var(--neon-blue);
}
.certificate-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--neon-blue);
  margin-bottom: 5px;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}
.certificate-desc {
  color: var(--text-dark);
  font-size: 0.9rem;
}
/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.project-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid var(--neon-blue);
}
.project-card .github-link {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
  transition: all 0.3s ease;
}
.project-card .github-link:hover {
  background: var(--neon-blue);
  transform: scale(1.1);
  box-shadow: 0 0 12px var(--neon-blue);
}
.project-card .github-link img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}
.project-card .view-photos-btn {
  background: var(--neon-blue);
  color: var(--bg-dark);
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px var(--neon-blue);
}
.project-card .view-photos-btn:hover {
  background: var(--neon-blue);
  box-shadow: 0 0 12px var(--neon-blue);
  transform: translateY(-2px);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 15px var(--neon-blue),
    0 0 30px rgba(0, 255, 255, var(--glow-intensity));
}
.project-card h3 {
  color: var(--neon-blue);
  margin-bottom: 15px;
  font-size: 1.2rem;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}
.project-card p {
  color: var(--text-light);
  margin-bottom: 15px;
}
/* Activities */
.activities-list {
  max-width: 800px;
  margin: 0 auto;
}
.activity-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
  border-left: 4px solid var(--neon-blue);
  transition: all 0.3s ease;
}
.activity-item:hover {
  transform: translateX(5px);
  box-shadow:
    0 0 12px var(--neon-blue),
    0 0 20px rgba(0, 255, 255, var(--glow-intensity));
}
.activity-item h4 {
  color: var(--neon-blue);
}
.activity-item p {
  color: var(--text-light);
}
/* Training */
.training-list {
  max-width: 800px;
  margin: 0 auto;
}
.training-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
  border-left: 4px solid var(--neon-blue);
  transition: all 0.3s ease;
}
.training-item:hover {
  transform: translateX(5px);
  box-shadow:
    0 0 12px var(--neon-blue),
    0 0 20px rgba(0, 255, 255, var(--glow-intensity));
}
.training-item h4 {
  color: var(--neon-blue);
}
.training-item p {
  color: var(--text-light);
}
/* Footer */
.footer {
  background: #050510;
  color: var(--text-dark);
  text-align: center;
  padding: 40px 0;
  border-top: 2px solid var(--neon-blue);
}
[data-theme='light'] .footer {
  background: #d0d0d0;
}
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}
.modal-content {
  position: relative;
  background-color: var(--bg-light);
  margin: auto;
  padding: 20px;
  border: 2px solid var(--neon-blue);
  border-radius: 15px;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  animation: fadeIn 0.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal-close {
  color: var(--neon-blue);
  font-size: 40px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px var(--neon-blue);
}
.modal-close:hover,
.modal-close:focus {
  color: var(--neon-blue);
  text-decoration: none;
  transform: scale(1.1);
  text-shadow: 0 0 10px var(--neon-blue);
}
/* Adjustments for slider inside modal */
.gallery-slider {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  background: var(--bg-dark);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  overflow: hidden;
  border: 1px solid var(--neon-blue);
}
.gallery-slider .slider-container {
  height: 500px;
}
.gallery-slider .slider-nav {
  background: rgba(0, 255, 255, 0.6);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
.gallery-slider .slider-nav:hover {
  background: var(--neon-blue);
  box-shadow:
    0 0 15px var(--neon-blue),
    0 0 30px rgba(0, 255, 255, var(--glow-intensity));
}
.gallery-slider .dot {
  background: var(--text-dark);
  border: 1px solid var(--text-dark);
}
.gallery-slider .dot.active {
  background: var(--neon-blue);
  box-shadow:
    0 0 5px var(--neon-blue),
    0 0 10px var(--neon-blue);
  border-color: var(--neon-blue);
}

/* Chatbot Styles */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chatbot-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-cyan));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  transition: all 0.3s ease;
  animation: pulse-chatbot 2s infinite;
}

@keyframes pulse-chatbot {
  0% {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
  }
  100% {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  }
}

.chatbot-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: var(--bg-light);
  border: 2px solid var(--neon-blue);
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.chatbot-header {
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-cyan));
  color: var(--bg-dark);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--bg-dark);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.4;
  animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.bot {
  background: var(--bg-light);
  color: var(--text-light);
  align-self: flex-start;
  border: 1px solid var(--neon-blue);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.message.user {
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-cyan));
  color: var(--bg-dark);
  align-self: flex-end;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.chatbot-input-container {
  padding: 15px;
  background: var(--bg-light);
  border-top: 1px solid var(--neon-blue);
  display: flex;
  gap: 10px;
}

.chatbot-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--neon-blue);
  border-radius: 20px;
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.chatbot-input:focus {
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  border-color: var(--neon-cyan);
}

.chatbot-send {
  padding: 10px 15px;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-cyan));
  color: var(--bg-dark);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.chatbot-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.quick-action {
  padding: 6px 12px;
  background: var(--bg-light);
  color: var(--neon-blue);
  border: 1px solid var(--neon-blue);
  border-radius: 15px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-action:hover {
  background: var(--neon-blue);
  color: var(--bg-dark);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  background: var(--bg-light);
  border-radius: 15px;
  align-self: flex-start;
  max-width: 80px;
  border: 1px solid var(--neon-blue);
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--neon-blue);
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typingDot {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
  }

  .nav ul {
    gap: 15px;
  }

  .section {
    padding: 40px 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
  .slider-container {
    height: 400px;
  }
  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .slider-nav.prev {
    left: 10px;
  }
  .slider-nav.next {
    right: 10px;
  }
  .slider-dots {
    gap: 6px;
  }
  .modal-content {
    width: 95%;
    padding: 15px;
  }
  .gallery-slider .slider-container {
    height: 300px;
  }
  .theme-toggle {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  /* Responsive adjustments for sci-fi tech background */
  .holo-grid {
    width: 300px;
    height: 300px;
  }

  .tech-icon {
    font-size: 18px;
  }

  .code-rain {
    font-size: 12px;
  }

  .chatbot-window {
    width: 300px;
    height: 450px;
  }

  .chatbot-container {
    bottom: 15px;
    right: 15px;
  }
}
