/* Form Akademik CSS */
.form-section {
  margin-bottom: 60px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
  color: var(--rich-black-fogra-29);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--mango-tango);
  padding-bottom: 10px;
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.form-card-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 25px 15px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #eaeaea;
  position: relative;
  overflow: hidden;
}

.form-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(240, 120, 64, 0.2);
  border-color: var(--mango-tango); /* Border menggunakan variabel warna tema */
}

.form-card-item:hover .form-icon {
  transform: scale(1.1);
}

.form-icon {
  font-size: 50px;
  color: var(--mango-tango); /* Menggunakan variabel warna tema yang sudah ada */
  margin-bottom: 20px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(240, 120, 64, 0.3)); /* Memberikan efek bayangan pada ikon */
  position: relative;
}

.form-card-item:hover .form-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(240, 120, 64, 0.5));
}

.form-item-title {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.form-card-item:hover .form-item-title {
  color: var(--mango-tango); /* Warna teks menggunakan variabel warna tema */
}

/* Tambahan untuk efek highlight */
.form-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--mango-tango); /* Menggunakan variabel warna tema yang sudah ada */
  transition: height 0.3s ease;
}

.form-card-item:hover::before {
  height: 100%;
}

/* Responsive styles */
@media (max-width: 768px) {
  .form-section {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .form-card-item {
    height: 160px;
    padding: 15px 10px;
  }
  
  .form-icon {
    font-size: 40px;
    margin-bottom: 15px;
  }

  .form-item-title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .form-section {
    padding: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-card-item {
    height: 130px;
  }

  .form-icon {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .section-title {
    font-size: 20px;
  }
}
