* {
  box-sizing: border-box;
}

/* GLOBAL */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0e0b16;
  color: #e5e7eb;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14, 11, 22, 0.9);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  border-bottom: 1px solid #241f3d;
}

.logo {
  font-size: 18px;
  font-weight: 600;
  color: #c4b5fd;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: #b6b3c7;
  font-size: 15px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #a78bfa;
}

/* HERO */
.hero {
  text-align: center;
  padding: 90px 20px;
  background: linear-gradient(
    135deg,
    #151126,
    #1b1633,
    #231c40
  );
}

.hero {
  transition: all 0.4s ease;
}

.hero:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
  border-radius: 20px;
}


.hero h1 {
  font-size: 44px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #f5f3ff;
}

.hero p {
  font-size: 18px;
  color: #c7c3e0;
}

/* CARD SECTIONS */
.card {
  max-width: 1000px;
  margin: 48px auto;
  padding: 32px;
  background-color: #17122a;
  border-radius: 14px;
  border: 1px solid #241f3d;
  animation: fadeUp 0.8s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card {
  transition: all 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  border: 1px solid #8b5cf6;
  box-shadow:
    0 15px 40px rgba(139, 92, 246, 0.3),
    0 0 20px rgba(139, 92, 246, 0.2);
}

/* .card:hover {
  transform: translateY(-8px);
  border: 1px solid #8b5cf6;
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.25);
} */


/* .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
} */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HEADINGS */
.card h2 {
  font-size: 24px;
  color: #c4b5fd;
  margin-bottom: 16px;
}

.card h3 {
  color: #a78bfa;
  margin-top: 22px;
}

/* TEXT & LISTS */
.card p {
  color: #d1d5db;
}

.card ul {
  padding-left: 20px;
}

.card li {
  margin-bottom: 8px;
  color: #d1d5db;
}

/* PROJECT CARDS */
.project-card {
  margin-top: 28px;
  padding: 22px;
  background: #1d1836;
  border-radius: 12px;
  border: 1px solid #2a2450;
}

/* BUTTONS */
.github-btn,
.resume-btn {
  display: inline-block;
  margin-top: 14px;
  margin-right: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #a78bfa, #c4b5fd);
  color: #0e0b16;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.github-btn:hover,
.resume-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(167, 139, 250, 0.35);
}

/* CONTACT LINKS */
.contact a {
  color: #c4b5fd;
  text-decoration: none;
  font-weight: 500;
}

.contact a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 18px;
  background-color: #0b0914;
  font-size: 14px;
  color: #9ca3af;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }

  .card {
    margin: 24px 16px;
    padding: 26px;
  }

  .nav-links {
    gap: 16px;
  }
}


/* ================= HERO UPDATED ================= */

.hero {
  padding: 80px 8% 60px;
  background: radial-gradient(circle at top left, #2b1f4a 0%, #0d1117 60%);
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
}

/* .hero-left {
  flex: 1;
} */

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.open-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid #8b5cf6;
  border-radius: 20px;
  margin-bottom: 15px;
  color: #8b5cf6;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.gradient-text {
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-role {
  font-size: 22px;
  color: #c9d1d9;
  margin-bottom: 15px;
}

.hero-desc {
  color: #8b949e;
  margin-bottom: 20px;
  max-width: 480px;
}

.hero-availability {
  display: flex;
  gap: 20px;
  font-size: 18px;   /* bigger */
  font-weight: 500;
  align-items: center;
}

.hero-availability span {
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  transition: 0.3s ease;
}

.hero-availability span:hover {
  box-shadow: 0 0 15px rgba(160, 120, 255, 0.5);
}

/* .hero-availability {
  display: flex;
  gap: 20px;
  font-size: 14px;
  margin-bottom: 20px;
  color: #8b949e;
} */

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.primary-btn,
.secondary-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;  /* circular look */
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08); /* soft glass look */
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 10px rgba(160, 120, 255, 0.6),
    0 0 20px rgba(160, 120, 255, 0.5),
    0 0 30px rgba(160, 120, 255, 0.4);
}


.primary-btn:active,
.secondary-btn:active {
  transform: scale(0.95);
  box-shadow:
    0 0 25px rgba(160, 120, 255, 0.9);
}


.secondary-btn:hover {
  background: rgba(192, 185, 209, 0.1);
}

.social-links {
  display: flex;
  flex-direction: row;   /* FORCE horizontal */
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 15px;
}

.follow-section {
  margin-top: 10px;
}

.follow-text {
  font-size: 14px;
  color: #f3f6fa;
  margin-bottom: 7px;
  letter-spacing: 1px;
  text-transform: uppercase;
}


.social-links a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b5cf6;
  font-size: 22px;
  transition: 0.3s ease;
  text-decoration: none;
}

.hero .social-icons a:hover {
  color: #ffffff;
  transform: translateY(-3px) scale(1.15);
  text-shadow: 
    0 0 8px #ffffff,
    0 0 15px #ffffff,
    0 0 25px #ffffff,
    0 0 40px rgba(255,255,255,0.8);
}


.social-links a:hover {
  color: #8961e6;
}

/* IMAGE SECTION */

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-right img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid #8b5cf6;
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

/* .hero-right img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid #8b5cf6;
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
} */

/* RESPONSIVE */

@media(max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-desc {
    margin: auto;
  }

  .hero-availability {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

/* PROJECT CARDS */
.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Glow only when hovering that specific project */
.project-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 10px rgba(180, 140, 255, 0.4),
    0 0 20px rgba(180, 140, 255, 0.3),
    0 0 40px rgba(180, 140, 255, 0.2);
  border: 1px solid rgba(180, 140, 255, 0.6);
}

/* .cert-list {
  list-style: disc;   /* normal bullet points */
  /* padding-left: 20px;  */
/* }*/ */


.cert-list li {
  margin-bottom: 12px;
}

.cert-list a {
  text-decoration: none;
  color: white;
  transition: 0.3s ease;
}

.cert-list a:hover {
  color: #c084fc;
  text-shadow: 0 0 10px rgba(160, 120, 255, 0.6);
}


#typing-name::after,
#typing-role::after {
  content: "|";
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}


/* NAVBAR LINKS BASE STYLE */
.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 17px;
  font-weight: 500;
  padding: 8px 14px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

/* Hover Effect */
.nav-links a:hover {
  transform: scale(1.15);
  color: #c084fc;
  text-shadow: 0 0 8px rgba(160, 120, 255, 0.6);
}

.nav-links a.active {
  color: #ffffff;
  font-weight: 600;
  transform: scale(1.15);
  text-shadow: 0 0 12px rgba(160, 120, 255, 0.9);
}

/* NAVBAR LOGO */
.logo {
  font-size: 24px;   /* Bigger text */
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
  transition: 0.3s ease;
}

/* Subtle Hover Effect */
.logo:hover {
  transform: scale(1.08);
  text-shadow: 0 0 12px rgba(160, 120, 255, 0.8);
}

.logo {
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(90deg, #c084fc, #a78bfa, #7c3aed);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

/* ================= CERTIFICATIONS UPGRADE ================= */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.cert-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
  overflow: hidden;
}

.cert-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 0 15px rgba(180, 140, 255, 0.5),
    0 0 30px rgba(180, 140, 255, 0.4),
    0 0 50px rgba(180, 140, 255, 0.3);
  border: 1px solid rgba(180, 140, 255, 0.6);
}

/* ================= CERTIFICATIONS TYPOGRAPHY FIX ================= */

.cert-card h3 {
  margin-top: 10px;
  font-size: 16px;     /* smaller to match project cards */
  font-weight: 600;
  color: #a78bfa;      /* same as other h3 in cards */
}

.cert-card p {
  color: #d1d5db;      /* same as .card p */
  font-size: 14px;     /* match body text */
  margin: 8px 0;
}

.cert-org {
  display: block;
  font-size: 13px;     /* slightly smaller */
  color: #c4b5fd;      /* match section headings */
  margin-bottom: 12px;
}


/* .cert-card h3 {
  margin-top: 10px;
  font-size: 18px;
  color: #ffffff;
}

.cert-card p {
  color: #c9d1d9;
  font-size: 14px;
  margin: 10px 0;
}

.cert-org {
  display: block;
  font-size: 13px;
  color: #a78bfa;
  margin-bottom: 15px;
} */

/* Badge */

.cert-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  color: white;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Button */

.cert-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid #8b5cf6;
  color: #ffffff;
  transition: all 0.3s ease;
  padding: 6px 16px;
}

.cert-btn:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 10px rgba(160, 120, 255, 0.7),
    0 0 20px rgba(160, 120, 255, 0.6),
    0 0 30px rgba(160, 120, 255, 0.5);
}

/* ================= SKILLS GRID ================= */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.skill-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px 15px;
  text-align: center;
  transition: all 0.35s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.skill-box i {
  font-size: 30px;
  color: #a78bfa;
  margin-bottom: 12px;
}

.skill-box h4 {
  font-size: 20px;
  font-weight: 600;
  color: #e5e7eb;
}

.skill-box:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 10px rgba(167,139,250,0.4),
    0 0 20px rgba(167,139,250,0.3);
  border: 1px solid #8b5cf6;
}

html {
  scroll-behavior: smooth;
}

.footer-social {
  margin-top: 10px;
}

.footer-social a {
  margin: 0 8px;
  font-size: 18px;
  color: #a78bfa;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: white;
  text-shadow: 0 0 10px #a78bfa;
}

.primary-btn:active,
.secondary-btn:active,
.cert-btn:active {
  transform: scale(0.95);
}

.skills-category {
  margin-top: 25px;
}

.skills-category h3 {
  font-size: 16px;        /* match other h3 */
  color: #a78bfa;         /* same as .card h3 */
  margin-bottom: 15px;
}


.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 18px;
}

.skill-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 22px 12px;
  text-align: center;
  transition: all 0.35s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.skill-box i {
  font-size: 26px;
  color: #a78bfa;
  margin-bottom: 10px;
}

.skill-box h4 {
  font-size: 15px;
  font-weight: 500;
  color: #e5e7eb;
}

.skill-box:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 10px rgba(167,139,250,0.4),
    0 0 20px rgba(167,139,250,0.3);
  border: 1px solid #8b5cf6;
}
