/* =========================
   PROFILE IMAGE
========================= */
.profile-image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;

  border: 3px solid #7cffb2;
  box-shadow:
    0 0 15px rgba(0, 212, 255, 0.6),
    0 0 30px rgba(124, 255, 178, 0.6);

  animation: floatGlow 4s ease-in-out infinite;
}

/* Floating Glow Animation */
@keyframes floatGlow {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* ==============================
   TECHNICAL PORTFOLIO CSS
   Author: Sneha Padma
   Theme: Neon / Glowing Buttons
============================== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* 🌌 Body Gradient Background */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, #0f0c29, #302b63, #24243e);
  background-size: 400% 400%;
  animation: gradientAnimation 18s ease infinite;
  color: #eaeaea;
  min-height: 100vh;
}

@keyframes gradientAnimation {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================
   HEADER / PROFILE
========================= */
.profile-header {
  text-align: center;
  padding: 60px 20px 40px;
}

.profile-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #7cffb2;
  text-shadow: 0 0 10px #00d4ff, 0 0 20px #00ff66;
}

.profile-header p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin: 5px 0 10px;
  color: #aaffaa;
}

.role-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 16px;
  font-size: 0.85rem;
  border-radius: 20px;
  background: #7cffb2;
  color: #000;
  font-weight: 600;
}

/* CTA Buttons */
.cta-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 26px;
  border-radius: 24px;
  background: #7cffb2;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px #00d4ff, 0 0 30px #7cffb2;
}

/* =========================
   SECTIONS
========================= */
section {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 20px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

section h2 {
  color: #7cffb2;
  margin-bottom: 14px;
  font-size: 2rem;
}

/* =========================
   SKILL BUTTONS
========================= */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.skill-box {
  opacity: 0; /* hidden initially */
  transform: translateY(50px) scale(0.9);
  transition: all 0.6s ease-out;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(6px);
  text-align: center;
  font-weight: 600;
  color: #00d4ff;
  cursor: pointer;
}

.skill-box.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: popupBounce 0.6s ease-out;
}

.skill-box:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 15px #00d4ff;
}

/* Popup bounce animation */
@keyframes popupBounce {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* =========================
   PROJECT CARDS
========================= */
.project-card {
  background: rgba(17, 17, 17, 0.8);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card h3 {
  color: #7cffb2;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.95rem;
  color: #d1d5db;
  margin-bottom: 8px;
}

.project-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 12px;
  background: #00d4ff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.project-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px #00d4ff, 0 0 30px #7cffb2;
}

/* =========================
   BACK LINK BUTTON
========================= */
.profile-cta {
  text-align: center;
  margin-bottom: 40px;
}

.back-link {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 24px;
  background: #7cffb2;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.back-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px #00d4ff, 0 0 30px #7cffb2;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 768px) {
  .profile-header h1 { font-size: 2rem; }
  .skills-container { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .project-card { padding: 16px; }
}

@media (max-width: 500px) {
  .skill-box, .project-card a, .back-link {
    width: 100%;
    box-sizing: border-box;
  }
}
/* =========================
   PROJECT CARDS – ENHANCED
========================= */
.project-card {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.6s ease;
  background: rgba(20, 20, 20, 0.85);
  padding: 22px;
  border-radius: 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  backdrop-filter: blur(6px);
}

/* Reveal animation (JS already handles this) */
.project-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hover effect */
.project-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 0 15px rgba(0, 212, 255, 0.5),
    0 0 30px rgba(124, 255, 178, 0.4);
}

/* Project Title */
.project-card h3 {
  font-size: 1.25rem;
  color: #7cffb2;
  margin-bottom: 10px;
  text-shadow: 0 0 6px rgba(124, 255, 178, 0.6);
}

/* Description Text */
.project-card p {
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.5;
  margin-bottom: 6px;
}

/* Tech Stack Line */
.project-card p strong {
  color: #00d4ff;
}

/* Project Links */
.project-card a {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #00d4ff, #7cffb2);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.project-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px #00d4ff, 0 0 22px #7cffb2;
}
.project-card h3::before {
  content: "✦ ";
  color: #00d4ff;
}
/* =========================
   MICRO LOAD ANIMATIONS
========================= */

/* Section fade-in */
section {
  opacity: 0;
  transform: translateY(30px);
  animation: sectionFade 0.8s ease forwards;
}

section:nth-of-type(1) { animation-delay: 0.2s; }
section:nth-of-type(2) { animation-delay: 0.35s; }
section:nth-of-type(3) { animation-delay: 0.5s; }
section:nth-of-type(4) { animation-delay: 0.65s; }

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

/* Header subtle entrance */
.profile-header {
  animation: headerSlide 0.9s ease forwards;
}

@keyframes headerSlide {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   MOBILE-FIRST OPTIMIZATION
========================= */
@media (max-width: 768px) {

  /* Header */
  .profile-header {
    padding: 40px 16px 30px;
  }

  .profile-header h1 {
    font-size: 1.9rem;
  }

  .profile-header p {
    font-size: 0.95rem;
  }

  /* Sections */
  section {
    margin-bottom: 28px;
    padding: 0 16px 24px;
  }

  section h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  /* Projects */
  .project-card {
    padding: 16px;
    margin-bottom: 18px;
  }

  .project-card h3 {
    font-size: 1.1rem;
  }

  .project-card p {
    font-size: 0.9rem;
  }

  /* Skills */
  .skills-container {
    gap: 14px;
  }

  .skill-box {
    padding: 14px;
    font-size: 0.9rem;
  }

  /* Buttons */
  .cta-btn,
  .back-link,
  .project-card a {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .profile-header h1 {
    font-size: 1.7rem;
  }

  .role-badge {
    font-size: 0.75rem;
    padding: 5px 14px;
  }
}
