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

body {
  background: #0a0f1c;
  color: #e5e7eb;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: #0f172a;
  border-bottom: 1px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #38bdf8;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #cbd5e1;
  font-size: 14px;
}

nav a:hover {
  color: #38bdf8;
}

.cta-btn {
  background: #38bdf8;
  color: #0a0f1c;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* HERO */
.hero {
  padding: 100px 20px;
  text-align: center;
  background: radial-gradient(circle, #111827, #0a0f1c);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero p {
  max-width: 700px;
  margin: auto;
  color: #94a3b8;
}

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

.btn {
  display: inline-block;
  padding: 10px 18px;
  margin: 8px;
  border-radius: 6px;
  text-decoration: none;
}

.primary {
  background: #38bdf8;
  color: #0a0f1c;
}

.outline {
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

/* TAGS */
.tags {
  margin-top: 20px;
}

.tags span {
  display: inline-block;
  margin: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  background: #111827;
  border: 1px solid #1f2937;
  color: #38bdf8;
  font-size: 12px;
}

/* SECTIONS */
.section {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

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

.dark {
  background: #0f172a;
  max-width: 100%;
}

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

.card {
  background: #111827;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #1f2937;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
}

/* FEATURED CARD */
.featured {
  position: relative;
  overflow: hidden;
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #38bdf8;
  color: #0a0f1c;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
}

.mini-title {
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: left;
  color: #38bdf8;
  font-weight: bold;
}

.feature-list {
  text-align: left;
  padding-left: 18px;
}

.feature-list li {
  margin-bottom: 8px;
  color: #cbd5e1;
}

/* EXPERIENCE */
.timeline {
  margin-top: 30px;
  display: grid;
  gap: 15px;
}

.exp {
  background: #111827;
  padding: 20px;
  border-left: 4px solid #38bdf8;
  text-align: left;
}

.experience-line {
  margin-top: 15px;
  margin-bottom: 15px;
  color: #38bdf8;
  font-size: 15px;
  font-weight: 600;
}

.project-link {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 16px;
  background: #38bdf8;
  color: #0a0f1c;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.project-link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* CONTACT */
.contact-box {
  display: inline-block;
  background: #111827;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #1f2937;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #1f2937;
  color: #94a3b8;
  font-size: 13px;
}

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

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

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 34px;
  }

}
