.multilingual-greeting {
  display: inline-block;
  transition: opacity 0.5s ease-in-out;
  color: #76a7eb; 
  font-family: 'Audiowide', cursive; 
  font-weight: bold;
  font-size: 24px;    
}

/* Robot Chatbot */
#robot-chatbot {
  position: fixed;
  bottom: 20px;
  right: 10px; /* Adjusted to truly hug the corner */
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  flex-direction: column-reverse; /* Bubble above, icon below */
  filter: drop-shadow(0 0 6px #60a5fa);
  transition: filter 0.3s ease;
}

#robot-chatbot:hover {
  filter: drop-shadow(0 0 12px #3b82f6) drop-shadow(0 0 18px #60a5fa);
}

#chat-bubble {
  max-width: 250px;
  margin-bottom: 8px;
  padding: 15px 20px;
  background: #60a5fa;
  color: white;
  border-radius: 15px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  white-space: pre-wrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  text-align: center;
}

#chat-bubble.visible {
  opacity: 1;
  pointer-events: auto;
}

#chat-bubble.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Design for the Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  padding: 15px 30px;
  backdrop-filter: none; 
  border: none;         
  z-index: 100;
  position: fixed;
  width: 100%;
  top: 0;
  overflow : visible;
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  color: #eff4fb;
  text-shadow: 0 0 8px #4ab7ff, 0 0 16px #082747;
  letter-spacing: 2px;
  white-space: nowrap;
  overflow: visible;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  font-family: "Orbitron", sans-serif;
  font-size: 10px; 
  color: #f8fafc;
  text-decoration: none;
  padding: 8px 16px; 
  border: 2px solid #60a5fa;
  border-radius: 12px;
  background: linear-gradient(135deg, #0c1a2f, #1c2d4a);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.nav-links li a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(96,165,250,0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease-out;
  z-index: 0;
}

.nav-links li a:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.nav-links li a:hover {
  color: #ffffff;
  background-color: #60a5fa;
  box-shadow: 0 0 15px #60a5fa, 0 0 30px #60a5fa;
  border-color: #fff;
  z-index: 1;
}

/* About Me */
.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #60a5fa;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 10px #3b82f6;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  color: #f1f5f9;
}

.about-box {
  max-width: 700px;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(24, 35, 58, 0.8);
  border: 2px solid #3b82f6;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px #1e3a8a, 0 0 40px #3b82f6 inset;
  animation: floatIn 2s ease-out forwards, pulseGlow 5s infinite ease-in-out;
  transform: translateY(50px);
  opacity: 0;
}

@keyframes floatIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px #1e738a, 0 0 40px #3bcef6 inset;
  }
  50% {
    box-shadow: 0 0 25px #3bc7f6, 0 0 60px #60f5fa inset;
  }
}

.about-box p {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #e0f2fe;
}

.window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.read-more-link {
  font-family: 'Orbitron', sans-serif;
  color: #92d1f5;
  font-size: 1rem;
  text-decoration: none;
  text-shadow: 0 0 6px #00ffe5, 0 0 12px #8f04ec;
  transition: color 0.3s ease;
}

.read-more-link:hover {
  color: #8f04ec;
  text-shadow: 0 0 10px #00ffe5, 0 0 20px #8f04ec;
}

/* Project Section */
.projects-carousel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  perspective: 1000px;
  overflow: visible;
}

.project-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  padding: 1.5rem;
  background: rgba(15, 15, 30, 0.95);
  border-radius: 18px;
  color: #e0e7ff;
  font-family: 'Work Sans', sans-serif;
  transform-style: preserve-3d;
  transition: transform 0.8s ease, opacity 0.8s ease;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transform-origin: center center;
}

.project-card.active {
  transform: translate(-50%, -50%) translateX(0) translateZ(0) scale(1) rotateY(0deg);
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
  border: 2px solid #a07fff;
  box-shadow: 0 0 15px #a07fff, 0 0 40px #9a7eff inset;
}

.project-card.left {
  transform: translate(-50%, -50%) translateX(-140px) translateZ(-150px) scale(0.85) rotateY(30deg);
  opacity: 0.7;
  z-index: 5;
  border: 2px solid #5e4cff;
  box-shadow: 0 0 10px #5e4cff, 0 0 30px #4531ff inset;
}

.project-card.right {
  transform: translate(-50%, -50%) translateX(140px) translateZ(-150px) scale(0.85) rotateY(-30deg);
  opacity: 0.7;
  z-index: 5;
  border: 2px solid #5e4cff;
  box-shadow: 0 0 10px #5e4cff, 0 0 30px #4531ff inset;
}

.project-card:hover {
  transform: scale(1.05) rotateX(2deg) rotateY(2deg);
  box-shadow: 0 0 25px #60a5fa, 0 0 35px #7c3aed;
}

.project-card h3 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 0.5rem;
  color: #93c5fd;
  font-size: 1.1rem;
}

.project-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #e2e8f0;
}

/*Skills Section */
.skills-container {
  position: absolute;
  top: 50%;
  right: 5vw;
  transform: translate( -10%, -50% );
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 0;
}

.skills-text {
  font-size: 6vw;
  font-weight: 900;
  color: rgba(0, 255, 229, 0.3);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 0 10px rgb(43, 231, 231), 
               0 0 20px rgb(229, 239, 238);
  animation: flicker 8s infinite;
}

.skills-text span {
  display: block;
  text-align: center;
  line-height: 1.2;
}

.skills-text.overlay {
  position: absolute;
  top: 0;
  transform: translateY(-100%);
}

.skills-grid {
 position: relative;
  width: 100%;
  max-width: 1000px;
  height: 500px; /* Increased space */
  margin: 0 auto; /* Center the grid */
  z-index: 2;
  overflow: visible;
  display: block; 
}

.skill-card {
  width: 140px;
  height: 90px;
  background: #0f0f0f;
  border: 2px solid #008cff;
  border-radius: 10px;
  box-shadow: 0 0 20px #008cff;
  position: absolute;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.skill-card.cyberpunk {
  background: linear-gradient(135deg, #0f0f1a, #1e1e2e);
  border-radius: 14px;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 2px solid #0f92fe;
  box-shadow: 0 0 15px #0f92fe, 0 0 30px #003344 inset;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  animation: cyberReveal 1s ease-out forwards;
  animation-delay: var(--delay);
  position: relative;
  overflow: hidden;
  animation: cyberReveal 1s ease-out forwards, shuffleFloat 6s ease-in-out infinite;
  animation-delay: var(--delay), calc(0.5s + var(--delay));

}

@keyframes cyberReveal {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.skill-card.cyberpunk::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(45deg, transparent 40%, #00ffe5 50%, transparent 60%);
  animation: scan 3s linear infinite;
  opacity: 0.15;
}

@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.skill-card.cyberpunk:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #00ffe5, 0 0 35px #7c3aed;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card img {
  width: 60px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 5px #00ffe5);
}

.skill-card h3 {
  color: #92d1f5;
  font-size: 1rem;
  font-family: 'Orbitron', sans-serif;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 0.04;
    text-shadow: 
      0 0 2px #00ffe5,
      0 0 4px #00ffe5,
      0 0 8px #00ffe5;
  }
  20%, 24%, 55% {
    opacity: 0.15;
    text-shadow: 
      0 0 3px #00ffe5,
      0 0 6px #00ffe5,
      0 0 10px #00ffe5,
      0 0 20px #00ffe5;
  }
 0%, 75% {
    opacity: 0.6;
    text-shadow:
      0 0 4px rgba(0, 255, 229, 0.3),
      0 0 10px rgba(0, 255, 229, 0.2),
      0 0 15px rgba(0, 255, 229, 0.15);
  }
  100% {
    opacity: 0.05;
    text-shadow: none;
  }
}

/* Publication Carousel */
.publications-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 4rem 1rem;
  font-family: 'Orbitron', sans-serif;
}

.publication-slider {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 500px;
  perspective: 1200px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: transparent; /* Transparent background */
  backdrop-filter: blur(10px); /* Optional: glassmorphism effect */
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 0 30px rgba(207, 112, 255, 0.3), 0 0 10px rgba(0, 225, 255, 0.842);
  border: 1px solid rgba(231, 251, 255, 0.368);
  opacity: 0;
  transform: translateY(30%) scale(0.95);
  transition: all 1s ease;
  display: flex; 
  flex-direction: column;
  justify-content: flex-start;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  z-index: 2;
}

.browser-bar {
  height: 30px;
  background: #1f1f1f;
  border-radius: 10px 10px 0 0;
  display: flex;
  align-items: center;
  padding-left: 10px;
  margin-bottom: 1rem;
}

.browser-bar .dot {
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
}

.slide-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  color: #e0e0e0;
  flex-wrap: wrap;
}

.slide-left {
  flex: 1 1 60%;
}

.slide-right {
  flex: 0 0 250px;
  height: 190px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #00ffe5;
  border-radius: 12px;
  box-shadow: 0 0 10px #00ffe5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.slide-content h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: rgb(188, 137, 246);
}

.slide-content p {
  font-size: 1rem;
  font-family: 'Work Sans', sans-serif;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: white;
}

.slide-content a {
  color: #a241f8;
  text-decoration: none;
  background: rgba(17, 2, 21, 0.1);
  padding: 0.6rem 1.2rem;
  border: 1px solid #7300ff;
  border-radius: 8px;
  transition: 0.3s;
  display: inline-block;
}

.slide-content a:hover {
  background: #aa00ff;
  color: #fffafa;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  font-size: 2.5rem;
  color: #9000ff;
  cursor: pointer;
  transform: translateY(-50%);
  user-select: none;
  z-index: 3;
}

.arrow.left { left: -40px; }
.arrow.right { right: -40px; }

.stars-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.slide-content,
.browser-bar {
  position: relative;
  z-index: 1;
}

