/* ================= GLOBAL STYLES ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
main,
section,
.navbar,
.footer {
  position: relative;
  z-index: 5;
}
.project-card {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s ease-out;
}

.project-card.show {
  opacity: 1;
  transform: scale(1);
}

/* ================= SAFETY VISIBILITY OVERRIDES ================= */
/* ===== SKILLS SCROLL ANIMATION ===== */
.skill-card {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.8s ease-out;
}

.skill-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ABOUT SECTION */


/* SKILLS SECTION */
#skills,
#skills * {
  opacity: 1 !important;
  transform: none !important;
}

/* CONTACT SECTION */
#contact,
#contact * {
  opacity: 1 !important;
  transform: none !important;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background: transparent;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3 {
  font-family: "Lato", sans-serif;
  color: #fff;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  position: relative;
  z-index: 2;
}
/* ===== PARTICLES BACKGROUND ===== */
/* ===== CANVAS BACKGROUND ANIMATION ===== */
/* ===== CHRONITWIN DOT BACKGROUND ===== */
#dotCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    #010b0e 0%,
     #010b0e 30%,
     #010b0e 100%
  );
}

/* Ensure content stays above */
body {
  position: relative;
}



/* ================= ABOUT SECTION DIFFERENTIATION ================= */

.about-hero {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(15, 30, 36, 0.85),
    rgba(10, 20, 25, 0.92)
  );
  border-top: 1px solid rgba(25, 178, 178, 0.25);
  border-bottom: 1px solid rgba(25, 178, 178, 0.25);
}



/* ================= BACKGROUND GRADIENT ================= */

#bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: radial-gradient(circle at 20% 30%, rgba(25, 178, 178, 0.35), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(25, 178, 178, 0.25), transparent 50%),
    linear-gradient(180deg, #000 0%, #020b0b 50%, #000 100%);
}
/* ===== ABOUT SECTION SCROLL ANIMATION ===== */

/* Initial hidden state */
.about-hero-text,
.about-hero-visual {
  opacity: 0;
  transform: translateX(0);
  transition: all 0.9s ease-out;
}

/* Left side starts off-screen */
.about-hero-text {
  transform: translateX(-80px);
}

/* Right side starts off-screen */
.about-hero-visual {
  transform: translateX(80px);
}

/* When visible */
.about-hero.visible .about-hero-text,
.about-hero.visible .about-hero-visual {
  opacity: 1;
  transform: translateX(0);
}

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

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}.spline-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin-top: 35px;
  opacity: 1;
   /* Brightness control */
  filter: brightness(1.45) contrast(1.25);
}

spline-viewer {
  width: 100%;
  height: 100%;
  pointer-events: none; /* 👈 THIS LINE STOPS CURSOR ROTATION */
}

/* ================= SCROLL-UP REVEAL (GLOBAL) ================= */

/* Kill floating animation ONLY for reveal grids */
.reveal-grid .exp-card {
  animation: none !important;
}

/* Initial hidden state */
.reveal-grid .exp-card {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* When visible */
.reveal-grid .exp-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Optional stagger (auto) */
.reveal-grid .exp-card:nth-child(1) { transition-delay: 0.05s; }
.reveal-grid .exp-card:nth-child(2) { transition-delay: 0.12s; }
.reveal-grid .exp-card:nth-child(3) { transition-delay: 0.19s; }
.reveal-grid .exp-card:nth-child(4) { transition-delay: 0.26s; }
.reveal-grid .exp-card:nth-child(5) { transition-delay: 0.33s; }
.reveal-grid .exp-card:nth-child(6) { transition-delay: 0.40s; }
.reveal-grid .exp-card:nth-child(7) { transition-delay: 0.47s; }
.reveal-grid .exp-card:nth-child(8) { transition-delay: 0.54s; }


/* ================= NAVBAR ================= */

.navbar {
  position: fixed;
  width: 100%;
  background: rgba(1, 13, 13, 0.95);
  border-bottom: #19b2b2 0.7px solid;
  padding: 20px 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
    padding-left: 20px;
}

.logo-text {
  margin-left: -70px;
    font-family: 'Fira Code', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    color:#19b2b2;
    letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links li a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #19b2b2;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #19b2b2;
  transition: width 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(25, 178, 178, 0.8);
}

.nav-links a:hover::before,
.nav-links a.active::before {
  width: 100%;
}

.nav-links a.active {
  color: #19b2b2;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ================= SPLINE HERO SECTION ================= */

.spline-hero {
  position: relative;
  width: 100vw;
  height: 100vh;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;

  overflow: hidden;        /* 🔥 HARD CLIP */
  margin-left: 0;          /* 🔥 REMOVE GAP */
}


.spline-content {
  position: relative;
  z-index: 3;

  max-width: 100%;        /* ⬅ text slightly narrower */
  margin-left: 5vw;     /* ⬅ space from left */
  margin-right: 8vw;    /* ⬅ PUSH ROBOT AWAY */

  padding-left: 2vw;
}


/* ===== SPLINE ROBOT POSITION & SIZE ===== */

.spline-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.spline-bg spline-viewer {
  position: absolute;
  right: -18vw;                 /* push outside screen */
  top: 55%;
  transform: translateY(-50%) scale(1); /* 🔥 BIG ROBOT */

  width: 75vw;                 /* controls size */
  height: 100vh;               /* full height */
}



.spline-content {
  position: relative;
  z-index: 3;
  padding-left: 4vw;
  background: transparent;
}
.spline-name {
  animation: none;
  width: 0;
}

.spline-name {
  font-size: clamp(3rem, 4.5vw, 4rem);
  font-weight: 700;
  display: inline-block;
  letter-spacing: 2px;
  overflow: hidden;
  margin-top: 70px;
  white-space: nowrap;
  border-right: 3px solid #19b2b2;
  margin-bottom: 10px;

  background: linear-gradient(90deg, #29a187, #00b8ff, #1fb4b4);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* 🔴 STOP animation initially */
  animation: none;
  width: 0;
}
.spline-name.start-typing {
  width: fit-content;
  animation:
    typing 3.5s steps(20, end) forwards,
    blink 0.7s infinite,
    gradientShift 6s linear infinite;
}



@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  from {
    border-color: transparent;
  }
  to {
    border-color: #19b2b2;
  }
}

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

.spline-role {
  margin-top: 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1.4rem;
  opacity: 0;
  animation: roleReveal 1s ease forwards;
  animation-delay: 3.2s;
  font-family: "Lato", sans-serif;
}

.role-primary {
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #00e0ff;
  margin-top: 0;
  transform: translateY(12px);
  opacity: 0;
  animation: slideUpFade 0.9s ease forwards;
  animation-delay: 3.3s;
  text-shadow: 0 0 20px rgba(0, 224, 255, 0.5);
}

.role-divider {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00c2ff, #8537f9);
  border-radius: 2px;
  animation: dividerGrow 0.8s ease forwards;
  animation-delay: 3.7s;
  box-shadow: 0 0 10px rgba(0, 194, 255, 0.6);
}

.role-secondary {
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #26e5cc, #293ba1);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-8px);
  opacity: 0;
  animation: slideDownFade 0.9s ease forwards, gradientShift 6s linear infinite;
  animation-delay: 4s;
}

.role-tagline {
  font-size: 1.05rem;
  font-weight: 0;
  color: rgba(240, 255, 255, 0.75);
  letter-spacing: 0.8px;
  line-height: normal;
  margin-top: 0.2rem;
  font-family: "Lato", sans-serif;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 4.4s;
  text-align: justify;
}

@keyframes roleReveal {
  to {
    opacity: 1;
  }
}

@keyframes slideUpFade {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@keyframes dividerGrow {
  from {
    width: 0;
  }
  to {
    width: 140px;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
#projects .project-card {
  opacity: 1;
  transform: none;
}

/* ================= 3D SCROLL ANIMATIONS ================= */

.section-3d {
  opacity: 0;
  transform: translateY(80px) rotateX(15deg);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-3d.visible {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  transition: all 1s ease;
}

/* Individual element animations */
[data-animation="slideLeft"] {
  opacity: 0;
  transform: translateX(-100px) rotateY(15deg);
  transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-animation="slideLeft"].animate {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
}

[data-animation="slideRight"] {
  opacity: 0;
  transform: translateX(100px) rotateY(-15deg);
  transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-animation="slideRight"].animate {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
}

[data-animation="scaleUp"] {
  opacity: 0;
  transform: scale(0.8) translateY(50px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-animation="scaleUp"].animate {
  opacity: 1;
  transform: scale(1) translateY(0);
}

[data-animation="rotateIn"] {
  opacity: 0;
  transform: rotateY(90deg) scale(0.8);
  transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-animation="rotateIn"].animate {
  opacity: 1;
  transform: rotateY(0deg) scale(1);
}

[data-animation="flipIn"] {
  opacity: 0;
  transform: rotateX(-90deg);
  transition: all 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-animation="flipIn"].animate {
  opacity: 1;
  transform: rotateX(0deg);
}

[data-animation="slideUp"] {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-animation="slideUp"].animate {
  opacity: 1;
  transform: translateY(0);
}

[data-animation="fadeIn"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

[data-animation="fadeIn"].animate {
  opacity: 1;
  transform: translateY(0);
}

/* ================= ABOUT SECTION ================= */

.about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section-heading {
  font-family: "Lato", sans-serif;
  font-size: 2.6rem;
  color: #e9ffff;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  margin-bottom: 7px;
}

.section-heading::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #19b2b2, #00e0ff);
  bottom: -10px;
  left: 0;
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(25, 178, 178, 0.7);
}

.about-heading {
  font-size: 2.3rem;
  margin: 20px 0;
}

.animated-name {
  display: inline-block;
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: 1.3px;
  margin-bottom: 0;
  background: linear-gradient(90deg, #29a187, #00b8ff, #1fb4b4);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #19b2b2;
  animation: typing 5.5s steps(20, end) forwards, blink 0.7s infinite, gradientShift 6s linear infinite;
  animation-delay: 4s, 4s, 4s;
  animation-fill-mode: forwards;
}

.about-desc {
  color: white;
  font-size: 0.95rem;
  text-align: justify;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.text-reveal {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 5s;
}

.hero-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 5.5s;
}

.btn-primary,
.btn-outline {
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #19b2b2, #00e0ff);
  color: #fff;
  box-shadow: 0 4px 15px rgba(25, 178, 178, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(25, 178, 178, 0.6);
}

.btn-outline {
  border: 2px solid #19b2b2;
  color: #19b2b2;
  background: transparent;
}

.btn-outline:hover {
  background: #19b2b2;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(25, 178, 178, 0.6);
}

.about-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float3D 6s ease-in-out infinite;
}

@keyframes float3D {
  0% {
    transform: translateY(0) rotateZ(0deg);
  }
  50% {
    transform: translateY(-20px) rotateZ(5deg);
  }
  100% {
    transform: translateY(0) rotateZ(0deg);
  }
}

.profile-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 178, 178, 0.45), rgba(25, 178, 178, 0.15), transparent 70%);
  filter: blur(10px);
  z-index: 1;
  animation: pulse3D 4s ease-in-out infinite;
}

@keyframes pulse3D {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

.hero-image img {
  width: 285px;
  margin-left: 30px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #19b2b2;
  box-shadow: 0 0 15px rgba(25, 178, 178, 0.6), 0 0 25px rgba(25, 178, 178, 0.35);
  z-index: 2;
  background-color: #000;
  transition: all 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.05) rotateZ(5deg);
  box-shadow: 0 0 30px rgba(25, 178, 178, 0.8), 0 0 50px rgba(25, 178, 178, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 400px;
}

.stat-card {
  background: rgba(10, 18, 22, 0.92);
  border: 1px solid rgba(25, 178, 178, 0.28);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.45), inset 0 0 15px rgba(25, 178, 178, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.05) rotateX(10deg);
  box-shadow: 0 10px 40px rgba(25, 178, 178, 0.4), inset 0 0 20px rgba(25, 178, 178, 0.1);
}

.stat-card h3 {
  color: #19b2b2;
  font-size: 1.8rem;
  margin-bottom: 4px;
  text-shadow: 0 0 15px rgba(25, 178, 178, 0.6);
}

.stat-card p {
  color: #c8dede;
  font-size: 0.85rem;
}

/* ================= SECTIONS ================= */

.section {
  padding: 5rem 0;
  position: relative;
}

.section h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
  color: #e9ffff;
  letter-spacing: 1px;
  position: relative;
  text-shadow: 0 0 20px rgba(25, 178, 178, 0.5);
}

.section h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #19b2b2, #00e0ff);
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(25, 178, 178, 0.7);
}
/* ===== GITHUB LINK STYLE (NO BUTTON LOOK) ===== */
.github-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  text-decoration: none;      /* no underline */
  background: none;           /* no bg */
  border: none;               /* no border */
  padding: 0;                 /* no padding */

  font-size: 0.95rem;
  font-weight: 500;
  color: #e6fafa;             /* fixed color */
  cursor: pointer;
}

/* Icon size */
.github-link i {
  font-size: 1.15rem;
}

/* Prevent hover color change */
.github-link:hover,
.github-link:focus,
.github-link:active {
  color: #e6fafa;
  background: none;
  text-decoration: none;
}

/* ✅ Ensure buttons are clickable */
.project-actions,
.project-actions a {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

/* ❌ Disable overlay from stealing clicks */
.project-card::before,
.project-card::after {
  pointer-events: none;
}

/* ❌ Prevent card itself from hijacking clicks */
.project-card {
  pointer-events: auto;
}
/* Ensure GitHub button stays clickable */
.project-actions {
  position: relative;
  z-index: 10;
}

.github-btn {
  cursor: pointer;
  pointer-events: auto;
}

/* ================= PROJECTS SECTION ================= */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: rgba(10, 18, 22, 0.92);
  border: 1px solid rgba(25, 178, 178, 0.28);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.55), inset 0 0 18px rgba(25, 178, 178, 0.05);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
}

.project-card:hover {
  transform: translateY(-15px) scale(1.03) rotateX(5deg);
  box-shadow: 0 15px 50px rgba(25, 178, 178, 0.5), inset 0 0 25px rgba(25, 178, 178, 0.15);
}

.project-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-bottom: 1px solid rgba(25,178,178,0.25);
}

#projects h2 {
  opacity: 1 !important;
  transform: none !important;
}
.project-card:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.project-info {
  padding: 1.8rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-info h3 {
  color: #19b2b2;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  text-shadow: 0 0 10px rgba(25, 178, 178, 0.4);
}

.project-info p {
  color: #c8dede;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
}

      /* ===== GITHUB LINK ===== */
      .github-link {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #c8dede;
        font-size: 0.9rem;
        text-decoration: none;
        transition: color 0.3s ease;
      }

      .github-link i {
        font-size: 1.2rem;
      }

      .github-link:hover {
        color: #19b2b2;
      }

/* ================= SKILLS SECTION ================= */

.skills-3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.skill-card {
  background: linear-gradient(145deg, rgba(3, 26, 26, 0.9), rgba(2, 18, 18, 0.95));
  border: 1px solid rgba(25, 178, 178, 0.25);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 0 30px rgba(25, 178, 178, 0.08), inset 0 0 20px rgba(25, 178, 178, 0.05);
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-card:hover {
  transform: translateY(-15px) scale(1.05) rotateX(10deg);
  box-shadow: 0 15px 50px rgba(25, 178, 178, 0.45);
}

.skill-card h3 {
  margin-bottom: 2rem;
  color: #19b2b2;
  letter-spacing: 0.5px;
  font-size: 1.4rem;
  text-shadow: 0 0 15px rgba(25, 178, 178, 0.6);
}

.skill-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.skill-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 75px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-icon img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 12px rgba(25, 178, 178, 0.4));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-icon:hover img {
  transform: scale(1.3) rotateY(360deg);
  filter: drop-shadow(0 0 25px rgba(25, 178, 178, 0.9));
}

.skill-icon span {
  font-size: 0.8rem;
  color: #cceeee;
  letter-spacing: 0.4px;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.skill-icon:hover span {
  opacity: 1;
  transform: translateY(-3px);
  color: #19b2b2;
  text-shadow: 0 0 10px rgba(25, 178, 178, 0.6);
}

.core-text {
  color: #cceeee;
  font-size: 0.95rem;
  line-height: 1.8;
}
/* ================= HACKATHONS ================= */

#hackathons {
  padding: 5rem 2rem;
}

/* Heading */
.exp-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #19b2b2;
  text-shadow: 0 0 18px rgba(25, 178, 178, 0.6);
}

/* 3x3 GRID */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* CARD BASE */
.exp-card {
  background: linear-gradient(145deg, rgba(3, 26, 26, 0.9), rgba(2, 18, 18, 0.95));
  border: 1px solid rgba(25, 178, 178, 0.25);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
margin-left: 20px;
  box-shadow:
    0 0 30px rgba(25, 178, 178, 0.08),
    inset 0 0 20px rgba(25, 178, 178, 0.05);

  opacity: 0;
  transform: translateX(0);
  animation: slideIn 0.9s ease forwards;
  will-change: transform, opacity;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* LEFT / RIGHT ENTRY */
.exp-card:nth-child(odd) {
  transform: translateX(-60px);
}

.exp-card:nth-child(even) {
  transform: translateX(60px);
}

/* STAGGER */
.exp-card:nth-child(1) { animation-delay: 0.1s; }
.exp-card:nth-child(2) { animation-delay: 0.2s; }
.exp-card:nth-child(3) { animation-delay: 0.3s; }
.exp-card:nth-child(4) { animation-delay: 0.4s; }
.exp-card:nth-child(5) { animation-delay: 0.5s; }
.exp-card:nth-child(6) { animation-delay: 0.6s; }
.exp-card:nth-child(7) { animation-delay: 0.7s; }
.exp-card:nth-child(8) { animation-delay: 0.8s; }
.exp-card:nth-child(9) { animation-delay: 0.9s; }

/* HOVER */
.exp-card:hover {
  transform: translateY(-14px) scale(1.05);
  box-shadow: 0 18px 55px rgba(25, 178, 178, 0.45);
}

/* TEXT */
.exp-card h4 {
  color: #19b2b2;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 12px rgba(25, 178, 178, 0.6);
}

.exp-card p {
  color: #cceeee;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ENTRY ANIMATION */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .exp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .exp-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== BLACKBOARD EDUCATION ===== */
/* ================= EDUCATION SECTION ================= */

.edu-title {
  text-align: center;
  font-size: 2.5rem;
  color: #19b2b2;
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(25, 178, 178, 0.6);
}

.blackboard {
  background: linear-gradient(145deg, #031a1a, #021212);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 45px rgba(25, 178, 178, 0.35);
}

/* Tabs */
.chalk-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.chalk-tab {
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  color: #cceeee;
  border: 1px solid rgba(25, 178, 178, 0.3);
  transition: all 0.3s ease;
}

.chalk-tab.active,
.chalk-tab:hover {
  background: rgba(25, 178, 178, 0.15);
  color: #19b2b2;
  box-shadow: 0 0 15px rgba(25, 178, 178, 0.5);
}

/* Panels */
.chalk-content {
  position: relative;
  min-height: 220px;
}

.chalk-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(25px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  padding: 1.5rem;
}

/* Active panel */
.chalk-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: floatUpDown 4s ease-in-out infinite;
  box-shadow: 0 5px 15px rgba(25, 178, 178, 0.35);
}

/* Hover lift */
.chalk-panel.active:hover {
  transform: translateY(-18px) scale(1.03);
  box-shadow: 0 15px 45px rgba(25, 178, 178, 0.35);
}

/* Text */
.chalk-panel h3 {
  color: #19b2b2;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(25, 178, 178, 0.6);
}

.chalk-score {
  color: #cceeee;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.chalk-panel p {
  color: #cceeee;
  line-height: 1.7;
}

/* ================= FLOAT ANIMATION ================= */

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

/* ================= CONTACT SECTION ================= */

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-left h3 {
  font-size: 2rem;
  color: #19b2b2;
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(25, 178, 178, 0.6);
}

.contact-left p {
  color: #c8dede;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #c8dede;
  transition: all 0.3s ease;
}

.contact-item i {
  color: #19b2b2;
  font-size: 1.4rem;
  width: 30px;
}

.contact-item:hover {
  transform: translateX(10px);
  color: #19b2b2;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(25, 178, 178, 0.1);
  border: 2px solid rgba(25, 178, 178, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #19b2b2;
  font-size: 1.3rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1) rotate(360deg);
  background: #19b2b2;
  color: #000;
  box-shadow: 0 8px 20px rgba(25, 178, 178, 0.6);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid rgba(25, 178, 178, 0.3);
  background: rgba(10, 18, 22, 0.8);
  color: #fff;
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #19b2b2;
  box-shadow: 0 0 20px rgba(25, 178, 178, 0.4);
  transform: scale(1.02);
}

.contact-form button {
  align-self: flex-start;
  cursor: pointer;
}

.form-alert {
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 10px;
  font-weight: 600;
  animation: slideIn 0.4s ease;
}

.form-alert.success {
  background: rgba(25, 178, 178, 0.2);
  border: 1px solid #19b2b2;
  color: #19b2b2;
}

.form-alert.error {
  background: rgba(255, 100, 100, 0.2);
  border: 1px solid #ff6464;
  color: #ff6464;
}

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

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 30px 0;
 background: rgba(1, 13, 13, 0.95);
  border-top: #19b2b2 0.7px solid;
  position: relative;
  z-index: 2;
}

.footer .social a {
  margin: 0 5px;
  color: #19b2b2;
  font-size: 1.2rem;
  transition: 0.3s;
}

.footer .social a:hover {
  color: #fff;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 968px) {
  .spline-hero {
    grid-template-columns: 1fr;
    margin-left: 0;
    height: auto;
    padding: 120px 20px 60px;
  }

  .spline-bg {
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
    height: 400px;
    margin-top: 40px;
  }

  .spline-content {
    padding-left: 0;
    text-align: center;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-desc {
    margin-inline: auto;
  }

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

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

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(2, 22, 22, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: left 0.4s ease;
    backdrop-filter: blur(15px);
  }

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

  .menu-btn {
    display: block;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .project-grid,
  .skills-3d-grid,
  .exp-grid {
    grid-template-columns: 1fr;
  }
}

body {
  cursor: none;
}

/* BIG & BRIGHT AQUA CURSOR */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;

  width: 11px;
  height: 11px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;

  background: #00f2ff;

  box-shadow:
    0 0 12px rgba(0, 242, 255, 1),
    0 0 24px rgba(0, 242, 255, 0.9),
    0 0 40px rgba(0, 242, 255, 0.8),
    0 0 60px rgba(0, 242, 255, 0.6);

  transform: translate(-50%, -50%);
  animation: cursorPulse 1.6s ease-in-out infinite;
}

/* Strong pulse animation */
@keyframes cursorPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.9);
    opacity: 0.55;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
  .custom-cursor::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 242, 255, 0.7);
  animation: ringPulse 2s ease-out infinite;
}

@keyframes ringPulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}