/* Global */
body {
  font-family: "Segoe UI", sans-serif;
  background-color: #fdfdfd;
  color: #2d2d2d;
  line-height: 1.7;
  scroll-behavior: smooth;
}
section {
  padding: 100px 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
}

/* navbar */
.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
}
.navbar-brand {
  font-weight: 700;
  color: #6c63ff !important;
  letter-spacing: 1px;
}
.nav-link {
  margin: 0 12px;
  font-weight: 500;
  color: #333;
  transition: 0.3s;
}
.nav-link.active,
.nav-link:hover {
  color: #6c63ff !important;
  position: relative;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: #6c63ff;
  border-radius: 2px;
}

/* hero */
#home {
  background: linear-gradient(135deg, #f9f9f9, #eaeaff);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: #0096c7;
  margin-bottom: 15px;
}
.btn-primary {
  background: linear-gradient(135deg, #6c63ff, #0096c7);
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #574fd6, #0077b6);
  transform: translateY(-3px);
}
.profile-img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #0096c7;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}
.profile-img:hover {
  transform: scale(1.05);
}

/* icon sosial media */
.social-icons a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.3rem;
  background: rgba(108, 99, 255, 0.1);
  color: #6c63ff;
  transition: 0.3s;
}
.social-icons a:hover {
  background: #6c63ff;
  color: #fff;
  transform: scale(1.15);
}

/* about */
#about p {
  font-size: 1rem;
  color: #555;
}

/* portofolio */
#portfolio {
  background: #f7f8ff;
}
.portfolio-card {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.portfolio-card img {
  transition: transform 0.5s ease;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.portfolio-card:hover img {
  transform: scale(1.1);
}

/* contact */
#contact .form-control {
  border-radius: 10px;
  padding: 12px 15px;
  border: 1px solid #ddd;
}
#contact .btn-primary {
  font-size: 1.1rem;
  padding: 12px;
  border-radius: 10px;
}

/* footer */
footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 60px 0 30px;
}
footer h5 {
  color: #fff;
  margin-bottom: 15px;
}
footer a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}
footer a:hover {
  color: #6c63ff;
}
footer p.small {
  margin: 0;
  font-size: 0.9rem;
  color: #888;
}
