/* Reset basic */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #0b1220;
  color: #f1f5f9;
}

/* Container */
.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
}

/* Navbar */

/* Navbar */
.navbar {
  background: rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 15px 0;
}

.navbar .container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto; /* ini membuat navbar berada di tengah halaman */
  display: flex;
  justify-content: space-between; /* brand kiri, menu kanan */
  align-items: center;
}

.navbar .brand {
  font-weight: bold;
  font-size: 20px;
}

.navbar nav {
  display: flex;
  gap: 20px;
}

.navbar nav a {
  color: #cfe8ff;
  text-decoration: none;
  position: relative;
  transition: transform 0.2s ease, color 0.2s ease;
}

.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: #1e90ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.navbar nav a:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.navbar nav a:hover::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0b1220, #0d2b6f);
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #1e90ff;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: scale(1.1);
  background: #2aa0ff;
}

/* About */
.about {
  padding: 60px 0;
  background: #0b1220;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.about p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.skills {
  list-style: none;
  display: flex;
  gap: 15px;
}

.skills li {
  background: #1a3a7a;
  padding: 10px 15px;
  border-radius: 8px;
}

/* Contact */
.contact {
  padding: 60px 0;
  background: #071029;
}

.contact-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: #0d2b6f;
  padding: 20px;
  border-radius: 10px;
  flex: 1;
  min-width: 250px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: scale(1.05);
  background: #1a3a7a;
}

.card {
  display: flex;
  align-items: center;
  gap: 15px;
}

.card-icon {
  width: 35px;
  height: 35px;
}

/* Footer */
.footer {
  padding: 20px 0;
  text-align: center;
  background: #06101f;
}
