@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Zen+Dots&display=swap");

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --color-black: #000000;
  --color-white: #ffffff;

  --color-primary: #0084ff;
  --color-primary-rgb: 0, 132, 255;
  --color-primary-light: #66b2ff;
  --color-primary-dark: #005fcc;

  --color-secondary: #ff6b00;
  --color-secondary-rgb: 255, 107, 0;

  --color-text: var(--color-black);
  --color-bg: var(--color-white);

  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Inter", sans-serif;
  --font-mono: "Fira Code", monospace;

  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  --font-size-p: clamp(14px, 2vw, 16px);
  --font-size-normal: clamp(16px, 2.5vw, 20px);
  --font-size-h1: clamp(32px, 5vw, 50px);

  --scroll-padding-top: 100px;

  --status-green: #00ff88;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.1);

  --nav-bg: rgba(10, 10, 10, 0.7);
  --accent: #ff6b00;
  --nav-height: 70px;

  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .mobile-warning {
    display: none !important;
  }

  nav.desktop-navbar {
    display: none !important;
  }

  .hero,
  .about,
  .skills,
  .contact,
  .footer {
    display: block !important;
  }

  body > *:not(.mobile-warning) {
    display: block;
  }

  .mobile-navbar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 9999 !important;
  }
}

html {
  scroll-behavior: smooth;
}

nav.desktop-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  height: 80px;
  border-color: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    padding 0.4s ease,
    top 0.4s ease;
}

nav.desktop-navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
}

.logo {
  display: flex;
  height: 50px;
  aspect-ratio: 1/1;
}

nav.desktop-navbar > ul {
  display: flex;
  list-style: none;
  gap: 10px;
}

nav.desktop-navbar > ul li {
  position: relative;
  padding: 8px 18px;
  transition: color 0.3s ease;
}

nav.desktop-navbar > ul li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  z-index: -1;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

nav.desktop-navbar > ul li:hover::before {
  transform: scale(1);
  opacity: 1;
}

nav.desktop-navbar > ul li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent);
}

nav.desktop-navbar > ul li:hover::after {
  width: 40%;
}

nav.desktop-navbar > ul > li > a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

nav.desktop-navbar > ul li:hover a {
  color: var(--accent);
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
  margin-bottom: -50px;
  z-index: 0;
  perspective: 1000px;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  animation: fadeIn 1s ease-out;
  max-width: 90%;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: calc(var(--font-size-h1) * 1.2);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.hero-content span {
  color: var(--color-secondary);
  position: relative;
  display: inline-block;
}

.hero-content p {
  font-size: calc(var(--font-size-p) * 1.1);
  opacity: 0.9;
  margin: 1.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideUp 1.2s ease-out;
}

.hero-buttons {
  margin-top: 2rem;
  animation: slideUp 1.4s ease-out;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin: 0 10px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-black);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-black);
  margin-top: 5px;
}

@media (max-width: 600px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

.project-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.project-card:hover {
  border: 2px solid var(--color-primary);
}

.skill-fill {
  transition: width 1.5s ease-in-out;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

.footer {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.8) 0%,
    var(--color-black) 50%,
    var(--color-black) 100%
  );
  color: white;
  padding: 60px 5% 30px;
  font-family: var(--font-primary);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 40px;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-direction: column;
  text-align: center;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(0, 132, 255, 0.5));
  margin-bottom: 5px;
}

.footer-tagline h3 {
  font-size: 28px;
  font-weight: var(--font-bold);
  margin-bottom: 5px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 250px;
  text-align: center;
}

.footer-nav h4,
.footer-social h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--color-primary-light);
  position: relative;
  display: inline-block;
}

.footer-nav h4::after,
.footer-social h4::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
  bottom: -8px;
  left: 0;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav ul li {
  margin-bottom: 12px;
}

.footer-nav ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.footer-nav ul li a:hover {
  color: var(--color-primary);
  transform: none;
}

.footer-nav ul li a:hover::after {
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: -1;
}

.social-icons a:hover {
  color: white;
  transform: none;
  box-shadow: 0 5px 15px rgba(0, 132, 255, 0.4);
}

.social-icons a:hover::before {
  transform: scale(1);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-primary);
}

.separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .about .glow-container {
    width: 80%;
  }

  .skills-list::after {
    left: 50%;
    top: 50%;
  }
}

body {
  background: linear-gradient(var(--color-black), #001a33, var(--color-black));
  background-attachment: fixed;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary), var(--font-secondary);
  color: var(--color-white);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: -1;
}

.glow-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-normal);
  font-weight: bold;
  letter-spacing: 1px;
  padding: 20px;
  padding-right: 40px;
  margin: 30px 20px;
  line-height: 2rem;
}

.glow-container::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: var(--color-secondary);
  top: -50px;
  left: -50px;
  border-radius: 40% 60% 50% 70%;
  filter: blur(100px);
  opacity: 90%;
  z-index: -1;
}

.section_header {
  text-align: center;
  margin: 20px 0;
  font-size: var(--font-size-h1);
  position: relative;
  min-width: fit-content;
  width: 100%;
  letter-spacing: 15px;
  font-family: "Zen Dots", var(--font-primary);
}

.section_header::after {
  position: absolute;
  content: "";
  width: 5%;
  height: 5px;
  background: var(--color-secondary);
  bottom: -5px;
  left: 35%;
  box-shadow:
    0 0 15px var(--color-secondary),
    inset 0 0 10px var(--color-secondary);
}

.section_header::before {
  position: absolute;
  content: "";
  width: 5%;
  height: 0px;
  border-bottom: 5px dotted var(--color-secondary);
  bottom: -5px;
  left: 40%;
  margin-left: 6px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.about {
  position: relative;
  padding: 2rem 1rem 4rem;
  overflow: hidden;
  margin-top: -20px;
  z-index: 10;
}

.section_header#about {
  position: relative;
  z-index: 15;
  margin-bottom: 30px;
  padding-top: 70px;
  background: linear-gradient(135deg, var(--color-white), #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.section_header#about::after {
  background: var(--color-secondary);
  width: 7%;
  height: 4px;
  bottom: -10px;
  box-shadow:
    0 0 20px var(--color-secondary),
    inset 0 0 10px var(--color-secondary);
}

.section_header#about::before {
  width: 7%;
  height: 0px;
  border-bottom: 4px dotted var(--color-secondary);
  bottom: -10px;
}

.about::before,
.about::after {
  opacity: 0.6;
}

.about::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary-dark), #000d1a);
  top: 10%;
  right: -100px;
  border-radius: 40% 60% 50% 45%;
  filter: blur(90px);
  z-index: -1;
  animation: rotateSlow 20s infinite linear;
}

.about::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--color-secondary), #331400);
  bottom: 10%;
  left: -90px;
  border-radius: 60% 40% 30% 70%;
  filter: blur(70px);
  z-index: -1;
  animation: rotateSlow 25s infinite linear reverse;
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text-container {
  order: 2;
  width: 100%;
  position: relative;
  background: rgba(0, 10, 20, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeIn 1s ease-out;
  overflow: hidden;
}

.about-text-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(0, 132, 255, 0.03) 0%,
    transparent 70%
  );
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.about-text {
  font-size: clamp(1rem, 1.1rem, 1.2rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--font-regular);
  position: relative;
  z-index: 2;
}

.about-text strong {
  color: var(--color-primary-light);
  font-weight: var(--font-semibold);
}

.about-image {
  order: 1;
  width: 100%;
  max-width: 320px;
  position: relative;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.experience-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 3;
}

.stat-item {
  background: rgba(0, 13, 26, 0.4);
  border-radius: 12px;
  padding: 1.2rem 1rem;
  text-align: center;
  border: 1px solid rgba(0, 132, 255, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent,
    rgba(0, 132, 255, 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.stat-item:hover::before {
  transform: translateX(100%);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: var(--font-bold);
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  font-family: "Zen Dots", var(--font-primary);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .about {
    padding: 3rem 2rem 5rem;
  }

  .about-content {
    flex-direction: row;
    gap: 4rem;
  }

  .about-text-container {
    order: 1;
    flex: 1;
    max-width: 60%;
  }

  .about-image {
    order: 2;
    flex: 1;
    max-width: 40%;
  }

  .experience-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.skills {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  overflow: hidden;
}

.skills::before,
.skills::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  animation: float-glow 10s infinite alternate ease-in-out;
}

.skills::before {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--color-primary-dark), transparent);
  top: -10%;
  right: -5%;
  opacity: 0.5;
}

.skills::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-secondary), transparent);
  bottom: -5%;
  left: -5%;
  opacity: 0.3;
  animation-delay: -5s;
}

@keyframes float-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-30px, 40px) scale(1.2);
  }
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.skill-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--tech-color, var(--color-primary));
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(var(--glow-rgb), 0.2);
}

.skill-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  transition: var(--transition-smooth);
  pointer-events: none;
}

.skill-card:hover::after {
  left: -50%;
}

.skill-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.skill-card:hover .skill-icon-wrapper {
  background: var(--tech-color);
  transform: rotate(-10deg);
  box-shadow: 0 0 15px var(--tech-color);
}

.skill-icon {
  filter: brightness(1) invert(1); 
  width: 32px;
  height: 32px;
}

.skill-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.skill-info {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.skill-card[data-tech="html"] { --tech-color: #e34c26; --glow-rgb: 227, 76, 38; }
.skill-card[data-tech="css"] { --tech-color: #264de4; --glow-rgb: 38, 77, 228; }
.skill-card[data-tech="javascript"] { --tech-color: #f7df1e; --glow-rgb: 247, 223, 30; }
.skill-card[data-tech="nextjs"] { --tech-color: #0037ff; --glow-rgb: 255, 255, 255; }
.skill-card[data-tech="rust"] { --tech-color: #dea584; --glow-rgb: 222, 165, 132; }
.skill-card[data-tech="java"] { --tech-color: #007396; --glow-rgb: 0, 115, 150; }
.skill-card[data-tech="git"] { --tech-color: #f05032; --glow-rgb: 240, 80, 50; }
.skill-card[data-tech="github"] { --tech-color: #6e5494; --glow-rgb: 110, 84, 148; }
.skill-card[data-tech="mongodb"] { --tech-color: #4db33d; --glow-rgb: 77, 179, 61; }
.skill-card[data-tech="postgresql"] { --tech-color: #336791; --glow-rgb: 51, 103, 145; }

@media (max-width: 600px) {
  .skills {
    padding: 3rem 1rem;
  }
  .skill-card {
    padding: 1.5rem;
  }
  .skill-card:hover {
    transform: translateY(-5px);
  }
}

.projects {
  width: 100%;
  padding: 1rem;
}

.projects-container {
  max-width: max-content;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1rem 0;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-primary);
}

.project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.project-tags span {
  background: rgba(0, 132, 255, 0.15);
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-tags span:nth-child(2) {
  background: rgba(255, 209, 0, 0.15);
  color: #ffd100;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.project-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-stack span {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-links {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.project-links:has(a:only-child) a {
  width: 100%;
}

.btn {
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn.primary {
  background: var(--color-primary);
  color: var(--color-black);
  border: 1px solid transparent;
}

.btn.primary:hover {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn.secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 5px;
}

.btn.secondary:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .projects {
    padding: 2rem;
  }

  .projects-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem 0;
  }

  .project-image {
    height: 220px;
  }

  .project-title {
    font-size: 1.5rem;
  }

  .project-description {
    font-size: 0.95rem;
  }

  .project-tags span {
    font-size: 0.75rem;
  }

  .tech-stack span {
    font-size: 0.85rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .projects {
    padding: 3rem;
  }

  .projects-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 3rem 0;
  }

  .project-image {
    height: 240px;
  }

  .project-content {
    padding: 2rem;
  }

  .project-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .project-description {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .tech-stack {
    margin-bottom: 2rem;
  }

  .tech-stack span {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.8rem 1.75rem;
    font-size: 1rem;
  }
}
.contact {
  position: relative;
  padding: 100px 0;
  color: var(--color-white);
}

.contact::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--color-primary-dark);
  top: -250px;
  right: -250px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: 0;
}

.contact::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  bottom: -150px;
  left: -150px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(80px);
  opacity: 0.1;
  z-index: 0;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
  z-index: 1;
}

.contact-info {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  padding: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.3),
    inset 0 2px 3px rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(var(--color-primary-rgb), 0.1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(var(--color-primary-rgb), 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.contact-info:hover {
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.4),
    inset 0 2px 5px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(var(--color-primary-rgb), 0.2);
}

.contact-info:hover::before {
  opacity: 1;
}

.contact-info h3 {
  font-size: 3rem;
  margin-bottom: 25px;
  font-weight: var(--font-bold);
  background: linear-gradient(
    90deg,
    var(--color-white),
    var(--color-primary-light)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  letter-spacing: 1px;
}

.accent-text {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.accent-text::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg width='100' height='8' viewBox='0 0 100 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5.5C20 -0.5 50 15.5 99 1.5' stroke='%230084ff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  bottom: -5px;
  left: 0;
}

.contact-tagline {
  font-size: var(--font-size-normal);
  margin-bottom: 50px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border-left: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.contact-method::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--color-primary),
    var(--color-secondary)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-method:hover::before {
  opacity: 1;
}

.contact-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(var(--color-primary-rgb), 0.1),
    rgba(var(--color-primary-rgb), 0.05)
  );
  border-radius: 16px;
  color: var(--color-primary);
  font-size: 24px;
  box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.contact-method:hover .contact-icon {
  background: linear-gradient(
    135deg,
    rgba(var(--color-primary-rgb), 0.15),
    rgba(var(--color-primary-rgb), 0.1)
  );
}

.contact-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.2),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-method:hover .contact-icon::after {
  opacity: 1;
}

.contact-icon i {
  font-size: 24px;
  z-index: 1;
}

.pulse {
  animation: iconPulse 3s infinite;
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.contact-details {
  flex: 1;
}

.contact-details h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.contact-method:hover .contact-details h4 {
  color: var(--color-primary-light);
}

.contact-details a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
  display: inline-block;
}

.animated-link {
  position: relative;
  display: inline-block;
}

.animated-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  transform: scaleX(0.3);
  opacity: 0.5;
  transition: all 0.3s ease;
  transform-origin: left;
}

.animated-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(
    to right,
    var(--color-primary),
    var(--color-secondary)
  );
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 4px;
}

.animated-link:hover {
  color: var(--color-white);
}

.animated-link:hover::before {
  opacity: 0;
  transform: scaleX(0);
}

.animated-link:hover::after {
  width: 100%;
}

.availability-indicator p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.mobile-navbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 10, 0.9));
  backdrop-filter: blur(10px);
  z-index: 9999;
  box-shadow:
    0 -4px 15px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 132, 255, 0.1);
  height: 65px;
  padding: 0 10px;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid rgba(0, 132, 255, 0.2);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
  transition: none;
}

.mobile-navbar .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 8px 0;
  font-size: 12px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 12px;
}

.mobile-navbar .nav-item i {
  font-size: 20px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.mobile-navbar .nav-item span {
  font-family: var(--font-primary);
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
}

.mobile-navbar .nav-item:hover {
  color: var(--color-primary);
  background: radial-gradient(
    circle at center,
    rgba(0, 132, 255, 0.12) 0%,
    transparent 70%
  );
}

.mobile-navbar .nav-item:hover span {
  font-weight: var(--font-semibold);
}

.mobile-navbar .nav-item:hover::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-primary),
    transparent
  );
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
  box-shadow: 0 0 8px var(--color-primary);
}

@media (max-width: 768px) {
  .mobile-navbar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
  }

  body {
    padding-bottom: 75px;
  }

  .section_header {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 30px;
  }

  .hero {
    margin-top: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .contact-container,
  .about-content,
  .skills-container,
  .projects-container {
    padding: 20px 15px;
  }

  .about-content {
    flex-direction: column;
  }

  .about-content img {
    max-width: 80%;
    margin: 20px auto;
  }

  .skills-list {
    grid-template-columns: 1fr !important;
  }

  .projects-container {
    display: flex;
    flex-direction: column;
  }

  .project-card {
    margin-bottom: 20px;
  }

  .footer {
    padding-bottom: 80px;
  }

  .contact {
    padding: 50px 0 80px 0;
    margin-bottom: 20px;
  }

  .contact-info {
    padding: 30px 20px;
    border-radius: 16px;
  }

  .contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .contact-tagline {
    font-size: 0.95rem;
    margin-bottom: 30px;
    max-width: 100%;
  }

  .contact-methods {
    gap: 15px;
    max-width: 100%;
  }

  .contact-method {
    padding: 15px;
    gap: 15px;
    flex-direction: row;
    align-items: center;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
    flex-shrink: 0;
  }

  .contact-icon i {
    font-size: 18px;
  }

  .contact-details h4 {
    font-size: 1rem;
  }

  .contact-details a {
    font-size: 0.9rem;
  }

  .availability-indicator {
    margin-top: 25px;
    padding: 10px;
  }

  .availability-indicator p {
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) {
  .mobile-navbar {
    display: none !important;
  }
}

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

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

@media (max-width: 768px) {
  .hero {
    height: calc(100vh - 60px);
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-content h1 {
    font-size: calc(var(--font-size-h1) * 0.9);
  }

  .hero-content p {
    font-size: var(--font-size-p);
    margin: 1rem 0;
  }

  .hero-buttons {
    margin-top: 1.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 1rem;
    margin: 5px;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}
