body {
  font-family: "Poppins", sans-serif;
  background-color: #f8f9fa;
  color: #2c3e50;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar-dark .navbar-nav .nav-link {
  color: #ffffff;
  font-weight: bold;
  transition: color 0.3s ease;
  margin: 0 10px;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #1abc9c; 
}

.bg-primary-custom {
  background-color: #9b59b6 !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #9b59b6, #39e3c1);
  color: #ffffff;
  text-align: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.hero-section button {
  padding: 0.5rem 1rem;
}

/* About Section */
.about-section {
  padding: 60px 0;
}

.about-section img {
  max-width: 250px;
  border-radius: 50%;
}

.social-icons-below i {
  color: #9b59b6;
  transition: color 0.3s ease;
}

.social-icons-below i:hover {
  color: #39e3c1;
}

/* Skills Section */
.skills-section {
  padding: 60px 0;
}

/* Skill Card Layout */
.skill-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  border: none;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.skill-card h5 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.skill-card p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.skill-card .progress {
  background-color: #ecf0f1;
  height: 8px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}

.skill-card .progress-bar {
  border-radius: 5px;
}

/* Ensure all columns have the same height */
.skills-section .row > .col-md-4 {
  display: flex;
  align-items: stretch;
}

.skills-section .skill-card {
  flex: 1;
}


/* Projects Section */
.projects-section img {
  width: 100%; /* Gambar akan memenuhi kolom */
  height: 300px; /* Tinggi seragam */
  object-fit: cover; /* Pastikan gambar tidak terdistorsi */
  border-radius: 10px; /* Opsional: Tambahkan sudut bulat */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Opsional: Tambahkan bayangan */
}
.projects-section img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.projects-section .col-md-4 {
  display: flex; /* Pastikan kolom fleksibel */
  flex-direction: column;
  align-items: center; /* Pusatkan gambar dan teks */
}

.projects-section h6 {
  margin-top: 10px;
  text-align: center;
}

/* Contact Section */
#contact .form-label {
  font-weight: bold;
  margin-bottom: 1rem;
}

#contact .form-control:invalid {
  border-color: #9b59b6;
}

#contact .form-control:invalid:focus {
  box-shadow: 0 0 5px rgba(220, 53, 69, 0.25);
}

#contact .btn-submit {
  background-color: #2a2a2a;
  color: #ffffff;
  border: none;
}

#contact .btn-submit:hover {
  background-color: #39e3c1;
  color: #ffffff;
}

#contact .btn-loading {
  background-color: #6c757d;
  color: #ffffff;
  border: none;
}

.alert-dismissible .btn-close {
  background-color: transparent;
  border: none;
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background-color: #2c3e50;
  color: #ffffff;
  text-align: center;
  padding: 1rem 0;
}

.footer a {
  color: #39e3c1;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ff6b81;
}
