* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f0f0f;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 10%;
    align-items: center;
    background: #0f0f0f;
}

nav .logo {
    font-size: 24px;
    font-weight: bold;
    color: #00ffd5;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #00ffd5;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 10%;
}

.hero-text {
    max-width: 650px;
}

.hero-text h1 {
    font-size: 40px;
}

.hero-text h1 span {
    color: #00ffd5;
    text-shadow: 0 0 10px #00ffd5;
}

.hero-text h2 {
    margin: 10px 0;
    color: #aaa;
}

.hero-text p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-text .btn {
    padding: 10px 20px;
    background: #00ffd5;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.hero-text .btn:hover {
    background: #00bfa6;
}

.hero-img img {
    width: 250px;
    border-radius: 50%;
    box-shadow: 0 0 30px #00ffd5;
}

.socials {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.socials a {
    width: 45px;
    height: 45px;
    border: 2px solid #00ffd5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00ffd5;
    font-size: 20px;
    transition: 0.3s;
    box-shadow: 0 0 10px #00ffd5;
    text-decoration: none;
}

.socials a:hover {
    background: #00ffd5;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 20px #00ffd5;
}


/* ABOUT SECTION */
.about-section {
    padding: 80px 10%;
    text-align: center;
}

.about-section .title {
    font-size: 45px;
    margin-bottom: 40px;
    color: #00ffd5;
    text-shadow: 0 0 10px #00ffd5;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-img img {
    width: 250px;
    border-radius: 20px;
    box-shadow: 0 0 30px #00ffd5;
}

.about-text {
    max-width: 650px;
    text-align: left;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #00ffd5;
}

.about-text p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.skill-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.skill-box span {
    font-size: 14px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bar {
    background: #1a1a1a;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress {
    background: #00ffd5;
    height: 100%;
    border-radius: 10px;
}

.percent {
    font-size: 12px;
    margin-top: 5px;
    color: #aaa;
    text-align: right;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #00ffd5;
    color: #000;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #00bfa6;
}

/* Portofolio */
.section-title {
  text-align: center;
  font-size: 40px;
  color: #00ffd5;
  margin-bottom: 30px;
  text-shadow: 0 0 10px #00ffd5;
}

.filter-buttons {
  text-align: center;
  margin-bottom: 30px;
}

.filter-buttons button {
  background: transparent;
  border: 2px solid #00ffd5;
  color: #00ffd5;
  padding: 8px 20px;
  margin: 0 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  background: #00ffd5;
  color: #000;
}

.project-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.project-card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 0 15px #00ffd5;
  transition: 0.3s;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #00ffd5;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-info {
  padding: 15px;
}

.project-info h3 {
  color: #00ffd5;
  margin-bottom: 5px;
}

.project-info p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 15px;
}

.project-links a {
  text-decoration: none;
  background: #00ffd5;
  color: #000;
  padding: 8px 15px;
  border-radius: 20px;
  margin-right: 10px;
  font-size: 14px;
  transition: 0.3s;
}

.project-links a:hover {
  background: #00bfa6;
}

/* ===================== CONTACT SECTION ===================== */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 10%;
}

.contact-title {
  font-size: 40px;
  color: #00ffd5;
  text-shadow: 0 0 15px #00ffd5;
  margin-bottom: 40px;
}

.contact-card {
  background: #111;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px #00ffd533;
  width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card h2 {
  color: #00ffd5;
  margin-bottom: 20px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  background: #000;
  border: 1px solid #00ffd5;
  color: #fff;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: #777;
}

.contact-card textarea {
  resize: none;
  height: 100px;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin: 15px 0;
}

.social-icons a {
  color: #00ffd5;
  font-size: 24px;
  transition: 0.3s;
}

.social-icons a:hover {
  text-shadow: 0 0 15px #00ffd5;
  transform: scale(1.2);
}

.btn-kirim {
  width: 100%;
  background: #00ffd5;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  box-shadow: 0 0 15px #00ffd5;
  transition: 0.3s;
}

.btn-kirim:hover {
  background: #00bfa6;
  box-shadow: 0 0 25px #00ffd5;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: #0a0a0a;
  padding: 25px;
  border: 2px solid #00ffb0;
  width: 90%;
  max-width: 400px;
  border-radius: 15px;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 25px #00ffb0, 0 0 50px #00ffb066;
  transform: translate(-50%, -50%);
  animation: popUp 0.35s ease;
  position: absolute;
  top: 50%;                        
  left: 50%;
}

.modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #00ffb0;
}

.modal-content h3 {
  font-size: 1.4rem;
  color: #00ffb0;
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 20px;
}

.close-icon {
  position: absolute;
  top: 12px;
  right: 15px;
  color: #00ffb0;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.3s;
}

.close-icon:hover {
  color: #fff;
  transform: rotate(90deg);
}

.back-btn {
  background: #00ffb0;
  border: none;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
}

.back-btn:hover {
  background: #00c48d;
  box-shadow: 0 0 20px #00ffb0;
}

/* Animasi */
@keyframes popUp {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.typed {
  color: #00ffd5;
  font-weight: 600;
  font-size: 22px;
}

