@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #020814;
  --bg-soft: #07111f;
  --primary: #18e0a8;
  --primary-dark: #06b88a;
  --text: #ffffff;
  --muted: #c9d3e3;
  --dark-text: #101628;
  --light-bg: #f6fbff;
  --border: rgba(24, 224, 168, 0.35);
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* HEADER */
.header {
  width: 100%;
  height: 88px;
  padding: 0 48px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(2, 8, 20, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.logo span {
  color: var(--primary);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar a {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
  color: var(--primary);
}

.navbar a::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--primary);
  position: absolute;
  left: 0;
  bottom: -10px;
  transition: 0.3s;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

.resume-btn {
  padding: 12px 20px;
  border: 1.5px solid var(--primary);
  border-radius: 10px;
  color: var(--primary);
  font-weight: 700;
  transition: 0.3s;
}

.resume-btn:hover {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 0 0 25px rgba(24, 224, 168, 0.35);
}

#menu-icon {
  display: none;
  font-size: 32px;
  color: var(--primary);
  cursor: pointer;
}

/* HOME - NETFLIX STYLE SLIDESHOW */
.home {
  min-height: 100vh;
  padding: 130px 48px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #020814;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 5s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 8, 20, 0.85) 0%,
      rgba(2, 8, 20, 0.70) 34%,
      rgba(2, 8, 20, 0.30) 65%,
      rgba(2, 8, 20, 0.10) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 8, 20, 0.08) 0%,
      rgba(2, 8, 20, 0.70) 100%
    );
}

.home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(24, 224, 168, 0.65) 1.2px, transparent 1.2px);
  background-size: 52px 52px;
  opacity: 0.12;
}

.home-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.tagline,
.section-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 18px;
}

.tagline span,
.section-tag span {
  width: 52px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

.home-content h1 {
  font-size: clamp(62px, 8vw, 112px);
  line-height: 0.95;
  font-weight: 800;
  margin-bottom: 22px;
  color: #fff;
  text-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.home-content h1 span {
  color: var(--primary);
}

.home-content h3 {
  font-size: 25px;
  margin-bottom: 18px;
  color: #fff;
}

.home-text {
  max-width: 570px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 26px;
  font-size: 16px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-badges span {
  padding: 9px 14px;
  border: 1px solid rgba(24, 224, 168, 0.35);
  border-radius: 999px;
  background: rgba(2, 8, 20, 0.52);
  color: #e9fff9;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hero-badges i {
  color: var(--primary);
  margin-right: 6px;
}

.home-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.btn {
  padding: 15px 24px;
  border-radius: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), #2be7c0);
  color: #03110d;
  box-shadow: 0 18px 35px rgba(24, 224, 168, 0.25);
}

.btn.secondary {
  border: 1.5px solid var(--primary);
  color: white;
  background: rgba(2, 8, 20, 0.4);
  backdrop-filter: blur(8px);
}

.btn:hover {
  transform: translateY(-4px);
}

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

.social-icons a {
  font-size: 30px;
  color: #fff;
  transition: 0.3s;
}

.social-icons a:hover {
  color: var(--primary);
  transform: translateY(-5px);
}

.scroll-down {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  font-size: 28px;
  color: white;
  animation: bounce 1.7s infinite;
  z-index: 4;
}

.scroll-down .bx-down-arrow-alt {
  font-size: 22px;
  margin-top: -8px;
}

@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}

/* ABOUT */
.about {
  padding: 95px 48px;
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  align-items: center;
  gap: 80px;
  background:
    radial-gradient(circle at 85% 20%, rgba(24, 224, 168, 0.08), transparent 30%),
    #f8fcff;
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(2, 8, 20, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
}

.about-img,
.about-content {
  position: relative;
  z-index: 2;
}

.about-img {
  justify-self: end;
}

.about-img img {
  width: 330px;
  height: 430px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border-right: 8px solid var(--primary);
  border-bottom: 8px solid var(--primary);
  background: #fff;
  transform: translateY(25px);

  transition: all 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.04);
}

.about-content {
  max-width: 760px;
}

.about-content h2 {
  font-size: 34px;
  line-height: 1.25;
  margin-bottom: 24px;
  font-weight: 800;
  color: #07111f;
}

.about-content h2 span {
  color: var(--primary-dark);
}

.about-content > h3,
.about-content > .about-badge {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  background: rgba(0, 255, 200, .08);
  border: 1px solid rgba(0, 255, 200, .22);
  color: #00f5c8;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.about-content {
  text-align: center;
}

.about-content > p {
  margin-left: auto;
  margin-right: auto;
}

.about-cards {
  text-align: left;
}

.about-content h2 span {
  color: var(--primary-dark);
}

.about-content > p {
  max-width: 680px;
  color: #3d4a5c;
  line-height: 1.8;
  margin-bottom: 34px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 45px;
}

.about-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;

  background: #08111f;
  border: 1px solid rgba(24, 224, 168, 0.15);
  border-radius: 20px;
  padding: 22px;

  transition: all 0.4s ease;
  cursor: pointer;
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: #18e0a8;

  box-shadow:
    0 0 20px rgba(24, 224, 168, 0.25),
    0 0 40px rgba(24, 224, 168, 0.15);
}

.about-card i {
  min-width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 28px;

  color: #18e0a8;
  background: rgba(24, 224, 168, 0.12);

  border-radius: 14px;

  transition: all 0.4s ease;
}

.about-card:hover i {
  transform: rotate(12deg) scale(1.15);
  background: rgba(24, 224, 168, 0.2);
}

.about-card h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #18e0a8;
}

.about-card p {
  font-size: 14px;
  color: #d0d8e5;
  line-height: 1.6;
}

/* FUTURE SECTIONS PLACEHOLDER */
section {
  scroll-margin-top: 88px;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .header {
    padding: 0 28px;
  }

  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 88px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 88px);
    background: rgba(2, 8, 20, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 35px;
    transition: 0.4s;
  }

  .navbar.active {
    right: 0;
  }

  .resume-btn {
    display: none;
  }

  .home {
    padding: 125px 28px 0;
  }

  .home-content h1 {
    font-size: 76px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-img {
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .header {
    height: 76px;
    padding: 0 18px;
  }

  .logo {
    font-size: 19px;
  }

  .navbar {
    top: 76px;
    height: calc(100vh - 76px);
  }

  .home {
    min-height: 100vh;
    padding: 115px 22px 0;
  }

  .hero-overlay {
    background:
      linear-gradient(
      90deg,
      rgba(2, 8, 20, 0.75),
      rgba(2, 8, 20, 0.45)
      ),
      linear-gradient(
      180deg,
      rgba(2, 8, 20, 0.05),
      rgba(2, 8, 20, 0.65)
      );
  }

  .slide{
      filter: brightness(1.15) contrast(1.05);
  }

  .home-content h1 {
    font-size: 50px;
  }

  .home-content h3 {
    font-size: 19px;
  }

  .home-text {
    font-size: 14px;
  }

  .home-buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .about {
    padding: 70px 22px;
    gap: 40px;
  }

  .about-img img {
    width: 280px;
    height: 360px;
  }

  .about-content h2 {
    font-size: 26px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

}

.tech-section {
  padding: 100px 48px 50px;
}

.tech-heading {
  text-align: center;
  margin-bottom: 60px;
}

.tech-heading p {
  color: #18e0a8;
  font-weight: 700;
  margin-bottom: 14px;
}

.tech-heading p span {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: #18e0a8;
  margin-right: 14px;
  vertical-align: middle;
}

.tech-heading h2 {
  font-size: 42px;
  line-height: 1.25;
}

.tech-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tech-card {
  background: #07111f;
  border: 1px solid rgba(24, 224, 168, 0.25);
  border-radius: 22px;
  padding: 35px;
  min-height: 230px;
  transition: 0.4s;
}

.tech-card:hover {
  transform: translateY(-10px);
  border-color: #18e0a8;
  box-shadow: 0 0 35px rgba(24, 224, 168, 0.18);
}

.tech-card i {
  font-size: 52px;
  color: #18e0a8;
  margin-bottom: 22px;
  display: block;
}

.tech-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.tech-card p {
  color: #b8c4d9;
  line-height: 1.7;
}

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

@media (max-width: 600px) {
  .tech-section {
    padding: 70px 22px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

}

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

.projects-section {
  padding: 105px 48px;
  background:
    radial-gradient(circle at 20% 20%, rgba(24, 224, 168, 0.08), transparent 28%),
    #f8fcff;
  color: #101628;
}

.projects-heading {
  text-align: center;
  margin-bottom: 65px;
}

.projects-heading p {
  color: #06b88a;
  font-weight: 800;
  margin-bottom: 14px;
}

.projects-heading p span {
  display: inline-block;
  width: 52px;
  height: 2px;
  background: #06b88a;
  margin-right: 14px;
  vertical-align: middle;
}

.projects-heading h2 {
  font-size: 44px;
  line-height: 1.2;
}

.projects-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.project-card {
  position: relative;
  background: #08111f;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(24, 224, 168, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.08),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.8s;
  pointer-events: none;
  z-index: 2;
}

.project-card:hover::before {
  left: 130%;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: #18e0a8;
  box-shadow:
    0 0 25px rgba(24, 224, 168, 0.22),
    0 0 50px rgba(24, 224, 168, 0.12);
}

.project-img {
  height: 260px;
  overflow: hidden;
  background: #07111f;
}

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

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

.project-content {
  padding: 30px;
}

.project-type {
  display: inline-block;
  color: #18e0a8;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}

.project-content h3 {
  font-size: 25px;
  line-height: 1.3;
  margin-bottom: 15px;
  color: #ffffff;
}

.project-content p {
  color: #cfd8e6;
  line-height: 1.75;
  margin-bottom: 12px;
  font-size: 15px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.project-tech span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 224, 168, 0.12);
  color: #18e0a8;
  border: 1px solid rgba(24, 224, 168, 0.2);
  font-size: 13px;
  font-weight: 700;
}

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

  .projects-heading h2 {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .projects-section {
    padding: 75px 22px;
  }

  .project-img {
    height: 210px;
  }

  .project-content {
    padding: 24px;
  }
}

/* EXPERIENCE SECTION */
.experience-section {
  padding: 105px 48px;
  background: #020814;
  color: #fff;
}

.experience-heading {
  text-align: center;
  margin-bottom: 65px;
}

.experience-heading p {
  color: #18e0a8;
  font-weight: 800;
  margin-bottom: 14px;
}

.experience-heading p span {
  display: inline-block;
  width: 52px;
  height: 2px;
  background: #18e0a8;
  margin-right: 14px;
  vertical-align: middle;
}

.experience-heading h2 {
  font-size: 44px;
}

.experience-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 34px;
  align-items: stretch;
}

.experience-gallery {
  display: grid;
  gap: 20px;
}

.experience-gallery img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(24, 224, 168, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  transition: 0.45s;
}

.experience-gallery img:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #18e0a8;
}

.experience-card {
  background: #07111f;
  border: 1px solid rgba(24, 224, 168, 0.22);
  border-radius: 24px;
  padding: 35px;
  transition: 0.4s;
}

.experience-card:hover {
  transform: translateY(-10px);
  border-color: #18e0a8;
  box-shadow: 0 0 40px rgba(24, 224, 168, 0.16);
}

.experience-top {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.experience-top i {
  min-width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(24, 224, 168, 0.14);
  color: #18e0a8;
  font-size: 34px;
}

.experience-top h3 {
  font-size: 25px;
  margin-bottom: 6px;
}

.experience-top h4 {
  color: #18e0a8;
  font-size: 16px;
  margin-bottom: 6px;
}

.experience-top p {
  color: #b8c4d9;
  font-size: 14px;
}

.experience-project {
  margin-bottom: 22px;
}

.experience-project h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.experience-project ul {
  padding-left: 20px;
}

.experience-project li {
  color: #b8c4d9;
  line-height: 1.75;
  margin-bottom: 8px;
}

.experience-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.experience-tech span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 224, 168, 0.12);
  color: #18e0a8;
  font-size: 13px;
  font-weight: 700;
}

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

  .experience-heading h2 {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .experience-section {
    padding: 75px 22px;
  }

  .experience-card {
    padding: 26px;
  }

  .experience-top {
    flex-direction: column;
  }

  .experience-gallery img {
    height: 210px;
  }
}

/* =========================
   ACHIEVEMENTS SECTION
========================= */

.achievements-section{
  background:
    radial-gradient(circle at top right,
    rgba(0,255,200,.06),
    transparent 30%),

    radial-gradient(circle at bottom left,
    rgba(0,170,255,.05),
    transparent 35%),

    #f8fcff;

  color:#07111f;
  padding-top:50px;
}

.section-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:12px 28px;

    border-radius:999px;

    background:rgba(0,245,200,0.08);

    border:1px solid rgba(0,245,200,0.25);

    color:#00d9b3;

    font-size:15px;
    font-weight:700;

    margin-bottom:24px;
}

.achievements-heading{
    text-align:center;
    margin-bottom:70px;
}

.achievements-heading > p:first-child {
  color: #18e0a8;
  font-weight: 800;
  margin-bottom: 14px;
}

.achievements-heading > p:first-child span {
  display: inline-block;
  width: 52px;
  height: 2px;
  background: #18e0a8;
  margin-right: 14px;
  vertical-align: middle;
}

.achievements-heading h2 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.achievements-subtitle {
  color: #b8c4d9;
  line-height: 1.8;
  font-size: 16px;
}

.achievements-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  position: relative;
  z-index: 2;
}

.achievement-card {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 34px;
  background: rgba(3, 8, 15, 0.96);
  border: 1px solid rgba(24, 224, 168, 0.24);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  transition: 0.45s;
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent, rgba(24, 224, 168, 0.24), transparent);
  transform: translateX(-100%);
  transition: 0.8s;
}

.achievement-card:hover::before {
  transform: translateX(100%);
}

.achievement-card:hover {
  transform: translateY(-8px);
  border-color: #18e0a8;
  box-shadow: 0 0 55px rgba(24, 224, 168, 0.16);
}

.featured-achievement {
  border-color: rgba(24, 224, 168, 0.5);
}

.achievement-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, 190px);
  gap: 14px;
  position: relative;
  z-index: 2;
}

.achievement-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(24, 224, 168, 0.18);
  border-radius: 18px;
  transition: 0.45s;
  filter: saturate(1.08) contrast(1.05);
}

.achievement-gallery img:first-child {
  grid-row: span 2;
}

.achievement-gallery img:hover {
  transform: scale(1.04);
  border-color: #18e0a8;
  box-shadow: 0 0 30px rgba(24, 224, 168, 0.18);
}

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

.achievement-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.achievement-icon {
  min-width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(24, 224, 168, 0.14);
  color: #18e0a8;
  font-size: 34px;
}

.achievement-top h3 {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 6px;

  color: #ffffff;   /* ADD THIS */
}

.achievement-top p {
  color: #18e0a8;
  font-weight: 700;
}

.achievement-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.achievement-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 224, 168, 0.12);
  color: #18e0a8;
  font-size: 13px;
  font-weight: 800;
}

.achievement-content p {
  color: #c9d3e3;
  line-height: 1.8;
  margin-bottom: 16px;
}

.achievement-content ul {
  padding-left: 20px;
}

.achievement-content li {
  color: #b8c4d9;
  line-height: 1.75;
  margin-bottom: 8px;
}

.compact-achievement .achievement-gallery {
  grid-template-rows: repeat(2, 150px);
}

.celebration-bg span {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #18e0a8;
  border-radius: 50%;
  opacity: 0.45;
  animation: confettiFloat 8s infinite ease-in-out;
}

.celebration-bg span:nth-child(1) { top: 12%; left: 8%; animation-delay: 0s; }
.celebration-bg span:nth-child(2) { top: 22%; left: 88%; animation-delay: 1.2s; }
.celebration-bg span:nth-child(3) { top: 70%; left: 12%; animation-delay: 2.1s; }
.celebration-bg span:nth-child(4) { top: 80%; left: 82%; animation-delay: 3.4s; }
.celebration-bg span:nth-child(5) { top: 50%; left: 50%; animation-delay: 4.6s; }

@keyframes confettiFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-28px) rotate(180deg);
    opacity: 0.85;
  }
}

@media (max-width: 950px) {
  .achievement-card {
    grid-template-columns: 1fr;
  }

  .achievements-heading h2 {
    font-size: 36px;
  }
}

@media (max-width: 620px) {
  .achievements-section {
    padding: 80px 22px;
  }

  .achievement-card {
    padding: 20px;
  }

  .achievement-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 210px);
  }

  .achievement-gallery img:first-child {
    grid-row: auto;
  }

  .achievement-top {
    flex-direction: column;
  }

  .achievement-top h3 {
    font-size: 22px;
  }
}

/* CONTACT SECTION */
.contact-section {
  padding: 105px 48px;
  background: #f8fcff;
  color: #101628;
}

.contact-heading {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 65px;
}

.contact-heading > p:first-child {
  color: #06b88a;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-heading > p:first-child span {
  display: inline-block;
  width: 52px;
  height: 2px;
  background: #06b88a;
  margin-right: 14px;
  vertical-align: middle;
}

.contact-heading h2 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-subtitle {
  color: #4c5868;
  line-height: 1.8;
}

.contact-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
}

.contact-info {
  display: grid;
  gap: 22px;
}

.contact-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(2, 8, 20, 0.08);
  box-shadow: 0 20px 55px rgba(2, 8, 20, 0.08);
  transition: 0.35s;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: #18e0a8;
}

.contact-card i {
  min-width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(24, 224, 168, 0.14);
  color: #06b88a;
  font-size: 30px;
}

.contact-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.contact-card a {
  color: #4c5868;
  font-weight: 600;
}

.contact-card a:hover {
  color: #06b88a;
}

.contact-form {
  background: #ffffff;
  border-radius: 26px;
  padding: 34px;
  border: 1px solid rgba(2, 8, 20, 0.08);
  box-shadow: 0 25px 70px rgba(2, 8, 20, 0.10);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(2, 8, 20, 0.14);
  outline: none;
  font-size: 15px;
  color: #101628;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #18e0a8;
  box-shadow: 0 0 0 4px rgba(24, 224, 168, 0.10);
}

.contact-btn {
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #18e0a8, #2be7c0);
  color: #03110d;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: 0.35s;
}

.contact-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(24, 224, 168, 0.25);
}

/* FOOTER */
.footer {
  padding: 45px 22px;
  text-align: center;
  background: #020814;
  color: #fff;
}

.footer h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.footer h3 span {
  color: #18e0a8;
}

.footer p {
  color: #b8c4d9;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 22px 0;
}

.footer-icons a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(24, 224, 168, 0.35);
  color: #18e0a8;
  font-size: 24px;
  transition: 0.35s;
}

.footer-icons a:hover {
  background: #18e0a8;
  color: #020814;
  transform: translateY(-5px);
}

.footer-copy {
  font-size: 14px;
}

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

  .contact-heading h2 {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 75px 22px;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-card {
    align-items: flex-start;
  }
}

/* PREMIUM SCROLL ANIMATION */
.reveal-card {
  opacity: 0;
  transform: translateY(45px) scale(0.96);
  transition: 0.8s ease;
}

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

.tech-card,
.project-card,
.experience-card,
.experience-gallery,
.achievement-card {
  will-change: transform, opacity;
}



.home-content h1,
.home-content h3,
.home-text,
.hero-badges,
.home-buttons {
    opacity: 0;
    animation: fadeOnly 1.2s ease forwards;
}

.home-content h1 { animation-delay: .2s; }
.home-content h3 { animation-delay: .5s; }
.home-text { animation-delay: .8s; }
.hero-badges { animation-delay: 1s; }
.home-buttons { animation-delay: 1.2s; }

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

/* PREMIUM SECTION TITLE ANIMATION */
.tech-heading,
.projects-heading,
.experience-heading,
.achievements-heading,
.contact-heading {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  animation: sectionFade 0.9s ease forwards;
}

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

/* PREMIUM CARD HOVER MOVEMENT */
.tech-card:hover,
.project-card:hover,
.experience-card:hover,
.achievement-card:hover,
.contact-card:hover {
  transform: translateY(-12px) scale(1.015);
}

/* IMAGE CINEMATIC HOVER */
.project-img img,
.experience-gallery img,
.achievement-gallery img {
  transition: transform 0.7s ease, filter 0.7s ease;
}

.project-card:hover .project-img img,
.experience-gallery img:hover,
.achievement-gallery img:hover {
  transform: scale(1.08);
  filter: brightness(1.08) contrast(1.08) saturate(1.15);
}

.home::after {
  content: "";
  position: absolute;
  top: 18%;
  left: -120px;
  width: 120px;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(24, 224, 168, 0.9), transparent);
  opacity: 0;
  transform: rotate(-18deg);
  animation: shootingStar 7s ease-in-out infinite;
}

@keyframes shootingStar {
  0% {
    left: -160px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    left: 110%;
    opacity: 0;
  }
  100% {
    left: 110%;
    opacity: 0;
  }
}

/* GLOBAL PREMIUM ANIMATIONS */

/* Smooth section reveal */
.reveal-card {
  opacity: 0;
  transform: translateY(45px) scale(0.96);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Premium heading glow */
.tech-heading h2,
.projects-heading h1,
.experience-heading h1,
.achievements-heading h2,
.contact-heading h2 {
  position: relative;
  animation: softTitleGlow 3s ease-in-out infinite;
}

@keyframes softTitleGlow {
  0%, 100% {
    text-shadow: 0 0 0 rgba(24, 224, 168, 0);
  }
  50% {
    text-shadow: 0 0 18px rgba(24, 224, 168, 0.22);
  }
}

/* Card premium hover */
.tech-card,
.project-card,
.experience-card,
.achievement-card,
.contact-card {
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tech-card:hover,
.project-card:hover,
.experience-card:hover,
.achievement-card:hover,
.contact-card:hover {
  transform: translateY(-12px) scale(1.015);
}

/* Icon floating animation */
.tech-card i,
.experience-top i,
.achievement-icon,
.contact-card i {
  animation: iconFloat 3.2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* Image cinematic zoom */
.project-img img,
.experience-gallery img,
.achievement-gallery img {
  transition: transform 0.7s ease, filter 0.7s ease;
}

.project-card:hover .project-img img,
.experience-gallery img:hover,
.achievement-gallery img:hover {
  transform: scale(1.08);
  filter: brightness(1.08) contrast(1.08) saturate(1.15);
}

/* Achievement shine effect */
.achievement-card::after,
.project-card::after,
.experience-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(24, 224, 168, 0.16),
    transparent
  );
  transform: skewX(-20deg);
  transition: 0.8s;
  pointer-events: none;
}

.achievement-card:hover::after,
.project-card:hover::after,
.experience-card:hover::after {
  left: 130%;
}

/* Button micro interaction */
.btn,
.resume-btn,
.contact-btn {
  position: relative;
  overflow: hidden;
}

.btn::after,
.resume-btn::after,
.contact-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  left: -120%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transition: 0.6s;
}

.btn:hover::after,
.resume-btn:hover::after,
.contact-btn:hover::after {
  left: 120%;
}

/* Reduce animations for mobile */
@media (max-width: 620px) {
  .tech-card i,
  .experience-top i,
  .achievement-icon,
  .contact-card i {
    animation: none;
  }

  .tech-card:hover,
  .project-card:hover,
  .experience-card:hover,
  .achievement-card:hover,
  .contact-card:hover {
    transform: translateY(-6px);
  }
}

.about-img img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img img:hover {
  transform: perspective(1000px) rotateY(-7deg) scale(1.03);
  box-shadow: 0 30px 70px rgba(24, 224, 168, 0.28);
}

.about-stats {
  display: flex;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.stat {
  min-width: 130px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(24, 224, 168, 0.10);
  border: 1px solid rgba(24, 224, 168, 0.25);
}

.stat h3 {
  font-size: 28px;
  color: #06b88a;
}

.stat p {
  font-size: 13px;
  color: #4c5868;
  font-weight: 700;
}

.about-card{
    transition: all .4s ease;
}

.about-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(24,224,168,.18);
}

.tech-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:18px;
}

.tech-tags span{
    padding:6px 12px;
    border-radius:20px;
    background:rgba(0,255,200,0.08);
    border:1px solid rgba(0,255,200,0.2);
    color:#7fffe0;
    font-size:12px;
}

.skill-level{
    width:100%;
    height:6px;
    background:rgba(255,255,255,0.08);
    border-radius:20px;
    margin-top:18px;
    overflow:hidden;
}

.level-fill{
    height:100%;
    background:linear-gradient(90deg,#00f5c8,#00aaff);
    border-radius:20px;
}

.tech-card{
    background: linear-gradient(
        145deg,
        rgba(0,255,200,0.08),
        rgba(0,170,255,0.05)
    );

    border:1px solid rgba(0,255,200,0.25);
}

.experience-card{
    background: linear-gradient(
        145deg,
        rgba(15,25,45,0.95),
        rgba(6,12,25,0.98)
    );

    border:1px solid rgba(0,255,200,0.18);

    border-radius:32px;

    box-shadow:
      0 0 30px rgba(0,255,200,0.05);

    transition:.4s ease;
}

.experience-card:hover{
    transform:translateY(-6px);

    border-color:#00f5c8;

    box-shadow:
      0 0 20px rgba(0,245,200,.15),
      0 0 50px rgba(0,245,200,.08);
}

.experience-gallery img{
    border-radius:24px;

    border:1px solid rgba(0,255,200,0.15);

    transition:.4s ease;
}

.experience-gallery img:hover{
    transform:scale(1.02);

    border-color:#00f5c8;

    box-shadow:
      0 0 20px rgba(0,245,200,.18);
}

.experience-top i{
    color:#00f5c8;
    font-size:34px;
}

.experience-icon{
    background:
      linear-gradient(
        145deg,
        rgba(0,255,200,.12),
        rgba(0,255,200,.04)
      );

    border:1px solid rgba(0,255,200,.18);

    width:72px;
    height:72px;
    border-radius:20px;
}

.experience-card h4{
    color:#00f5c8;
    font-weight:700;
}

.projects-subtitle{
    display:block;
    max-width:750px;
    margin:15px auto 0;

    color:#a8b3c7;

    font-size:1.05rem;
    line-height:1.8;
}

.experience-section{
  background:
    radial-gradient(circle at top left, rgba(0,255,200,.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(122,92,255,.08), transparent 35%),
    #040b17;
}

.experience-heading{
  text-align:center;
  margin-bottom:70px;
}

.section-badge{
  display:inline-block;
  padding:8px 18px;
  border-radius:30px;
  background:rgba(0,255,200,.08);
  border:1px solid rgba(0,255,200,.22);
  color:#00f5c8;
  font-weight:700;
  margin-bottom:18px;
}

.experience-heading h2{
  font-size:3.6rem;
  line-height:1.15;
  font-weight:800;
  background:linear-gradient(90deg,#ffffff,#00f5c8);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.experience-subtitle{
  display:block;
  max-width:760px;
  margin:18px auto 0;
  color:#a8b3c7;
  font-size:1.05rem;
  line-height:1.8;
}

.experience-heading::after{
  content:"";
  display:block;
  width:130px;
  height:4px;
  margin:24px auto 0;
  border-radius:20px;
  background:linear-gradient(90deg,#00f5c8,#00aaff);
}

.section-heading{
  text-align:center;
  margin-bottom:70px;
}

.section-heading h2{
  font-size:3.6rem;
  line-height:1.15;
  font-weight:800;

  background:linear-gradient(
    90deg,
    #07111f,
    #13304a
  );

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.section-heading span{
  display:block;
  max-width:760px;
  margin:18px auto 0;
  color:#a8b3c7;
  font-size:1.05rem;
  line-height:1.8;
}

.tech-heading .section-badge{
    margin-bottom: 25px !important;
    display: inline-block;
}

.badge-wrap{
  width: 100%;
  text-align: center;
  margin-bottom: 28px;
}

.tech-heading h2{
  margin-bottom: 18px !important;
}

.tech-heading .section-badge{
  transform: translateY(40px) !important;
}

.tech-heading h2 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;

  background: linear-gradient(
    90deg,
    #dffef8 0%,
    #9ff5e8 45%,
    #18e0a8 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.achievements-heading{
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 70px;
}

.achievements-heading h2{
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #07111f;
  margin: 24px 0;
}

.achievements-subtitle{
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #a8b4c8;
}

.contact-section{
    background: linear-gradient(
        135deg,
        #020617 0%,
        #04142d 50%,
        #020617 100%
    );

    color: white;
}

.contact-heading h2{
    color: #ffffff;
}

.contact-heading p{
    color: #18e0a8;
}

.contact-subtitle{
    color: rgba(255,255,255,0.75);
}

.contact-card{
    background: rgba(7,17,31,0.85);
    border: 1px solid rgba(24,224,168,0.2);
    color: white;
}

.contact-card h3{
    color: white;
}

.contact-card a{
    color: rgba(255,255,255,0.8);
}

.contact-form{
    background: rgba(7,17,31,0.85);
    border: 1px solid rgba(24,224,168,0.2);
}

.contact-form input,
.contact-form textarea{
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color: rgba(255,255,255,0.5);
}

.achievements-section{
    padding-bottom: 160px;
}

.tech-grid{
    padding-bottom: 95px;
}

.tech-card{
    background: #07111f;
    border: 1px solid rgba(24,224,168,.25);
    border-radius: 22px;
    padding: 35px;

    height: 420px;   /* add this */
}

.tagline{
    margin-bottom: 8px; /* pehle 20-30px hoga */
}

.home-content h1{
    margin-top: 0;
}

.project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.project-title-row h3 {
  margin: 0;
  flex: 1;
}

.project-github {
  position: relative;
  z-index: 5;
  min-width: 82px;
  height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  background: rgba(24, 224, 168, 0.14);
  border: 1px solid rgba(24, 224, 168, 0.45);
  color: #18e0a8 !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.project-github i {
  font-size: 20px;
  color: #18e0a8 !important;
}

.project-github:hover {
  background: #18e0a8;
  color: #08111f !important;
}

.project-github:hover i {
  color: #08111f !important;
}