/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #0a192f;
  color: #fff;
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 10%;
  position: fixed;
  width: 100%;
  background: rgba(10, 25, 47, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #64ffda;
}

.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.navbar a {
  color: white;
  text-decoration: none;
  position: relative;
}

.navbar a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #64ffda;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle, #112240, #020c1b);
  text-align: center;
}

.glow {
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 0 10px #64ffda, 0 0 20px #64ffda;
}

/* typing effect */
.typing {
  margin-top: 10px;
  border-right: 2px solid #64ffda;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  animation: typing 3s steps(20) forwards, blink 0.6s infinite;
}

@keyframes typing {
  to { width: 220px; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* LINKS */
.hero-links {
  margin-top: 20px;
}

.hero-links a {
  margin: 0 10px;
  padding: 10px 15px;
  border: 1px solid #64ffda;
  border-radius: 5px;
  text-decoration: none;
  color: #64ffda;
  transition: 0.3s;
}

.hero-links a:hover {
  background: #64ffda;
  color: #0a192f;
}

/* SECTIONS */
.section {
  padding: 100px 10%;
  text-align: center;
}

.section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

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

/* CARD */
.card {
  background: #112240;
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  background: rgba(100, 255, 218, 0.1);
  top: 0;
  left: 0;
  transition: 0.5s;
}

.card:hover::before {
  width: 100%;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
}

/* PROJECT */
.project a {
  display: inline-block;
  margin-top: 10px;
  color: #64ffda;
  text-decoration: none;
}

/* CERTIFICATIONS */
.cert-card {
  display: inline-flex;
  gap: 15px;
  padding: 15px 25px;
  border: 1px solid #64ffda;
  border-radius: 8px;
  margin-top: 20px;
  align-items: center;
  transition: 0.3s;
}

.cert-card:hover {
  background: #64ffda;
  color: #0a192f;
}

.cert-card a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

/* CONTACT */
.contact p {
  margin: 10px 0;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #020c1b;
}