* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
html, body {
  min-height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #070c14;
  color: #ffffff;
  overflow-x: hidden;
  position: relative;
}
/* HERO */
 .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  gap: 60px;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* IMPORTANT */
  text-align: left;          /* IMPORTANT */
}

.hero-left h1 {
  font-size: 4.5rem;
  margin-bottom: 20px;
}

.typing-wrapper {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #cfcfff;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;   /* IMPORTANT */
}

.image-slider {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(0,247,255,0.5);
  box-shadow: 0 0 50px rgba(0,247,255,0.4);
}

.image-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}
@media (max-width: 768px) {

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    align-items: center;
  }

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

  .image-slider {
    width: 260px;
    height: 260px;
  }

}
/* Premium Gradient Name */
.glow-text {
  font-size: 4.5rem;
  font-weight: 700;
  background: linear-gradient(120deg, #028c91, #8a2be2, #ff00cc);
  background-size: 200% auto;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientMove 5s ease infinite;
  letter-spacing: 2px;
}

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

/* Softer Glow Aura 
.glow-text::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(138,43,226,0.4), transparent 70%);
  filter: blur(120px);
  z-index: -1;
}*/

/* Typing Role */
.typing-wrapper {
  margin-top: 20px;
  font-size: 1.5rem;
  color: #d0d0ff;
  min-height: 40px;
  opacity: 0.9;
}

.tagline {
  margin-top: 10px;
  font-size: 1.4rem;
  opacity: 0.8;
}

.hero-buttons {
  margin-top: 30px;
}

.btn {
  text-decoration: none;
  padding: 14px 32px;
  margin: 10px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(135deg, rgba(24, 51, 52, 0.3), rgba(138,43,226,0.3));
  color: white;
}
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(0,247,255,0.6);
}

.btn.outline {
  background: transparent;
  border: 1px solid rgba(0,247,255,0.5);
}
.hero h1 {
  text-align: center;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
/* SECTIONS */
section {
  padding: 100px 10%;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #00f7ff;
}

/* ===== Skills Section ===== */

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.skill-category h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #ffffff;
}

.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-badges span {
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,247,255,0.6);
  transition: 0.3s ease;
}

.skill-badges span:hover {
  background: linear-gradient(135deg, #00f7ff, #8a2be2);
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(0,247,255,0.6);
}

/* PROJECTS */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.project-card {
  background: rgba(255,255,255,0.05);
  padding: 28px;
  border-radius: 20px;
  transition: 0.4s ease;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}
.project-card h3 {
  margin-bottom: 10px;
}
.project-card p {
  flex-grow: 1;
  color: #cfcfff;
  margin-bottom: 20px;
  line-height: 1.5;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 35px rgba(0,247,255,0.4);
}

.project-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.project-links a {
  text-decoration: none;
  font-weight: 500;
  color: #00f7ff;
  transition: 0.3s ease;
}
.project-links a:hover {
  color: #8a2be2;
}

/* CONTACT */
.contact a {
  color: #00f7ff;
  text-decoration: none;
}
.linkedin-badge {
  margin-top: 25px;
  display: flex;
  justify-content: center;
}
/* Animated Gradient Name */
.glow-text {
  font-size: 4rem;
  background: linear-gradient(90deg, #00f7ff, #8a2be2, #ff00ff);
  -webkit-background-clip: text;
  color: transparent;
  animation: glowMove 6s linear infinite;
}

@keyframes glowMove {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

.typing-wrapper {
  margin-top: 15px;
  font-size: 1.4rem;
  color: #ffffffcc;
  min-height: 40px;
  letter-spacing: 1px;
}


/* about section */
.about {
  max-width: 1000px;
  margin: 60px auto;
  background: rgba(255,255,255,0.04);
  padding: 60px;
  border-radius: 25px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 50px rgba(0,247,255,0.08);
  line-height: 1.8;
}
.about ul {
  margin: auto;
}

.about ul li {
  margin-bottom: 8px;
  color: #dcdcff;
}
/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding: 0 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1000;
}

.nav-logo {
  font-weight: 600;
  font-size: 1.2rem;
  background: linear-gradient(90deg,#00f7ff,#8a2be2);
  -webkit-background-clip: text;
  color: transparent;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
   margin-left: 25px;
  font-size: 0.95rem;
}

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

/* Add top spacing because navbar fixed */
body {
  padding-top: 80px;
}

/* ===== PREMIUM PROJECT PAGE ===== */
.about {
  max-width: 900px;
  margin: auto;
  background: rgba(255,255,255,0.05);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  box-shadow: 0 0 40px rgba(0,247,255,0.1);
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

/* Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Tech Badges ===== */
.tech-badges {
  margin-top: 15px;
}

.tech-badges span {
  display: inline-block;
  padding: 8px 16px;
  margin: 6px 6px 0 0;
  border-radius: 20px;
  font-size: 0.85rem;
  background: linear-gradient(135deg, rgba(0,247,255,0.2), rgba(138,43,226,0.2));
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}

.tech-badges span:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(0,247,255,0.6);
}

/* Smooth page fade */
body {
  animation: pageFade 0.6s ease;
}

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

@media (max-width: 1024px) {
  section {
    padding: 27px 6%;
    padding-right: 40px;

  }
}

@media (max-width: 768px) {

  .navbar {
    padding: 12px 5%;
  }

  .nav-links {
    gap: 15px;
  }

  /* section {
    padding: 60px 5%;
  }
 */
  .hero {
    height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .project-links {
    flex-direction: column;
    gap: 10px;
  }

  /* ===== MOBILE NAV CLEAN FIX ===== */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background: #0b0f18;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    gap: 30px;
    transition: 0.3s ease;
    z-index: 999;
    display: flex;
  }

  .nav-links.active {
    right: 0;
  }

}
}

/* @media (max-width: 480px) {

  .nav-links {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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

} */
/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #00f7ff;
  transition: 0.4s;
}

/* ===== Mobile Menu ===== */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

section {
 /*  padding: 100px 10%; */
  scroll-margin-top: 90px;
}

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

.contact-section {
  padding: 100px 8%;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.contact-left {
  flex: 1;
  min-width: 280px;
}

.contact-link {
  display: inline-block;
  margin: 10px 0 25px 0;
  color: #00f7ff;
  font-size: 1.1rem;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* GitHub Button */
.github-btn {
  padding: 12px 20px;
  background: #111;
  border: 1px solid #00f7ff;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.github-btn:hover {
  background: #00f7ff;
  color: #000;
  box-shadow: 0 0 20px rgba(0,247,255,0.6);
}

/* LinkedIn Button */
.linkedin-btn {
  padding: 12px 20px;
  background: #0a66c2;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.linkedin-btn:hover {
  background: #084c94;
}

/* Right Card */
.contact-right {
  flex: 1;
  min-width: 280px;
}

.contact-card {
  background: rgba(255,255,255,0.05);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-card h3 {
  margin-bottom: 15px;
  color: #00f7ff;
}

.contact-card p {
  line-height: 1.7;
  color: #cfcfff;
}
