:root {
  --primary: #faefd3;
  --secondary: #004586;
  --tertiary: #9600ff;
  --dark: #0a0a1a;
  --light: #e0f8ff;
  --text: rgba(255, 255, 255, 0.8);
  --text-light: rgba(255, 255, 255, 0.7);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: monospace, sans-serif;
}

.retro-heading {
  font-family: 'Audiowide', cursive;
  font-size: 2rem;
  text-align: inherit;
  color: #fff;
  position: relative;
  transition: all 0.4s ease;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
  /* Add animation for color cycling */
  animation: color-pulse 10s infinite alternate;
  transition: 
    color 0.3s ease,
    text-shadow 0.3s ease;
    text-shadow: 0 0 1px #00fff7, 0 0 20px #f606fe;
}

/* Color cycling animation */
@keyframes color-pulse {
  0%, 100% { color: #00f0ff; }
  25% { color: #ff00f0; }
  50% { color: #f0ff00; }
  75% { color: #00ff0f; }
}

/* ✨ Spark animation layer */
.retro-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 100%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  z-index: 2;
  opacity: 0;
}

/* 💡 Neon glow on hover */
.retro-heading:hover {
  animation: none; /* Pause the automatic cycling */
  text-shadow: 0 0 5px currentColor, 
               0 0 15px currentColor, 
               0 0 30px currentColor;
               animation: none;
               transition: 
                 color 0.1s ease,
                 text-shadow 0.3s ease;
}

/* Random color on each hover */
.retro-heading:hover {
  color: var(--random-color);
}

/* ✨ Sparkle runs once on hover */
.retro-heading:hover::before {
  animation: sparkle-sweep 0.6s ease-out forwards;
  opacity: 1;
}

@keyframes sparkle-sweep {
  0% {
    left: -75%;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    left: 125%;
    opacity: 0;
  }
}

h2 {
  font-family: "Press Start 2P", cursive;
  font-size: 2rem;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(90deg, #00ffcc, #ff00cc, #3333ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-align: center;
  margin: 2rem 0;

  text-shadow: 2px 2px 0 #000, 4px 4px 0 #ff00cc;

  animation: h2-glow 4s ease-in-out infinite;
}
@keyframes h2-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 5px #00ffcc);
  }
  50% {
    filter: drop-shadow(0 0 15px #ff00cc);
  }
}

@font-face {
  font-family: "Alfa Slab One"; /* Corrected */
  src: url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap");
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(
      circle at 10% 20%,
      var(--tertiary) 0%,
      transparent 20%
    ),
    radial-gradient(circle at 90% 80%, var(--primary) 0%, transparent 20%),
    radial-gradient(circle at 30% 50%, var(--secondary) 0%, transparent 30%);
  background-attachment: fixed;
  cursor: cursor: url('https://cur.cursors-4u.net/cursors/cur-12/cur1062.cur'), auto;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: "Press Start 2P", cursive;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: aliceblue;
  background: linear-gradient(135deg, #ff00cc, #00ffcc, #3333ff);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 0 10px #00ffcc, 0 0 20px #ff00cc;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  letter-spacing: 1px;
}

.btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, #ff00cc, #00ffcc, #3333ff);
  background-size: 400%;
  animation: btn-glow 4s linear infinite;
  z-index: -1;
  opacity: 0.2;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 15px #00ffcc, 0 0 30px #ff00cc;
}

@keyframes btn-glow {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}

.btn-outline {
  font-family: "Press Start 2P", cursive;
  font-size: 0.75rem;
  padding: 14px 40px;
  color: #ff00cc;
  background: transparent;
  border: 2px solid #ff00cc;
  border-radius: 10px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 transparent;
  letter-spacing: 1px;
}

.btn-outline:hover {
  background: #ff00cc;
  color: #000;
  box-shadow: 0 0 10px #ff00cc, 0 0 20px #00ffcc;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: "Press Start 2P", cursive; /* Retro pixel-style font */
  background: linear-gradient(90deg, #ff00cc, #3333ff, #00ffcc);
  background-size: 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow: 2px 2px 0 #000, 4px 4px 0 #ff00cc;

  animation: retro-glow 5s infinite ease-in-out;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes retro-glow {
  0%,
  100% {
    background-position: 0%;
    filter: drop-shadow(0 0 5px #ff00cc);
  }
  50% {
    background-position: 100%;
    filter: drop-shadow(0 0 15px #00ffcc);
  }
}

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

.nav-links li {
  position: relative;
}

.nav-links a {
  font-family: "Press Start 2P", cursive;
  font-size: 0.8rem;
  text-transform: uppercase;
  text-decoration: none;
  color: #00ffcc;
  position: relative;
  display: inline-block;
  padding: 0.1rem;
  transition: color 0.3s ease-in-out;
  text-shadow: 1px 1px 0 #000, 2px 2px 0 #ff00cc;
}

/* Underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff00cc, #00ffcc);
  transition: width 0.4s ease-in-out;
}

.nav-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 5px #00ffcc, 0 0 10px #ff00cc;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.5rem;
}

/* Hero Section */
#home {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--text-light);
  font-weight: 400;
}

.hero-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: var(--text-light);
}

.hero-btns {
  font-family:"Press Start 2P", cursive;
  display: flex;
  gap: 20px;
}

.hero-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  max-width: 600px;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.hero-img img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 30px rgba(0, 247, 255, 0.3));
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Retro Particle Styles */
/* Debugged Retro Particle Styles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  /* Debug: Add temporary background to check container */
  /* background: rgba(255,0,0,0.1); */
}

.particle {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  text-shadow: 0 0 5px currentColor;
  will-change: transform;
  /* Ensure particles are above other content */
  z-index: 1;
}

@keyframes retro-particle-anim {
  0% {
    transform: 
      translateY(0) 
      translateX(0)
      scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: 
      translateY(-100vh) 
      translateX(calc((var(--random-x, 0.5) - 0.5) * 50px))
      scale(0.7);
    opacity: 0;
  }
}

/* About Section */
#about {
  background-color: rgba(10, 10, 26, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-img {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 247, 255, 0.1);
  position: relative;
  z-index: 2;
}

.about-img::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary),
    var(--secondary),
    var(--tertiary)
  );
  z-index: -1;
  border-radius: 22px;
}

.about-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  z-index: -1;
  border-radius: 20px;
  margin: 2px;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.education {
  margin-top: 30px;
}

.education-item {
  margin-bottom: 25px;
  padding: 20px;
  background: var(--glass);
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.education-item:hover {
  background: var(--glass-highlight);
  transform: translateY(-5px);
}

.education-item h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.education-item p {
  color: var(--text-light);
  margin-bottom: 5px;
}

.education-item .date {
  font-size: 0.9rem;
  color: aliceblue;
  font-weight: 600;
}

/* Skills Section - Updated Alignment */
#skills {
  position: relative;
  overflow: hidden;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.skills-category {
  background: var(--glass);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skills-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 247, 255, 0.05),
    transparent
  );
  z-index: -1;
}

.skills-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 247, 255, 0.1);
  border-color: rgba(0, 247, 255, 0.3);
}

.skills-category h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.skills-category h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* Improved Skill Items Alignment */
.skill-item {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.skill-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name span:first-child {
  color: var(--text);
  font-weight: 500;
}

.skill-name span:last-child {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}

.skill-bar {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.skill-progress::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shine 2s infinite;
}

/* Better Soft Skills Grid */
.soft-skills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.soft-skill {
  background: rgba(150, 0, 255, 0.2);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid var(--tertiary);
  transition: all 0.3s ease;
  text-align: center;
}

.soft-skill:hover {
  background: var(--tertiary);
  transform: translateY(-3px);
}

/* Certifications List */
.certification-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.certification-item:last-child {
  margin-bottom: 0;
}

.certification-item i {
  color: var(--primary);
}

@media (max-width: 768px) {
  .skills-container {
    grid-template-columns: 1fr;
  }

  .soft-skills {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}
/* Projects Section */
#projects {
  background-color: rgba(10, 10, 26, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--glass);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.project-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary),
    var(--secondary),
    var(--tertiary)
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 17px;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 247, 255, 0.2);
}

.project-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.project-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 26, 0.9), transparent);
  z-index: 1;
}

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

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

.project-content {
  padding: 25px;
  position: relative;
  z-index: 2;
}

.project-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.project-content p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tech-item {
  background: rgba(0, 247, 255, 0.1);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary);
  border: 1px solid rgba(0, 247, 255, 0.3);
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-btn {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-btn.primary {
  background: linear-gradient(45deg, var(--primary), var(--tertiary));
  color: var(--dark);
}

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

.project-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 247, 255, 0.3);
}

/* Project Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 26, 0.9);
  z-index: 1001;
  overflow-y: auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: block;
  opacity: 1;
}

.modal-content {
  background: var(--dark);
  max-width: 900px;
  margin: 50px auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(50px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 20px;
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
  color: var(--dark);
  position: relative;
}

.modal-header h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  transition: transform 0.3s ease;
}

.close-modal:hover {
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px;
}

.modal-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.modal-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.modal-features,
.modal-challenges {
  background: var(--glass);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
}

.modal-features h4,
.modal-challenges h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.modal-features ul,
.modal-challenges ul {
  padding-left: 20px;
}

.modal-features li,
.modal-challenges li {
  margin-bottom: 10px;
  color: var(--text-light);
}

.modal-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* Resume Section */
#resume {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.resume-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.resume-content p {
  margin-bottom: 30px;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Contact Section */
#contact {
  background-color: rgba(10, 10, 26, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--glass);
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: var(--glass-highlight);
  transform: translateY(-5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--primary), var(--tertiary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.contact-text p {
  color: var(--text-light);
}

.contact-form {
  background: var(--glass);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
}

.social-link:hover {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--dark);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 247, 255, 0.3);
}

/* Footer */
footer {
  background: linear-gradient(
    to right,
    var(--dark),
    var(--tertiary),
    var(--dark)
  );
  color: white;
  text-align: center;
  padding: 50px 0 30px;
  position: relative;
}

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

.footer-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {
  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-img {
    display: none;
  }

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

  .about-img {
    max-width: 500px;
    margin: 0 auto 50px;
  }

  .modal-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(10, 10, 26, 0.95);
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .hamburger {
    display: block;
  }

  section {
    padding: 80px 0;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }

  .projects-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .modal-img {
    height: 250px;
  }
}

/* Websites Section */
#websites {
  padding: 60px 0;
}

.websites-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.website-card {
  background: #111;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  overflow: hidden;
  transition: transform .3s ease;
}

.website-card:hover {
  transform: translateY(-5px);
}

.website-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.website-content {
  padding: 20px;
  text-align: center;
}

.website-links {
  margin-top: 15px;
}

.website-links .btn {
  margin: 5px;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.skills-category {
  background: #25253000;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.012);
}
.skills-category h3 { margin-top: 0; }

/* List styling to match your right-hand card look */
.cert-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.cert-list li + li {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 10px;
  padding-top: 10px;
}

