* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px solid lime; */

}

img {
  max-width: 100%;
  height: auto;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}


body {
  background: #020300;
  font-family: 'Poppins', sans-serif;
  color: white;
  overflow-x: hidden;
  scroll-behavior: smooth;
}


/* Navbar */
/* ===================== Navbar ===================== */
.navbar {
  background-color: #111;
  padding: 14px 0;
  position: fixed;
  top: 20px;                     /* 👈 navbar thoda neeche aayega */
  left: 50%;
  transform: translateX(-50%);   /* 👈 center align horizontally */
  width: 95%;                    /* 👈 side gap dene ke liye */
  max-width: 1200px;
  border-radius: 12px;           /* 👈 rounded corners */
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* optional shadow */
}

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

/* Profile */
.nav-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.nav-profile img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Menu icon */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #111;
    padding: 20px 0;
    border-top: 1px solid #333;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .nav-container {
    padding: 0 20px;
  }
}
/* Slide animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10%);
  }

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

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 130px 10% 80px;
  min-height: 100vh;
}

.hero-left {
  flex: 1;
  min-width: 300px;
  padding-right: 20px;
}

.hero-left h1 {
  font-size: 52px;
  color: white;
  margin-bottom: 15px;
}

.hero-left .highlight {
  color: cyan;
}

.intro-heading {
  font-size: 45px;
  font-weight: 450;
  color: white;
  margin-bottom: 16px;
}

.highlight {
  color: cyan;
  font-weight: 600;
}

.bio-paragraph {
  font-size: 17px;
  color: #8b8b87;
  line-height: 1.6;
  margin-bottom: 12px;
}

.bio-paragraph .name {
  color: white;
  font-weight: 400;
}

.bio-tagline {
  font-size: 15px;
  color: #aaa;
  /* font-style: italic; */
}


.btn-cv {
  display: inline-block;
  padding: 10px 22px;
  background: red;
  color: white;
  font-weight: 500;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
  margin-top: 20px;
}

.btn-cv:hover {
  background: #ff4d4d;
  box-shadow: 0 0 12px red;
}

.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-right img {
  width: 280px;
  height: 360px;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  transition: all 0.3s ease-in-out;
}

.hero-right img:hover {
  transform: scale(1.03);
}

.hero-icons {
  margin-top: 20px;
  display: flex;
  gap: 26px;
  justify-content: center;
}

.hero-icons a {
  font-size: 20px;
  color: rgb(140, 138, 138);
  transition: 0.3s ease;
}

.hero-icons a:hover {
  color: cyan;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 8% 60px;
  }

  .hero-left {
    padding: 0;
  }

  .hero-left h1 {
    font-size: 36px;
  }

  .intro-heading {
    font-size: 35px;
    font-weight: 450;
    color: white;
    margin-bottom: 16px;
    margin-top: 10px;
  }

  .bio,
  .sub-bio,
  .focus-line {
    font-size: 16px;
  }

  .hero-right {
    margin-top: 40px;
  }
}

/* ABOUT SECTION 
.about-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 38px;
  color: red;
}

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

.about-text {
  flex: 1;
  font-size: 20px;
  color: #d4d4d2;
  line-height: 1.7;
  animation: fadeInUp 1s ease;
}

.about-text strong {
  color: #ffffff;
  font-weight: 600;
}

.about-text .highlight {
  color: #ff4d4d;
  font-weight: 600;
}

.about-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-img img {
  width: 320px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0px 0px 30px rgba(255, 0, 0, 0.5);
  transition: 0.3s ease;
  animation: fadeIn 1s ease;
}

.about-img img:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 50px rgba(255, 0, 0, 0.8);
} */

.projects-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 38px;
  color: red;
  text-shadow: 0px 0px 10px rgba(255, 0, 0, 0.4);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
}

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

.project-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
  height: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(255, 0, 0, 0.3);
}

.project-img-wrapper {
  position: relative;
  transform: scale(1.02);
  margin-bottom: 15px;
}

.project-img-wrapper img {
  width: 100%;
  height: 150px;
  object-fit: scale-down;
  border-radius: 10px;
}

.badge.success {
  background: #00ff80;
  color: #000;
}

.badge.award {
  background: gold;
  color: #000;
}

.badge.ongoing {
  background: #ff4d4d;
  color: white;
}

.project-card h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
  font-weight: 500;
}

.project-card p {
  font-size: 15px;
  color: #ccc;
  margin-bottom: 10px;
  line-height: 1.5;
}

.btn-group {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}

.btn {
  padding: 6px 12px;
  font-size: 13px;
  background: red;
  color: white;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
  cursor: pointer;
}

.btn.secondary {
  background: #333;
}

.btn:hover {
  background: darkred;
}

.gallery-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal .close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 2100;
}

.gallery-image {
  max-width: 90%;
  max-height: 70%;
  border: 4px solid red;
  border-radius: 10px;
  box-shadow: 0 0 20px red;
  animation: fadeIn 0.6s ease;
}

.gallery-controls {
  margin-top: 20px;
  z-index: 2100;
}

.gallery-controls button {
  font-size: 25px;
  background: red;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 0 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.gallery-controls button:hover {
  background: darkred;
}

.btn:hover {
  background: linear-gradient(90deg, red, darkred);
  box-shadow: 0 0 8px red;
}

@media (max-width: 768px) {
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
  }

  .projects-section {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0 10px;
    box-sizing: border-box;
    overflow-x: hidden;
    background: #000;
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
  }

  .project-card {
    width: 100%;
    max-width: 95%;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 auto;
    background: #111;
  }

  .project-img-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 16px;
  }

  .btn-group {
    flex-direction: column;
    gap: 10px;
  }

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

@media (min-width: 769px) and (max-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .project-card h3 {
    font-size: 20px;
  }

  .project-card p {
    font-size: 15px;
  }

  .btn {
    font-size: 14px;
  }
}

.image-caption {
  color: white;
  margin-top: 10px;
  font-size: 16px;
  font-style: italic;
}

.quote {
  margin-top: 20px;
  font-style: italic;
  color: grey;
  animation: fadeInUp 1.6s ease;
}

.social-icons {
  margin-top: 25px;
}

.social-icons a {
  font-size: 22px;
  color: white;
  margin-right: 20px;
  transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
  color: red;
  text-shadow: 0px 0px 5px red;
}
/* STARTUP SECTION  */

/* === STARTUP SECTION === */
#startup {
  padding: 100px 100px 80px;
  border-bottom: 1px solid #222;
  animation: fadeIn 1s ease;
}

.startup-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.startup-text {
  flex: 1;
  font-size: 20px;
  color: #d4d4d2;
  line-height: 1.7;
}

.startup-text h2 {
  font-size: 38px;
  margin-bottom: 20px;
  color: red;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.startup-text strong {
  color: white;
  font-weight: 600;
}

.startup-text .highlight {
  color: #ff4d4d;
  font-weight: 600;
}

.startup-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.startup-image img {
  width: 360px;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
  transition: 0.3s ease;
}

.startup-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 50px rgba(255, 0, 0, 0.7);
}

/* Social Icons */
.company-socials {
  margin-top: 20px;
}

.company-socials a {
  font-size: 22px;
  color: white;
  margin-right: 20px;
  transition: color 0.3s ease-in-out;
}

.company-socials a:hover {
  color: red;
  text-shadow: 0 0 5px red;
}

/* === FEATURES SECTION === */
.features-section {
  padding: 60px 20px;
  background-color: #020300;
}

.section-title.clean-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  text-shadow: 1px 1px 4px rgba(255, 0, 0, 0.3);
}

/* Features Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding: 0 10px;
}

/* Feature Box */
.feature-box {
  position: relative;
  background: #020300;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.25);
}

.feature-box i {
  font-size: 36px;
  color: red;
  margin-bottom: 12px;
}

.feature-box h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.feature-box p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

/* Glowing border effect */
.feature-box::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 16px;
  background: linear-gradient(45deg, white, #ff0000, #000);
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlow 6s ease infinite;
}

.feature-box:hover::after {
  opacity: 0.4;
}

/* === TECH STACK === */
.tech-section {
  background-color: #020300;
  padding: 60px 20px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.tech-box {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: 0.3s ease;
}

.tech-box i {
  font-size: 28px;
  margin-bottom: 8px;
}

.tech-box h4 {
  font-size: 16px;
  color: #ddd;
  margin-top: 5px;
}

.tech-box:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
}

/* === STARTUP NOTE === */
.startup-note {
  margin-top: 40px;
  padding: 25px;
  background-color: #161616;
  /* border-left: 5px solid red; */
  border-radius: 8px;
  color: #ccc;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.1);
  font-size: 1rem;
  line-height: 1.6;
}

.startup-note strong.highlight {
  color: red;
  font-weight: bold;
}

/* === ANIMATIONS === */
@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* === RESPONSIVE (MOBILE FRIENDLY) === */
@media (max-width: 768px) {
  .startup-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .startup-image img {
    width: 100%;
    max-width: 280px;
  }

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

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .section-title.clean-title {
    font-size: 1.8rem;
  }
}


/* Reusable Section Styling */
.section {
  padding: 100px 100px 80px;
  border-bottom: 1px solid #222;
  animation: fadeIn 1s ease;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: rgb(255, 255, 255);
  text-shadow: 0px 0px 10px rgba(255, 0, 0, 0.3);
}

/* .section p,
.section ul {
  font-size: 20px;
  color: #d4d4d2;
  line-height: 1.7;
} */

.section ul {
  list-style-type: none;
}

.section ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.section ul li::before {
  content: "🔥";
  position: absolute;
  left: 0;
  color: red;
}

/* AHIEVEMENTS  */
/* Section background */
/* Achievement Section Container */
/* Achievement Gallery Section */
/* Achievement Gallery Section */
#achievement-gallery {
  padding: 100px 0;
  background: #000000;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Matrix Animation Background */
.matrix-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

.matrix-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 255, 65, 0.03) 2px,
      rgba(0, 255, 65, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(0, 255, 65, 0.03) 2px,
      rgba(0, 255, 65, 0.03) 4px
    );
  animation: matrix-move 20s linear infinite;
}

.matrix-bg::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(0, 255, 65, 0.1), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(0, 255, 65, 0.05), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(0, 255, 65, 0.08), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(0, 255, 65, 0.06), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: matrix-fall 15s linear infinite;
}

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

@keyframes matrix-fall {
  0% { transform: translateY(-100px); }
  100% { transform: translateY(100px); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #00ff41, #00d4aa, #0099ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
  animation: glow-pulse 3s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  0% { filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.4)); }
  100% { filter: drop-shadow(0 0 20px rgba(0, 255, 65, 0.8)); }
}

.title-underline {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #00ff41, #0099ff, #00ff41);
  margin: 0 auto 30px;
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.6);
  animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 1; transform: scaleX(1); }
  50% { opacity: 0.7; transform: scaleX(1.1); }
}

.section-subtitle {
  font-size: 1.3rem;
  color: #a8a8a8;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* Achievement Grid */
.achievements-grid {
  display: grid;
  gap: 40px;
  max-width: 950px;
  margin: 0 auto;
}

/* Achievement Cards */
.achievement-card {
  background: linear-gradient(145deg, #111111, #1a1a1a);
  border: 2px solid rgba(0, 255, 65, 0.1);
  border-radius: 20px;
  padding: 35px;
  display: flex;
  align-items: center;
  gap: 35px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.05), transparent);
  transition: left 0.8s ease;
}

.achievement-card:hover::before {
  left: 100%;
}

.achievement-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(0, 255, 65, 0.4);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 255, 65, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Achievement Image */
.achievement-image {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
}

.achievement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(0.9) contrast(1.1);
}

.achievement-card:hover .achievement-image img {
  filter: brightness(1.1) contrast(1.2) saturate(1.1);
}

.image-frame {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #00ff41, #0099ff, #00ff41, #0099ff);
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.achievement-card:hover .image-frame {
  opacity: 1;
  animation: rotate-border 3s linear infinite;
}

@keyframes rotate-border {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Achievement Content */
.achievement-content {
  flex: 1;
  min-width: 0;
  position: relative;
}

.achievement-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  animation: float-icon 4s ease-in-out infinite;
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

.achievement-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: color 0.3s ease;
}

.achievement-card:hover .achievement-title {
  color: #00ff41;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.achievement-desc {
  font-size: 1.05rem;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 25px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.achievement-card:hover .achievement-desc {
  color: #e0e0e0;
}

.achievement-tag {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.15), rgba(0, 153, 255, 0.15));
  color: #00ff41;
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 65, 0.1);
}

.achievement-card:hover .achievement-tag {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.25), rgba(0, 153, 255, 0.25));
  border-color: rgba(0, 255, 65, 0.6);
  box-shadow: 0 6px 20px rgba(0, 255, 65, 0.2);
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  #achievement-gallery {
    padding: 80px 0;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .section-header {
    margin-bottom: 60px;
  }
  
  .achievements-grid {
    gap: 30px;
  }
  
  .achievement-card {
    flex-direction: column;
    text-align: center;
    padding: 28px;
    gap: 25px;
  }
  
  .achievement-image {
    width: 100%;
    max-width: 350px;
    height: 220px;
  }
  
  .achievement-title {
    font-size: 1.4rem;
  }
  
  .achievement-desc {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .achievement-card {
    padding: 22px;
  }
  
  .achievement-image {
    height: 180px;
  }
  
  .achievement-title {
    font-size: 1.25rem;
  }
  
  .achievement-icon {
    font-size: 2rem;
  }
}

/* Additional Matrix Effects */
.achievement-card:nth-child(1) { animation-delay: 0s; }
.achievement-card:nth-child(2) { animation-delay: 0.2s; }
.achievement-card:nth-child(3) { animation-delay: 0.4s; }
.achievement-card:nth-child(4) { animation-delay: 0.6s; }
.achievement-card:nth-child(5) { animation-delay: 0.8s; }
/* Skills */
#skills {
  padding: 80px 100px;
  background: #020300;
  color: #e2e8f0;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 36px;
  color: #f8fafc;
  margin-bottom: 50px;
  font-weight: 600;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
}

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

.skill-item {
  background: #1a1a1a;
  padding: 30px 25px;
  border-radius: 16px;
  border: 1px solid #2d3748;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
}

.skill-item:hover {
  transform: translateY(-5px);
  border-color: #6366f1;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
}

.skill-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: #2d3748;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #94a3b8;
  transition: all 0.3s ease;
}

.skill-item:hover .skill-icon {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  transform: scale(1.1);
}

.skill-content {
  flex: 1;
}

.skill-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #f1f5f9;
}

.skill-description {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.skill-level {
  display: flex;
  align-items: center;
  gap: 12px;
}

.level-dots {
  display: flex;
  gap: 4px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #374151;
  transition: all 0.3s ease;
}

.dot.filled {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.level-text {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .skill-container {
    grid-template-columns: 1fr;
  }
  
  .skill-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  #skills {
    padding: 50px 20px;
  }
}

/* Contact Links */
/* Contact Section */
.contact-section {
  padding: 80px 100px;
  background: #020300;
  color: #e2e8f0;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 36px;
  color: #38bdf8;
  margin-bottom: 50px;
  font-weight: 600;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
  max-width: 1000px;
  /* NEW */
  margin: 0 auto;
  /* NEW: center horizontally */
  padding: 0 20px;
  /* NEW: side padding on small screens */
}

/* Contact Info */
.contact-info {
  flex: 1;
  min-width: 280px;
  font-size: 18px;
}

.contact-info p {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: #0ea5e9;
  font-size: 20px;
}

.contact-info a {
  color: #7dd3fc;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact-info a:hover {
  color: #ffffff;
  text-shadow: 0 0 5px #f43f5e;
}

/* Download Button */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgb(31, 32, 31);
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
  font-family: 'Poppins', sans-serif;
}

.btn-download i {
  font-size: 18px;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(14, 165, 233, 0.5);
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

/* Contact Form */
.contact-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 16px;
  resize: none;
  outline: none;
  box-shadow: 0 0 0px transparent;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 2px solid #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.contact-form button {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: white;
  padding: 14px;
  border: none;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  box-shadow: 0 0 10px #38bdf8;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 20px;

  }

  .contact-wrapper {
    flex-direction: column;
    gap: 30px;
    max-width: 500px;
    /* Optional: tighter layout on small devices */
    margin: 0 auto;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .section-title {
    font-size: 28px;
  }

  .contact-info p {
    font-size: 16px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 15px;
  }

  .btn-download {
    font-size: 15px;
    padding: 10px 20px;
  }

  .contact-form button {
    font-size: 15px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .contact-wrapper {
    max-width: 80%;
    padding: 0 10px;
    gap: 20px;
  }

  .contact-info {
    font-size: 15px;
  }

  .contact-info i {
    font-size: 16px;
  }

  .btn-download {
    font-size: 14px;
    padding: 8px 16px;
    gap: 8px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 12px;
  }

  .contact-form button {
    font-size: 14px;
    padding: 12px;
  }
}


/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive (Basic) */
/* @media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-right img {
    margin-top: 30px;
    width: 280px;
    height: 360px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 10px;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }
} */


/* //Fotter */
.site-footer {
  background: #000000;
  color: #cbd5e1;
  text-align: center;
  padding: 40px 20px 20px;
  font-family: 'Poppins', sans-serif;
  /* margin-top: 60px; */
}

.footer-content h3 {
  font-size: 24px;
  color: #38bdf8;
  margin-bottom: 10px;
}

.footer-content p {
  font-size: 15px;
  margin-bottom: 20px;
  color: #94a3b8;
}

.footer-socials a {
  color: #38bdf8;
  font-size: 20px;
  margin: 0 12px;
  transition: 0.3s ease;
}

.footer-socials a:hover {
  color: #0ea5e9;
  transform: translateY(-3px);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 25px;
  padding-top: 10px;
  font-size: 14px;
  color: #64748b;
}
/* ========================================
   NUTRI AI CARD - SIMPLE & CLEAN
   ======================================== */

.premium-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 255, 100, 0.05);
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
    height: 100%;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 255, 100, 0.12);
}

.featured-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #00ff64, #00cc52);
    color: #000;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

.premium-wrapper {
    position: relative;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    margin-bottom: 15px;
}

.premium-wrapper .main-img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

/* Cursor Follow Preview */
.cursor-follow-preview {
    position: absolute;
    width: 140px;
    height: 90px;
    border: 2px solid #00ff64;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0, 255, 100, 0.6);
    pointer-events: none;
    opacity: 0;
    z-index: 100;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.premium-wrapper:hover .cursor-follow-preview {
    opacity: 1;
}

.cursor-preview-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit:cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cursor-preview-img.active {
    opacity: 1;
}

/* Tech Badges Overlay */
.tech-badges-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    z-index: 8;
}

.tech-badge {
    background: rgba(0, 0, 0, 0.85);
    color: #00ff64;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 100, 0.3);
    backdrop-filter: blur(10px);
}

/* Content - Same as Other Cards */
.premium-content h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.3;
    font-weight: 500;
}

.gradient-text {
    color: #00ff64;
    font-weight: 600;
}

.premium-content p {
    font-size: 15px;
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Buttons - Matching Your Style */
.premium-card .btn-group {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.premium-card .btn {
    flex: 1;
    padding: 6px 12px;
    font-size: 13px;
    background: #00ff64;
    color: #000;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.premium-card .btn.primary {
    background: #00ff64;
    color: #000;
}

.premium-card .btn.primary:hover {
    background: #00cc52;
    box-shadow: 0 0 12px rgba(0, 255, 100, 0.3);
}

.premium-card .btn.secondary {
    background: #333;
    color: white;
}

.premium-card .btn.secondary:hover {
    background: #444;
}

/* ========================================
   MODAL STYLES
   ======================================== */

.project-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    overflow-y: auto;
}

.project-modal.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: #111;
    margin: 3% auto;
    padding: 0;
    border: 1px solid #00ff64;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 0 40px rgba(0, 255, 100, 0.3);
    animation: slideDown 0.4s ease;
}

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

.modal-close {
    color: #00ff64;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 20px;
    transition: 0.3s;
}

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

.modal-header {
    background: linear-gradient(135deg, #1a1a1a, #111);
    padding: 25px 30px;
    border-bottom: 2px solid #00ff64;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 26px;
    color: #fff;
    margin: 0;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 255, 100, 0.1);
    border: 1px solid rgba(0, 255, 100, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #00ff64;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #00ff64;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.modal-body {
    padding: 30px;
    color: #ccc;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section h3 {
    font-size: 20px;
    color: #00ff64;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #ddd;
    margin-bottom: 12px;
}

.modal-section ul {
    list-style: none;
    padding-left: 0;
}

.modal-section ul li {
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.6;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-box {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: #00ff64;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 255, 100, 0.2);
}

.feature-box i {
    font-size: 28px;
    color: #00ff64;
    margin-bottom: 10px;
}

.feature-box h4 {
    font-size: 16px;
    color: #fff;
    margin: 10px 0;
}

.feature-box p {
    font-size: 14px;
    color: #aaa;
    margin: 0;
}

.ml-model {
    background: #1a1a1a;
    border-left: 3px solid #00ff64;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.ml-model h4 {
    font-size: 18px;
    color: #00ff64;
    margin-bottom: 12px;
}

.ml-model strong {
    color: #fff;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tech-category h4 {
    font-size: 16px;
    color: #00ff64;
    margin-bottom: 12px;
}

.tech-tag {
    display: inline-block;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
    margin: 5px 5px 5px 0;
    transition: 0.3s;
}

.tech-tag:hover {
    background: #00ff64;
    color: #000;
    border-color: #00ff64;
}

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

.link-btn {
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-btn.live {
    background: linear-gradient(135deg, #00ff64, #00cc52);
    color: #000;
}

.link-btn.live:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 100, 0.4);
}

.link-btn.github {
    background: #333;
    color: #fff;
    border: 2px solid #555;
}

.link-btn.github:hover {
    background: #444;
    border-color: #00ff64;
}

/* Responsive */
@media (max-width: 768px) {
    .premium-card {
        max-width: 95%;
    }
    
    .cursor-follow-preview {
        width: 120px;
        height: 75px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .features-list,
    .tech-stack-grid {
        grid-template-columns: 1fr;
    }
    
    .project-links {
        flex-direction: column;
    }
}


/* ========================================
   NIDAR CARD - NATIONAL FINALIST
   ======================================== */

/* NIDAR Specific Badge - Orange/Red Theme */
.nidar-badge {
    background: linear-gradient(135deg, #ff6b35, #ff4500) !important;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4);
}

/* NIDAR Gradient Text */
.nidar-gradient {
    background: linear-gradient(135deg, #ff6b35, #ff4500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* NIDAR Live Badge */
.nidar-live-badge {
    background: rgba(255, 107, 53, 0.15) !important;
    border: 1px solid rgba(255, 107, 53, 0.4) !important;
    color: #ff6b35 !important;
}

.nidar-live-badge .live-dot {
    background: #ff6b35 !important;
}

/* NIDAR Card Hover Effect */
.nidar-showcase:hover {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.2);
}

/* NIDAR Modal Header */
#nidar-modal .modal-header {
    border-bottom: 2px solid #ff6b35;
}

#nidar-modal .modal-close {
    color: #ff6b35;
}

#nidar-modal .modal-section h3 {
    color: #ff6b35;
}

#nidar-modal .ml-model {
    border-left: 3px solid #ff6b35;
}

#nidar-modal .tech-tag:hover {
    background: #ff6b35;
    border-color: #ff6b35;
}

/* Specifications Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.spec-table thead {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.spec-table th {
    padding: 12px;
    text-align: left;
    color: #ff6b35;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid #333;
}

.spec-table td {
    padding: 10px 12px;
    color: #ddd;
    font-size: 14px;
    border-bottom: 1px solid #2a2a2a;
}

.spec-table tbody tr:hover {
    background: rgba(255, 107, 53, 0.05);
}

.spec-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive Table */
@media (max-width: 768px) {
    .spec-table {
        font-size: 12px;
    }
    
    .spec-table th,
    .spec-table td {
        padding: 8px;
    }
    
    .spec-table th {
        font-size: 12px;
    }
}

/* 3D Drone viewer containers — sirf model dikhna chahiye
.ml-model-3d {
  background: transparent !important;
}

.ml-model-3d canvas {
  background: transparent !important;
  display: block;
} */
