* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 200vh; /* for scroll demo */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark theme (default) */
body.dark {
  background: #121212;
  color: #eee;
}
nav.dark {
  background: #1f1f1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
nav.dark .logo {
  color: #14ff00;
  animation: backwards 2.5s infinite;
  text-shadow: 3px 3px 5px;
  box-shadow: 3px 3px 5px;
  border-radius: 10px;
}
@keyframes re-flicker {
  0%,
  19%,
  21%,
  23%,
  25%,
  54%,
  56%,
  100% {
    text-shadow: 0 0 8px var(--re-biohazard), 0 0 32px var(--re-biohazard),
      0 0 2px #000;
    opacity: 1;
  }
  20%,
  22%,
  24%,
  55% {
    text-shadow: none;
    opacity: 0.5;
  }
}

nav.dark .nav-links a {
  color: #eee;
}
nav.dark .nav-links a:hover {
  color: #39ff14;
}
nav.dark .hamburger div {
  background: #39ff14;
}
nav.dark .theme-toggle {
  color: #39ff14;
}

/* Light theme */
body.light {
  background: #f5f5f5;
  color: #222;
}
nav.light {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
nav.light .logo {
  color: #0077cc;
  display: none;
}
nav.light .logo1 {
  color: #0077cc;
  animation: reverse 2.5s infinite;
  text-shadow: 3px 3px 5px;
  box-shadow: 3px 3px 5px;
  border-radius: 10px;
}
nav.dark .logo1 {
  color: #0077cc;
  display: none;
}
nav.light .nav-links a {
  color: #222;
}
nav.light .nav-links a:hover {
  color: #0077cc;
}
nav.light .hamburger div {
  background: #0077cc;
}
nav.light .theme-toggle {
  color: #0077cc;
}

/* Navbar base */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 16px;
  gap: 340px;
}
/* Transparent navbar */
#navbar {
  background-color: transparent;
  backdrop-filter: blur(10px); /* optional: adds a nice glassy effect */
  position: fixed; /* keeps it on top when scrolling */
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* Optional: make it solid when scrolling down */
.scrolled {
  background-color: rgba(0, 0, 0, 0.8); /* dark semi-transparent background */
  backdrop-filter: blur(20px);
}

/* Logo */
.logo {
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: 2px;
  user-select: none;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  right: 170px;
}
.logo1 {
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: 2px;
  user-select: none;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  right: 170px;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 3rem;
  transition: color 0.3s ease;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
  left: -95px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  border-radius: 2px;
  transition: width 0.3s ease;
  transition: bottom 0.3s ease;
}
/* Underline colors for themes */
nav.dark .nav-links a::after {
  background: #39ff14;
}
nav.light .nav-links a::after {
  background: #0077cc;
}
.nav-links a:hover::after {
  width: 100%;
  bottom: 100%;
}
.nav-links a:hover {
  /* color handled by theme classes */
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
  transition: background-color 0.3s ease;
}
.hamburger div {
  width: 25px;
  height: 3px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Theme toggle button */
.theme-toggle {
  cursor: pointer;
  font-size: 1.4rem;
  user-select: none;
  transition: color 0.3s ease;
  margin-left: 2rem;
  display: flex;
  align-items: center;
}
.theme-toggle:hover {
  opacity: 0.8;
}

/* Mobile nav styles */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    background: inherit;
    height: calc(100vh - 60px);
    width: 220px;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.4);
    color: inherit;
  }
  .nav-links.active {
    right: 0;
  }
  .hamburger {
    display: flex;
  }
}
.social-section {
  max-width: 850px;
  margin: auto;
}
h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}
.category {
  margin: 30px 0;
}
.category h3 {
  margin-bottom: 15px;
  color: #555;
  border-left: 4px solid #0077ff;
  padding-left: 10px;
}

.icons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.icons a {
  font-size: 40px;
  text-decoration: none;
  color: #444;
  transition: transform 0.2s, color 0.2s;
  position: relative;
  left: 80px;
}
.fab.fa-linkedin {
  color: blue;
}
.fab.fa-instagram {
  color: transparent;
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  background: -webkit-radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  background-clip: text;
  -webkit-background-clip: text;
}
.fab.fa-youtube {
  color: red;
}
.fab.fa-pinterest {
  color: red;
}
.fab.fa-reddit {
  color: #ff4500;
}
.fas.fa-envelope-open-text {
  color: #ff7731;
}
.fab.fa-facebook {
  color: blue;
}
.fab.fa-discord {
  color: #5865f9;
}
.fab.fa-twitch {
  color: #9146ff;
}
.fab.fa-telegram {
  color: #0088cc;
}
.icons a:hover {
  transform: scale(2);
}

@keyframes pulseZoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.pulse-zoom {
  animation: pulseZoom 2s infinite ease-in-out;
  display: inline-block;
  transition: transform 0.3s ease;
}

body.dark .button {
  background-color: transparent;
  border: 2px solid #39ff14; /* Toxic green */
  color: #39ff14;
  padding: 12px 24px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Orbitron", sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 7px;
}

body.dark .button:hover {
  background-color: #39ff14;
  color: black;
  box-shadow: 0 0 20px rgba(57, 255, 20, 1);
  cursor: pointer;
  transform: translateY(-2px) scale(1.05);
}

/* Pulse Animation */
body.dark .button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.2), transparent 70%);
  animation: pulse 2s infinite;
  z-index: -1;
}
body.light .button {
  background-color: transparent;
  border: 2px solid #0077ff; /* Blue */
  color: #0077ff;
  padding: 12px 24px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Orbitron", sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 119, 255, 0.6);
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 7px;
}

body.light .button:hover {
  background-color: #0077ff;
  color: black;
  box-shadow: 0 0 20px rgba(0, 119, 255, 1);
  cursor: pointer;
  transform: translateY(-2px) scale(1.05);
}

/* Pulse Animation */
body.light .button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 119, 255, 0.2), transparent 70%);
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.4;
  }
  50% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(0.7);
    opacity: 0.4;
  }
}
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap");

body.dark .button1 {
  background-color: #39ff14;
  color: #0a0a0a;
  padding: 14px 36px;
  font-family: "Orbitron", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(57, 255, 20, 0.3), 0 0 15px rgba(57, 255, 20, 0.4),
    inset 0 0 8px rgba(57, 255, 20, 0.5);
}

body.dark .button1::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.25), transparent 70%);
  animation: toxicPulse 2.8s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

body.dark .button1:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.7), 0 0 25px rgba(57, 255, 20, 1),
    inset 0 0 12px rgba(57, 255, 20, 0.6);
}

/* Optional inner  glow flicker on hover */
body.dark .button1:active {
  box-shadow: 0 0 14px rgba(57, 255, 20, 1), 0 0 30px rgba(57, 255, 20, 1),
    inset 0 0 18px rgba(57, 255, 20, 0.8);
  transform: scale(0.98);
}

body.light .button1 {
  background-color: #0077ff;
  color: #ffffff;
  padding: 14px 36px;
  font-family: "Orbitron", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 119, 255, 0.3), 0 0 15px rgba(0, 119, 255, 0.4),
    inset 0 0 8px rgba(0, 119, 255, 0.5);
}

body.light .button1::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 119, 255, 0.25), transparent 70%);
  animation: bluePulse 2.8s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

body.light .button1:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(0, 119, 255, 0.7), 0 0 25px rgba(0, 119, 255, 1),
    inset 0 0 12px rgba(0, 119, 255, 0.6);
}

body.light .button1:active {
  box-shadow: 0 0 14px rgba(0, 119, 255, 1), 0 0 30px rgba(0, 119, 255, 1),
    inset 0 0 18px rgba(0, 119, 255, 0.8);
  transform: scale(0.98);
}

@keyframes toxicPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}
/* Get in Touch (Contact Form) - Toxic Green Resident Evil Theme (No Template Styles) */

body.dark #contact {
  background: #181d16;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 #39ff1430, 0 0.5px 0 #39ff14 inset;
  border-left: 3px solid #39ff14;
  margin: 2.5rem auto 0 auto;
  background-color: transparent;
  backdrop-filter: blur(10px);
  padding: 3rem 1.5rem;
  max-width: 520px;
}

body.dark #contact h3 {
  color: #39ff14;
  font-family: "Oswald", "Orbitron", Arial, sans-serif;
  letter-spacing: 2px;
  font-size: 2.1rem;
  text-transform: uppercase;
  text-shadow: 0 0 8px #39ff14, 0 2px 8px #000a;
  margin-bottom: 2rem;
}

body.dark #contact form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

body.dark #contact form input,
body.dark #contact form textarea {
  background: #121e16;
  border: 2px solid #39ff14;
  color: #39ff14;
  font-family: "Orbitron", "Oswald", Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  margin-bottom: 0.7rem;
  padding: 1rem;
  transition: border 0.2s, background 0.2s, color 0.2s;
  box-shadow: 0 1px 7px #39ff141a;
}

body.dark #contact form input:focus,
body.dark #contact form textarea:focus {
  border: 2.5px solid #d90023;
  background: #181f12;
  color: #d90023;
  outline: none;
}

body.dark #contact .button {
  background: #39ff14;
  color: #181d16;
  border: none;
  border-radius: 7px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Oswald", "Orbitron", Arial, sans-serif;
  cursor: pointer;
  padding: 0.7em 2em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.7em;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s;
  box-shadow: 0 1px 8px 0 #39ff14, 0 0 2px #000a;
}

body.dark #contact .button:hover {
  background: #d90023;
  color: #fff;
  box-shadow: 0 0 16px #d90023;
}

@media (max-width: 600px) {
  body.dark #contact {
    padding: 2rem 0.8rem;
    border-radius: 14px;
  }
  body.dark #contact h3 {
    font-size: 1.4rem;
  }
}
body.light #contact {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 #0077ff30, 0 0.5px 0 #0077ff inset;
  border-left: 3px solid #0077ff;
  margin: 2.5rem auto 0 auto;
  padding: 3rem 1.5rem;
  max-width: 520px;
}

body.light #contact h3 {
  color: #0077ff;
  font-family: "Oswald", "Orbitron", Arial, sans-serif;
  letter-spacing: 2px;
  font-size: 2.1rem;
  text-transform: uppercase;
  text-shadow: 0 0 8px #0077ff33, 0 2px 8px #0002;
  margin-bottom: 2rem;
}

body.light #contact form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

body.light #contact form input,
body.light #contact form textarea {
  background: #f2f7fd;
  border: 2px solid #0077ff;
  color: #003366;
  font-family: "Orbitron", "Oswald", Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  margin-bottom: 0.7rem;
  padding: 1rem;
  transition: border 0.2s, background 0.2s, color 0.2s;
  box-shadow: 0 1px 7px #0077ff10;
}

body.light #contact form input:focus,
body.light #contact form textarea:focus {
  border: 2.5px solid #0051cc;
  background: #e6f0ff;
  color: #0051cc;
  outline: none;
}

body.light #contact .button {
  background: #0077ff;
  color: #ffffff;
  border: none;
  border-radius: 7px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Oswald", "Orbitron", Arial, sans-serif;
  cursor: pointer;
  padding: 0.7em 2em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.7em;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s;
  box-shadow: 0 1px 8px 0 #0077ff80, 0 0 2px #0001;
}

body.light #contact .button:hover {
  background: #003366;
  color: #ffffff;
  box-shadow: 0 0 16px #00336699;
}

@media (max-width: 600px) {
  body.light #contact {
    padding: 2rem 0.8rem;
    border-radius: 14px;
  }
  body.light #contact h3 {
    font-size: 1.4rem;
  }
}

body.light .re4-glow-heading {
  color: #1f51ff;
  text-shadow: 0 0 6px #1f51ff, 0 0 12px #1f51ff,
    0 0 18px rgba(31, 81, 255, 0.8);
  animation: re4PulseBlue 2.4s ease-in-out infinite;
}

/* Green glow in dark mode — eerie biohazard style */
body.dark .re4-glow-heading {
  color: #39ff14; /* toxic green */
  text-shadow: 0 0 6px #39ff14, 0 0 12px #39ff14,
    0 0 30px rgba(57, 255, 20, 0.6);
  animation: re4PulseGreen 2.4s ease-in-out infinite;
}

/* Blue pulse animation */
@keyframes re4PulseBlue {
  0%,
  100% {
    text-shadow: 0 0 5px rgba(0, 191, 255, 0.8), 0 0 15px rgba(0, 191, 255, 0.6),
      0 0 25px rgba(0, 191, 255, 0.4);
  }
  50% {
    text-shadow: 0 0 10px rgba(0, 191, 255, 1), 0 0 25px rgba(0, 191, 255, 0.8),
      0 0 35px rgba(0, 191, 255, 0.6);
  }
}

/* Green pulse animation */
@keyframes re4PulseGreen {
  0%,
  100% {
    text-shadow: 0 0 6px #39ff14, 0 0 12px #39ff14,
      0 0 30px rgba(57, 255, 20, 0.6);
  }
  50% {
    text-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14,
      0 0 40px rgba(57, 255, 20, 0.8);
  }
}

.icon-marquee-container {
  width: 100%;
  overflow: hidden;
  background: transparent;
  padding: 0.8em 0;
  position: relative;
  background-color: transparent;
}

.icon-marquee {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee-left 20s linear infinite;
  will-change: transform;
  background-color: transparent;
}

/* Standard icon size and original color */
.icon-marquee i {
  font-size: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  color: unset; /* Use original Font Awesome brand color */
  filter: none;
  transition: transform 0.2s;
  position: relative;
  cursor: pointer;
}

/* Animation: Move from right to left */
@keyframes marquee-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover or touch */
.icon-marquee-container:hover .icon-marquee,
.icon-marquee-container:active .icon-marquee,
.icon-marquee-container:focus .icon-marquee {
  animation-play-state: paused;
}

/* Tooltip styles */
.icon-marquee i[data-title]::after {
  content: attr(data-title);
  position: absolute;
  bottom: -2.4em;
  left: 50%;
  transform: translateX(-50%);
  background: #181d16;
  color: #fff;
  padding: 0.2em 0.7em;
  font-size: 1rem;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 12px #0002;
  pointer-events: none;
  opacity: 0;
  z-index: 100;
  transition: opacity 0.18s;
}

.icon-marquee i[data-title]:hover::after,
.icon-marquee i[data-title]:focus::after {
  opacity: 1;
}

/* Responsive icon size for small screens */
@media (max-width: 600px) {
  .icon-marquee i {
    font-size: 1.6rem;
    min-width: 1.6rem;
    min-height: 1.6rem;
  }
}
.icon-marquee-container {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 12px 0;
}

.icon-marquee {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}

.icon-marquee i {
  font-size: 2.2rem;
  margin: 0 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}

/* Colored icons with their brand/original colors */
.fa-js-square {
  color: #f7df1e;
}
.fa-react {
  color: #61dafb;
}
.fa-node-js {
  color: #339933;
}
.fa-git-alt {
  color: #f34f29;
}
.fa-docker {
  color: #2496ed;
}
.fa-css3-alt {
  color: #2965f1;
}
.fa-html5 {
  color: #e44d26;
}
.fa-npm {
  color: #cb3837;
}
.fa-github {
  color: #181717;
}
.fa-vuejs {
  color: #42b883;
}
.fa-figma {
  color: #f24e1e;
}
.fa-database {
  color: #b0bec5;
}

/* Tooltip styling using data-title attribute */
.icon-marquee i:hover::after {
  content: attr(data-title);
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 4px 12px;
  border-radius: 5px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 1;
  pointer-events: none;
  z-index: 99;
}

.icon-marquee i:hover {
  transform: scale(1.18);
  box-shadow: 0 6px 16px rgba(80, 130, 200, 0.08);
}

/* Marquee animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
body.light .fa-js-square {
  color: #f7df1e;
  background: #000;
  border-radius: 8px;
  padding: 3px 4px;
}
body.light .fa-react {
  color: #61dafb;
}
body.light .fa-node-js {
  color: #3c873a;
}
body.light .fa-git-alt {
  color: #f05032;
}
body.light .fa-docker {
  color: #2496ed;
}
body.light .fa-css3-alt {
  color: #1572b6;
}
body.light .fa-html5 {
  color: #e34f26;
}
body.light .fa-npm {
  color: #cb3837;
}
body.light .fa-github {
  color: #333;
}
body.light .fa-vuejs {
  color: #42b883;
}
body.light .fa-figma {
  color: #f24e1e;
}
body.light .fa-database {
  color: #0064a5;
}
.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 55vh;
  background: none;
  padding: 3rem 1rem;
}

.about-card {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(
    120deg,
    rgba(26, 45, 23, 0.68) 80%,
    rgba(34, 60, 26, 0.45) 100%
  );
  /* Glassmorphism */
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 8px 36px #39ff1428, 0 2px 24px #00000013;
  border: 2.5px solid #39ff14;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-heading {
  font-size: 2.1rem;
  font-family: "Montserrat", "Orbitron", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.1rem;
  text-align: center;
}

.about-description {
  font-size: 1.3rem;
  color: #e9ffe2;
  text-align: center;
  margin-bottom: 1.7rem;
  line-height: 2.6;
}
.about-highlight {
  color: #39ff14;
  font-weight: 600;
  letter-spacing: 1px;
}

.about-actions {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
}
.about-btn {
  display: inline-block;
  padding: 0.67em 2.1em;
  border-radius: 2em;
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background 0.22s, color 0.17s, border-color 0.22s,
    box-shadow 0.22s;
  cursor: pointer;
  outline: none;
}
.about-btn-main {
  background: linear-gradient(90deg, #39ff14 60%, #bfff5f 100%);
  color: #152010;
  border-color: #39ff14;
  box-shadow: 0 2px 16px #39ff1473;
}
.about-btn-main:hover {
  background: linear-gradient(90deg, #bfff5f 20%, #39ff14 100%);
  color: #0f1c07;
  box-shadow: 0 6px 32px #39ff1496;
}
.about-btn-alt {
  background: transparent;
  color: #39ff14;
  border: 2px solid #39ff14;
  box-shadow: 0 2px 12px #39ff1436;
}
.about-btn-alt:hover {
  background: #39ff1420;
  color: #bfff5f;
  border-color: #bfff5f;
  box-shadow: 0 6px 32px #bfff5f96;
}

/* Glowing heading styles, override in your dark/light theme if needed */
.re4-glow-heading {
  color: #39ff14;
  text-shadow: 0 0 6px #39ff14, 0 0 12px #39ff14,
    0 0 30px rgba(57, 255, 20, 0.6);
  animation: re4PulseGreen 2.4s ease-in-out infinite;
}
@keyframes re4PulseGreen {
  0%,
  100% {
    text-shadow: 0 0 6px #39ff14, 0 0 12px #39ff14,
      0 0 30px rgba(57, 255, 20, 0.6);
  }
  50% {
    text-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14,
      0 0 40px rgba(57, 255, 20, 0.8);
  }
}

/* Light mode (optional, if you use a .light body class) */
body.light .about-card {
  background: linear-gradient(
    120deg,
    rgba(240, 248, 240, 0.7) 80%,
    rgba(200, 240, 220, 0.42) 100%
  );
  border-color: #0077cc;
}
body.light .about-heading,
body.light .re4-glow-heading {
  color: #1f51ff;
  text-shadow: 0 0 6px #1f51ff, 0 0 12px #1f51ff,
    0 0 18px rgba(31, 81, 255, 0.8);
  animation: re4PulseBlue 2.4s ease-in-out infinite;
}
@keyframes re4PulseBlue {
  0%,
  100% {
    text-shadow: 0 0 5px rgba(0, 191, 255, 0.8), 0 0 15px rgba(0, 191, 255, 0.6),
      0 0 25px rgba(0, 191, 255, 0.4);
  }
  50% {
    text-shadow: 0 0 10px rgba(0, 191, 255, 1), 0 0 25px rgba(0, 191, 255, 0.8),
      0 0 35px rgba(0, 191, 255, 0.6);
  }
}
body.light .about-description {
  color: #234;
}
body.light .about-highlight {
  color: #1f51ff;
}

/* Responsive */
@media (max-width: 600px) {
  .about-card {
    padding: 1.3rem 0.6rem 1.2rem 0.6rem;
    border-radius: 1.1em;
  }
  .about-heading {
    font-size: 1.2rem;
  }
  .about-description {
    font-size: 0.98rem;
  }
  .about-actions {
    flex-direction: column;
    gap: 0.6rem;
  }
}
.about-heading {
  font-size: 2.1rem;
  font-family: "Montserrat", "Orbitron", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.1rem;
  text-align: center;
}

.about-description {
  font-size: 1.2rem;
  color: #e9ffe2;
  text-align: center;
  margin-bottom: 1.7rem;
  line-height: 1.6;
}
.about-highlight {
  color: #39ff14;
  font-weight: 600;
  letter-spacing: 1px;
}

.about-actions {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.about-btn {
  display: inline-block;
  padding: 0.67em 2.1em;
  border-radius: 2em;
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background 0.22s, color 0.17s, border-color 0.22s,
    box-shadow 0.22s;
  cursor: pointer;
  outline: none;
}
.about-btn-main {
  background: linear-gradient(90deg, #39ff14 60%, #bfff5f 100%);
  color: #152010;
  border-color: #39ff14;
  box-shadow: 0 2px 16px #39ff1473;
}
.about-btn-main:hover {
  background: linear-gradient(90deg, #bfff5f 20%, #39ff14 100%);
  color: #0f1c07;
  box-shadow: 0 6px 32px #39ff1496;
}
.about-btn-alt {
  background: transparent;
  color: #39ff14;
  border: 2px solid #39ff14;
  box-shadow: 0 2px 12px #39ff1436;
}
.about-btn-alt:hover {
  background: #39ff1420;
  color: #bfff5f;
  border-color: #bfff5f;
  box-shadow: 0 6px 32px #bfff5f96;
}

/* Glowing heading styles */
.re4-glow-heading {
  color: #39ff14;
  text-shadow: 0 0 6px #39ff14, 0 0 12px #39ff14,
    0 0 30px rgba(57, 255, 20, 0.6);
  animation: re4PulseGreen 2.4s ease-in-out infinite;
}
@keyframes re4PulseGreen {
  0%,
  100% {
    text-shadow: 0 0 6px #39ff14, 0 0 12px #39ff14,
      0 0 30px rgba(57, 255, 20, 0.6);
  }
  50% {
    text-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14,
      0 0 40px rgba(57, 255, 20, 0.8);
  }
}

/* Light mode (optional, if you use a .light body class) */
body.light .about-heading,
body.light .re4-glow-heading {
  color: #1f51ff;
  text-shadow: 0 0 6px #1f51ff, 0 0 12px #1f51ff,
    0 0 18px rgba(31, 81, 255, 0.8);
  animation: re4PulseBlue 2.4s ease-in-out infinite;
}
@keyframes re4PulseBlue {
  0%,
  100% {
    text-shadow: 0 0 5px rgba(0, 191, 255, 0.8), 0 0 15px rgba(0, 191, 255, 0.6),
      0 0 25px rgba(0, 191, 255, 0.4);
  }
  50% {
    text-shadow: 0 0 10px rgba(0, 191, 255, 1), 0 0 25px rgba(0, 191, 255, 0.8),
      0 0 35px rgba(0, 191, 255, 0.6);
  }
}
body.light .about-description {
  color: #234;
}
body.light .about-highlight {
  color: #1f51ff;
}

/* Responsive */
@media (max-width: 600px) {
  .about-heading {
    font-size: 1.2rem;
  }
  .about-description {
    font-size: 0.98rem;
  }
  .about-actions {
    flex-direction: column;
    gap: 0.6rem;
  }
}
/*Dashboard*/
animation: bg-move 20s ease-in-out infinite alternate;
transition: background 0.3s, color 0.3s;
@keyframes bg-move {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* =================== DARK THEME =================== */
body,
body.dark {
  background: linear-gradient(135deg, #111 60%, #1c2f17 100%);
  color: #e9ffe2;
}

.re4-card,
body.dark .re4-card {
  background: linear-gradient(
    120deg,
    rgba(26, 45, 23, 0.69) 80%,
    rgba(34, 60, 26, 0.53) 100%
  );
  border: 2px solid #39ff14;
  box-shadow: 0 4px 24px 0 #000a, 0 0 8px 2px #39ff14cc;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
}
.re4-card:hover {
  border-color: #bfff5f;
  box-shadow: 0 0 24px 0 #39ff14, 0 2px 32px #111d;
  transform: translateY(-8px) scale(1.04);
}
.re4-card::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    120deg,
    rgba(185, 255, 95, 0.07) 0%,
    rgba(57, 255, 20, 0.03) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 0;
}
.re4-card:hover::after {
  opacity: 1;
}

.re4-footer,
body.dark .re4-footer {
  background: linear-gradient(90deg, #13210b 60%, #39ff14 100%);
  border-top: 2px solid #39ff14;
  box-shadow: 0 -2px 12px #39ff1460;
  color: #e9ffe2;
}

.card-label {
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.re4-glow {
  text-shadow: 0 0 12px #39ff14, 0 0 32px #39ff1466;
}

.re4-icon {
  filter: drop-shadow(0 0 8px #39ff14) drop-shadow(0 0 4px #39ff14cc);
  border-radius: 12px;
  background: rgba(30, 30, 30, 0.7);
  padding: 4px;
  transition: transform 0.3s;
}
.re4-card:hover .re4-icon {
  transform: rotate(-8deg) scale(1.15);
}

.re4-accent-number {
  color: #39ff14;
  text-shadow: 0 0 6px #39ff14, 0 0 18px #39ff1466;
  font-weight: 900;
  transition: color 0.3s;
}
.re4-accent-label {
  color: #bfff5f;
  text-shadow: 0 0 4px #39ff14;
  transition: color 0.3s;
}

/* =================== LIGHT THEME =================== */
body.light {
  background: linear-gradient(135deg, #f5fff8 60%, #e6f3e5 100%);
  color: #1a2d17;
}

body.light .re4-card {
  background: linear-gradient(
    120deg,
    rgba(245, 255, 240, 0.85) 80%,
    rgba(220, 245, 220, 0.65) 100%
  );
  border: 2px solid #1f51ff;
  box-shadow: 0 4px 24px 0 #b7eaff88, 0 0 8px 2px #1f51ff22;
  color: #223c1a;
}
body.light .re4-card:hover {
  border-color: #1f51ff;
  box-shadow: 0 0 24px 0 #1f51ff66, 0 2px 32px #d3eaff;
}
body.light .re4-card::after {
  background: linear-gradient(
    120deg,
    rgba(31, 81, 255, 0.07) 0%,
    rgba(31, 81, 255, 0.03) 100%
  );
}
body.light .re4-footer {
  background: linear-gradient(90deg, #b7eaff 60%, #1f51ff 100%);
  border-top: 2px solid #1f51ff;
  box-shadow: 0 -2px 12px #1f51ff60;
  color: #1a2d17;
}
body.light .re4-glow {
  text-shadow: 0 0 12px #1f51ff, 0 0 32px #1f51ff66;
}
body.light .re4-icon {
  filter: drop-shadow(0 0 8px #1f51ff) drop-shadow(0 0 4px #b7eaffcc);
  background: rgba(245, 255, 255, 0.7);
}
body.light .re4-accent-number {
  color: #1f51ff;
  text-shadow: 0 0 6px #1f51ff, 0 0 18px #b7eaff66;
}
body.light .re4-accent-label {
  color: #1f51ff;
  text-shadow: 0 0 4px #1f51ff;
}
/* Dashboard Section - Transparent Background */
.dashboard-section {
  background: transparent !important;
  transition: background 0.3s;
}

/* Cards (dashboard "inside template") - Transparent Background */
.re4-card,
body.dark .re4-card,
body.light .re4-card {
  background: transparent !important;
  border: 2px solid var(--re4-card-border, #39ff14);
  box-shadow: 0 4px 24px 0 #000a, 0 0 8px 2px #39ff14cc;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

/* Light theme border override */
body.light .re4-card {
  border: 2px solid #1f51ff;
  box-shadow: 0 4px 24px 0 #b7eaff88, 0 0 8px 2px #1f51ff22;
  color: #223c1a;
}

/* Card hover */
.re4-card:hover,
body.light .re4-card:hover,
body.dark .re4-card:hover {
  border-color: #bfff5f;
  box-shadow: 0 0 24px 0 #39ff14, 0 2px 32px #111d;
  transform: translateY(-8px) scale(1.04);
}

/* Remove any shine gradient on hover */
.re4-card::after {
  display: none !important;
}

/* Rest of your card styles remain unchanged... */
.card-label {
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.re4-glow {
  text-shadow: 0 0 12px #39ff14, 0 0 32px #39ff1466;
}
.re4-icon {
  filter: drop-shadow(0 0 8px #39ff14) drop-shadow(0 0 4px #39ff14cc);
  border-radius: 12px;
  background: rgba(30, 30, 30, 0.7);
  padding: 4px;
  transition: transform 0.3s;
}
.re4-card:hover .re4-icon {
  transform: rotate(-8deg) scale(1.15);
}
.re4-accent-number {
  color: #39ff14;
  text-shadow: 0 0 6px #39ff14, 0 0 18px #39ff1466;
  font-weight: 900;
  transition: color 0.3s;
}
.re4-accent-label {
  color: #bfff5f;
  text-shadow: 0 0 4px #39ff14;
  transition: color 0.3s;
}
/*Templets*/
/* --- Portfolio Grid & Pagination Styles --- */
.portfolio-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto 40px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.portfolio-grid.fade-out {
  opacity: 0;
}
body.dark .portfolio-card {
  position: relative;
  background: #101b10;
  border: 2px solid #00ff00;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 16px 3px #00ff0088, 0 4px 24px #00330088;
  height: 280px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 2, 0.6, 1), box-shadow 0.3s,
    border-color 0.3s;
}
body.dark .portfolio-card:hover {
  transform: scale(1.14);
  box-shadow: 0 0 32px 8px #00ff00cc, 0 4px 32px #003300bb;
  z-index: 2;
  border-color: #caffca;
}
.portfolio-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}
.portfolio-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}
.portfolio-overlay h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: #caffca;
  text-shadow: 0 0 8px #00ff0088;
}
.portfolio-overlay p {
  margin: 0;
  font-size: 1rem;
  color: #9eff9e;
  text-shadow: 0 0 6px #00ff0044;
}
/* Pagination Section */
.portfolio-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.portfolio-grid {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.3rem;
  padding: 30 60px; /* space for arrows */
}

/* Arrow Button Common Style */
.portfolio-pagination-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

/* Left and Right Placement */
.portfolio-pagination-btn.left {
  left: -70px;
}

.portfolio-pagination-btn.right {
  right: -70px;
}

.portfolio-arrow-shape {
  width: 48px;
  height: 48px;
}

/* Optional hover scale */
.portfolio-pagination-btn:hover .portfolio-arrow-shape {
  transform: scale(1.9);
  transition: transform 0.3s ease;
}
body.light .portfolio-card {
  position: relative;
  background: #101b10;
  border: 2px solid #1f51ff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 16px 3px #1f51ff, 0 4px 24px #00330088;
  height: 280px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 2, 0.6, 1), box-shadow 0.3s,
    border-color 0.3s;
}
body.light .portfolio-card:hover {
  transform: scale(1.14);
  box-shadow: 0 0 32px 8px #1f51ff, 0 4px 32px #003300bb;
  z-index: 2;
  border-color: #caffca;
}
/* Template Navigation Bar Styles */
.template-navbar {
  background: linear-gradient(90deg, #1a1a1a, #2d2d2d);
  padding: 0.8rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 10;
}

.template-nav-container {
  max-width: 1200px;
  margin: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.template-nav-links {
  display: flex;
  gap: 1.5rem;
}

.template-nav-link {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.template-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #39ff14;
}

.template-nav-link i {
  font-size: 1.1rem;
}

/* Switch styles */
.template-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.switch-label {
  color: #f0f0f0;
  font-size: 0.9rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #39ff14;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Dark mode styles */
.dark .template-navbar {
  background: linear-gradient(90deg, #0a0a0a, #1a1a1a);
}

.dark .template-nav-link {
  color: #e0e0e0;
}
.tech-tag {
  background: rgba(40, 130, 255, 0.79);
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 1rem;
}
.dark .tech-tag {
  background-color: #39ff14;
  color: #000000;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 1rem;
}
.p {
  font-size: 1.3rem;
}
.Name {
  color: rgba(17, 113, 247, 0.79);
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: larger;
}
.dark .Name {
  color: #39ff14;
}

/* ===== FOOTER & CONTACT SECTION ===== */
.contact-container {
  position: relative;
  max-width: 1200px;
  margin: 1rem auto 2rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

/* Snake Border Animation */
.snake-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.snake {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #39ff14;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px #39ff14) drop-shadow(0 0 16px #39ff14);
  animation: snakeMove 3s linear infinite;
  z-index: 2;
}

.snake-trail {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #39ff1420, transparent);
  animation: trailPulse 3s ease-in-out infinite;
}

@keyframes snakeMove {
  0% {
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }
  25% {
    top: 0;
    left: 100%;
    transform: translate(-100%, 0);
  }
  50% {
    top: 100%;
    left: 100%;
    transform: translate(-100%, -100%);
  }
  75% {
    top: 100%;
    left: 0;
    transform: translate(0, -100%);
  }
  100% {
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }
}

@keyframes trailPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

/* Contact Info Section */
.contact-info {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  z-index: 2;
}

/* Dark Theme Contact Info */
body.dark .contact-info {
  background: linear-gradient(
    135deg,
    rgba(26, 45, 23, 0.8) 0%,
    rgba(34, 60, 26, 0.6) 100%
  );
  border: 2px solid #39ff14;
  box-shadow: 0 8px 32px rgba(57, 255, 20, 0.15),
    inset 0 1px 0 rgba(57, 255, 20, 0.1);
}

/* Light Theme Contact Info */
body.light .contact-info {
  background: linear-gradient(
    135deg,
    rgba(240, 248, 255, 0.9) 0%,
    rgba(220, 240, 255, 0.7) 100%
  );
  border: 2px solid #0077ff;
  box-shadow: 0 8px 32px rgba(0, 119, 255, 0.15),
    inset 0 1px 0 rgba(0, 119, 255, 0.1);
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Dark Theme Contact Items */
body.dark .contact-item {
  background: rgba(26, 45, 23, 0.6);
  border: 1px solid #39ff14;
}

body.dark .contact-item:hover {
  background: rgba(57, 255, 20, 0.1);
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.2);
}

/* Light Theme Contact Items */
body.light .contact-item {
  background: rgba(240, 248, 255, 0.8);
  border: 1px solid #0077ff;
}

body.light .contact-item:hover {
  background: rgba(0, 119, 255, 0.1);
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(0, 119, 255, 0.2);
}

.contact-item i {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Dark Theme Icons */
body.dark .contact-item i {
  background: rgba(57, 255, 20, 0.1);
  color: #39ff14;
  border: 2px solid #39ff14;
}

body.dark .contact-item:hover i {
  background: #39ff14;
  color: #152010;
  transform: scale(1.1);
}

/* Light Theme Icons */
body.light .contact-item i {
  background: rgba(0, 119, 255, 0.1);
  color: #0077ff;
  border: 2px solid #0077ff;
}

body.light .contact-item:hover i {
  background: #0077ff;
  color: white;
  transform: scale(1.1);
}

.contact-text h4 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

/* Dark Theme Text */
body.dark .contact-text h4 {
  color: #39ff14;
}

body.dark .contact-text p {
  color: #e9ffe2;
}

/* Light Theme Text */
body.light .contact-text h4 {
  color: #0077ff;
}

body.light .contact-text p {
  color: #334;
}

/* Social Section */
.social-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Dark Theme Social Icons */
body.dark .social-icons a {
  background: rgba(57, 255, 20, 0.1);
  border: 2px solid #39ff14;
  color: #39ff14;
}

body.dark .social-icons a:hover {
  background: #39ff14;
  color: #152010;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(57, 255, 20, 0.4);
}

/* Light Theme Social Icons */
body.light .social-icons a {
  background: rgba(0, 119, 255, 0.1);
  border: 2px solid #0077ff;
  color: #0077ff;
}

body.light .social-icons a:hover {
  background: #0077ff;
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 119, 255, 0.4);
}

.social-icons i {
  font-size: 1.5rem;
}

.email-link {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

/* Dark Theme Email Link */
body.dark .email-link {
  background: rgba(57, 255, 20, 0.1);
  color: #39ff14;
  border: 2px solid #39ff14;
}

body.dark .email-link:hover {
  background: #39ff14;
  color: #152010;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57, 255, 20, 0.3);
}

/* Light Theme Email Link */
body.light .email-link {
  background: rgba(0, 119, 255, 0.1);
  color: #0077ff;
  border: 2px solid #0077ff;
}

body.light .email-link:hover {
  background: #0077ff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 255, 0.3);
}

/* Contact Form */
.contact-form {
  position: relative;
  padding: 2.5rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  z-index: 2;
}

/* Dark Theme Form */
body.dark .contact-form {
  background: linear-gradient(
    135deg,
    rgba(26, 45, 23, 0.8) 0%,
    rgba(34, 60, 26, 0.6) 100%
  );
  border: 2px solid #39ff14;
  box-shadow: 0 8px 32px rgba(57, 255, 20, 0.15),
    inset 0 1px 0 rgba(57, 255, 20, 0.1);
}

/* Light Theme Form */
body.light .contact-form {
  background: linear-gradient(
    135deg,
    rgba(240, 248, 255, 0.9) 0%,
    rgba(220, 240, 255, 0.7) 100%
  );
  border: 2px solid #0077ff;
  box-shadow: 0 8px 32px rgba(0, 119, 255, 0.15),
    inset 0 1px 0 rgba(0, 119, 255, 0.1);
}

/* Form Groups */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid;
  border-radius: 8px;
  background: transparent;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: vertical;
}

/* Dark Theme Form Fields */
body.dark .form-group input,
body.dark .form-group textarea {
  border-color: #39ff14;
  color: #39ff14;
}

body.dark .form-group input:focus,
body.dark .form-group textarea:focus {
  border-color: #bfff5f;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
  outline: none;
}

body.dark .form-group input::placeholder,
body.dark .form-group textarea::placeholder {
  color: #39ff14;
  opacity: 0.7;
}

/* Light Theme Form Fields */
body.light .form-group input,
body.light .form-group textarea {
  border-color: #0077ff;
  color: #0077ff;
}

body.light .form-group input:focus,
body.light .form-group textarea:focus {
  border-color: #0051cc;
  box-shadow: 0 0 15px rgba(0, 119, 255, 0.3);
  outline: none;
}

body.light .form-group input::placeholder,
body.light .form-group textarea::placeholder {
  color: #0077ff;
  opacity: 0.7;
}

/* Form Labels */
.form-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Dark Theme Labels */
body.dark .form-group label {
  color: #39ff14;
  background: rgba(26, 45, 23, 0.9);
}

/* Light Theme Labels */
body.light .form-group label {
  color: #0077ff;
  background: rgba(240, 248, 255, 0.9);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.5rem;
  font-size: 0.8rem;
  padding: 0 0.5rem;
}

/* Validation Messages */
.validation-message {
  color: #ff4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.validation-message.show {
  display: block;
}

/* Message States */
.message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.message.show {
  display: flex;
}

.success-message {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid #4caf50;
  color: #4caf50;
}

.error-message {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid #f44336;
  color: #f44336;
}

/* Particles Background */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particles::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(57, 255, 20, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(57, 255, 20, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(57, 255, 20, 0.08) 0%,
      transparent 50%
    );
  animation: particleFloat 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 968px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    background-color: transparent;
    backdrop-filter: blur(10px);
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 2rem;
    background-color: transparent;
    backdrop-filter: blur(10px);
  }
}

@media (max-width: 768px) {
  .contact-container {
    padding: 1rem;
    margin: 2rem auto;
    background-color: transparent;
    backdrop-filter: blur(10px);
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem;
    background-color: transparent;
    backdrop-filter: blur(10px);
  }

  .social-icons {
    gap: 1rem;
  }

  .social-icons a {
    width: 50px;
    height: 50px;
  }

  .social-icons i {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .contact-item i {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .social-icons a {
    width: 45px;
    height: 45px;
  }
}
.foot {
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
}
.typing-effect {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: #2c3e50;
  margin-left: 5px;
  animation: blink 1s infinite;
  height: 1.2em;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Dark theme styling */
body.dark .typing-effect {
  color: #39ff14;
  text-shadow: 0 0 8px #39ff14, 0 0 16px #39ff14;
}

body.dark .cursor {
  background-color: #39ff14;
}

/* Light theme styling */
body.light .typing-effect {
  color: #0077cc;
  text-shadow: 0 0 8px rgba(0, 119, 204, 0.3);
}

body.light .cursor {
  background-color: #0077cc;
}

/* Responsive design */
@media (max-width: 768px) {
  .typing-effect {
    font-size: 2rem;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .typing-effect {
    font-size: 1.5rem;
    height: 40px;
  }
}
.cursor {
  display: inline-block;
  width: 3px;
  background-color: currentColor;
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.typing-effect {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: currentColor;
  margin-left: 2px;
  animation: blink 1s infinite;
  height: 1.2em;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Dark theme styling */
body.dark .typing-effect {
  color: #39ff14;
  text-shadow: 0 0 8px #39ff14, 0 0 16px #39ff14;
}

body.dark .cursor {
  background-color: #39ff14;
}

/* Light theme styling */
body.light .typing-effect {
  color: #0077cc;
  text-shadow: 0 0 8px rgba(0, 119, 204, 0.3);
}

body.light .cursor {
  background-color: #0077cc;
}

/* Responsive design */
@media (max-width: 768px) {
  .typing-effect {
    font-size: 2rem;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .typing-effect {
    font-size: 1.5rem;
    height: 40px;
  }
}

.typing-effect {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: currentColor;
  margin-left: 2px;
  animation: blink 1s infinite;
  height: 1.2em;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Dark theme styling */
body.dark .typing-effect {
  color: #39ff14;
  text-shadow: 0 0 8px #39ff14, 0 0 16px #39ff14;
}

body.dark .cursor {
  background-color: #39ff14;
}

/* Light theme styling */
body.light .typing-effect {
  color: #0077cc;
  text-shadow: 0 0 8px rgba(0, 119, 204, 0.3);
}

body.light .cursor {
  background-color: #0077cc;
}

/* Responsive design */
@media (max-width: 768px) {
  .typing-effect {
    font-size: 2rem;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .typing-effect {
    font-size: 1.5rem;
    height: 40px;
  }
}

.socials {
  margin-top: 20px;
  text-align: center;
}
.dark .socials a {
  color: #00bfa6;
  margin: 0 10px;
  text-decoration: none;
}
.socials a {
  color: #0077ff;
  margin: 0 10px;
  text-decoration: none;
}

/* Tabs Section */
.tabs-section {
  padding: 50px 20px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 10px;
}

body.dark .section-header h2 {
  color: #39ff14;
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-shadow: 0 0 10px #39ff14;
}

body.light .section-header h2 {
  color: #0077cc;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Tabs Navigation */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 5px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
}

body.dark .tab-btn {
  background: rgba(57, 255, 20, 0.1);
  color: #bfff5f;
  border: 1px solid #39ff14;
}

body.light .tab-btn {
  background: rgba(0, 119, 204, 0.1);
  color: #0077cc;
  border: 1px solid #0077cc;
}

body.dark .tab-btn:hover {
  background: rgba(57, 255, 20, 0.2);
  transform: translateY(-2px);
}

body.light .tab-btn:hover {
  background: rgba(0, 119, 204, 0.2);
  transform: translateY(-2px);
}

body.dark .tab-btn.active {
  background: #39ff14;
  color: #152010;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

body.light .tab-btn.active {
  background: #0077cc;
  color: white;
  box-shadow: 0 0 15px rgba(0, 119, 204, 0.3);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.tab-content.active {
  display: block;
}

/* Project Container with Auto-Scroll */
.projects-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 15px 0;
  padding: 10px 0;
}

.projects-scroller {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.projects-scroller:hover {
  animation-play-state: paused;
}

/* Project Cards */
.project-card {
  width: 320px;
  height: 420px;
  margin: 0 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

body.dark .project-card {
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid #39ff14;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

body.light .project-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #0077cc;
  box-shadow: 0 0 15px rgba(0, 119, 204, 0.2);
}

.project-card:hover {
  transform: translateY(-10px);
}

body.dark .project-card:hover {
  box-shadow: 0 15px 30px rgba(57, 255, 20, 0.5);
}

body.light .project-card:hover {
  box-shadow: 0 15px 30px rgba(0, 119, 204, 0.3);
}

.project-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.project-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-content {
  padding: 20px;
  height: 240px;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.dark .project-title {
  color: #39ff14;
}

body.light .project-title {
  color: #0077cc;
}

.project-description {
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
  overflow: hidden;
}

body.dark .project-description {
  color: rgba(255, 255, 255, 0.8);
}

body.light .project-description {
  color: rgba(0, 0, 0, 0.7);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.tag {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

body.dark .tag {
  background: rgba(57, 255, 20, 0.2);
  color: #bfff5f;
  border: 1px solid #39ff14;
}

body.light .tag {
  background: rgba(0, 119, 204, 0.1);
  color: #0077cc;
  border: 1px solid #0077cc;
}

.project-link-overlay {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

body.dark .project-link-overlay {
  background: rgba(57, 255, 20, 0.9);
  color: #152010;
}

body.light .project-link-overlay {
  background: rgba(0, 119, 204, 0.9);
  color: white;
}

.project-card:hover .project-link-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Certificate Cards */
.certificate-card {
  width: 320px;
  height: 380px;
  margin: 0 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

body.dark .certificate-card {
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid #39ff14;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

body.light .certificate-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #0077cc;
  box-shadow: 0 0 15px rgba(0, 119, 204, 0.2);
}

.certificate-card:hover {
  transform: translateY(-10px);
}

body.dark .certificate-card:hover {
  box-shadow: 0 15px 30px rgba(57, 255, 20, 0.5);
}

body.light .certificate-card:hover {
  box-shadow: 0 15px 30px rgba(0, 119, 204, 0.3);
}

.certificate-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.certificate-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.certificate-content {
  padding: 20px;
  height: 180px;
  display: flex;
  flex-direction: column;
}

.certificate-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.dark .certificate-title {
  color: #39ff14;
}

body.light .certificate-title {
  color: #0077cc;
}

.certificate-issuer {
  font-size: 0.9rem;
  margin-bottom: 10px;
  opacity: 0.8;
}

.certificate-date {
  font-size: 0.8rem;
  margin-top: auto;
  opacity: 0.7;
}

.certificate-link-overlay {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

body.dark .certificate-link-overlay {
  background: rgba(57, 255, 20, 0.9);
  color: #152010;
}

body.light .certificate-link-overlay {
  background: rgba(0, 119, 204, 0.9);
  color: white;
}

.certificate-card:hover .certificate-link-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Tech Stack Section */
.tech-stack-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.tech-category {
  border-radius: 15px;
  padding: 25px;
  transition: transform 0.3s ease;
}

body.dark .tech-category {
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid #39ff14;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

body.light .tech-category {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #0077cc;
  box-shadow: 0 0 15px rgba(0, 119, 204, 0.1);
}

.tech-category:hover {
  transform: translateY(-5px);
}

.tech-category h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.dark .tech-category h3 {
  color: #39ff14;
}

body.light .tech-category h3 {
  color: #0077cc;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.tech-icon:hover {
  transform: scale(1.1);
}

.tech-icon i {
  font-size: 2.5rem;
}

.tech-icon span {
  font-size: 0.9rem;
  font-weight: 600;
}

body.dark .tech-icon span {
  color: #bfff5f;
}

body.light .tech-icon span {
  color: #0077cc;
}

/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-340px * 7));
  }
}

/* Gradient overlay for smooth edges */
.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body.dark .gradient-overlay {
  background: linear-gradient(
    to right,
    rgba(18, 18, 18, 0.9) 0%,
    transparent 10%,
    transparent 90%,
    rgba(18, 18, 18, 0.9) 100%
  );
}

body.light .gradient-overlay {
  background: linear-gradient(
    to right,
    rgba(245, 245, 245, 0.9) 0%,
    transparent 10%,
    transparent 90%,
    rgba(245, 245, 245, 0.9) 100%
  );
}

/* Responsive */
@media (max-width: 768px) {
  .project-card,
  .certificate-card {
    width: 280px;
    height: 380px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-320px * 7));
    }
  }

  .tabs-nav {
    gap: 10px;
  }

  .tab-btn {
    padding: 10px 18px;
    font-size: 1rem;
  }

  .tech-stack-container {
    grid-template-columns: 1fr;
  }
}

.tech-category {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
}

.tech-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--category-color-1),
    var(--category-color-2)
  );
}

.tech-category:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-item {
  background: rgba(51, 65, 85, 0.5);
  border-radius: 8px; /* smaller corners */
  padding: 0.2rem 0.6rem; /* less space inside */
  transition: all 0.3s ease;
  border: 0.5px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  /* smaller text */
}

.tech-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.tech-item:hover::before {
  left: 100%;
}

.tech-item:hover {
  transform: translateY(-5px);
  background: rgba(51, 65, 85, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

.tech-icon {
  transition: all 0.3s ease;
  filter: grayscale(0.3);
}

.tech-item:hover .tech-icon {
  filter: grayscale(0);
  transform: scale(1.15);
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, -15px);
  }
  100% {
    transform: translate(0, -0px);
  }
}

.pulse-glow {
  animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary),
    var(--accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.category-header {
  background: linear-gradient(
    135deg,
    var(--category-color-1),
    var(--category-color-2)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
