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

body {
  background: #050b14;
  color: #eaeaea;
  overflow-x: hidden;
  position: relative;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.8;
}

/* GLOW EFFECTS */
.glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: -1;
}

.glow-1 {
  background: #4efcdc;
  top: -100px;
  left: -100px;
}

.glow-2 {
  background: #ff4ecd;
  bottom: -150px;
  right: -100px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero span {
  color: #4efcdc;
}

.hero h2 {
  margin-top: 10px;
  font-weight: 400;
  color: #aaa;
}

.btn {
  margin-top: 25px;
  width: fit-content;
  padding: 12px 28px;
  border-radius: 30px;
  border: 1px solid #4efcdc;
  color: #4efcdc;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #4efcdc;
  color: #000;
  transform: translateY(-2px);
}

/* SECTIONS */
section {
  padding: 80px 10%;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 20px;
}

/* GLASS CARD */
.glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px;
}

/* GRIDS */
.grid, .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

/* PROJECT CARD */
.card {
  background: #0c1420;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #111;
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: #4efcdc;
  box-shadow: 0 20px 40px rgba(78, 252, 220, 0.15);
}

.card h4 {
  color: #4efcdc;
  margin-bottom: 10px;
}
/* CERTIFICATIONS */
.certifications {
  padding: 80px 10%;
}

.badge-card {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 35px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  transition: 0.4s ease;
}

.badge-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(78, 252, 220, 0.18);
  border-color: #4efcdc;
}

/* LEFT – BADGE */
.badge-left img {
  width: 160px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.badge-left img:hover {
  transform: scale(1.1) rotate(-2deg);
  filter: drop-shadow(0 0 20px rgba(78, 252, 220, 0.6));
}

/* RIGHT – TEXT */
.badge-right h3 {
  color: #4efcdc;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.badge-right p {
  color: #cfcfcf;
  max-width: 650px;
  line-height: 1.7;
}

/* VERIFY BUTTON */
.verify-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid #4efcdc;
  color: #4efcdc;
  text-decoration: none;
  transition: 0.3s;
}

.verify-btn:hover {
  background: #4efcdc;
  color: #000;
  transform: translateY(-2px);
}

/* ACHIEVEMENT */
.achievement-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 30px;
  align-items: center;
  background: rgba(78, 252, 220, 0.08);
  border: 1px solid rgba(78, 252, 220, 0.3);
  border-radius: 24px;
  padding: 30px;
  max-width: 900px;
}

.achievement-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.achievement-text h3 {
  color: #4efcdc;
  margin-bottom: 12px;
  font-size: 1.8rem;
}

.achievement-text p {
  color: #d4d4d4;
  line-height: 1.75;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .achievement-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .achievement-image {
    max-width: 360px;
    margin: 0 auto;
  }
  .badge-card {
    flex-direction: column;
    text-align: center;
  }

  .badge-left img {
    width: 140px;
  }
}
/* HERO LAYOUT */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  padding: 0 10%;
}

/* TEXT */
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero-content span {
  color: #4efcdc;
}

/* PROFILE IMAGE */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-frame {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #4efcdc;
  box-shadow: 0 0 40px rgba(78, 252, 220, 0.7);
  background: transparent;
}

.circle-frame img {
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  background: #000;
  filter: drop-shadow(0 20px 25px rgba(0,0,0,0.5));
  transition: transform 0.4s ease;
}

/* ROTATING GLOW */
@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    margin-top: 0px;
  }

  .circle-frame {
    width: 220px;
    height: 220px;
  }

  .circle-frame img {
    height: 150%;
    object-position: center top;
  }
}
.profile-ring,
.glow-1,
.badge {
  transform: none !important;
  transition: none !important;
}
.netflix-section {
  padding: 80px 6%;
  background: #0e0e11;
  color: #fff;
}

.netflix-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

/* Horizontal Scroll Row */
.netflix-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-behavior: smooth;
}

/* Hide scrollbar (Netflix style) */
.netflix-row::-webkit-scrollbar {
  display: none;
}
.netflix-row {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Card */
.netflix-card {
  flex: 0 0 500px;
  border-radius: 12px;
  overflow: hidden;
  background: #141414;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

/* Image */
.netflix-card img {
  width: 500px;
  height: 300px;
  object-fit: cover;

  /* HARD STOP FALLING */
  transform: none !important;
  transition: opacity 0.3s ease;
}

/* Info overlay */
.card-info {
  padding: 20px;
}

.card-info h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.card-info span {
  font-size: 0.85rem;
  color: #aaa;
}

/* Subtle hover (NO movement) */
.netflix-card:hover img {
  opacity: 0.9;
}
/* ==============================
   INFINITE NETFLIX AUTO SCROLL
================================ */



/* Moving track */
.netflix-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollCertificates 40s linear infinite;
}

/* Pause on hover (optional – remove if unwanted) */
.netflix-row:hover .netflix-track {
  animation-play-state: paused;
}

/* Infinite motion */
@keyframes scrollCertificates {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.netflix-track {
  animation: scrollCertificates 25s linear infinite; /* faster */
}
/* PROJECT LINKS */
.project-links {
  margin-top: 18px;
  display: flex;
  gap: 15px;
}

/* PREMIUM GLASSMORPHISM & 3D EFFECTS */
body {
  background: radial-gradient(circle at top left, rgba(78, 252, 220, 0.18), transparent 20%),
              radial-gradient(circle at top right, rgba(255, 78, 237, 0.14), transparent 22%),
              linear-gradient(180deg, #050b14 0%, #060914 100%);
}

.glow {
  mix-blend-mode: screen;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-18px) scale(1.08); }
}

.hero {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  border-radius: 40px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(78, 252, 220, 0.2), transparent 28%),
              radial-gradient(circle at 85% 20%, rgba(255, 78, 237, 0.16), transparent 22%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 40px;
  border-radius: 32px;
  background: rgba(9, 16, 30, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.hero-content h1 {
  line-height: 1.05;
}

.hero h2 {
  color: #b9d9ff;
  margin-top: 22px;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
}

.btn {
  border: 1px solid rgba(78, 252, 220, 0.7);
  background: linear-gradient(135deg, rgba(78, 252, 220, 0.18), rgba(255, 78, 237, 0.12));
  box-shadow: 0 16px 30px rgba(78, 252, 220, 0.08);
}

.btn:hover {
  background: linear-gradient(135deg, #4efcdc, #ff4ecd);
  color: #020409;
  box-shadow: 0 18px 40px rgba(78, 252, 220, 0.22);
}

.glass,
.card,
.badge-card,
.achievement-card,
.netflix-card {
  background: rgba(12, 20, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.glass:hover,
.card:hover,
.badge-card:hover,
.achievement-card:hover,
.netflix-card:hover {
  transform: translateY(-14px) scale(1.01);
  border-color: rgba(78, 252, 220, 0.35);
  box-shadow: 0 30px 70px rgba(78, 252, 220, 0.16);
}

.card {
  border-radius: 28px;
}

.achievement-card {
  border-radius: 30px;
  padding: 35px;
}

.badge-card {
  border-radius: 32px;
}

.project-links a {
  background: rgba(255, 255, 255, 0.04);
}

.project-links a:hover {
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(40px) perspective(1000px) rotateX(7deg);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) perspective(1000px) rotateX(0deg);
}

.circle-frame {
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.circle-frame:hover {
  transform: translateZ(30px) scale(1.02);
  box-shadow: 0 40px 80px rgba(78, 252, 220, 0.32);
}

.hero-image {
  perspective: 1000px;
}

@media (max-width: 900px) {
  .hero {
    padding: 40px 4%;
  }

  .hero-content {
    padding: 28px;
  }
}

.project-links a {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #4efcdc;
  color: #4efcdc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.project-links a:hover {
  background: #4efcdc;
  color: #000;
  transform: translateY(-2px);
}
