* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

:root {
  --bg: #000000;
  --card: #121212;
  --accent: #e5e7eb;   /* soft gray */
  --glow: #9ca3af;
  --text: #f5f5f5;
  --muted: #9ca3af;
}
body {
  background: radial-gradient(circle at top, #0a0a0a, #000000);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}


/* ===== SECTIONS ===== */
.section {
  padding: 80px 10%;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--accent);
  letter-spacing: 1px;
}

.bg {
  background: rgba(255, 255, 255, 0.02);
}

/* ===== NAV ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: lowercase;
  padding: 4px 0;
}

/*.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
  padding: 6px 14px;
  border: 2px solid var(--accent);
  border-radius: 20px;
  box-shadow: 0 0 12px rgba(229, 231, 235, 0.4);
  text-transform: lowercase;
}*/

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
}

nav a:hover {
  color: var(--accent);
}

/* ===== HERO ===== */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(circle at top, #111111, #000000);
  padding: 20px;
}
   


.hero h1 {
  font-size: 3rem;
  letter-spacing: 1px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  margin: 18px 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 1.1rem;
}

.college {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--muted);
  opacity: 0.9;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  margin-top: 15px;
  padding: 12px 32px;
  background: linear-gradient(135deg, #e5e7eb, #9ca3af);
  color: #000;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(229, 231, 235, 0.4);
}

.btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 28px rgba(229, 231, 235, 0.7);
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}

.btn.secondary:hover {
  background: var(--accent);
  color: #000;
}

/* ===== ABOUT ===== */
#about p {
  max-width: 820px;
  margin: auto;
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.goal {
  margin-top: 25px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 600;
}

/* ===== SKILLS ===== */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.skills span {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent);
  transition: 0.3s;
}

.skills span:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 0 18px rgba(229, 231, 235, 0.7);
}

/* ===== PROJECTS ===== */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: var(--card);
  padding: 25px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.3s;
}

.card h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
}

.card a {
  display: inline-block;
  margin-top: 15px;
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 0 28px rgba(229, 231, 235, 0.6);
}

/* ===== CERTIFICATIONS ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.cert-card {
  background: var(--card);
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  text-decoration: none;
  transition: 0.3s;
}

.cert-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(229, 231, 235, 0.6);
  color: var(--accent);
}

/* ===== CONTACT ===== */
#contact {
  text-align: center;
}

#contact p {
  margin: 8px 0;
  color: var(--muted);
}

#contact a {
  color: var(--accent);
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
nav, .hero, .section, footer {
  position: relative;
  z-index: 1;
}
/* ===== SUBTLE GLOWING STARS ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(2px 2px at 15% 20%, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 35% 60%, rgba(255,255,255,0.45), transparent),
    radial-gradient(2px 2px at 55% 30%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 75% 80%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 85% 40%, rgba(255,255,255,0.55), transparent),
    radial-gradient(2px 2px at 25% 85%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255,255,255,0.45), transparent);

  filter: drop-shadow(0 0 6px rgba(255,255,255,0.6));
}

