/* ================= RESET & BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Space Grotesk', sans-serif;
}

body {
  background: radial-gradient(circle at top, #0f0c29, #000);
  color: white;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

body.light {
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  color: #333;
}


/* ================= NAVBAR ================= */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
}

body.light nav {
  background: rgba(255,255,255,0.9);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-container h1 {
  font-size: 1.5rem;
  color: #00f5ff;
}

body.light .nav-container h1 {
  color: #6e00ff;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: color 0.3s;
}

body.light .nav-links a {
  color: #333;
}

.nav-links a:hover {
  color: #ff4ecd;
}

#themeToggle {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
  text-align: center;
}

.hero-content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #00f5ff;
  box-shadow: 0 0 20px rgba(0,245,255,0.6);
  animation: float 3s ease-in-out infinite;
}

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

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

.hero h1 span {
  background: linear-gradient(90deg,#00f5ff,#ff4ecd);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  opacity: 0.85;
  max-width: 600px;
}

/* ================= CTA ================= */
.cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta a {
  padding: 0.9rem 1.5rem;
  border-radius: 30px;
  background: white;
  color: black;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta a.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta a:hover {
  transform: translateY(-4px) scale(1.05);
}

/* ================= SECTIONS ================= */
.section {
  padding: 6rem 10%;
  animation: fadeInUp 1s ease;
}

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

.section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 2rem;
  background: linear-gradient(90deg,#00f5ff,#ff4ecd);
  -webkit-background-clip: text;
  color: transparent;
}

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
}

.card {
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255,0,200,0.3);
}

/* ================= PROJECT FIX ================= */
.project-card {
  max-width: 900px;
  margin: 1rem auto;   /* centers both projects */
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.project-header strong {
  font-size: 1.3rem;
}

.project-header a {
  text-decoration: none;
  font-size: 1rem;
  color: #00f5ff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.project-header a:hover {
  color: #ff4ecd;
  transform: scale(1.1);
}

/* Light mode fix */
body.light .project-header a {
  color: #6e00ff;
}

.project-card ul li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}


/* ================= CONTACT ================= */
.contact {
  text-align: center;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

.contact-list {
  list-style: none;
  margin-top: 2rem;
}

.contact-list li {
  margin: 0.6rem 0;
}

.contact-list a {
  color: #00f5ff;
  text-decoration: none;
}

/* ================= MOBILE ================= */
@media(max-width:768px) {
  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(0,0,0,0.9);
    padding: 1.5rem;
    border-radius: 15px;
  }

  body.light .nav-links.active {
    background: rgba(255,255,255,0.95);
  }

  .menu-toggle {
    display: block;
  }

  .section {body {
  font-size: 18px;
}

.section p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.project-card ul li {
  font-size: 1.05rem;
}

.project-header strong {
  font-size: 1.4rem;
}

    padding: 4rem 6%;
  }
}
/* ================= EXPERIENCE ================= */
.experience-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.experience-card {
  padding: 1.8rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: 0.4s;
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,255,255,0.2);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.experience-header strong {
  font-size: 1.2rem;
}

.experience-date {
  font-size: 0.9rem;
  opacity: 0.8;
}

.experience-card ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}

.experience-card ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
/* ================= FLOATING BUBBLES ================= */
.bubbles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubbles span {
  position: absolute;
  bottom: -50px;
  width: 8px;
  height: 8px;
  background: rgba(0, 245, 255, 0.6);
  border-radius: 50%;
  animation: floatUp 10s linear infinite;
  box-shadow: 0 0 10px rgba(0,245,255,0.8);
}

/* Different sizes & speeds */
.bubbles span:nth-child(1) {
  left: 10%;
  animation-duration: 8s;
}
.bubbles span:nth-child(2) {
  left: 25%;
  animation-duration: 12s;
  width: 6px;
  height: 6px;
}
.bubbles span:nth-child(3) {
  left: 40%;
  animation-duration: 10s;
}
.bubbles span:nth-child(4) {
  left: 60%;
  animation-duration: 14s;
  width: 10px;
  height: 10px;
}
.bubbles span:nth-child(5) {
  left: 75%;
  animation-duration: 9s;
}
.bubbles span:nth-child(6) {
  left: 85%;
  animation-duration: 11s;
}
.bubbles span:nth-child(7) {
  left: 50%;
  animation-duration: 13s;
}
.bubbles span:nth-child(8) {
  left: 30%;
  animation-duration: 7s;
}

/* Animation */
@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-110vh) scale(1.5);
    opacity: 0;
  }
}
/* ================= HERO TAGS ================= */
.hero-tags {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-tags span {
  padding: 8px 16px;          /* bigger padding */
  font-size: 1rem;            /* increased size */
  font-weight: 600;           /* bolder */
  border-radius: 25px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(0,245,255,0.5);
  color: #00f5ff;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

/* Hover effect (stronger) */
.hero-tags span:hover {
  background: linear-gradient(90deg,#00f5ff,#ff4ecd);
  color: black;
  box-shadow: 0 0 15px rgba(255,0,200,0.7);
  transform: scale(1.12);
}

/* Hover glow */
.hero-tags span:hover {
  background: linear-gradient(90deg,#00f5ff,#ff4ecd);
  color: black;
  box-shadow: 0 0 12px rgba(255,0,200,0.6);
  transform: scale(1.08);
}